Solve inode frequent disconnection problems in CentOS

Source: Internet
Author: User
Tags using git

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 ).

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.