Why can't I activate MATLAB or start the network license manager in a newer Linux environment?

조회 수: 37 (최근 30일)
When trying to activate MATLAB on newer Linux versions, the activation fails. Checking the Host ID shows that the Host ID is 000000000000 which does not work. I also experience issues with the network license manager where it will not start on these new distributions. How can I activate MATLAB or use the license manager in this environment?

채택된 답변

MathWorks Support Team
MathWorks Support Team 2022년 11월 22일
편집: MathWorks Support Team 2022년 11월 22일
For MATLAB R2014a and later, licenses can be activated to devices using the Consistent Network Device Naming convention. 
For MATLAB R2013b and earlier, licenses can be activated on a machine with no eth0 using a udev rule to rename the device to eth0.
udev rules are constructed as a series of matching conditions and action commands. When a device matches all of the conditions, the assignment commands will be executed. udev rules are stored in /etc/udev/rules.d and must have a .rules extension. They are read and processed in lexicographical order. The udev rule to change the Network Interface Card's will typically be named 70-persistent-net.rules
The simplest udev rule to change the name of an ethernet device, with MAC address xx:xx:xx:xx:xx:xx, to eth0 will be:
ATTR{address}=="xx:xx:xx:xx:xx:xx", NAME="eth0"
There are other methods of changing the name of the ethernet device, but many of them are distribution specific and can not be guaranteed work on all distributions. udev rules take priority on all systems running the udev framework.
If you would like more information about this naming convention change please take a look at the following link:
For releases R2008b and earlier MATLAB must be locked to an eth0 device.
  댓글 수: 1
Walter Roberson
Walter Roberson 2018년 4월 27일
My understanding is that it depends upon the MATLAB release, that in sufficiently new releases, it scans the ethernet table at the time of activation and registers all of the interfaces that exist at that time, by MAC address.
I could be wrong on this as I have not installed MATLAB on a Linux system for a while.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Manage Products에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by