[ Date Index ][
Thread Index ]
[ <= Previous by  date  /
  thread  ]
 [ Next by  date  /
  thread  => ]
Re: [LUG] How to set up wi-fi card?
Robin Cornelius wrote:
So, presuming that the device is working correctly (which the system
logs suggests), what magic commands to I type in order to get it to talk
to the Access Point?  I think the AP is acting as a DHCP server, and I
know the channel and ESSID.
iwconfig is what you are looking for, try it on its own and it should show 
current channel any associated access points etc and with options you can set 
channel, various ids wep etc.
Okay, with a bit of man-page-perusal and a bit of guesswork, my attempt 
so far goes along the lines of:
iwconfig essid any
iwconfig channel 2
echo "iface wlan0 inet dhcp" >> /etc/network/interfaces
ifconfig wlan0 up
Typing "iwconfig" with no options confirms that the settings have been 
honoured and also that the device seems to have a "Cell" where 
previously it did not.  Has it picked this up from the Access Point?
However, less promisingly, it reports a signal strength of zero :-(  I 
tried the obvious and still no change.  Shall I assume that it is lying 
and forge ahead anyway?
I gather that I need to set a "route" via the wi-fi interface.  This is 
what I currently have:
Destination     Gateway         Genmask         Flags Metric Ref    Use 
Iface
192.168.0.0     *               255.255.255.0   U     0      0        0 eth0
default         192.168.0.1     0.0.0.0         UG    0      0        0 eth0
I'm guessing that I should be aiming for something very similar for 
wlan0.  Would it be possible to have both routes, so that it only uses 
wireless if eth0 is unplugged?
My attempts at setting up a suitable route have entirely failed, even 
after attempting to get my head around the man page :-(
Any assistance most appreciated...
Cheers,
Jon
--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.