LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1111|回复: 7

【求助】fedota8下802.1x上不了网

[复制链接]
发表于 2008-4-25 11:33:30 | 显示全部楼层 |阅读模式
我们学校用的是华为客户端,用的在网上搜到的方法安装华为客户端,方法如下:
  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
...............
联网成功。
但是我的在start 802.1X authentication之后出现的是connection overtime, type:5
我的问题出在哪呢?请各位帮忙。
 楼主| 发表于 2008-4-25 14:21:14 | 显示全部楼层
没人能帮我解决这个问题么?
回复 支持 反对

使用道具 举报

发表于 2008-4-25 18:36:34 | 显示全部楼层
我们用xrgsu 你搜下。
回复 支持 反对

使用道具 举报

发表于 2008-4-27 10:04:09 | 显示全部楼层
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(这个应该选多播吧)
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-5-7 10:46:55 | 显示全部楼层
没有用,我都试过
在start 802.1X authentication之后出现的是connection overtime, type:5
回复 支持 反对

使用道具 举报

发表于 2008-10-28 12:17:05 | 显示全部楼层

我的也是这样

哪位高手帮忙解决一下呀
我在想是不是和硬件有关系楼主的电脑是什么配置 啊
回复 支持 反对

使用道具 举报

发表于 2008-10-28 19:33:38 | 显示全部楼层
因为的网络也是h3x 2.4也不能经常用FC9,晕倒,网上的找来搞不定。
回复 支持 反对

使用道具 举报

发表于 2008-10-28 20:12:43 | 显示全部楼层
connection overtime, type:5
=====
没有用过这种,但是曾经用过铁通等的,也有错误类型,常常是他们那边有错误.你可以打电话问一下对方,或者服务方
回复 支持 反对

使用道具 举报

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

本版积分规则

快速回复 返回顶部 返回列表