eth1 interface doesnt start automatically ubuntu server 9.04
i've replaced my ethernet NIC in my ubuntu server and now it doesnt bring up the interface on boot, every time i reboot the system i need to be there to bring the interface up, how can i resolve this?
/etc/network/interfaces Code:
# This file describes the network interfaces available on your system |
Does your computer see it as eth0 now?
|
no, the old interface was eth0, by replacing the device it has coined it as eth1
|
But they're not both physically connected to the system? Do you have DHCP on your network? For kicks while you figure it out, why don't you just try
Code:
auto lo |
no, the old one is sitting on my desk, i plugged the new one into the old slot, the problem isnt dhcp related, that works perfectly once i bring the interface up, i'll try your suggestion of adding in the auto eth0 line, i wanna leave the server as a static IP though
|
i tried your suggestion of having eth0 set to auto in there as well, this didn't do a thing, the interface still doesn't start.
i also set eth1 as auto with no specified IP, it still doesn't work, so the file basically looks like your example |
So, you have tried this;
Examples: Code:
iface eth1 inet static Code:
auto eth1 |
Are you sure it is eth1
The right format of the file is the one given by alan_ri There is a file in ubuntu - /etc/udev/rules.d/70-persistent-net.rules where the numbers of the network interfaces are shown. You can edit those numbers in the manner you want. For example we can see this in the file: Code:
# PCI device 0x14e4:0x170c (b44) |
Thanks for that knowledge Ipolit
|
yes i'm sure it's eth1
i've fixed it by letting all interfaces get an IP via DHCP and setting my DHCP server to distribute IP's based on the MAC |
i now have both cards connected and working, one is giving out IP's and the other is statically set on the network, i just had my interfaces file set wrongly, i forgot to specify it as
Code:
auto eth1 |
All times are GMT -5. The time now is 02:31 AM. |