I have just happened to notice, that if I do not install on the machine Debian desktop environment (my favourite is Mate),
then changing "Predictable Network Interface Names" to ethX and wlanX does not work
with any of the 3 options suggested here:
https://www.freedesktop.org/wiki/Softwa ... faceNames/
If I install Mate, "Predictable Network Interface Names" ethX and wlanX work as they should by
changing this line to:
GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0"
Is there any way to get ethX and wlanX if I do not have "Debian desktop environment" installed and it is a headless machine? As this is driving me crazy
My set up is latest UEFI Debian 64bit on OptiPlex9020M ..
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
[SOLVED]Predictable Network Interface Names - UNpredictable!
[SOLVED]Predictable Network Interface Names - UNpredictable!
Last edited by 1byte on 2018-01-10 17:29, edited 1 time in total.
Re: Predictable Network Interface Names - UNpredictable!
I have never used the 'biosdevname' parameter and it is not mentioned as part of solution 3 on the link. Seems if you turn off the biosnames, then the only option would be the predictable scheme though?1byte wrote:I have just happened to notice, that if I do not install on the machine Debian desktop environment (my favourite is Mate),
then changing "Predictable Network Interface Names" to ethX and wlanX does not work
with any of the 3 options suggested here:
https://www.freedesktop.org/wiki/Softwa ... faceNames/
If I install Mate, "Predictable Network Interface Names" ethX and wlanX work as they should by
changing this line to:
GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0"
Is there any way to get ethX and wlanX if I do not have "Debian desktop environment" installed and it is a headless machine? As this is driving me crazy
My set up is latest UEFI Debian 64bit on OptiPlex9020M ..
That doesn't make sense that a DE is required, I'used net.ifnames=0 without a DE and it works fine here. Maybe it could be some specific quirk in your hardware?
here's another link with short info, seems like it could be related if you upgraded the system from jessie?
https://www.debian.org/releases/stable/ ... face-names
resigned by AI ChatGPT
Re: Predictable Network Interface Names - UNpredictable!
GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0"
or
GRUB_CMDLINE_LINUX="net.ifnames=0"
does not work ..... the machine boots up, it shows that it has got "eth0" interface, but no IP4 or 6 address is assigned.
I see, could it be issue with DHCP?
or
GRUB_CMDLINE_LINUX="net.ifnames=0"
does not work ..... the machine boots up, it shows that it has got "eth0" interface, but no IP4 or 6 address is assigned.
I see, could it be issue with DHCP?
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 132 times
Re: Predictable Network Interface Names - UNpredictable!
That means that it has worked.1byte wrote:GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0"
or
GRUB_CMDLINE_LINUX="net.ifnames=0"
does not work ..... the machine boots up, it shows that it has got "eth0" interface
The net.ifnames=0 parameter just changes the name of the interface back to the old-style ("eth0") and you seem to be reporting that it has done just that.
To clarify, with that parameter applied, please post the output of:
Code: Select all
cat /proc/cmdline
ip link
deadbang
Re: Predictable Network Interface Names - UNpredictable!
sudo ln -s /dev/null /etc/systemd/network/99-default.link
sudo update-initramfs -u
will give me "eth0", but no IP4 or 6 address is assign on boot again ....
sudo update-initramfs -u
will give me "eth0", but no IP4 or 6 address is assign on boot again ....
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 132 times
Re: Predictable Network Interface Names - UNpredictable!
How are you connecting?1byte wrote:but no IP4 or 6 address is assign on boot again ....
deadbang
Re: Predictable Network Interface Names - UNpredictable!
All solved, thank you.Head_on_a_Stick wrote: If you have no connection then try editing /etc/network/interfaces with the correct interface names (if you are using that to connect).
Added extra lines with correct interfaces in "/etc/network/interfaces"
Code: Select all
$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eno1
iface eno1 inet dhcp
# This is an autoconfigured IPv6 interface
iface eno1 inet6 auto
allow-hotplug eth0
iface eth0 inet dhcp
iface eth0 inet6 auto