Questions about network configuration of Huawei clients on Campus Network linux

Source: Internet
Author: User
For more information about the network configuration of Huawei clients on Campus Network linux-general Linux technology-Linux technology and application, see the following. The configuration order is as follows:
Usage of Huawei 802.1X client for Linux
*********************************
Online authentication client Configuration Guide
*********************************

Happy @ trubuntu :~ /$ Unzip linux_client.zip
Happy @ trubuntu :~ /$ Cd client/

Happy @ trubuntu :~ /Client $ sudo-sH # obtain the root permission
Password:

Root @ trubuntu :~ /Client #./pre. ps # Run the installation script
Configuration directory exist
Refresh IP script is READY.
Authencation file is READY.
Pre operation finished successfully

Root @ trubuntu :~ /Client # 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 ", in WINDOWS, We must configure the client as "Multicast trigger" to access the Internet. However, in Linux, either of the clients can access the Internet normally, so you can write 1 to 2 at will.

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, depending on your personal wishes and system needs. If you use redhat and fedora core, the best choice is, because the Red Hat system often cannot automatically obtain the IP address, if you are another release version, such as Ubuntu, you can choose not.

Y

Save message and package to log? (Y/N): # Check whether logs are saved. Select

Y

The default save directory is '/var/log/h3c-linux1x/', do you want to change it? (Y/N ):
Y

Configuration has finished, do you want to save it? (Y/N) # Check whether the configuration file is saved. This setting takes effect only when Y is selected.
Y

Save configuration sucessfully! # Configuration successful

Root @ trubuntu :~ /Client # 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/DHCP

Sit0: 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 is successful, the password will be automatically saved. You only need to enter linux1x-d next time you access the internet.


[Copy to clipboard] [-] CODE:


802.1x Supplicant for Linux installation instructions
Directory
Install
Extract
Run the Installation File
Use
Configure user information
Initiate Network Authentication
View network status and version information
Disconnect a network

Install
The installation process is divided into two steps: first uncompress the package and then execute the installation file.
Extract
Unzip linux_client.zip
Run the Installation File
To the expanded folder.
./Pre. ps
Use
You can use command lines to interact with programs.
Configure user information
You can run the following command to configure user information:
Linux1x? C
Initiate Network Authentication
You can run the following command to start authentication:
Linux1x [-u username [/password] [-n netchar] [-d] [-p]
No parameter. If no parameter exists, the parameter of the last successful authentication is used.
-After u, enter the user name and password.
-After n, enter the name of the authentication Nic, such as eth0, eth1, and eth2.
-D indicates that the program runs in daemon mode. After passing authentication, it is transferred to the background for running.
-P prompts the user to enter the required information one by one
Example:
You can run the following command to authenticate the network adapter eth0 by using user1 and pass1 as the password:
(1) linux1x? U user1/pass1? N eth0 (running on the foreground by default)
(2) linux1x? U user1/pass1? N eth0? D (go to the background after passing the authentication)
(3) linux1x? U user1/pass1 (enter the required information in the prompt)
(4) linux1x (enter the required information in the prompt)
(5) linux1x? P (if the Stored User authentication information is not used, the system prompts you to enter all required information)

View network status and version information
Run the following command to view the network status and version information:
Linux1x? V [seconds]
-V: Enter the time to be displayed, in seconds.
Example:
1. If you want to keep viewing network statistics, run the following command:
(1) linux1x? V
(2) linux1x? V 0

2. If you want to view the network statistics for a period of time and exit after 5 seconds, run the following command:
(1) linux1x? V 5

Disconnect a network
You can run the following command to disconnect the network:
Linux1x? K
-K: disconnect the current network.

Then I configured a problem to enter the user name.

Please enter your user name (less than 128 characters): xxxxxx # enter your account name
I encountered a problem here. I entered the user name and said the error seems too long. I tried to use the user name "cnc. stub0530235419 cannot be said wrong, but we don't have this cnc account. Our usernames are all so long.

[ This post was last edited by zbz0425]
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.