How to keep Host ID from changing on Linux
이전 댓글 표시
I am currently on a trial of matlab and my host ID changes upon completely random circumstances, I can have consequtive launches with no problem then suddenly it says my hwid is mismatched, happened once when I installed new desktop to get dark mode, then just randomly a few times. I am on Arch, what could be causing this? It's not like it changes every other launch either
> matlab
MATLAB is selecting SOFTWARE rendering.
License checkout failed.
License Manager Error -9
Host ID '125e69df2eff' in the license file does not match your computer's host ID: "1643c734f6fd f02f741d5011 f02f741d4fb4".
To resolve this issue, reactivate your license.
Troubleshoot this issue by visiting:
https://www.mathworks.com/support/lme/9
Diagnostic Information:
Feature: MATLAB
License path: /home/ciel/.matlab/R2024b_licenses:/home/ciel/MATLAB/2024B/licenses/license.dat:/home/ciel/MATLAB/2024B/licenses/trial_12942131_R2024b.lic
Licensing error: -9,57.
Unable to launch MVM server: License Error: Licensing shutdown
> ./MATLAB/2024B/bin/glnxa64/MathWorksProductAuthorizer
> matlab
MATLAB is selecting SOFTWARE rendering.
> matlab -nosoftwareopengl
License checkout failed.
License Manager Error -9
Host ID '1643c734f6fd' in the license file does not match your computer's host ID: "2652814a85c3 f02f741d5011 f02f741d4fb4".
To resolve this issue, reactivate your license.
Troubleshoot this issue by visiting:
https://www.mathworks.com/support/lme/9
Diagnostic Information:
Feature: MATLAB
License path: /home/ciel/.matlab/R2024b_licenses:/home/ciel/MATLAB/2024B/licenses/license.dat:/home/ciel/MATLAB/2024B/licenses/trial_12942131_R2024b.lic
Licensing error: -9,57.
Unable to launch MVM server: License Error: Licensing shutdown
> ./MATLAB/2024B/bin/glnxa64/MathWorksProductAuthorizer
> matlab -nosoftwareopengl
> matlab
This is all within one single terminal session, and a few more has happened before this, what do I do?
댓글 수: 7
Star Strider
2025년 3월 11일
Do as it suggests and contact Tech Support.
It even gives you the URL:
Troubleshoot this issue by visiting:
https://www.mathworks.com/support/lme/9
.
Ciel
2025년 3월 11일
Ciel
2025년 3월 11일
Walter Roberson
2025년 3월 11일
You have Mac Address Randomization enabled.
See https://wiki.archlinux.org/title/NetworkManager#Configuring_MAC_address_randomization for information on disabling it if you happen to be using Network Manager. (Different linux versions handle networks in different ways.)
Ciel
2025년 9월 6일
Ragnar
2026년 7월 16일 14:40
since i kept running in to this, this question is high up on search engines and matlab keeps using the mac address of your network card(s) as a host id, here's a work-around i cobbled together:
#!/bin/bash
# change these three to match your system (MAC is your "HOST ID", just add the colons)
USR=YOUR_USERNAME
MATLAB_CMD="/home/$USR/matlab/bin/matlab"
MAC=12:5e:69:df:2e:ff
sudo unshare -n --fork --mount-proc -- bash -lc '
ip link add dummy0 type dummy
ip link set dev dummy0 down
ip link set dev dummy0 address '$MAC'
ip link set dev dummy0 up
su - '$USR' -c "'$MATLAB_CMD'"
'
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Manage Products에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!