Connect to the Internet with the 802.1X Authentication in Linux-5.18 configuration details (most detailed)

Source: Internet
Author: User

I found it for a long time and recorded it for everyone to learn!

First download the client (included in the attachment)
Download to your home directory (that is, home), decompress the package, decompress the package, and run the following command (note not to make an error, # comment after it, and do not enter it)

Follow the steps below to enter the command. If there is an error, post the error code later!

CD client3
Sudo Su # obtain the root permission and you need to enter the password
Chmod + x * # Grant executable permissions to the file
./PRE. PS # Run the installation script
Configuration directory exist
Refresh IP script is ready.
Authencation file is ready.
Pre operation finished successfully
Linux1x-C # configure Internet Parameters
Configure 802.1x network connection arguments
Current configuration is:
The way to initialize 802.1x authentication ......: Multicast
Send all packets by multicast ......: N
Refresh IP address after connecting...
Save message and package to log...
Continue to configure your network connection arguments? (Y/N)
Y
There are two ways to initialize 802.1x authentication:
1. trap by broadcast.
2. trap by multicast.
Please choose the way to initialize the 802.1X Authentication: # whether to use broadcast trigger mode or multicast trigger"
2
Send all packets by multicast? (Y/N ):
Y
Refresh your IP address after connecting? (Y/N): # Check whether the IP address is updated after the connection
Y
Save message and package to log? (Y/N): # Check whether logs are saved.
Y
The default save directory is '/var/log/h3c-linux1x/', do you want to change it? (Y/N ):
N
Configuration has finished, do you want to save it? (Y/n) # Check whether the configuration file is saved.
Y
Save configuration sucessfully! # Configuration successful

Linux1x-d
Please enter your user name (less than 128 characters): xxxxxx # enter your account name
Please enter your password (less than 64 characters): # enter the account password
Start 802.1X Authentication
Device check
Server check
Internet Systems Consortium DHCP Client v3.0.2
Copyright 2004 Internet systems consortings.
All rights reserved.
For info, please visit http://www.isc.org/products/dhcpsit0: unknown hardware address type 776
Sit0: Unknown hardware address type 776
Listening on LPF/eth0/00: YY: 4C: ZZ: CB: xx
Sending on LPF/eth0/00: YY: 4C: ZZ: CB: xx
Sending on socket/fallback
Dhcprequest on eth0 to register 255.255.255 port 67
Dhcpack from 172.17.138.1
Bound to 172.17.138.xx -- renewal in 38286 seconds.
Pass authentication
Proxy check off
Multi-Network-card off
HTTP check off
...............
If the connection succeeds, the password will be automatically saved. You can enter linux1x-D to access the Internet next time.

 

Source: http://bbs.linuxeye.cn/thread-43-1-1.html

Thank you!

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.