Change MAC address to change Teamviewer ID in Centos
In Centos 7, after using Teamviewer 15.8.3 for a time, there is an error says a connection failure: the connection was blocked after timeout. Your license limits the maximum chat time between you and your partner, and it will be blocked when you reconnect immediately. Please try again later or upgrade your license.
We can try to change the ID of Teamviewer by modifying the MAC address.
1. Remove Teamviewer
Query the rpm package and uninstall teamviewer.
$ rpm -q teamviewer teamviewer-15.8.3-0.x86_64 $ sudo yum remove teamviewer-15.8.3-0.x86_64
2. Change Mac address
ifconfig to list the local network, the results are as follows:
$ ifconfig enp12s0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 ether b8:88:e3:3c:17:03 txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 ...
enp12s0 is the network interface to be changed. The Mac address is
b8:88:e3:3c:17:03. Change it by typing:
sudo ifconfig enp12s0 hw ether b8:88:e3:3c:97:01
3. Install Teamviewer
sudo yum install ./teamviewer_15.8.3.x86_64.rpm
After all, open teamviewer, or run
sudo teamviewer info in the terminal.
$ sudo teamviewer info TeamViewer 15.8.3 (RPM) TeamViewer ID: 271239144 ...
4. Change Mac address permanently
Through the above steps, we can change the Mac address, but it is temporary. If we restart the computer, the Mac address will return to the original address. We can add a command in the file of
/etc/rc.local, such as:
#!/bin/bash # THIS FILE IS ADDED FOR COMPATIBILITY PURPOSES ... # Add this line ifconfig enp12s0 hw ether b8:88:e3:3c:97:01
Please note that we must run
chmod +x /etc/rc.d/rc.local to ensure that this script will be executed during boot.
chmod +x /etc/rc.d/rc.local