LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Consistent Network Device Naming in Fedora (https://www.linuxquestions.org/questions/linux-newbie-8/consistent-network-device-naming-in-fedora-932740/)

pedenski 03-04-2012 09:44 PM

Consistent Network Device Naming in Fedora
 
Fedora does not use the conventional ethX naming anymore, theyre using this thing called 'ConsistentNetworkDeviceNaming'

when i use #ifconfig
its shows lo, p3p1 where (p3p1 p<slot>p<port>

according to the wiki, if i want to disable the 'CNDN' and go back to the old naming convention 'ethX' i should edit the linux kernel cmd line to "biosdevname=0" which i assume is /etc/grub.config

my question is, where do i find the linux kernel?

im using fedora16 and cant find it anywehere
/etc/

John VV 03-04-2012 10:52 PM

you do not edit " the kernel"

you add the option to the boot line

example - for SL6 and not fedora
but the same principle
menu.lis
Code:

kernel /vmlinuz-2.6.32-220.4.1.el6.x86_64 ro root=UUID=c98b635c-59e8-4419-ad0c-623260ef5a90 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us crashkernel=128M rhgb quiet
you would add it to the end of the line
Code:

kernel /vmlinuz-2.6.32-220.4.1.el6.x86_64 ro root=UUID=c98b635c-59e8-4419-ad0c-623260ef5a90 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us crashkernel=128M rhgb quiet biosdevname=0
and t is NOT "/etc/grub.config"
it is
/boot/grub/grub.conf
-- or --
/boot/grub/menu.lis

pedenski 03-05-2012 12:25 AM

turns out that fedora's boot grup is located at

/boot/grub2/grub.cfg

when i open it in vi, its just blank
im really not sure if this is the right place to append 'biosdevname=0'


All times are GMT -5. The time now is 05:57 AM.