eth1 interface doesnt start automatically ubuntu server 9.04
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth1
iface eth1 inet 10.1.1.10
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
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:
so you can safely remove the section for your previous card and to change the number from 1 to 0 for the new one. And also here you can see is really the new card with number 1.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.