[CLUE-Tech] Wireless LAN question

Adam Bultman adamb at glaven.org
Mon Mar 22 08:00:56 MST 2004


> That means I need to edit one of the files in
> 
> /etc/sysconfig/network-scripts
> 
> But which of the files do I edit, and what exactly do I do??
> 
> Thanks for any help.
> 
If it is redhat-esque (I think it is) you'll need to make files like this:
$ls
ifcfg-eth0
ifcfg-eth0:1 
ifcfg-eth1
.
.
.

$cat ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
HOSTNAME=your.hostname.comB
IPADDR=192.168.202.46
NETMASK=255.255.255.0
GATEWAY=192.168.202.1

If you put the ifcfg-eth0 file in that directory, next time you do a
'service network stop; service network start' (or restart) it will find
that device and configure it.

Adam



More information about the clue-tech mailing list