Showing posts with label ethernet. Show all posts
Showing posts with label ethernet. Show all posts

Wednesday, February 21, 2018

Xubuntu. No network with Intel I219-V ethernet card

xubuntu 16.04 does not recognize Intel I219-V Ethernet card.
solution is to download driver sources from Intel Downloads Site then unpack sources to your home catalog. Find file nvm.c file and open it in editor.
Find function e1000e_validate_nvm_checksum_generic(struct e1000_hw *hw) and comment body as shown:

s32 e1000e_validate_nvm_checksum_generic(struct e1000_hw *hw)
{
    /*
s32 ret_val;
u16 checksum = 0;
u16 i, nvm_data;

for (i = 0; i < (NVM_CHECKSUM_REG + 1); i++)
{
    ret_val = e1000_read_nvm(hw, i, 1, &nvm_data);

   if (ret_val)
  {
    e_dbg("NVM Read Error\n");
    return ret_val;
   }
checksum += nvm_data;
}

if (checksum != (u16)NVM_SUM) {
  e_dbg("NVM Checksum Invalid\n");
  return -E1000_ERR_NVM;
}
    */
return 0;
}

after that, build and install new module:

make

sudo rmmod e1000e
sudo make install
sudo modprobe e1000e



after that Ethernet should work.

Tuesday, June 30, 2015

Ubuntu server change NIC name p5p1 to eth0

After instalation of ubuntu server, got some strange NIC names like p5p1. Let's change it to something more convinient.

edit /etc/default/grub file

sudo nano /etc/default/grub

Modify line:

GRUB_CMDLINE_LINUX_DEFAULT="net.ifnames=0 biosdevname=0"

make new grub.cfg file:

sudo grub-mkconfig -o /boot/grub/grub.cfg

reboot server. After reboot you need to edit /etc/network/interfaces file:

sudo nano /etc/network/interfaces

change p5p1 to eth0, save file and start eth0 interface:

sudo ifconfig eth0 up