Ifup eth0
Hi, in Mageia 4 "ifup eth0" from a script won't work because the interface has been renamed enp5s0.
And eth1 has been renamed enp2s0u1! I must of missed some thing, do we (collectively) need to change our sh files? |
Well, I'm running Debian but these things are probably the same.
Check the file "/etc/udev/rules.d/70-persistent-net.rules". Change the names to what you want. (NB change only the name.) I have read people saying you can delete the file and it will be recreated correctly, personally I have no experience of this. Of course, if you want to try this then rename the file, don't delete it. |
Hi, thanks for the quick responce.
The file you mention is missing from my new install (no updates applied yet). but I found a backup... /home/glenn/local/data/backup/backup-etc-sys/etc/etc/udev/rules.d/70-persistent-net.rules Code:
# This file was automatically generated by the /lib/udev/write_net_rules |
Hi, copying the file allowed me to reconfigure the eth devices.
(remove devices from network center rebooted and added the 2 devices) Now I have the familiar names for my firewall and proxy scripts. Thanks to you. |
All times are GMT -5. The time now is 09:33 AM. |