Ask Your Question
0

helion installation query

asked 2014-05-08 14:35:53 -0600

Subhrangshu gravatar image

I have a question on the installation part. The document says “Network devices are named eth0, eth1, and so on because this is what the installation process is expecting. Naming schemes such as em1, em2, or any other biosdevname will not work” But in Ubuntu 14.04 atleast, the naming scheme is em1, em2 etc. Would the installation fail ? How do I change the naming scheme if it is mandatory ?

edit retag flag offensive close merge delete

3 answers

Sort by » oldest newest most voted
1

answered 2014-05-09 05:44:21 -0600

Eng-Hwa Tan gravatar image

physical machine must have eth0 and not em1 or other nic naming. set biosdevname=0 remember to run update-grub , edit your /etc/network/interfaces after that..and reboot

root@ubun460cG7:~# head -20 /etc/default/grub

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=2
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`

GRUB_CMDLINE_LINUX_DEFAULT="biosdevname=0"
GRUB_CMDLINE_LINUX="biosdevname=0"
edit flag offensive delete link more
0

answered 2014-05-08 15:45:35 -0600

Try this.. You can write your own rules in /etc/udev/rules.d/70-persistent-net.rules. Add something like this

SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?", ATTR{address}=="ch:an:ge:to:yo:ur:mc:ad", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth", NAME="eth0"

edit flag offensive delete link more

Comments

this seemed not work in ubuntu 13.10, any thing i missed?

9lives gravatar image9lives ( 2014-05-15 03:37:39 -0600 )edit
0

answered 2015-05-08 04:15:08 -0600

Instead of making sure that the boot-loader is configured to pass the necessary parameter to the kernel, just get rid of the feature altogether:

aptitude purge biosdevname && update-initramfs -u
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-05-08 14:35:53 -0600

Seen: 2,642 times

Last updated: May 09 '14