Created
January 22, 2024 09:24
-
-
Save daparic/e4e7709d3e4eef8857fcca52d22dd778 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Solution Details | |
1. Make sure that the network card is configured properly. Once that has been determined and the behavior still persists please proceed to #2 | |
2. The Machine ID algorithm scans for ethernet configuration names of eth0-eth9. If the ethernet configuration is named with a numeric value with greater than 2 digits, then the Machine ID algorithm will fail, which will produce LINUX2-0. Administrator privilege will be required for the following. | |
a. Back up the file /etc/udev/rules.d/70-persistent-net.rules | |
b. Edit the file mentioned in (a) and look for the PCI device that is discovered when the command "ifconfig -a" is executed. | |
c. Change the "NAME" of the attribute, such that, there will only be 1 digit in the name (e.g. change <NAME="eth10"> to <NAME="eth0">). | |
d. Be sure to assign the ethernet configuration to the proper IP using "Network Preferences". | |
e. Restart the machine and try to get the Machine ID from the License Page in the Preferences dialog again. | |
For Ubuntu 16.04 follow these steps. | |
1. Navigate to /etc/default and edit the file named 'grub' | |
2. Replace the line GRUB_CMDLINE_LINUX="" | |
with the line GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0" | |
3. Rebuild the grub configuration file: | |
sudo grub-mkconfig -o /boot/grub/grub.cfg | |
4. Update grub with: sudo update-grub | |
5. Add these lines to the bottom of /etc/network/interfaces | |
auto eth0 | |
iface eth0 inet dhcp | |
6. Reboot your machine and check your Machine ID from the License Page. | |
Find more information here: https://askubuntu.com/questions/767786/changing-network-interfaces-name-ubuntu-16-04 | |
and here: http://www.itzgeek.com/how-tos/mini-howtos/change-default-network-name-ens33-to-old-eth0-on-ubuntu-16-04.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment