WiFi - Asus F5RL - how to start automatically?

Questions about WIFI networks and devices
Forum rules
Before you post please read this

WiFi - Asus F5RL - how to start automatically?

Postby Kazislav on Sun Mar 08, 2009 3:14 pm

Hi.
I have a problem with my wireless card. I want to install Mint 6 on my girlfriend laptop and i found that i need to execute one command in order to make wifi work:
Code: Select all
echo 1 > /sys/devices/platform/asus-laptop/wlan

because after booting the wifi led is off.
And my question is: How to make it permanent so it will start automatically or sth?
Kazislav
Level 1
Level 1
 
Posts: 3
Joined: Sun Mar 08, 2009 2:42 pm
Location: Zielona Góra, Poland

Linux Mint is funded by ads and donations.
 

Re: WiFi - Asus F5RL - how to start automatically?

Postby Husse on Tue Mar 10, 2009 8:25 am

A somewhat dirty* work around is
Code: Select all
gksu gedit /etc/rc.local

add the line you want executed between the comments and exit 0 - the exit 0 has to be the very last line
Code: Select all
    echo 1 > /sys/devices/platform/asus-laptop/wlan

* dirty because rc.local is not "supposed to be used" in Ubuntu, but it works...
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19710
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: WiFi - Asus F5RL - how to start automatically?

Postby Fred on Tue Mar 10, 2009 8:41 am

Don't forget to set rc.local to execute. I don't think Debian/Ubuntu/Mint sets the execute bit by default anymore.

sudo chmod +x /etc/rc.local

Fred
Insanity: Doing the same thing over and over and each time expecting a different result.

Democracy is 2 wolves and a lamb voting on the menu. Liberty is an armed lamb protesting the electoral outcome. A Republic negates the need for an armed protest.
User avatar
Fred
Level 10
Level 10
 
Posts: 3356
Joined: Fri Jan 04, 2008 11:59 am
Location: NC USA

Re: WiFi - Asus F5RL - how to start automatically?

Postby Husse on Tue Mar 10, 2009 8:51 am

Thanks Fred, but I checked it is set to execute
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19710
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: WiFi - Asus F5RL - how to start automatically?

Postby Fred on Tue Mar 10, 2009 8:56 am

Husse,

Thanks for correcting me. I was thinking they had discontinued that. :-)

Fred
Insanity: Doing the same thing over and over and each time expecting a different result.

Democracy is 2 wolves and a lamb voting on the menu. Liberty is an armed lamb protesting the electoral outcome. A Republic negates the need for an armed protest.
User avatar
Fred
Level 10
Level 10
 
Posts: 3356
Joined: Fri Jan 04, 2008 11:59 am
Location: NC USA

Re: WiFi - Asus F5RL - how to start automatically?

Postby Kazislav on Tue Mar 10, 2009 10:29 am

Thanks for help :D I'll try this today. I hope everything will be working on this laptop "out of the box". LiveCD was almost perfect (putting laptop on sleep wasn't working).
And sorry for question out of topic but if i understand well, Ubuntu/Mint have drivers for my hardware already on board and it is a matter of turning on the hardware. but why i saw somewhere something with using Madwifi etc. Will it influence performance or sth?
Kazislav
Level 1
Level 1
 
Posts: 3
Joined: Sun Mar 08, 2009 2:42 pm
Location: Zielona Góra, Poland

Re: WiFi - Asus F5RL - how to start automatically?

Postby Husse on Tue Mar 10, 2009 6:06 pm

Madwifi is not a default application in Mint
It is a network manager - one of many - and something to try out if the default does not work
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19710
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: WiFi - Asus F5RL - how to start automatically?

Postby Kazislav on Wed Mar 11, 2009 4:41 pm

Ok, Thanks for help :)
Kazislav
Level 1
Level 1
 
Posts: 3
Joined: Sun Mar 08, 2009 2:42 pm
Location: Zielona Góra, Poland

Linux Mint is funded by ads and donations.
 

Return to Wireless

Who is online

Users browsing this forum: Bing [Bot] and 7 guests