Setting up wpa_supplicant on Debian etch (linux 2.6.25.3) June 4, 2008
Posted by noorul in debian, linux, wireless.Tags: debian, linux, wireless, wpa, wpa+psk, wpa_supplicant
add a comment
Recently, I was trying to connect to an access point in the room. Some how I was not able to associate to the access point. It took lots of time for me to find out that encryption was necessary and that too WPA-PSK. The following steps helped me to setup wap_supplicant which helps encrypting the stream.
1. Create wpa_supplicant.conf. Mine is located at /etc/
ctrl_interface=/var/run/wpa_supplicant
network={
ssid="Access Point SSID"
scan_ssid=1
proto=WPA
key_mgmt=WPA-PSK
psk="Really Secret"
priority=5
}
2. Put following commands inside a shell script
#!/bin/sh
wpa_supplicant -Dwext -ieth2 -c/etc/wpa_supplicant.conf -Bw
dhclient eth2
3. Run the above script to bring the link up.
Now have fun with browsing!
Compile issues with ieee80211 and ipw2200 on linux kernel 2.6.25. June 4, 2008
Posted by noorul in debian, drivers, kernel, linux, wireless.Tags: debian, ieee80211, ipw2200, kernel, linux, wireless
8 comments
The latest version of iee80211 (ieee80211-1.2.18) and ipw220 (ipw2200-1.2.2) are not compiling properly on the latest linux kernel 2.6.25.3.
I got the following error when I compiled ipw2200 on my laptop.
/home/noorul/software/ipw2200/ipw2200-1.2.2/ipw2200.c: In function ‘ipw_pci_probe’:
/home/noorul/software/ipw2200/ipw2200-1.2.2/ipw2200.c:11937: error: implicit declaration of function ‘SET_MODULE_OWNER’
In my case I was able to find out a solution from some other project. But there is a patch in the bug database. Here is the link http://www.intellinuxwireless.org/bugzilla/attachment.cgi?id=1378
But in the case of iee80211, I couldn’t find a straight forward solution. But the following steps helped me. There were several errors across multiple files.
1. I had to make changes to ieee80211_module.c. Here is the patched file.
2. Then the files ieee80211_crypt_wep.c, ieee80211_crypt_tkip.c
ieee80211_crypt_wep.c
ieee80211_crypt_tkip.c
Once I made the above changes, I followed the normal compilation procedure and everything worked fine. Posting this one through wireless internet connection.


