Re: Problem setup atheros wifi card using WPA TKIP
"Sam Lefebvre" <[email protected]> Wed, 24 Feb 2010 15:09:54 +0100
| Newsgroups | gmane.linux.drivers.madwifi.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Pavel, > > Trying to associate with 00:30:bd:9a:04:da (SSID='belkin54g' freq=2462 MHz) > > Associated with 00:30:bd:9a:04:da > > CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys > > Some other program is touching the device, presumably wpa_supplicant. Do you mean residues of wpa_supplicant? Because I need it for my connection. After updating the packages with thu gui and restart, I can't load wpa_supplicant anymore: sam@Alix3d3:~$ sudo wpa_supplicant -Dwext -iath4 -c/etc/wpa_supplicant.conf ioctl[SIOCGIFFLAGS]: No such device Could not get interface 'ath4' flags ioctl[SIOCSIWPMKSA]: No such device ioctl[SIOCSIWMODE]: No such device Could not configure driver to use managed mode ioctl[SIOCGIWRANGE]: No such device ioctl[SIOCGIWMODE]: No such device ioctl[SIOCSIWAP]: No such device ioctl[SIOCSIWESSID]: No such device ioctl[SIOCGIFINDEX]: No such device ioctl[SIOCSIWENCODEEXT]: No such device ioctl[SIOCSIWENCODE]: No such device ioctl[SIOCSIWENCODEEXT]: No such device ioctl[SIOCSIWENCODE]: No such device ioctl[SIOCSIWENCODEEXT]: No such device ioctl[SIOCSIWENCODE]: No such device ioctl[SIOCSIWENCODEEXT]: No such device ioctl[SIOCSIWENCODE]: No such device Failed to disable WPA in the driver. ioctl[SIOCGIWMODE]: No such device ioctl[SIOCSIWAP]: No such device ioctl[SIOCSIWESSID]: No such device ioctl[SIOCGIFFLAGS]: No such device sam@Alix3d3:~$ sudo modprobe ath_pci FATAL: Module ath_pci not found. > You can use "LANG=C" in front of the command to make it show messages > in English. > > Upgrading the kernel can be forced by > sudo ath-get install linux-generic > > But it's getting too far offtopic. Ok, i tried this: sam@Alix3d3:~$ LANG=C sudo apt-get install linux-generic Reading package lists... Done Building dependency tree Reading state information... Done linux-generic is already the newest version. The following packages were automatically installed and are no longer required: linux-headers-2.6.31-17 linux-headers-2.6.31-17-generic Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. > Ok, I checked this and there is no bookmark against 'wireless > connection'. I have to enable 'wired connection' otherwise I can't anymore login > through the fixed interface with putty. > > Apparently, it's not enough to disable the resident wpa_supplicant. > > > wpa_supplicant can be killed by killall: > > killall wpa_supplicant > > > > This is also not a solution: > > > > sam@Alix3d3:~$ sudo killall wpa_supplicant > > Please try the command again to see if wpa_supplicant was killed. If > it was killed by the previous command, there will be an error message. > The most radical way would be to kill wpa_supplicant with SIGKILL: > > sudo killall -KILL wpa_supplicant I can kill it, however it is no longer in the lsmod: sam@Alix3d3:~$ LANG=C sudo killall wpa_supplicant sam@Alix3d3:~$ lsmod Module Size Used by ppdev 6688 0 snd_cs5535audio 11752 0 snd_ac97_codec 101216 1 snd_cs5535audio ac97_bus 1532 1 snd_ac97_codec snd_pcm_oss 37920 0 snd_mixer_oss 16028 1 snd_pcm_oss snd_pcm 75296 3 snd_cs5535audio,snd_ac97_codec,snd_pcm_oss snd_seq_dummy 2656 0 snd_seq_oss 28576 0 snd_seq_midi 6432 0 snd_rawmidi 22208 1 snd_seq_midi iptable_filter 3100 0 snd_seq_midi_event 6940 2 snd_seq_oss,snd_seq_midi ecb 2524 0 ip_tables 11692 1 iptable_filter snd_seq 50224 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event snd_timer 22276 2 snd_pcm,snd_seq smbfs 59232 0 x_tables 16544 1 ip_tables snd_seq_device 6920 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq aes_i586 8124 0 snd 59204 10 snd_cs5535audio,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device lp 8964 0 aes_generic 27484 1 aes_i586 soundcore 7264 1 snd parport 35340 2 ppdev,lp geode_aes 5700 0 snd_page_alloc 9156 2 snd_cs5535audio,snd_pcm cs5535_gpio 3932 0 geode_rng 1724 0 via_rhine 22212 0 mii 5212 1 via_rhine > > What can i more try? > I don't want to give you any suggestions how to disable NetworkManager > and the resident wpa_supplicant permanently, as it can cripple your > system, especially since you are using the network to access the > system. Ok, but when it is nessecary i can acces my system directly (keyboard and screen) when i'm at home. > Basically, either you rely on NetworkManager to handle the connections > for you, or you run wpa_supplicant manually. Doing both won't work. Ok, i understood this. > There is nothing MadWifi specific in that problem, as you can see by > trying ath5k. You may want to discuss this problem in a more suitable > place, e.g. in a mailing list about NetworkManager. Ideally, > NetworkManager should not try to manage interfaces already managed by > a non-resident wpa_supplicant. And of course the network should work > for you without any need to resort to running wpa_supplicant manually. Ok, i didn't knew before the switch from windows that Linux is so weak ... I still have to be convinced about the benefits. Maybe you can suggest me a specific mailing list for discussing this problem, because neither the manufacturer of the chipset (atheros), nor the manufacturer of the card (Compex), nor the manufacturer of the Alix3d3 embedded PC (pcengines) answers on this issue. Kind Regards, Sam ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev