Re: example wlancfg-myhomenetwork

Dave Jenkins <[email protected]> Sat, 1 Apr 2006 14:10:08 +0100 (BST)
Newsgroups gmane.linux.linux-wlan.user
Message-ID <[email protected]>
--- Daniel Davis <[email protected]> wrote:
> Hello, I have a microsoft mn-510 usb adapter on vector linux. So far,
> I've been able to find & scan fpr a network. I'm trying to correctly
> connect to the base station. I would like to know if someone could
> send me an example of a "wlancfg-myhomenetwork" if the channel is 10,
> the gateway is 192.876 ths ssid is yahoo the wep 64 bit key is abc.

If the ssid is "yahoo", the wlancfg file should be called
"wlancfg-yahoo". Make a copy of wlancfg-DEFAULT and name it
"wlancfg-yahoo". Then just edit the relevant settings. This file just
sets things like encryption on/off, WEP key, authentication type. So
the lines you'll need to change are probably:

------8<------
lnxreq_hostWEPEncrypt=true     # true|false
lnxreq_hostWEPDecrypt=true     # true|false
dot11PrivacyInvoked=true       # true|false

dot11WEPDefaultKey0=01:02:03:40:05 # replace with your WEP key

AuthType="sharedkey"
------8<------

> is there any other information I need when connecting to the router?
> subnet mask is: 555 my router assigned ip is 222 and the real ip (the
> one that the router has is 654).

The preferred way to set up IP address, subnet mask and gateway varies
from one distribution of linux to another. I'm not familiar with vector
linux, you might be best to consult a vector linux forum to get the
basics of network configuration. I use Fedora, which puts the relevant
configuration files in /etc/sysconfig/network-scripts, called e.g.
ifcfg-wlan0 and route-wlan0.

You also asked about /etc/rc.local, you may not need to edit this file
at all if your linux supports hotplug. linux-wlan includes hotplug
scripts which may take care of the modprobe and wlanctl-ng steps.

If you run 'tail -f /var/log/messages' in a spare terminal, you'll be
able to see if hotplug is registering your device, plus any error
messages.

Finally you asked about /etc/resolv.conf, this should contain lines
like:

nameserver a.b.c.d
nameserver e.f.g.h

replacing a.b.c.d etc with the IP addresses of your nameservers, which
your ISP will tell you. If you've previously been using a wired
network, this should already be set up.

Good luck,

Dave


		
___________________________________________________________ 
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com