Ubuntu下用华为h3c802.1x认证上网

首先下要用到的两个文件.h3c802.1xclient.tar.gz和libstdc++_2.96-111_i386.deb下载。

在Linux公社FTP里:

FTP地址:ftp://www.6688.cc/

用户名:

密码:

在2010年LinuxIDC.com\12月\Ubuntu下用华为h3c802.1x认证上网\

具体下载方法见

下载完后就是安装了.先安装libstdc++ 双击libstdc++_2.96-111_i386.deb就可以完成安装.接下来在终端里:tar -vzxf h3c802.1xclient.tar.gz #解压h3c802.1xclient.tar.gzcd h3c802.1xClient #里面有三个可执行文件linux1x、pre.ps、renew.pssudo chmod a+x linux1x pre.ps renew.ps #加上可执行权限sudo ./pre.ps #执行里面的pre.ps然后在:系统->系统管理->网络.->连接->属性配置好网络(使用静态IP).并在DNS里添加DNS服务器:sudo /etc/init.d/networking restart #重启一下网络接下来是配置认证客户端.sudo linux1x -c终端显示信息如下:configure 802.1X network connection argumentsCurrent configuration is:

The way to initialize 802.1X authentication…….:multicastSend all packets by multicast…………………:YRefresh IP address after connecting……………:NSave message and package to log……………….:YThe save directory is………………………..:/home/shine/h3c/Continue to configure your network connection arguments?(Y/N)yThere 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 :2Send all packets by multicast? (Y/N):yRefresh your IP address after connecting? (Y/N):nSave message and package to log?(Y/N):yThe default save directory is ‘/home/shine/h3c/’, do you want to change it?(Y/N):nConfiguration has finished, do you want to save it?(Y/N)ySave configuration sucessfully!

在配置过程中自动更新IP要选N.否则出现如下乱码:E2546: IP (静态IP地址绑定失败.出现乱码是没有配置好中文)这时候可以试着执行一下linux1x,第一次执行需要输入用户名和密码,以后就不用了sudo linux1x -dstart 802.1X authenticationdevice checkserver checkpass authentication这下就可以上网了!!!!!!!!!!!!动态IP的请参考华为802.1x认证上网-5.18

,人总是珍惜未得到的,而遗忘了所拥有的

Ubuntu下用华为h3c802.1x认证上网

相关文章:

你感兴趣的文章:

标签云: