Please support VectorLinux!

Author Topic: eth1 does not start on boot  (Read 1984 times)

jamie

  • Member
  • *
  • Posts: 6
eth1 does not start on boot
« on: May 23, 2008, 02: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

bigpaws

  • Vectorian
  • ****
  • Posts: 1868
Re: eth1 does not start on boot
« Reply #1 on: May 23, 2008, 03: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

jamie

  • Member
  • *
  • Posts: 6
Re: eth1 does not start on boot
« Reply #2 on: May 23, 2008, 03: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

nightflier

  • Administrator
  • Vectorian
  • *****
  • Posts: 4072
Re: eth1 does not start on boot
« Reply #3 on: May 23, 2008, 04: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