[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: wifi auto-detection not working any more



On Sun, 30 Oct 2011 13:19:39 +0000
Brian <ad44@cityscape.co.uk> wrote:

> On Sun 30 Oct 2011 at 17:11:46 +0530, J. Bakshi wrote:
> 
> > Please note I have not changed anything at /usr/local/etc/my.wpa_supplicant.conf
> > but only at /e/n/i with these two lines
> > 
> > [...]
> >   wpa-driver nl80211
> >   wpa-conf /usr/local/etc/my.wpa_supplicant.conf
> > [....]
> 
> Essentially, wpa_supplicant does not run for you. Yes?
> 
> The output of
> 
>    ifup -v wlan0
> 
> should indicate what the supplicant has a problem with.
> 
> 
After doing some more debug I found the issue.

I have no problem to manually up the wifi with ifup and it's
working well.

But now I don't have wpa_supplicant related configuration at /etc/rc.local
hence it is not started automatically so now any association is not possible.
Do you have any idea how to fix it ? once again .... my wifi related settings are

````````````````````````
# it should first ask guessnet to find out in which network we are

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
   wpa-conf /usr/local/etc/my.wpa_supplicant.conf
   test wireless  mac  00:1C:F0:3D:4C:C9
post-up  /root/bin/FIREWALL start

`````````````````````````````

at /usr/local/etc/my.wpa_supplicant.conf I have

```````````````````````````
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev

ap_scan=1

network={
        ssid="rblin"
        psk=026d1e67ce2899210d81f4af99cdd643d29932cfff6c507bb0d19eb90c14a0c4
        key_mgmt=WPA-PSK
        #"RSN" = WPA(2)
        proto=RSN
        #encryption
        #"CCMP" = AES cipher as part of WPA(2) standard.
        #"TKIP" = TKIP cipher as part of WPA(1) standard.
        pairwise=CCMP
        group=CCMP
        scan_ssid=1 #scan hidden SSID
        priority=10
}
`````````````````




Reply to: