LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   wifi auto-detection not working any more (http://www.linuxquestions.org/questions/linux-networking-3/wifi-auto-detection-not-working-any-more-910916/)

Joydeep Bakshi 10-30-2011 06:20 AM

wifi auto-detection not working any more
 
Dear list,

Since long I'm using ifplugd + guess-net and wpa_supplicant to auto detect the available wired/wifi network and connect with the available. I have placed the wpa_supplicat at
/etc/rc.local file as

`````````
wpa_supplicant -B -Dnl80211 -iwlan0 -c /usr/local/etc/my.wpa_supplicant.conf
``````````

I have come to know that it is OK to place the wpa configuration
at the /etc/interfaces. Hence I have modified the interfaces as

```````````
mapping wlan0
script guessnet-ifupdown
map default: office-wifi
map office-wifi open unknown
map timeout: 12
# map init-time: 12 # for slow drivers
map verbose: true
map debug: true

iface office-wifi inet dhcp

wpa-driver nl80211 ## added modification
wpa-conf /usr/local/etc/my.wpa_supplicant.conf ## added modification

test wireless mac 00:1C:F0:3D:4C:C9
``````

and remove the wpa related line from /etc/rc.local

But the auto detection and association is not working any more.
If I check by "ps -e | grep wp" there is no wpa_supplicant running.

Could any one suggest what is actually missing here ?


All times are GMT -5. The time now is 10:26 PM.