[haiku-bugs] [Haiku] #7840: Unable to connect to WEP-protected WLAN

  • From: "fishpond" <trac@xxxxxxxxxxxx>
  • Date: Sun, 17 Jul 2011 16:13:47 -0000

#7840: Unable to connect to WEP-protected WLAN
-------------------------------------------------+-------------------------
 Reporter:  fishpond                             |        Owner:  axeld
     Type:  bug                                  |       Status:  new
 Priority:  normal                               |    Milestone:  R1
Component:  Network & Internet/Wireless          |      Version:
 Keywords:  WEP, net_server, ifconfig,           |  R1/Development
  iprowifi2200                                   |   Blocked By:
 Blocking:                                       |  Has a Patch:  0
 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.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/7840>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: