[lwlan-user] struggling with wireless setup

Richard Kennedy richard at rsk.demon.co.uk
Fri Mar 28 13:43:13 EDT 2008


On Fri, 2008-03-28 at 20:03 +0800, Zhang Weiwu wrote:
> Richard Kennedy 写道:
> >>     
> > Are you getting any useful messages in /var/log/messages ?
> >   
> usb 2-1: new full speed USB device using ohci_hcd and address 2
> usb 2-1: configuration #1 chosen from 1 choice
> ....
> prism2usb_init: prism2_usb.o: 0.2.8 Loaded
> prism2usb_init: dev_info is: prism2_usb
> ...
> Writing 16 bytes to ram @0x7efdd0
> Writing 4044 bytes to ram @0x7f0800
> Writing 3288 bytes to ram @0x7fe000
> ident: nic h/w: id=0x8026 1.0.0
> ident: pri f/w: id=0x15 1.1.3
> ident: sta f/w: id=0x1f 1.8.3
> MFI:SUP:role=0x00:id=0x01:var=0x01:b/t=1/1
> CFI:SUP:role=0x00:id=0x02:var=0x02:b/t=1/1
> PRI:SUP:role=0x00:id=0x03:var=0x01:b/t=1/4
> STA:SUP:role=0x00:id=0x04:var=0x01:b/t=1/15
> PRI-CFI:ACT:role=0x01:id=0x02:var=0x02:b/t=1/1
> STA-CFI:ACT:role=0x01:id=0x02:var=0x02:b/t=1/1
> STA-MFI:ACT:role=0x01:id=0x01:var=0x01:b/t=1/1
> Prism2 card SN: 01190006\x00\x00\x00\x00
> 
> (full dmesg attached to this email)
> >
these messages are the firmware getting loaded. I guess we need to see
what happens next. 
The full dmesg got lost somewhere :(

> >   
> >> Then I join the network through the most standard way:
> >>
> >> zhangweiwu at esmeralda:/etc/wlan$ sudo /etc/init.d/wlan start
> >>  * Starting WLAN devices ...
> >> message=lnxreq_ifstate
> >>   ifstate=fwload
> >>   resultcode=success
> >>     
> >
> > is the network interface up?
> > try running ifconfig
> >   
> No. It is not up. I can see this interface only by using ifconfig -a but
> not just 'ifconfig'.
> >   
> >> zhangweiwu at esmeralda:/etc/wlan$ sudo dhcpcd -d wlan0

dhcp isn't going to work until the network is up.
can you run 'ifup wlan0' ?

     
> >
> > try running iwlist to see if the card has found any networks.
> >   
> root at esmeralda:/home/zhangweiwu# iwlist wlan0 scanning
> wlan0     Interface doesn't support scanning.
> 
> (I thought I got this result because linux-wlan-ng doesn't support
> Wireless Extensions)
you may need to set the module parameter to enable all the wext
functions.

to /etc/modprobe.conf add :-
options p80211 wlan_wext_write=1

> > Getting these cards setup the first time can be a bit tricky, so don't
> > panic.
> >
> > It does work with udev & NetworkManager if you prefer a GUI to set
> > things up. You'll have to check your distro to see if NetworkManager is
> > installed & enabled.
> >   
> Is it? Then I'll certainly give it a try. Thanks very much for your help.
Cheers
richard



More information about the Linux-wlan-user mailing list