我的华为啊H3C802.1x啊!解决一下同志们!问题百出啊!

包含网卡/无线网的网络问题和ADSL/校园网/宽带拨号支持及代理/共享等网络使用问题
回复
efruit1987
帖子: 22
注册时间: 2008-10-20 8:37

我的华为啊H3C802.1x啊!解决一下同志们!问题百出啊!

#1

帖子 efruit1987 » 2008-10-23 13:56

安装步骤:
1、执行下载的libstdc deb包,十几秒钟即可安装完毕。
(提示:只能同时运行一个管理工具 关闭其他软件,如“更新管理器”patiude 或“新立得”,不晓得怎么办)

2、将客户端认证程序解压至某个文件夹,推荐解压至/home/username/h3c(或者其他你想要的文件名)/
3、打开命令终端
1)获取root权限,命令为

引用:
sudo -s


2)cd到h3c目录,命令为

引用:

cd /home/usrname/h3c

3)获取linux1x、pre.ps、renew.ps三个文件的执行权限,命令为

引用:
sudo chmod a+x linux1x pre.ps renew.ps

4)执行pre.ps文件,命令为

引用:
sudo ~/h3c/pre.ps

会出现如下提示:

引用:
configuration directory exist
Refresh IP script is READY.
Authencation file is READY.
pre operation finished successfully
但是我的出现了这些s
root@stark-desktop:~/H3C# sudo ./pre.ps
sudo: unable to resolve host stark-desktop
configuration directory exist
log directory exist

Refresh IP script is READY.
Authencation file is READY.
pre operation finished successfully
root@stark-desktop:~/H3C# sudo ./linux1x -c
sudo: unable to resolve host stark-desktop
configure 802.1X network connection arguments
Current configuration is:
5)配置上网参数,命令为

引用:
sudo ~/h3c/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.
选择“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”
紧接着提示:Please input your destined directory:
eth0
Illegal path , please try again:


而不是出现提示:
引用:
Configuration has finished, do you want to save it?(Y/N)
选择“Y”
出现提示:
引用:
Save configuration sucessfully!
6)执行命令
引用:
sudo ~/h3c/linux1x -d

出现提示:

引用:
Please enter your user name (less than 128 characters):(输入上网用户名)

完成后提示:

引用:
Please enter your password (less than 64 characters): (输入用户密码)

不出意外,这样就能够上网了。

以后上网时,只需执行以下顺序:
打开命令终端:

引用:
sudo -s ————获取root权限
sudo ~/h3c/linux1x -d ————执行上网终端

完成,开始上网。
谢谢高手看看,弄好久了,都不能成功。
好好学习只为抛弃Win!
efruit1987
帖子: 22
注册时间: 2008-10-20 8:37

Re: 我的华为啊H3C802.1x啊!解决一下同志们!问题百出啊!

#2

帖子 efruit1987 » 2008-10-23 13:59

二楼的是我实际的操作命令请大虾看看!红字的部分是和指导贴不同的地方!
stark@stark-desktop:~$ sudo -s
sudo: unable to resolve host stark-desktop
root@stark-desktop:~# cd /home/stark/H3C
root@stark-desktop:~/H3C# sudo ./pre.ps
sudo: unable to resolve host stark-desktop
configuration directory exist
log directory exist

Refresh IP script is READY.
Authencation file is READY.
pre operation finished successfully
root@stark-desktop:~/H3C# sudo ./linux1x -c
sudo: unable to resolve host stark-desktop
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):
n
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):
y
Please input your destined directory:
eth0
Illegal path , please try again
好好学习只为抛弃Win!
efruit1987
帖子: 22
注册时间: 2008-10-20 8:37

Re: 我的华为啊H3C802.1x啊!解决一下同志们!问题百出啊!

#3

帖子 efruit1987 » 2008-10-23 14:01

遇到过相同问题的都来看看吧!
好好学习只为抛弃Win!
回复