I have a Netgear MA111 USB wireless NIC that I am trying to confure on SuSE 9.1.
I am using wlan-ng-0.2.1pre21 but have also tried the version that comes with my distro.
I created a script based upon what I found on the net. It's contents are:
--Start--
modprobe prism2_usb prism2_doreset=1
wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable
wlanctl-ng wlan0 lnxreq_hostwep decrypt=true encrypt=true
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11WEPDefaultKeyID=0
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11ExcludeUnencrypted=true
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11PrivacyInvoked=true
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11WEPDefaultKey0="<My WEP Key>"
wlanctl-ng wlan0 lnxreq_autojoin "ssid=aigfpc" authtype="sharedkey"
--End--
When I run it I get:
--Start--
aweeks-ecei-lap:~ # ./wlanup
message=lnxreq_ifstate
ifstate=enable
resultcode=success
message=lnxreq_hostwep
resultcode=no_value
decrypt=true
encrypt=true
message=dot11req_mibset
mibattribute=dot11WEPDefaultKeyID=0
resultcode=success
message=dot11req_mibset
mibattribute=dot11ExcludeUnencrypted=true
resultcode=success
message=dot11req_mibset
mibattribute=dot11PrivacyInvoked=true
resultcode=success
message=dot11req_mibset
mibattribute=dot11WEPDefaultKey0="My WEP goes here"
resultcode=success
message=lnxreq_autojoin
ssid='aigfpc'
authtype=sharedkey
resultcode=success
--End--
Everything worked, so I check the config
--Start--
aweeks-ecei-lap:~ # iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
sit0 no wireless extensions.
wlan0 IEEE 802.11-b ESSID:"XXXX" Nickname:"XXXX"
Mode:Managed Frequency:2.412GHz Access Point: 00:40:96:48:31:A3
Bit Rate:11Mb/s Tx-Power:2346 dBm
Retry min limit:8 RTS thr
ff Fragment thr
ff
Encryption key:<My WEP Key> Security mode:restricted
Link Quality:52/92 Signal level:-57 dBm Noise level:-96 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
--End--
Everything appears correct, but when I do a "dhcpcd -i wlan0" I get the following in my /var/log/messages
--Start--
Jun 25 14:49:07 aweeks-ecei-lap kernel: linkstatus=CONNECTED
Jun 25 14:49:40 aweeks-ecei-lap kernel: linkstatus=DISCONNECTED (unhandled)
Jun 25 14:49:41 aweeks-ecei-lap kernel: linkstatus=CONNECTED
Jun 25 14:50:14 aweeks-ecei-lap kernel: linkstatus=DISCONNECTED (unhandled)
Jun 25 14:50:15 aweeks-ecei-lap kernel: linkstatus=CONNECTED
Jun 25 14:50:46 aweeks-ecei-lap dhcpcd[3697]: timed out waiting for a valid DHCP server response
Jun 25 14:50:46 aweeks-ecei-lap dhcpcd[1508]: recvfrom: Network is down
Jun 25 14:50:46 aweeks-ecei-lap modify_resolvconf: no matching backup found, left everything alone
Jun 25 14:50:46 aweeks-ecei-lap modify_resolvconf: no matching backup found, left everything alone
Jun 25 14:50:46 aweeks-ecei-lap dhcpcd-hook: Skipping 'ifdown $INTERFACE -o dhcp' call
Jun 25 14:50:46 aweeks-ecei-lap dhcpcd-hook: Skipping 'ifdown $INTERFACE -o dhcp' call
Jun 25 14:50:48 aweeks-ecei-lap kernel: linkstatus=DISCONNECTED (unhandled)
--End--
Anybody have any suggestions?