Bugzilla – Bug 104006
Can't start wirless network with WEP key
Last modified: 2007-06-05 10:04:57 UTC
When I try to start a wireless network using a shared WEP key, it says there are errors in lines 6 and 8 (but doesn't say which files - turns out it's in /var/run/wpa_supplicant-wlansomething) - has a line 'wep_tx_keyid' which it says is wrong. I changed the ifup-wireless script to 'wep_tx_keyidx' but it still didn't work for me.
The wep_tx_keyid typo is already fixed for beta2. Please add more information, 'hwinfo --netcard' output, /var/log/messages, description of the WLAN setup (authentication mode, WEP key length, etc).
Can you confirm that the line saying 'wep_tx_keyid' should just have an x added to the end of the line? Then I'll have a go again, and give you some more info.
Yes. You can change it in /etc/sysconfig/network/scripts/ifup-wireless (lines 472 and 480).
I've just installed beta2 and the wep_tx_keyid type wasn't fixed. So I fixed that, and my wireless connection still didn't come up. But I've found the problem. In the print_key() function in /etc/sysconfig/network/scripts/ifup-wireless, it only checks if the key starts with s or h. My key is just a plain hex key, so it is ignored. I changed the end of that function to be: fi else echo $K fi fi } and now it comes up fine. And just for completeness, here's the output from 'hwinfo --netcard': 24: PCI 700.0: 0280 Network controller [Created at pci.271] UDI: /org/freedesktop/Hal/devices/pci_14e4_4320 Unique ID: PL6s.4vOL+XxPdUE Parent ID: 7VdT.dEbULwVSPE4 SysFS ID: /devices/pci0000:00/0000:00:1e.0/0000:02:01.1/0000:07:00.0 SysFS BusID: 0000:07:00.0 Hardware Class: network Model: "Belkin F5D7010 54g Wireless Network card" Hotplug: CardBus Vendor: pci 0x14e4 "Broadcom" Device: pci 0x4320 "BCM4306 802.11b/g Wireless LAN Controller" SubVendor: pci 0x1799 "Belkin" SubDevice: pci 0x7010 "Belkin F5D7010 54g Wireless Network card" Revision: 0x03 Driver: "ndiswrapper" Device File: wlan1 Features: WLAN Memory Range: 0xf6000000-0xf6001fff (rw,non-prefetchable) IRQ: 11 (46350 events) HW Address: 00:30:bd:fb:fd:84 Link detected: yes WLAN channels: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 WLAN frequencies: 2.412 2.417 2.422 2.427 2.432 2.437 2.442 2.447 2.452 2.457 2.462 2.467 2.472 2.484 WLAN bitrates: 6 9 12 18 35 1 16 WLAN encryption modes: WEP40 WEP104 WLAN authentication modes: open sharedkey wpa-psk wpa-eap Config Status: cfg=no, avail=yes, need=no, active=unknown Attached to: #22 (CardBus bridge)
The typo was only fixed for open authentication mode, not for shared key, sorry for that. This and the other bug you report should be fixed with beta3.