Unable to connect to WEP-protected WLAN
|Reported by:||fishpond||Owned by:||mmlr|
|Keywords:||WEP, net_server, ifconfig, iprowifi2200||Cc:|
Neither command line (ifconfig [device] join [SSID] [PW]) nor entries in /boot/common/settings/network/wireless_networks establish a usable wireless connection on my old Acer Travelmate 8000 with Intel Pro 2200 Wifi adapter.
Adding "authentication wep" into the wireless_networks file, syslog finally tells me a connection is made. Still it's not usable. DHCP will not get through and on static setup, ping'ing the gateway just serves to put its address into state "reject" in the arp tables.
There's a couple of things that struck me in NetServer::_JoinNetwork:
- cipher is set to B_NETWORK_CIPHER_WEP_40 even for 13-character passwords. That value seems to never get used, however.
- WEP-keys 0 through 3 and an additional empty one are all written to key 0. There's no way to currently specify more than one, so empty strings are overwriting the first and valid one.
- No AuthMode is set. Should be IEEE80211_AUTH_SHARED, as long as not part of the settings
Changing the above, I now have a very stable connection, but I guess this may affect other users with other hardware too.