如何在Ubuntu10.10下进行校园网链接(H3C802.1x客户端)

包含网卡/无线网的网络问题和ADSL/校园网/宽带拨号支持及代理/共享等网络使用问题
回复
头像
scdyzjlg
帖子: 40
注册时间: 2010-03-09 13:00
来自: Earth, Universe

如何在Ubuntu10.10下进行校园网链接(H3C802.1x客户端)

#1

帖子 scdyzjlg » 2010-12-04 13:05

如何在Ubuntu10.10下进行校园网链接(H3C802.1x客户端)

(注:这个方法是针对IP和DNS自动获取网络设置的,关于IP和DNS静态设置的安装方法见:http://bbs.710071.net/thread-4753-1-1.html。这两种方法的区别输入sudo ./pre.ps后要对IP和DNS进行静态设置)

1、首先,你需要下载两个文件,如果你的Ubuntu没有连上网的话可以在windows7下面下载,然后放到一个你可以找得到的地方,然后进入Ubuntu系统去调用就可以了。
a.下载libstdc++_2.96-111_i386.deb文件;
b.下载H3c802.1xClient.tar.gz文件;
2、在Ubuntu系统中,按装上面两个文件:libstdc++_2.96-111_i386.deb这个文件最好安装,直接右击即可,而且它是最先安装;
Screenshot-3.png
其次再安装H3c802.1xClient.tar.gz文件,方法如下:
(下面的安装以我的为例进行讲解)
a.在Ubuntu系统中找到H3c802.1xClient.tar.gz文件,将它放在主文件夹下,即:/home/gabriel
Screenshot-1.png
b.打开终端:应用程序——附件——终端
c.在终端中输入一下命令(红色字体为输入的命令,蓝色字体为自动出现的): /home/gabriel
会出现:
bash: /home/gabriel: 是一个目录
然后在输入:ls
会出现:
examples.desktop Ubuntu One 模板 图片 下载 桌面
h3c802.1xClient.tar.gz 公共的 视频 文档 音乐

输入以下命令是对h3c802.1xClient.tar.gz文件解压:tar -vzxf h3c802.1xClient.tar.gz
会出现一下信息:
h3c802.1xClient/
h3c802.1xClient/linux1x
h3c802.1xClient/pre.ps
h3c802.1xClient/renew.ps
h3c802.1xClient/Readme.doc
h3c802.1xClient/Readme.htm
h3c802.1xClient/Readme.txt
h3c802.1xClient/.Readme.txt.swp
h3c802.1xClient/802.1x Supplicant for Linux readme.files/
h3c802.1xClient/802.1x Supplicant for Linux readme.files/Thumbs.db
h3c802.1xClient/802.1x Supplicant for Linux readme.files/filelist.xml
h3c802.1xClient/802.1x Supplicant for Linux readme.files/image001.png
h3c802.1xClient/802.1x Supplicant for Linux readme.files/image002.jpg
h3c802.1xClient/802.1x Supplicant for Linux readme.files/image003.png
h3c802.1xClient/802.1x Supplicant for Linux readme.files/image004.jpg
h3c802.1xClient/802.1x Supplicant for Linux readme.files/image005.png
h3c802.1xClient/802.1x Supplicant for Linux readme.files/image006.jpg
h3c802.1xClient/802.1x Supplicant for Linux readme.files/image007.png
h3c802.1xClient/802.1x Supplicant for Linux readme.files/image008.jpg
h3c802.1xClient/802.1x Supplicant for Linux readme.files/image009.png
h3c802.1xClient/802.1x Supplicant for Linux readme.files/image010.jpg

再输入下面这个命令:cd h3c802.1xClient(不知到是什么意思)
然后再输入命令:sudo chmod a+x linux1x pre.ps renew.ps(启用linux1x pre.ps renew.ps这三个项目)
输入你系统的密码后,再输入一个新的命令:sudo ./pre.ps
会出现以下信息:
Refresh IP script is READY.
Authencation file is READY.
pre operation finished successfully

看到成功后当然就是开始安装了,输入命令:sudo 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 :

2
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):
n
Configuration has finished, do you want to save it?(Y/N)
y
Save configuration sucessfully!
再次看到成功之后,输入命令:sudo linux1x -d(就是启动h3c802.1xClient了)
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
d.至此,你就可以上网了。[/size][/size][/size][/size]
上次由 scdyzjlg 在 2010-12-04 20:21,总共编辑 2 次。
头像
wowoto
帖子: 3050
注册时间: 2009-04-11 12:17
系统: windows7

Re: 如何在Ubuntu10.10下进行校园网链接(H3C802.1x客户端)

#2

帖子 wowoto » 2010-12-04 15:24

附件可以删除。
wowoto>ubuntu8.04>ubuntu9.04>Archlinux>FreeBSD8.0>Archlinux & end here.
头像
scdyzjlg
帖子: 40
注册时间: 2010-03-09 13:00
来自: Earth, Universe

Re: 如何在Ubuntu10.10下进行校园网链接(H3C802.1x客户端)

#3

帖子 scdyzjlg » 2010-12-04 20:23

wowoto 写了:附件可以删除。
谢谢指导,我本来是想把这个帖子放到这个主题里面的,因为用wubi安装是非常普遍的,只是安装Ubuntu10.10的很少,所以我就又弄到这边来了。
coollg
帖子: 6
注册时间: 2009-10-03 15:42

Re: 如何在Ubuntu10.10下进行校园网链接(H3C802.1x客户端)

#4

帖子 coollg » 2010-12-21 15:21

看到这篇贴子时,好像找到救星了,用起来不是那么回事~
头像
scdyzjlg
帖子: 40
注册时间: 2010-03-09 13:00
来自: Earth, Universe

Re: 如何在Ubuntu10.10下进行校园网链接(H3C802.1x客户端)

#5

帖子 scdyzjlg » 2010-12-22 12:22

coollg 写了:看到这篇贴子时,好像找到救星了,用起来不是那么回事~
有什么问题吗?
zf857815348
帖子: 1
注册时间: 2010-12-26 7:14

Re: 如何在Ubuntu10.10下进行校园网链接(H3C802.1x客户端)

#6

帖子 zf857815348 » 2010-12-26 7:19

我怎么下载附件呢
头像
scdyzjlg
帖子: 40
注册时间: 2010-03-09 13:00
来自: Earth, Universe

Re: 如何在Ubuntu10.10下进行校园网链接(H3C802.1x客户端)

#7

帖子 scdyzjlg » 2010-12-26 9:07

zf857815348 写了:我怎么下载附件呢
附件都删除了,你可以下载图片。
davelv
帖子: 6
注册时间: 2008-09-02 20:28

Re: 如何在Ubuntu10.10下进行校园网链接(H3C802.1x客户端)

#8

帖子 davelv » 2011-01-19 21:48

再输入下面这个命令:cd h3c802.1xClient(不知到是什么意思)
cd是change directory的缩写也就是改变目录的意思,功能就是进入到一个指定的目录下。

然后再输入命令:sudo chmod a+x linux1x pre.ps renew.ps(启用linux1x pre.ps renew.ps这三个项目)
这里不是启用,是把后面指定的文件的可执行权限授予给所有用户。这样就可以把这些文件当成一个命令运行了。不过在我的机器上这些文件下载下来就是可执行的,如果跟我一样的情况,这步就可以省略了。

很久没有来Ubuntu论坛,人气好像更火了一些,不过广大Linuxer也要加油提高自己的水平阿。
genime
帖子: 155
注册时间: 2010-05-29 0:48

Re: 如何在Ubuntu10.10下进行校园网链接(H3C802.1x客户端)

#9

帖子 genime » 2011-02-25 21:23

为什么我执行到sudo linux1x -c 这步提示在/usr/local/bin/linux1x找不到目录或文件,查看后发现明明有这个文件和renew.ps
jnjxnc123
帖子: 1
注册时间: 2011-03-28 8:57

Re: 如何在Ubuntu10.10下进行校园网链接(H3C802.1x客户端)

#10

帖子 jnjxnc123 » 2011-03-28 9:06

scdyzjlg 写了:如何在Ubuntu10.10下进行校园网链接(H3C802.1x客户端)

(注:这个方法是针对IP和DNS自动获取网络设置的,关于IP和DNS静态设置的安装方法见:http://bbs.710071.net/thread-4753-1-1.html。这两种方法的区别输入sudo ./pre.ps后要对IP和DNS进行静态设置)

1、首先,你需要下载两个文件,如果你的Ubuntu没有连上网的话可以在windows7下面下载,然后放到一个你可以找得到的地方,然后进入Ubuntu系统去调用就可以了。
a.下载libstdc++_2.96-111_i386.deb文件;
b.下载H3c802.1xClient.tar.gz文件;
2、在Ubuntu系统中,按装上面两个文件:libstdc++_2.96-111_i386.deb这个文件最好安装,直接右击即可,而且它是最先安装;
Screenshot-3.png
其次再安装H3c802.1xClient.tar.gz文件,方法如下:
(下面的安装以我的为例进行讲解)
a.在Ubuntu系统中找到H3c802.1xClient.tar.gz文件,将它放在主文件夹下,即:/home/gabriel
Screenshot-1.png
b.打开终端:应用程序——附件——终端
c.在终端中输入一下命令(红色字体为输入的命令,蓝色字体为自动出现的): /home/gabriel
会出现:
bash: /home/gabriel: 是一个目录
然后在输入:ls
会出现:
examples.desktop Ubuntu One 模板 图片 下载 桌面
h3c802.1xClient.tar.gz 公共的 视频 文档 音乐

输入以下命令是对h3c802.1xClient.tar.gz文件解压:tar -vzxf h3c802.1xClient.tar.gz
会出现一下信息:
h3c802.1xClient/
h3c802.1xClient/linux1x
h3c802.1xClient/pre.ps
h3c802.1xClient/renew.ps
h3c802.1xClient/Readme.doc
h3c802.1xClient/Readme.htm
h3c802.1xClient/Readme.txt
h3c802.1xClient/.Readme.txt.swp
h3c802.1xClient/802.1x Supplicant for Linux readme.files/
h3c802.1xClient/802.1x Supplicant for Linux readme.files/Thumbs.db
h3c802.1xClient/802.1x Supplicant for Linux readme.files/filelist.xml
h3c802.1xClient/802.1x Supplicant for Linux readme.files/image001.png
h3c802.1xClient/802.1x Supplicant for Linux readme.files/image002.jpg
h3c802.1xClient/802.1x Supplicant for Linux readme.files/image003.png
h3c802.1xClient/802.1x Supplicant for Linux readme.files/image004.jpg
h3c802.1xClient/802.1x Supplicant for Linux readme.files/image005.png
h3c802.1xClient/802.1x Supplicant for Linux readme.files/image006.jpg
h3c802.1xClient/802.1x Supplicant for Linux readme.files/image007.png
h3c802.1xClient/802.1x Supplicant for Linux readme.files/image008.jpg
h3c802.1xClient/802.1x Supplicant for Linux readme.files/image009.png
h3c802.1xClient/802.1x Supplicant for Linux readme.files/image010.jpg

再输入下面这个命令:cd h3c802.1xClient(不知到是什么意思)
然后再输入命令:sudo chmod a+x linux1x pre.ps renew.ps(启用linux1x pre.ps renew.ps这三个项目)
输入你系统的密码后,再输入一个新的命令:sudo ./pre.ps
会出现以下信息:
Refresh IP script is READY.
Authencation file is READY.
pre operation finished successfully

看到成功后当然就是开始安装了,输入命令:sudo 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 :

2
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):
n
Configuration has finished, do you want to save it?(Y/N)
y
Save configuration sucessfully!
再次看到成功之后,输入命令:sudo linux1x -d(就是启动h3c802.1xClient了)
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
d.至此,你就可以上网了。[/size][/size][/size][/size]
zsaug
帖子: 82
注册时间: 2010-09-26 21:17

Re: 如何在Ubuntu10.10下进行校园网链接(H3C802.1x客户端)

#11

帖子 zsaug » 2011-04-03 15:49

感谢up主,终于能够上网了 :em02 :em02
623213746
帖子: 2
注册时间: 2011-04-15 21:15

Re: 如何在Ubuntu10.10下进行校园网链接(H3C802.1x客户端)

#12

帖子 623213746 » 2011-04-19 13:53

Ubuntu上校园网确实不好上啊 我装Ubuntu10.10有一段时间了 现在还不会上网,学校是用神州数码DCBA认证的,求高人指点。
头像
wuy069
帖子: 91
注册时间: 2011-05-02 11:00

Re: 如何在Ubuntu10.10下进行校园网链接(H3C802.1x客户端)

#13

帖子 wuy069 » 2011-05-04 18:21

唉!试了,还是上不了;华为那linux客服端也不行。我们学校windows用的客服端是iNodeSetup3.60-6210;不知道那位高手能解决不?
回复