Re: [gentoo-user] wpa_supplicant with madwifi partially stopped working after remerge

2009-01-10 Thread Jan Ubben
Now the modules do correctly (I suppose) create the needed devices and 
the init scripts pull the interface up. But the boot messages complain 
about not having set WEP-Keys, which are set in the config file residing 
at /etc/wpa_supplicant/wpa_supplicant.conf. That results in my WLAN is 
associated to an unsecured access point in my area.


I solved my problem. After the initial and working configuration for 
wpa_supplicant I also installed the wireless-tools. It was simply 
curiousity about the user interface of the latter. Sadly I forgot to 
unmerge it after playing around. Since the wireless-tools are preferred 
over wpa_supplicant by default the next boot tried to use the 
unconfigured wireless-tools.


Greetings

Jan



[gentoo-user] wpa_supplicant with madwifi partially stopped working after remerge

2009-01-06 Thread Jan Ubben

Hello.

A few hours ago I tried to upgrade from 2.6.26-gentoo-r4 to 
2.6.27-gentoo-r7.


As expected, WLAN stopped working due to missing modules. I remerged 
madwifi-hal and madwifi-hal-tools contained in the overlay from allenjb 
to get the needed kernel modules. Afterwards remerged wpa_supplicant.


But WLAN still did not work.

So I booted to my prevoius kernel and found WLAN non functional there too.
I switched the link /usr/src/linux back to the previous kernel and tried 
to remerge madwifi-hal, the tools and wpa_supplicant again.


Now the modules do correctly (I suppose) create the needed devices and 
the init scripts pull the interface up. But the boot messages complain 
about not having set WEP-Keys, which are set in the config file residing 
at /etc/wpa_supplicant/wpa_supplicant.conf. That results in my WLAN is 
associated to an unsecured access point in my area.


Since I did not touch the config files, I wondered if the standard 
location of config files regarding wpa_supplicant moved, but could not 
find anything related.


I tried wpa_cli to get some information, but it can't connect to 
wpa_supplicant.


So I tried to run wpa_supplicant manually: wpa_supplicant -Dmadwifi 
-iwifi0 -c/etc/wpa_supplicant/wpa_supplicant.conf


ioctl[SIOCSIWMODE]: Operation not supported
Could not configure driver to use managed mode
ioctl[SIOCGIWRANGE]: Operation not supported
ioctl[IEEE80211_IOCTL_SETPARAM]: Operation not supported
ioctl[SIOCSIWAP]: Operation not supported
Failed to initialize driver interface
Speicherzugriffsfehler

Now I am stuck. Any suggestions how to get WLAN back working?

Jan