Re: struggling with wireless setup

Zhang Weiwu <[email protected]> Fri, 28 Mar 2008 11:46:53 +0800
Newsgroups gmane.linux.linux-wlan.user
Message-ID <[email protected]>
Dear Karl Relton (and everyone)

Thank you for your help! In fact I think I am too stupid to fight the
authentication stuff so I take it to the home wireless network, SSID is
"netgear" and is completely not encrypted. I can directly connect to
this network without a password by using both SuSE Linux and Windows (on
a notebook with built-in wireless support) through a graphical user
interface. The signal quality is good because I am sitting only 5 meters
away from the AP.

Now back to test the USB wireless adapter. I tried to use the simplest
configuration, that is, only change on line in wlan.conf (a.k.a. make
SSID_wlan0="HBF"), and copy wlancfg-DEFAULT directly to wlancfg-netgear.
I also made sure the device is properly detected:

zhangweiwu@esmeralda:/etc/wlan$ sudo lsusb
Bus 001 Device 005: ID 413c:8100 Dell Computer Corp. TrueMobile 1180
802.11b Adapter
Bus 001 Device 001: ID 0000:0000 

and the module was properly loaded
zhangweiwu@esmeralda:/etc/wlan$ sudo lsmod
Module                  Size  Used by
snd_pcm_oss            51264  0
snd_mixer_oss          20960  1 snd_pcm_oss
prism2_usb             79404  0
p80211                 33488  1 prism2_usb

(note the prism2_usb module was loaded automatically after I plugin the
device)

Then I join the network through the most standard way:

zhangweiwu@esmeralda:/etc/wlan$ sudo /etc/init.d/wlan start
 * Starting WLAN devices ...
message=lnxreq_ifstate
  ifstate=fwload
  resultcode=success
Reading S-record file /lib/firmware/prism2_ru.hex...
NIC ID: 0x8026 v1.0.0
MFI ID: 0x1 v1 1->1
CFI ID: 0x2 v2 1->1
PRI ID: 0x3 v1 1->4
Version:  ID 0x1f 1.8.3
Compat: Role 0 Id 0x4 v3 1->15
Compat: Role 0x1 Id 0x1 v1 1->1
Compat: Role 0x1 Id 0x2 v2 1->1
Compat: Role 0x1 Id 0x3 v1 4->4
Seq: 0
Platform:  ID 0x800a 1.0.0
Platform:  ID 0x800f 1.0.0
Platform:  ID 0x8010 1.0.0
Platform:  ID 0x8011 1.0.0
Platform:  ID 0x801e 1.0.0
Platform:  ID 0x801f 1.0.0
Platform:  ID 0x8020 1.0.0
Platform:  ID 0x8025 1.0.0
Platform:  ID 0x8026 1.0.0
Platform:  ID 0x8027 1.0.0
prism2dl: warning: Failed to find PDR for plugrec 0x0405.
prism2dl: warning: Failed to find PDR for plugrec 0x0406.
prism2dl: warning: Failed to find PDR for plugrec 0x0302.
prism2dl: warning: Failed to find PDR for plugrec 0x0303.
prism2dl: warning: Failed to find PDR for plugrec 0x0412.
prism2dl: warning: Failed to find PDR for plugrec 0x0414.
prism2dl: finished.                                                       [ ok ]
zhangweiwu@esmeralda:/etc/wlan$ sudo dhcpcd -d wlan0
Info, wlan0: dhcpcd 3.1.5 starting
Info, wlan0: hardware address = 00:90:4b:60:9c:28
Info, wlan0: DUID = 00:01:00:01:0f:26:6e:6e:00:0a:95:ea:46:82
Info, wlan0: broadcasting for a lease
Debug, wlan0: sending DHCP_DISCOVER with xid 0xf0de86d
Debug, wlan0: waiting on select for 20 seconds
Debug, wlan0: sending DHCP_DISCOVER with xid 0xf0de86d
Debug, wlan0: sending DHCP_DISCOVER with xid 0xf0de86d
Debug, wlan0: sending DHCP_DISCOVER with xid 0xf0de86d
Debug, wlan0: sending DHCP_DISCOVER with xid 0xf0de86d
Debug, wlan0: sending DHCP_DISCOVER with xid 0xf0de86d
Debug, wlan0: sending DHCP_DISCOVER with xid 0xf0de86d
Error, wlan0: timed out
Info, wlan0: trying to use old lease in `/var/lib/dhcpcd/dhcpcd-wlan0.info'
Info, wlan0: checking 169.254.127.50 is available on attached networks
Debug, wlan0: sending ARP probe #1
Debug, wlan0: sending ARP probe #2
Debug, wlan0: sending ARP probe #3
Debug, wlan0: sending ARP claim #1
Debug, wlan0: sending ARP claim #2
Info, wlan0: adding IP address 169.254.127.50/16
Debug, wlan0: no dns information to write
Debug, wlan0: forking to background


This is not what should happen. I should get 10.0.0.6 as IP address. I
don't understand the error messages, can someone point out what has been
wrong?

-- 
Real Softservice

Huateng Tower, Unit 1788
Jia 302 3rd area of Jinsong, Chao Yang

Tel: +86 (10) 8773 0650 ext 603
Mobile: 135 9950 2413
http://www.realss.com