Add 'README.rename.netdevices'.
This commit is contained in:
parent
820fdbff49
commit
2a96dfdc8f
22
README.rename.netdevices
Normal file
22
README.rename.netdevices
Normal file
@ -0,0 +1,22 @@
|
||||
# - ==========
|
||||
# - How to rename network interface back to eth* (instead of i.e. enp0sXX)
|
||||
# - ==========
|
||||
|
||||
Solutions:
|
||||
==========
|
||||
|
||||
1.) Add 'net.ifnames=0' to parameter 'GRUB_CMDLINE_LINUX' at /etc/default/grub
|
||||
|
||||
GRUB_CMDLINE_LINUX="aufs=tmpfs console=tty0 console=ttyS0,38400n8 reboot=bios net.ifnames=0"
|
||||
|
||||
|
||||
2.) (not tested!) Create a file /etc/systemd/network/10-eth.link with the contents
|
||||
|
||||
[Match]
|
||||
MACAddress=ff:ff:ff:ff:ff:ff
|
||||
[Link]
|
||||
Name=eth0
|
||||
|
||||
replacing ff:ff:ff:ff:ff:ff with the MAC address of the device you wanted to change.
|
||||
After reboot the name was as desired.
|
||||
|
@ -251,6 +251,10 @@ Notice:
|
||||
You have to change some configuration files becaus the because
|
||||
the configuration of network interfaces must not be equal.
|
||||
|
||||
!! Take care, to use the right device names !!
|
||||
Maybe they are called i.e. 'enp0sXX', but you can rename it.
|
||||
See also : README.rename.netdevices
|
||||
|
||||
For the backup gateway host:
|
||||
eth1 --> LAN
|
||||
eth2 --> WAN or ppp0 (DSL device)
|
||||
@ -263,8 +267,9 @@ Notice:
|
||||
So you have to change the following files
|
||||
dsl-provider.${_network}: ppp0 comes over eth2
|
||||
interfaces.${_network}: see above
|
||||
default_isc-dhcp-server.${_network}
|
||||
ipt-firewall.${_network}: LAN device (mostly $local_if_1) = eth1
|
||||
second LAN WLAN or what ever (if present) = eth0
|
||||
second LAN WLAN or what ever (if present) = eth0
|
||||
|
||||
EOF
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user