Changes

Jump to navigation Jump to search
Updated to add UDEV or Grub method for persistent network interface names.
Line 83: Line 83:  
     up /etc/network/firewall.sh
 
     up /etc/network/firewall.sh
    +
==== Persistent Interface Names ====
 +
===== UDEV method =====
 
* There is typically only one network interface, and it will be named dynamically.  We must setup this using udev to be persistent
 
* There is typically only one network interface, and it will be named dynamically.  We must setup this using udev to be persistent
   Line 90: Line 92:  
Now take this HWaddr and put it in the config file
 
Now take this HWaddr and put it in the config file
 
     echo 'SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="52:54:00:73:86:06", ATTR{dev_id}=="0x0", ATTR{type}=="1", NAME="eth0"' >/etc/udev/rules.d/70-persistent-net.rules
 
     echo 'SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="52:54:00:73:86:06", ATTR{dev_id}=="0x0", ATTR{type}=="1", NAME="eth0"' >/etc/udev/rules.d/70-persistent-net.rules
 +
 +
===== Grub method =====
 +
* Edit the /etc/default/grub file:
 +
  vim /etc/default/grub
 +
 +
* Look for "GRUB_CMDLINE"LINUX" and add the following "net.ifnames=0 biosdevname=0"
 +
  GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0"
 +
 +
* Generate new grub config file
 +
  sudo grub-mkconfig -o /boot/grub/grub.cfg
 +
 +
==== Other required config items ====
    
* configure screen to use the scroll back buffer
 
* configure screen to use the scroll back buffer

Navigation menu