HC3 802.1X上网认证客户端配置指南
cd /usr/lib
liling@lilingPC:/usr/lib$ ls libstdc++*
在我的系统上ls命令的结果是 libstdc++.so.5 libstdc++.so.6 libstdc++.so.6.0.14
libstdc++.so.6.0.14(旧版本的ubuntu可能是 libstdc++.so.6.0.8)就是我们要找的,给它做个链接
sudo linux1x (记得要su一下,要不然会出现同样缺少该库的问题) 代码:
$ sudo ln -s libstdc++.so.6.0.14 libstdc++-libc6.2-2.so.3
happy@trubuntu:~/$unzip linux_client.zip happy@trubuntu:~/$cd client/
happy@trubuntu:~/client$ sudo -sH ##取得root权限 Password:
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:
Supplicant for Linux 安装使用说明 目录 安装 解压缩 执行安装文件 使用
802.1x