GeoffW123 wrote:Hi nikasio
Arrggggggggghhhhh. I have just spent about 5 hours over Xmas trying to get my new PI and TL-WN725N working together, but I cant get it to work (DHCP cant get an IP address offer)
See here
http://www.raspberrypi.org/phpBB3/viewt ... 28&t=26975
Can you explain in detail what you did to get it to work please ? Thanks for your time
Regards Geoff
Hi Geoff.
Here are the steps:
1. edit /etc/wpa_supplicant/wpa_supplicant.conf like this:
Code: Select all
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=root
network={
ssid="homenet"
key_mgmt=WPA-PSK
psk="MyPassword"
}
* I don't remember exactly the ctrl_interface_group I used, check if you have one already defined in the wpa_supplicant.conf and use it.
* I think in your case (WEP) you should use "key_mgmt=NONE" and "wep_key0" instead of "psk"
2. To test ir manually, you can do
Code: Select all
wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf
3. Finally, if you want to connect on booting, edit /etc/network/interfaces and add
Code: Select all
auto wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
4. Get new IP