VectorLinux

The nuts and bolts => Networking & Security => Topic started by: jamie on May 23, 2008, 03:04:05 am

Title: eth1 does not start on boot
Post by: jamie on May 23, 2008, 03:04:05 am
Hi everyone.

Luckily, i've not had too much of a problem with wireless since installing VL yesterday.

I've used VLwifi and wfif-radar, both find my router and connect using eth1. However, i have to open WLwifi each time i start my machine. There must be a way to get this to happen automatically.

I've looked at other posts and the docs and i have followed the information i've found but i still haven't cracked. Could someone give me someguidance in case i'm missing something blatently obvious?

On one of the other posts i looked at, it suggested editing the file:

/etc/udev/rules.d/network-devices.rules

to show:

KERNEL=="eth?", SYSFS{address}=="00:1C:BF:C8:74:39", NAME="eth1"

This is correct according to what i read, but doesn't seem to make a difference.

Jamie
Title: Re: eth1 does not start on boot
Post by: bigpaws on May 23, 2008, 04:19:21 am
Quote
/etc/udev/rules.d/network-devices.rules

That is for creating a constant name for the device.

You are looking for editing /etc/rc.d/rc.local and
add the commands you need.

If you mention what you do to get your wireless working
then the commands could even be given.

Bigpaws
Title: Re: eth1 does not start on boot
Post by: jamie on May 23, 2008, 04:31:37 am
I go into the menu; select VLwifi; it probes for wireless network and finds 'eth1'; i select it and then enter the ESSID and wep key and it automatically establishes a connection using dhcp. That is all i need to do to get it working.

Are there any suggestions as to how i get this to happen automatically on boot?

Jamie
Title: Re: eth1 does not start on boot
Post by: nightflier on May 23, 2008, 05:37:56 am
As bigpaws suggested, you can use /etc/rc.d/rc.local. As root, add the necessary lines, something like:

ifconfig eth1 up
iwconfig eth1 essid _______
iwconfig eth1 key ________
dhcpcd eth1