Unable to connect to WEP-protected WLAN
|Reported by:||fishpond||Owned by:||mmlr|
|Keywords:||WEP, net_server, ifconfig, iprowifi2200||Cc:|
|Has a Patch:||no||Platform:||x86|
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.
Change History (8)
Changed 2 years ago by fishpond
comment:2 follow-up: ↓ 3 Changed 2 years ago by mmlr
- Owner changed from axeld to mmlr
- Status changed from new to in-progress
comment:4 Changed 20 months ago by diver
- Component changed from Network & Internet/Wireless to Servers/net_server