Re: [Hampshire] Wireless help

Top Page

Reply to this message
Author: John Cooper
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] Wireless help
Tim wrote:
>
> wlan0     Link encap:Ethernet  HWaddr 00:0E:2E:57:8E:4B
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:48 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:4807 errors:338 dropped:338 overruns:0 carrier:0
>           collisions:160 txqueuelen:1000
>           RX bytes:10880 (10.6 KiB)  TX bytes:222818 (217.5 KiB)
>           Interrupt:17 Base address:0xc000

>
> (the above mac address is the correct mac address for the card)
>
> iwconfig
>
> root@0[mit]# iwconfig
> lo        no wireless extensions.

>
> wlan0     RT2500 Wireless  ESSID:"NETGEAR"
>           Mode:Managed  Frequency=2.412 GHz  Bit Rate:11 Mb/s   Tx-Power:0 dBm
>           RTS thr:off   Fragment thr:off
>           Encryption key:off
>           Link Quality=0/100  Signal level=-88 dBm  Noise level:-192 dBm
>           Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
>           Tx excessive retries:0  Invalid misc:0   Missed beacon:0

>
>
> iwlist
>
> root@0[mit]# iwlist wlan0 scan
> wlan0     Scan completed :
>           Cell 01 - Address: 00:14:6C:95:B1:94
>                     Mode:Managed
>                     ESSID:"NETGEAR"
>                     Encryption key:off
>                     Channel:11
>                     Quality:52/100  Signal level:-102 dBm  Noise level:-205 
> dBm

>
>

Looking good. The next stage is to use your network configuration GUI to
turn off eth0 and configure
wlan0. You need to ensure it uses channel 11 and Managed mode. Note
2.412GHz is channel 1. If you can't
find the GUI or after changes check the following anyway :-

iwconfig wlan0

should report Frequency=2.462 GHz . Try adding

pre-up iwconfig ra0 channel 11

as shown below.

Check Jonathan's post again and make sure ESSID is set to your wireless
router settings :-

in /etc/network/interfaces

auto ra0
iface ra0 inet dhcp
pre-up ifconfig ra0 down
pre-up ifconfig ra0 up
pre-up iwconfig ra0 essid MYWLAN
pre-up iwconfig ra0 mode Managed
pre-up iwconfig ra0 channel 11
// pre-up iwpriv ra0 set AuthMode=WPAPSK
pre-up iwpriv ra0 set EncrypType=TKIP
pre-up iwpriv ra0 set WPAPSK=somewhattopsecret
wireless-key xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xx

probably don't need the last bit.

Note that it doesn't do WPA with NetworkManager (hence the above entry)
as the driver does its own WPA rather than using wpa_supplicant, which
is a PITA.

-jonathan


John.

--
--------------------------------------------------------------
Discover Linux - Open Source Solutions to Business and Schools
http://discoverlinux.co.uk
--------------------------------------------------------------