Trying to disable the Predictive Network Interface in a remastered BionicPup32 live CD so that network interface naming will use the old naming convention such as wlan0 when booting from live CD or live USB
The method to disable Predictive Network Interface in Grub4 menu.lst in puppy is add net.ifnames=0 to the kernel line in menu.lst like this
Code: Select all
kernel /biopup32-new/vmlinuz net.ifnames=0
That works well in a frugal install.
Now trying to apply some form of this kernel line to grub.cfg in a remastered CD that will be booted on different machines as a live CD, I have a need for the network interface name to remain the same between machines.
Using this stock grub.cfg from the live CD
Code: Select all
insmod png
background_image /splash.png
set timeout=10
menuentry "Start upupbb 19.03" {
linux /vmlinuz pmedia=cd
initrd /initrd.gz
}
menuentry "Start upupbb 19.03 - RAM only" {
linux /vmlinuz pfix=ram pmedia=cd
initrd /initrd.gz
}
menuentry "Start upupbb 19.03 - No X" {
linux /vmlinuz pfix=nox pmedia=cd
initrd /initrd.gz
}
menuentry "Start upupbb 19.03 - check filesystem" {
linux /vmlinuz pfix=fsck pmedia=cd
initrd /initrd.gz
}
menuentry "Start upupbb 19.03 - No KMS" {
linux /vmlinuz nomodeset pmedia=cd
initrd /initrd.gz
}
menuentry "Start upupbb 19.03 - Ram Disk SHell" {
linux /vmlinuz pfix=rdsh pmedia=cd
initrd /initrd.gz
}
menuentry "Shutdown" {
halt
}
menuentry "Reboot" {
reboot
}
by adding the following to the kernel line net.ifnames=0 biosdevname=0
Ubuntu uses " " quotation marks around the kernel parameters.
Code: Select all
GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0"
I have tried booting the remastered CD using the Grub4 puppy parameters on the kernel line with and without the " " quotation marks.
So far there is never a change in the network name when adding the parameter to the kernel line trying both puppy and ubuntu method booting the live CD or live USB
Stuck here with nowhere to go with this, its not a show-stopper just a minor irritant that would be nice to work out.
Anyone made this work on a live CD or live USB?
.