本人已经在32位的Intel、AMD下亲测过,如有朋友不成功的话,请认证检查原因,
顺便说下,本人在AMD 64位的机子上没弄成功,就是那个libstdc++_2.96-111_i386.deb依赖包装不上。
首先安装libstdc++_2.96-111_i386.deb,双击即可
下载客户端h3c802.1xClient.tar.gz,解压到某一目录,假定是h3c,请阅读一下里面Readme,这里不再赘述里面的内容。
cd到h3c目录,里面有三个文件需要可执行权限,分别是linux1x、pre.ps、renew.ps,没有的话请给它们加上
代码:
代码: 全选
$ sudo chmod a+x linux1x pre.ps renew.ps
执行里面的pre.ps,(把软件安装到系统中去,一般是装到/usr/local/bin )
代码:
代码: 全选
$ sudo ./pre.ps
把上网方式改成dhcp,我建议你在图形环境下配置,也可以直接修改sudo gedit /etc/network/interfaces文件,把里面带有eth0的部分改成
代码:
代码: 全选
iface eth0 inet dhcp
auto eth0
代码:
代码: 全选
$ sudo /etc/init.d/networking restart
root@trubuntu:~/client#
代码: 全选
sudo 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! ##配置成功
root@trubuntu:~/client#
代码: 全选
sudo linux1x -d
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
...............
联网成功,密码会被自动保存,下次你再上网,只需要输入
代码: 全选
sudo linux1x -d
Enjoy yourselves![/b]