WiFi - Asus F5RL - how to start automatically?

Questions about WIFI networks and devices
Forum rules
Before you post please read how to get help
Kazislav
Level 1
Level 1
Posts: 3
Joined: Sun Mar 08, 2009 2:42 pm
Location: Zielona Góra, Poland

WiFi - Asus F5RL - how to start automatically?

Postby Kazislav » 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?

Husse
Level 23
Level 23
Posts: 19595
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

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

Postby Husse » 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

User avatar
Fred
Level 10
Level 10
Posts: 3351
Joined: Fri Jan 04, 2008 11:59 am
Location: NC USA

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

Postby Fred » 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.

Husse
Level 23
Level 23
Posts: 19595
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

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

Postby Husse » 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

User avatar
Fred
Level 10
Level 10
Posts: 3351
Joined: Fri Jan 04, 2008 11:59 am
Location: NC USA

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

Postby Fred » 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.

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 Kazislav » 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?

Husse
Level 23
Level 23
Posts: 19595
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

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

Postby Husse » 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

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 Kazislav » Wed Mar 11, 2009 4:41 pm

Ok, Thanks for help :)


Return to “Wireless”

Who is online

Users browsing this forum: No registered users and 4 guests