Disabling power to WLAN.

Post Reply
youghta
Posts: 9
Joined: Tue Sep 01, 2009 2:04 pm

Disabling power to WLAN.

Post by youghta »

Hello. I know that this question has been asked before, but I couldn't find a good answer. I would like to shut the power off to the WLAN adapter, and since there is no BIOS option for this, I was wondering if there is another way of doing this. I'd like to save the power, and also eliminate these errors that keep popping up in my syslog. The adapter is disabled through the OS (Ubuntu 9.10)


Jul 14 18:03:16 513-Server wpa_supplicant[815]: Failed to initiate AP scan.
Jul 14 18:03:21 513-Server wpa_supplicant[815]: CTRL-EVENT-SCAN-RESULTS
Jul 14 18:03:21 513-Server kernel: [ 6094.200611] ===>rt_ioctl_giwscan. 1(1) BSS returned, data->length = 130


Thanks for any help...

youghta
Posts: 9
Joined: Tue Sep 01, 2009 2:04 pm

Re: Disabling power to WLAN.

Post by youghta »

No takers? ;-)

ate29a
Posts: 11
Joined: Thu Dec 31, 2009 4:35 pm

Re: Disabling power to WLAN.

Post by ate29a »

1 .- Disable wifi interface (device continues active):
ifdown wlan0

2.- Unload driver (disable wifi device):
modprobe -rv rt2870sta

3.- To prevent loading driver on boot add line in /etc/modprobe.d/blacklist.conf
blacklist rt2870sta

youghta
Posts: 9
Joined: Tue Sep 01, 2009 2:04 pm

Re: Disabling power to WLAN.

Post by youghta »

Much appreciated!

Post Reply

Return to “Ubuntu 9.10”