How to keep Host ID from changing on Linux
Show older comments
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 Comments
Star Strider
on 11 Mar 2025
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
on 11 Mar 2025
Ciel
on 11 Mar 2025
Walter Roberson
on 11 Mar 2025
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
on 6 Sep 2025
Ragnar
on 16 Jul 2026 at 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'"
'
Answers (0)
Categories
Find more on Manage Products in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!