Does a new NIC need to be manually configured in Ubuntu server?
Running Ubuntu server 8.04:
I had to replace the network card but the server doesn't automatically recognize it. Is this a design feature? For ha-ha's, I started the Ubuntu CD in the same setup and the setup did recognize the new NIC. So how do I go about installing the driver manually? The card is old and the driver is no longer available, but clearly the Ubuntu CD has something that works, since I'm pinging it now, only a few steps into an installation process. Again, I only started the installation to test out the functionality of the card (it works, I now know), but I DON'T want to actually reinstall Ubuntu server. Any thoughts? |
I guess you should try to find out which module is required for that NIC and then insert it manually (sudo modprobe). NIC driver issues appear to be widespread with 2.6.24 kernels, it's not just Ubuntu. I have recently had to patch and recompile one of those drivers on Fedora 8 although it worked perfectly fine until I did a kernel upgrade.
|
May be a different problem...
Hmmm. Are you sure that it is actually a driver issue? I'd be willing to bet that if you ran
Quote:
Code:
/etc/network/interfaces Code:
auto eth1 Code:
auto eth1 When you have finished, run Code:
/etc/init.d/networking restart |
Very helpful Russianspi!!! Thanks.
|
I have encountered this issue whenever I clone a VDI file in virtualbox and then add the vdi file to a vm on a different machine. It seems everytime I clone the VDI file, I need to go into /etc/network/interfaces and change the increment on eth* up one. Is there a way that I can reset this so I can go back to using eth0?
|
This is a common problem also when a Vmware machine is moved to another server.
It is beacause the new card has a different MAC address. Unlike Ubuntu Desktop, the server version is desgned NOT to make an assumption of how the card is configured - just in case it gets it wrong & places vulnerable data outside a firewall on the Internet. You can enable the card easliy by deleting a file: sudo rm /etc/udev/rules.d/70-persistent-net.rules Then reboot. This file is recreated with the new card MAC address upon reboot. Then check your settings. Cheers. |
Quote:
|
Delete /etc/udev/rules.d/70-persistent-net.rules
@Chris Myers
Thanks a bunch for your advice Chris. Dell changed the motherboard in my Ubuntu 10.04 server today and that meant they installed two new NICS as well. The new setup did not get recognised on the network but luckily your technique: 1) deleting a file: sudo rm /etc/udev/rules.d/70-persistent-net.rules 2) reboot fixed a big problem for me :) Thanks |
Just wanted to thank chrismyers for that tip. I had to replace a NIC on a server here in the office that runs 10.04. Deleted the rules file, shutdown, pull old nic, insert new nic, power up, everything works like nothing ever changed. Whole process took less than 5 minutes.
Gracias my friend. |
All times are GMT -5. The time now is 12:01 AM. |