Activating on Linux without eth0
24 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Daniel Shub
el 29 de Abr. de 2013
I have an activation question. I have asked technical support, but I thought I would ask here. I thought this would be desirable both in terms of speed for me and potentially to share the issue for others ...
I run Arch Linux. Arch Linux has switched to the new standard of Consistent Network Device Naming where network devices are no longer named eth0, eth1, wlan0, wlan1. Both 1-661QJD and 1-EUTG50 are relevant and highlight the problem. For activation on Linux, TMW requires the legacy eth0 naming convention.
For Red Hat, TMW suggests removing the package that implements consistent network device naming. This is not an option on Arch. does anyone know a work around? Does anyone know a work around that does not require disabling consistent network device naming? I thought it used to be possible to activate with the UUID of a harddisk...
5 comentarios
Walter Roberson
el 29 de Abr. de 2013
Hmmm, apparently device files for ethernet have changed considerably ... I cannot find any on my OS-X system! I guess it must be using system calls to find the ethernet table. If something similar is what is happening on your system, then creating a new file might not help at all :(
Respuesta aceptada
Daniel Shub
el 29 de Abr. de 2013
Editada: Scott
el 6 de Jun. de 2016
1 comentario
Scott
el 6 de Jun. de 2016
Editada: Scott
el 6 de Jun. de 2016
Hi Daniel,
I am glad to hear you got MATLAB up and running on Arch using the instructions from Unix & Linux Stack Exchange. Just so you know, R2014a added support for Consistent Network Device Naming so these steps shouldn't be necessary for R2014a and later releases.
If you are unable to activate MATLAB normally using R2014a or later please contact us so we can look into this further:
Thanks,
-Scott
MathWorks Installation & Licensing Support
Más respuestas (1)
A
el 7 de Sept. de 2013
Editada: A
el 7 de Sept. de 2013
I run Gentoo linux, and consistent NIC naming has been introduced since udev v197 I think. So activation was an issue for me as I had no eth0 device on my system.
My work-around was to create a udev rule to force the name eth0.
I have the following in /etc/udev/rules.d/70-use-eth0-for-matlab-licensing.rules (one line):
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="your:mac:address:here", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth?", NAME="eth0"
You can find the mac address of your device by running 'ifconfig -a'. Keep it in lower-case. I used my ethernet NIC's mac, as I hardly use it, so I'm hoping this won't have unintended consequences for the rest of my system.
You'll need to keep this work-around for as long as you use matlab (not just for activation), as the licensing info is verified at launch, so it needs to find eth0 every time.
You may have to update a /etc/init.d/net.* link and /etc/conf.d/net to use the new name.
0 comentarios
Ver también
Categorías
Más información sobre Install Products en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!