How to install network card driver on Ubuntu server 16.04

How to install network card driver on Ubuntu server 16.04

Ubuntu server 16.04 installed, found no network card

$ ifconfig -a
How to install network card driver on Ubuntu server 16.04

Check that /etc/udev/rules.d/ is empty
$ ls /etc/udev/rules.d/

Check the network card model:
$ sudo lshw -short | ngrep network

$ sudo lshw -C network

Copy network card driver via u disk

$ sudo mount /dev/sdb4 /media/cdrom

$ sudo cp /media/cdrom/e1000e-3.8.4.tar.gz /usr/local/src/

Unzip the network card driver and install it:
$ cd /usr/local/src
$ sudo uzip -xvf e1000e-3.8.4.tar.gz
How to install network card driver on Ubuntu server 16.04

$ cd e1000e-3.8.4/src
$ sudo make install

Restart the computer and run ifconfig -a to view the checked network port number (for example, eno1)

$ ifconfig -a

Edit file

$sudo vi /etc/network/interfaces
How to install network card driver on Ubuntu server 16.04

Restart the network:

$ sudo /etc/init.d/networking force-reload

$ sudo /etc/init.d/networking restart

Guess you like

Origin blog.51cto.com/2221384/2547048