Disable Predictive Network Interface on live CD? [SOLVED]

Booting, installing, newbie
Post Reply
Message
Author
User avatar
perdido
Posts: 1528
Joined: Mon 09 Dec 2013, 16:29
Location: ¿Altair IV , Just north of Eeyore Junction.?

Disable Predictive Network Interface on live CD? [SOLVED]

#1 Post by perdido »

Doing the following in BionicPup32_19.03 with latest updates.

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
Referenced from here http://www.murga-linux.com/puppy/viewto ... 998#989998
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
}
I have also found the Ubuntu way to do this https://michlstechblog.info/blog/linux- ... nterfaces/
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 ubuntu parameters on the kernel line with and without " " quotation marks.
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?

.
Last edited by perdido on Thu 17 Oct 2019, 16:12, edited 1 time in total.

jafadmin
Posts: 1249
Joined: Thu 19 Mar 2009, 15:10

#2 Post by jafadmin »

Try adding it to one of the relevant "append" lines in the "isolinux.cfg"

Code: Select all

append pmedia=cd net.ifnames=0

User avatar
perdido
Posts: 1528
Joined: Mon 09 Dec 2013, 16:29
Location: ¿Altair IV , Just north of Eeyore Junction.?

#3 Post by perdido »

jafadmin wrote:Try adding it to one of the relevant "append" lines in the "isolinux.cfg"

Code: Select all

append pmedia=cd net.ifnames=0
Thank you, I will give that a try and report back a little later today.

.

User avatar
perdido
Posts: 1528
Joined: Mon 09 Dec 2013, 16:29
Location: ¿Altair IV , Just north of Eeyore Junction.?

#4 Post by perdido »

Hi jafadmin,
Thanks for the great help, works perfect!
.....................................................................Image

This issue is solved :)

.

jafadmin
Posts: 1249
Joined: Thu 19 Mar 2009, 15:10

#5 Post by jafadmin »

Yep, the CD boots using isolinux (a CD is an iso img)

https://wiki.osdev.org/ISO_9660

Post Reply