红联Linux门户
Linux帮助

校园网络认证(转)

发布时间:2008-11-18 18:32:10来源:红联作者:xuel
原帖地址:http://bbs.linuxeye.cn/thread-43-1-1.html
Linux系统下 华为802.1x认证上网-5.18 配置详解(最详细)
首先下载客户端(附件中有)
下载到你的主目录(也就是home)里,然后解压,解压后就进行下面的命令(注意不要出错,##后的是注释,不用输入)

按照下面的步骤输入命令,如果有错误请在后面跟帖,把错误的代码贴出来!

cd client3
sudo su ##取得root权限,会需要你输入密码
chmod +x * ##给文件赋予可执行权限
./pre.ps ##运行安装脚本
configuration directory exist
Refresh IP script is READY.
Authencation file is READY.
pre operation finished successfully
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! ##配置成功

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/DHCPsit0: 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就可以了。
如果有什么问题最好请浏览原帖

[ 本帖最后由 xuel 于 2008-11-18 18:34 编辑 ]
文章评论

共有 3 条评论

  1. xuel 于 2008-11-20 12:04:21发表:

    我这个帖子是转的别人的,原帖地址为:http://bbs.linuxeye.cn/thread-43-1-1.html
    你有什么问题去那问问 ,我也是菜鸟……

  2. qoso 于 2008-11-19 22:27:14发表:

    请教楼主我的是港湾认证的客户端,用wine运行安装后,执行时显示没有可用的网卡是怎么回事(5ty(

  3. lgyzly 于 2008-11-18 19:18:17发表:

    喜欢fedora的请进新建的群74391273
    喜欢fedora的请进新建的群74391273
    喜欢fedora的请进新建的群74391273