首先下要用到的两个文件.h3c802.1xclient.tar.gz和libstdc++_2.96-111_i386.deb下载。在Linux公社FTP里:FTP地址:ftp://www.6688.cc/用户名:www.linuxidc.net密码:www.6688.cc在2010年LinuxIDC.com12月Ubuntu下用华为h3c802.1x认证上网具体下载方法见http://www.linuxidc.net/thread-1186-1-1.html下载完后就是安装了.先安装libstdc++ 双击libstdc++_2.96-111_i386.deb就可以完成安装.
接下来在终端里:
tar -vzxf h3c802.1xclient.tar.gz #解压h3c802.1xclient.tar.gz
cd h3c802.1xClient #里面有三个可执行文件linux1x、pre.ps、renew.ps
sudo 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 arguments
Current configuration is:The way to initialize 802.1X authentication…….:multicast
Send all packets by multicast…………………:Y
Refresh IP address after connecting……………:N
Save message and package to log……………….:Y
The save directory is………………………..:/home/shine/h3c/
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):
n
Save message and package to log?(Y/N):
y
The default save directory is ‘/home/shine/h3c/’, do you want to change it?(Y/N):
n
Configuration has finished, do you want to save it?(Y/N)
y
Save configuration sucessfully!在配置过程中自动更新IP要选N.否则出现如下乱码:
E2546: ?IP ? ? (静态IP地址绑定失败.出现乱码是没有配置好中文)
这时候可以试着执行一下linux1x,第一次执行需要输入用户名和密码,以后就不用了
sudo linux1x -d
start 802.1X authentication
device check
server check
pass authentication
这下就可以上网了!!!!!!!!!!!!
动态IP的请参考华为802.1x认证上网-5.18在Ubuntu里面安装go语言开发环境Ubuntu 10.10下安装益智泡泡企鹅游戏[图文]相关资讯 Ubuntu教程
- Ubuntu教程 - 使用Ubuntu拷贝CD和 (12/18/2013 14:38:16)
- 让Ubuntu 12.10支持RAR和7Z文件解 (11/15/2012 18:51:50)
- Windows 7硬盘安装Ubuntu 12.10图 (11/03/2012 19:22:47)
| - 完美安装Ubuntu 12.10最新AMD显卡 (11/27/2012 08:17:47)
- Win 7硬盘安装Ubuntu 12.10 (11/05/2012 13:30:34)
- 虚拟机上Ubuntu 11.10升级到12.04 (10/12/2012 20:00:38)
|
本文评论 查看全部评论 (0)