Activating MATLAB under fedora 20 - ETH0 is reported missing.

1 次查看(过去 30 天)
Hello,
It's just an upgrade to fedora 20...
but il use a lot of methods to rename ethernet device to eth0... (the same methods in fedora 15, 16, 17 and 18) but NOPE.
I got em1:, I used biosdevname=0, I removed biosdevname package, I change data and files in /etc/sysconfig/network-scripts...
Now I have enp1s0:
and MATLAB is not activated. *%#@!&%£## !!! grrrrrrrrr.
Does any body could help me, please !
Thanks a lot.
Bernard, from France.
PS. Any way, if I have to downgrade to fedora 19, I will do it, but tell me !!

采纳的回答

Bernard
Bernard 2014-4-30
RESOVED
The easiest way to restore the old way Kernel/modules/udev rename your ethernet interfaces is supplying these kernel parameters to Fedora 19:
net.ifnames=0
biosdevname=0
To do so follow this steps:
Edit /etc/default/grub
At the end of GRUB_CMDLINE_LINUX line append "net.ifnames=0 biosdevname=0"
Save the file
Type "grub2-mkconfig -o /boot/grub2/grub.cfg"
Type "reboot"
If you didn't supply these parameters during the installation, you will probably need to adjust and/or rename interface files at /etc/sysconfig/network-scripts/ifcfg-*.
Up to Fedora 18, just biosdevname=0 was enough.
As an example, in a certain machine, in a exhaustive research, I got:
-No parameters: NIC identified as "enp5s2". -Parameter biosdevname=0: NIC identified as "enp5s2". -Parameter net.ifnames=0: NIC identified as "em1". -Parameter net.ifnames=0 AND biosdevname=0: NIC identified as "eth0".

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Install Products 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by