Linux系统下 华为802.1x认证上网-5.18 配置详解(最详细)

找了好久才找到的,记录一下供大家学习!

首先下载客户端(附件中有)
下载到你的主目录(也就是home)里,然后解压,解压后就进行下面的命令(注意不要出错,##后的是注释,不用输入

按照下面的步骤输入命令,如果有错误请在后面跟帖,把错误的代码贴出来!

cd client3
sudo su ##取得root权限,会需要你输入密码
chmod +x * ##给文件赋予可执行权限
./pre.ps ##运行安装脚本
configuration directory exist
Refresh IP script is READY.
Authencation file is READY.
pre operation finished successfully
linux1x -c ##配置上网参数
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...............:Y
Save message and package to log...................:N
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 : ##询问是使用“广播触发”模式还是使用“多播触发”
2
Send all packets by multicast? (Y/N):
y
Refresh your IP address after connecting? (Y/N): ##询问连接后是否更新IP
y
Save message and package to log?(Y/N): ##询问是否保存日志
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) ##询问是否保存配置文件
y
Save configuration sucessfully! ##配置成功

linux1x -d
Please enter your user name (less than 128 characters):xxxxxx ##输入你的帐户名
Please enter your password (less than 64 characters): ##输入帐户密码
start 802.1X authentication
device check
server check
Internet Systems Consortium DHCP Client V3.0.2
Copyright 2004 Internet Systems Consortium.
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 255.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
...............
连网成功,密码会被自动保存,下次要上网,输入linux1x -d就可以了。

 

 本文出处:http://bbs.linuxeye.cn/thread-43-1-1.html

感谢作者!

posted on 2008-11-24 20:54  阿锋  阅读(2087)  评论(1编辑  收藏  举报

导航