D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Wirless LAN Problems

 

peter wrote:
> Hi Rob
> 
> I have done the following:
> 
> I edited /etc/network/interfaces by adding
> 
> auto ra0
> iface ra0 inet dhcp
> 
> peteruhp@peteruhp-desktop:~$ sudo iwconfig ra0 ESSID belkin54g
> peteruhp@peteruhp-desktop:~$ sudo iwconfig ra0 channel 11
> peteruhp@peteruhp-desktop:~$ sudo dhclient ra0
> 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/
> 
> Listening on LPF/ra0/00:0e:2e:bc:82:a9
> Sending on   LPF/ra0/00:0e:2e:bc:82:a9
> Sending on   Socket/fallback
> DHCPDISCOVER on ra0 to 255.255.255.255 port 67 interval 4
> DHCPOFFER from 192.168.0.1
> DHCPREQUEST on ra0 to 255.255.255.255 port 67
> DHCPACK from 192.168.0.1
> bound to 192.168.0.3 -- renewal in 33382 seconds.
> peteruhp@peteruhp-desktop:~$ 
>

Umm, you got a dhcp lease that means you had a wireless connection
functioning. I would suggest not doing another scan after this.

To make it fully automatic add your iwconfig commands to
/etc/network/interfaces

so it looks something like


auto ra0
iface ra0 inet dhcp
        WIRELESS_ESSID belkin54g
        WIRELESS_CHANNEL 11

you can add encryption commands in there later as well when its working,
if you want to use WPA then you will need wpa_supplicant installed and I
can't for the life of me remember the status of that with rt61 ( i
really should know!). If you want specific advice on that have a look on
the forum at http://rt2x00.serialmonkey.com

Robin




-- 
Robin Cornelius
http://www.byteme.org.uk

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html