Solve inode frequent disconnection problems in CentOS
Recently, I was assigned an intranet server. After installing centOS7.2, I used the Linux iNode provided by the School for authentication and login. The result will be dropped once in about two hours, after investigation, I found that the iNode client was probably a problem, so I went to a third-party H3C client to replace iNode. At present, there was no disconnection. The following describes the solution process.
YaH3C is the H3C 802.1x compatible client created by Maple of Sun Yat-sen University. For more information, see its project homepage:
Https://github.com/humiaozuzu/YaH3C
First, you need to download the client, which can be downloaded using git or offline (Note: All the following commands are performed under the root account)
git clone git://github.com/humiaozuzu/YaH3C.gitcd YaH3Cpython setup.py install
If the system prompts that the software package cannot be found during installation, update the software package list first:
yum update
Offline installation: first download the YaH3C: https://github.com/humiaozuzu/YaH3C/zipball/master (official) file humiaozuzu-yah3c-xxxxxxx.zip to extract the folder inside the main folder (/home/your username), and renamed YaH3C.
cd YaH3Cpython setup.py install
The difference between the two versions: The git version is modified by the author based on the client of his school, and may not apply to other schools. If not, you can download the offline version.
After the installation is complete, run YaH3C to add an account:
yah3c
Then follow the prompts to enter the user name, password, and network device (network card, default: eth0, if the network card name is inconsistent, you need to enter the actual network card name, such as I need to change to em1 on this server ):
Enter the password twice. For security reasons, the password is not displayed. Just enter the password. If you accidentally misconfigure your account, you can delete the configuration file.
rm /etc/yah3c.conf
Then re-configure and run yah3c again. Select Add new user and re-Add the user with incorrect configuration. The new user information overwrites the previous error information. You can also directly modify the configuration file.
After completing the account configuration, You can execute
yah3c
To select an operation, you can add an account and select an account for authentication. Enter the preceding number and select the corresponding operation. You can also execute
Sudo yah3c-u User Name
Select an account for authentication (provided that the account information has been set ).