红联Linux门户
Linux帮助
当前位置: 红联Linux门户 > Ubuntu

Ubantu10.10怎么连接校园网啊

发布时间:2011-04-05 21:28:17来源:红联作者:a526247082
我刚安装了Ubantu10.10,可是不知道怎么连上网啊,在win7下我用H3C iNode连的,各位走过路过给点意见{:3_117:}
文章评论

共有 3 条评论

  1. Again 于 2011-04-06 08:46:45发表:

    找个linux版的客户端

  2. a526247082 于 2011-04-05 22:10:30发表:

    找了好久啊

  3. a526247082 于 2011-04-05 22:09:59发表:

    如何在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 [ 165.07 KiB | 被浏览 996 次 ]



    其次再安装H3c802.1xClient.tar.gz文件,方法如下:
    (下面的安装以我的为例进行讲解)
    a.在Ubuntu系统中找到H3c802.1xClient.tar.gz文件,将它放在主文件夹下,即:/home/gabriel

    附件:

    Screenshot-1.png [ 76.83 KiB | 被浏览 996 次 ]



    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]