USB stick Netgear WG111 Wireless setup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Attached is a report of the setup of a USB stick Netgear WG111 Wireless.

MarvS
Below is the report of the setup of a USB stick Netgear WG111 Wireless.
Linux native drivers are not available, so ndiswrapper tools had to be used:
http://ndiswrapper.sourceforge.net/joomla/

The system is under Ubuntu Feisty Fawn kernel 2.6.20-16-generic, 
running an older Avertec 3200 laptop.

Cogent software packages installed are:
wireless-tools - Tools for manipulating Linux Wireless Extensions
ndiswrapper-common - Common scripts required to use the utilities for ndiswrapper
ndiswrapper-utils-1.9 - Userspace utilities for the ndiswrapper linux kernel module
For details on the cogent commands read:
$ man ndiswrapper
and
$ ndiswrapper --help
and similarly get information on commands iwlist and iwconfig

Kernel messages were watched with:
$ sudo tail -f /var/log/messages &
with the & backgrounding the tail proces, so that the command prompt was available.

Inserting the USB stick resulted in messages
 [  409.440000] usb 4-1: new high speed USB device using ehci_hcd and address 2
 [  409.584000] usb 4-1: configuration #1 chosen from 1 choice
 [  410.080000] p54: LM86 firmware
 [  410.752000] wiphy0: hwaddr 00:0f:b5:de:67:80, isl3887

and there is reported also:
$ lsusb
Bus 004 Device 002: ID 0846:4240 NetGear, Inc. WG111 WiFi (v2)
Bus 004 Device 001: ID 0000:0000  
Bus 003 Device 001: ID 0000:0000  
Bus 002 Device 001: ID 0000:0000  
Bus 001 Device 001: ID 0000:0000 

and a more verbose output can then be obtained with:
~$ lsusb -s 004:002 -v
which includes
  idVendor           0x0846 NetGear, Inc.
  idProduct          0x4240 WG111 WiFi (v2)

From the Microsoft support package I had obtained:
bcmwl5.inf and bcmwl5.sys

Within the folder containing them they were installed into Linux with:
$ sudo ndiswrapper -i bcmwl5.inf

There results new files:
/etc/ndiswrapper
`-- bcmwl5
    |-- 14E4:4320.5.conf -> /etc/ndiswrapper/bcmwl5/14E4:4320:1057:7010.5.conf
    |-- 14E4:4320:1057:7010.5.conf
    |-- 14E4:4320:1057:7025.5.conf
    |-- bcmwl5.inf
    `-- bcmwl5.sys

After which a report can be obtainer
$ ndiswrapper -l
bcmwl5 : driver installed

Note that the smae name ndiswrapper is used for both an executable 
and the distinct module ndiswrapper.ko, which was loaded with:
$ sudo modprobe ndiswrapper
Password:
marv@marvlap:~$  [  410.752000] usbcore: registered new interface driver prism54usb
 [ 1138.860000] ndiswrapper version 1.38 loaded (preempt=no,smp=yes)

and there were new blocks reported by 
$ ifconfig
wlan0     Link encap:Ethernet  HWaddr 00:0F:B5:DE:67:80  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:102 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:13710 (13.3 KiB)

wlan0:ava Link encap:Ethernet  HWaddr 00:0F:B5:DE:67:80  
          inet addr:169.254.8.48  Bcast:169.254.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

wmaster0  Link encap:UNSPEC  HWaddr 00-0F-B5-DE-67-80-00-00-00-00-00-00-00-00-00-00  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
though the role of the wlan0:ava  and wmaster0  are obscure.

My home wireless receiver info was entered:
$ sudo iwconfig wlan0 essid OSH81  enc Station_Encryption_Code

Only after which was there a successful scan:
~$ sudo iwlist wlan0 scan
wlan0     Scan completed :
          Cell 01 - Address: 00:18:01:E5:51:A5
                    ESSID:"OSH81"
                    Mode:Master
                    Frequency:2.462 GHz
                    Signal level=75/100  
                    Encryption key:on
                    Extra:tsf=000000146debf096
          Cell 02 - Address: 00:18:01:E2:63:79
                    ESSID:"DRUJ8"
                    Mode:Master
                    Frequency:2.462 GHz
                    Signal level=71/100  
                    Encryption key:on
                    Extra:tsf=00000016a703bdf3


~$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

wmaster0  IEEE 802.11g  Frequency:2.462 GHz  
          RTS thr:off   Fragment thr=2346 B   

wlan0     IEEE 802.11g  ESSID:"OSH81"  
          Mode:Managed  Frequency:2.462 GHz  Access Point: 00:18:01:E5:51:A5   
          RTS thr:off   Fragment thr=2346 B   
          Link Signal level=32/100  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

Involved modules are displayed with:
$ lsmod | grep usb
prism54usb             16896  0 
prism54common          12288  1 prism54usb
mac80211              175364  3 prism54usb,prism54common,rc80211_simple
usbcore               134280  5 prism54usb,ndiswrapper,ehci_hcd,uhci_hcd
and removal of prism54usb does kill functionality, for reasons obscure.

Connection to the wireless station was done with:
~$ sudo dhclient wlan0
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

wmaster0: unknown hardware address type 801
wmaster0: unknown hardware address type 801
Listening on LPF/wlan0/00:0f:b5:de:67:80
Sending on   LPF/wlan0/00:0f:b5:de:67:80
Sending on   Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12
DHCPOFFER from 192.168.1.1
DHCPREQUEST on wlan0 to 255.255.255.255 port 67
DHCPACK from 192.168.1.1
bound to 192.168.1.4 -- renewal in 36571 seconds.

~$ ping -c 2 novell.com
PING novell.com (130.57.5.70) 56(84) bytes of data.
64 bytes from redirector.novell.com (130.57.5.70): icmp_seq=1 ttl=47 time=101 ms
64 bytes from redirector.novell.com (130.57.5.70): icmp_seq=2 ttl=47 time=93.5 ms
----------
confirmed that DNS (Domain Name Services) were working.  
If there is an Internet connection without DNS, there would still work:
$ ping -c 2 130.57.5.70
PING 130.57.5.70 (130.57.5.70) 56(84) bytes of data.
64 bytes from 130.57.5.70: icmp_seq=2 ttl=47 time=92.6 ms
64 bytes from 130.57.5.70: icmp_seq=1 ttl=47 time=5532 ms
--- 130.57.5.70 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1009ms
rtt min/avg/max/mdev = 92.634/2812.651/5532.668/2720.017 ms, pipe 2

and I am thus sending this record.

MarvS 
2007June11

[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux