求助关于安装802.1x

Web、Mail、Ftp、DNS、Proxy、VPN、Samba、LDAP 等基础网络服务
回复
随心
帖子: 5
注册时间: 2006-09-22 22:30
送出感谢: 0
接收感谢: 0

求助关于安装802.1x

#1

帖子 随心 » 2006-09-23 11:21

我按照网上的说法,安装了802.1x。
但是在输入用户名和密码以后,他提示:command line arguments conflict.
求大家帮帮我,我弄了好几天了。 :em21
头像
huangzuobin
帖子: 176
注册时间: 2006-03-28 2:53
送出感谢: 0
接收感谢: 0

#2

帖子 huangzuobin » 2006-09-23 11:55

用什么认证?
搜索论坛里的帖子,有的
头像
patrickhe
帖子: 681
注册时间: 2005-07-21 19:13
来自: Peking, China
送出感谢: 0
接收感谢: 0
联系:

#3

帖子 patrickhe » 2006-09-23 15:12

能不能给出详细的信息
随心
帖子: 5
注册时间: 2006-09-22 22:30
送出感谢: 0
接收感谢: 0

#4

帖子 随心 » 2006-09-23 15:28

我们学校是用华为802.1x认证
我是按照下面的方法安装的:

1.下载这两个东西.

h3c802[1].1xclient.tar.gz
libstdc++_2.96-111_i386.deb

2.安装附件二的那个deb包.
$sudo dpkg -i *.deb (*为名字,自己补上去)

3.编辑 /etc/network/interfaces内容如下所示,或者在图形界面下把上网方式改成dhcp也行
iface eth0 inet dhcp
auto eth0
或图形界面下:系统->系统管理->联网.

4.执行sudo /etc/init.d/networking restart (不知有什么用,我只是照做了)

5.cd到附件1解压后目录下执行 sudo ./linux1x -c
然后按自己需要配置.

6.$sudo ./linux1x -u 用户名/密码 -n eth0 -d 就ok了.
退出命令是sudo ./linux1x -k
但是安装到第6步后就有问题.提示我:command line arguments conflict!
我也不知道那里的问题,请大家帮帮我.谢谢
随心
帖子: 5
注册时间: 2006-09-22 22:30
送出感谢: 0
接收感谢: 0

#5

帖子 随心 » 2006-09-23 15:54

下面是我安装802.1x中h3c802.1xClient过程,有一个错误.请大家帮我看看是那里的问题.在次表示感谢!~


root@YUE-H-L:/home/yuehongliang# /etc/init.d/networking restart
* Reconfiguring network interfaces... Internet Systems Consortium DHCP Client V3.0.3
Copyright 2004-2005 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

Listening on LPF/eth0/08:00:46:f3:b3:5d
Sending on LPF/eth0/08:00:46:f3:b3:5d
Sending on Socket/fallback
Internet Systems Consortium DHCP Client V3.0.3
Copyright 2004-2005 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

Listening on LPF/eth1/00:0e:35:84:e8:7a
Sending on LPF/eth1/00:0e:35:84:e8:7a
Sending on Socket/fallback
Internet Systems Consortium DHCP Client V3.0.3
Copyright 2004-2005 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

Listening on LPF/eth0/08:00:46:f3:b3:5d
Sending on LPF/eth0/08:00:46:f3:b3:5d
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 16
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 15
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
Internet Systems Consortium DHCP Client V3.0.3
Copyright 2004-2005 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

Listening on LPF/eth1/00:0e:35:84:e8:7a
Sending on LPF/eth1/00:0e:35:84:e8:7a
Sending on Socket/fallback
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 18
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 7
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
Internet Systems Consortium DHCP Client V3.0.3
Copyright 2004-2005 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

SIOCSIFADDR: No such device
eth2: ERROR while getting interface flags: No such device
eth2: ERROR while getting interface flags: No such device
Bind socket to interface: No such device
Failed to bring up eth2.
Internet Systems Consortium DHCP Client V3.0.3
Copyright 2004-2005 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

SIOCSIFADDR: No such device
ath0: ERROR while getting interface flags: No such device
ath0: ERROR while getting interface flags: No such device
Bind socket to interface: No such device
Failed to bring up ath0.
Internet Systems Consortium DHCP Client V3.0.3
Copyright 2004-2005 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

SIOCSIFADDR: No such device
wlan0: ERROR while getting interface flags: No such device
wlan0: ERROR while getting interface flags: No such device
Bind socket to interface: No such device
Failed to bring up wlan0.
[ ok ]
root@YUE-H-L:/home/yuehongliang# cd /home/yuehongliang/Tool/802.1/h3c802.1xClien t
root@YUE-H-L:/home/yuehongliang/Tool/802.1/h3c802.1xClient# ./pre.ps configuration directory exist
log directory exist
Refresh IP script is READY.
Authencation file is READY.
pre operation finished successfully
root@YUE-H-L:/home/yuehongliang/Tool/802.1/h3c802.1xClient# 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...............:Y
Save message and package to log...................:Y
The save directory is.............................:/var/log/h3c-linux1x/
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):
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@YUE-H-L:/home/yuehongliang/Tool/802.1/h3c802.1xClient# linux1x [-u 0110020[ /VGN-S26C]] [-n eth0] [-d]
ERROR! Command line arguments conflict!
Usage 1(to authenticate):
linux1x [authentication options]
authentication options are:
[-u <UserName[/password]>].specify user name and password for authentica tion.
[-n <NetworkDeviceName>]...specify network card name for authentication, such as eth0,eth1,etc.
[-d] ......................start authentication with daemon mode(backgro und mode).
[-p] ......................start authentication with interactive mode, p rompt user to input all the necessary information.

Usage 2(to view network status info):
linux1x -v [LastingTime]..."LastingTime" specifies the lasting time in s econds for this viewing operation(0 or without argument means forever). Also, th is command will show the version of this software.

Usage 3(to configure network connection information):
linux1x -c

Usage 4(to stop network connection):
linux1x -k

root@YUE-H-L:/home/yuehongliang/Tool/802.1/h3c802.1xClient#
头像
cheaper
帖子: 198
注册时间: 2006-01-06 17:26
送出感谢: 0
接收感谢: 0

#6

帖子 cheaper » 2006-09-24 14:55

你的ip是自动获得的么

每个学校都可以定制华为认证,就如同我们学校,
h3c根本不能用,它的版本好是2.20,而windows下的那个版本是2.10,所以想上网很难
我是学习linux,不是学习如何装linux。

Myblog
回复

回到 “服务器基础应用”