root@trubuntu:~/client# ./pre.ps ##运行安装脚本
configuration directory exist
Refresh IP script is READY.
Authencation file is READY.
pre operation finished successfully
root@trubuntu:~/client# 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 : ##询问是使用“广播触发”模式还是使用“多播触发”,在WINDOWS中我们必须配置客户端为“多播触发”才可以上网,但Linux中的这个客户端你选哪个都能正常上网,所以写1写2可随意。
2
Send all packets by multicast? (Y/N):
y
Refresh your IP address after connecting? (Y/N): ##询问连接后是否更新IP,看你个人意愿和系统需要,如果你使用redhat、fedora core最好选择是,因为红帽的系统常常无法自动获得IP,如果你是其他发行版,比如Ubuntu,可以选否。
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):
y
Configuration has finished, do you want to save it?(Y/N) ##询问是否保存配置文件,这个要选Y设置才会生效
y
Save configuration sucessfully! ##配置成功
root@trubuntu:~/client# 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/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 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即可。
[Copy to clipboard] [ - ]CODE:
802.1x Supplicant for Linux 安装使用说明
目录
安装
解压缩
执行安装文件
使用
配置用户信息
发起网络认证
查看网络状态和版本信息
断开网络连接