请教如何通过华为802认证上网?????

上网、浏览、聊天、下载等
回复
cibe
帖子: 41
注册时间: 2006-10-05 4:36

请教如何通过华为802认证上网?????

#1

帖子 cibe » 2006-10-06 6:12

各位老大好,
我们学校是用华为802x认证的,史固定ip,在网上(用xp)我寻找了很多东西都用不上。那位高人可以指点一下。我史真的想只用linux了。假如不能上网的话那岂不是很无趣?
cibe
帖子: 41
注册时间: 2006-10-05 4:36

[问题]没有人回答啊???

#2

帖子 cibe » 2006-10-07 18:10

难道没有人知道么。我自己参考了很多网络上的材料都没有用。就是通不过认证。
cibe
帖子: 41
注册时间: 2006-10-05 4:36

麻烦各位高手帮忙一下。

#3

帖子 cibe » 2006-10-07 18:12

真的需要各位的帮忙
wlovec2008
帖子: 47
注册时间: 2006-10-06 3:55

#4

帖子 wlovec2008 » 2006-10-07 22:33

坛子里有,自己看看不就行了?
头像
patrickhe
帖子: 681
注册时间: 2005-07-21 19:13
来自: Peking, China
联系:

#5

帖子 patrickhe » 2006-10-07 23:27

注意客户端的版本,有2.2/2.4之分
cibe
帖子: 41
注册时间: 2006-10-05 4:36

问题是

#6

帖子 cibe » 2006-10-08 2:52

我是看了论坛的解决办法。不过那种好像是自动分配ip的。我这里是绑定了ip 的。
cibe
帖子: 41
注册时间: 2006-10-05 4:36

#7

帖子 cibe » 2006-10-09 12:27

好了。
sudo ./linux1x -c

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 :
1
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):
n
Configuration has finished, do you want to save it?(Y/N)
y
Save configuration sucessfully!
peixxfnh@DarkUbuntu:~/h3c802.1xClient$ sudo ./linux1x
Please enter your user name (less than 128 characters):俺用户名
Please enter your password (less than 64 characters):
start 802.1X authentication
device check
server check
pass authentication
proxy check on
multi-network-card check on
http proxy check on
竟然成功了。。。
哪个大大知道上面选项的意思可以帮助说明下吗?
sudo ./linux1x -c

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 :
1
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):
n
Configuration has finished, do you want to save it?(Y/N)
y
Save configuration sucessfully!
wlovec2008
帖子: 47
注册时间: 2006-10-06 3:55

#8

帖子 wlovec2008 » 2006-10-11 22:18

802.1x Supplicant for Linux 安装使用说明
目录
安装
解压缩
执行安装文件
使用
配置用户信息
发起网络认证
查看网络状态和版本信息
断开网络连接

安装
安装过程分为两个步骤,首先解开压缩包,然后执行安装文件。
解压缩
unzip linux_client.zip
执行安装文件
到展开的文件夹中执行
./pre.ps
使用
用户可通过命令行的方式和程序进行交互。
配置用户信息
可以通过如下命令开始用户信息的配置:
linux1x –c
发起网络认证
可以通过如下命令开始认证:
linux1x [-u username[/password]] [-n netchar] [-d] [-p]
无参数 如果没有参数,则使用上次成功认证的参数
-u 后输入的应是用户名和密码
-n 后输入的应是认证网卡的名字,如eth0, eth1, eth2 等等
-d 标识程序以守护方式运行,通过认证后转到后台运行
-p 逐项提示用户输入需要的信息
例子:
用户想通过用户名为user1,密码为pass1,网卡eth0发起认证,可使用如下命令:
(1) linux1x –u user1/pass1 –n eth0 (默认为在前台运行)
(2) linux1x –u user1/pass1 –n eth0 –d (通过认证后转到后台运行)
(3) linux1x –u user1/pass1 (在随后的提示中输入需要的信息)
(4) linux1x (在随后的提示中输入需要的信息)
(5) linux1x –p (不使用存储的用户认证信息,提示输入所有的需要的信息)

查看网络状态和版本信息
可通过如下命令查看网络状态和版本信息:
linux1x –v [seconds]
-v 后可输入想要显示的时间,以秒为单位
例子:
1. 用户想一直查看网络统计信息, 可使用如下命令:
(1) linux1x –v
(2) linux1x –v 0

2. 用户想查看一段时间的网络统计信息,如想查看5秒后退出,可使用如下命令:
(1) linux1x –v 5

断开网络连接
用户可通过如下命令断开网络连接
linux1x –k
-k 断开当前的网络连接

补充:
上网认证客户端配置完全指南(linux1x -c)

happy@trubuntu:~/$unzip linux_client.zip
happy@trubuntu:~/$cd client/

happy@trubuntu:~/client$ su - ##取得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 :
1

Send all packets by multicast? (Y/N):
y

Refresh your IP address after connecting? (Y/N):
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# 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
...............
联网成功。



没有看readme的习惯啊,上面都写了,呵呵。很多配置方法里面可以找到
头像
id_sonic
帖子: 339
注册时间: 2005-04-08 18:08
来自: Chongqing
联系:

#9

帖子 id_sonic » 2006-10-11 22:38

上学的时候搞过,忘记了……
目前是 tinkpad r400 上的 debian 用户
my blog Trust Dating
cibe
帖子: 41
注册时间: 2006-10-05 4:36

好了

#10

帖子 cibe » 2006-10-15 2:16

多谢了
头像
ipv6now
帖子: 759
注册时间: 2006-09-30 1:08
来自: QingDao
联系:

#11

帖子 ipv6now » 2006-10-15 5:12

用这个客户端吧,超级简单
中间需要libpcap.so.0.9.3 ,如果你的版本和它不一样,作个符号链接就ok了
附件
802.1x.zip
(282.14 KiB) 已下载 129 次
cibe
帖子: 41
注册时间: 2006-10-05 4:36

#12

帖子 cibe » 2006-10-23 1:09

又出现问题了。是什么E2543.。然后就说认证失败。
cibe
帖子: 41
注册时间: 2006-10-05 4:36

#13

帖子 cibe » 2006-10-23 1:25

麻烦啊
cibe
帖子: 41
注册时间: 2006-10-05 4:36

#14

帖子 cibe » 2006-10-24 10:51

好了。。鬼知道是什么回事,密码错误。乱来又好了
cibe
帖子: 41
注册时间: 2006-10-05 4:36

#15

帖子 cibe » 2006-11-02 2:36

E2543,密码错误的意思。
回复