免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1964 | 回复: 0
打印 上一主题 下一主题

[网络管理] 问题没解决,跪求答华为客户端上网问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-05-07 10:47 |只看该作者 |倒序浏览
5可用积分
我们学校用的是华为客户端,用的在网上搜到的方法安装华为客户端
我的在start 802.1X authentication之后出现的是connection overtime, type:5
我的问题出在哪呢?请各位帮忙。

所用方法如下:
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)xxxxx ##输入你的帐户名
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:cbx
Sending on LPF/eth0/00:yy:4c:zz:cbx
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
...............
联网成功。

您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP