直接正题吧!
我是用的如下教程上网的------------如下
||很多高校的校园网都是使用锐捷的认证方式上网的,当然我的学校更是。第一次装ubuntu的时候,安装倒是很顺利,只是上网就差把我折磨死了。虽然网上也搜到许多的方法,但就没有一个奏效的,最后终于摸索到用锐捷官方提供的认证方法,拿出来和大家分享,当然我也是刚接触linux的菜鸟啦,有不妥的还请指出。
下载锐捷官方linux版客户端,如果只装这个的话,运行时系统会一直提示缺少几个库文件,但现在我已经为大家将锐捷和几个库文件打包好了,点击下面下载即可。
解开压缩包xrgsupackage.7z(可以在windows下完成),将此文件夹复制到ubuntu桌面,安装方法为:
1. 打开终端,进入到目录xrgsupackage
$ cd /home/****/Desktop/xrgsupackage
其中的****为改为ubuntu当前用户名
2. 切换到root用户
$ sudo -sh
然后按提示输入密码即可
3. 复制文件到相应的目标
# cp xrgsu /bin
# cp libpcap.so.0.6.2 /usr/bin
# cp libstdc++.so.5 /usr/bin
# cp libstdc++.so.5.0.7 /usr/bin
4. 运行锐捷即可上网
# sudo /bin/xrgsu
然后按提示输入用户名和密码
然后会有问你是否使用DHCP动态获取ip,按你的网络正确选择,如果顺利的话下一步你就会看到
Authenticate SUCCESSFULLY!
Please input 'unauth' to LogOff:
恭喜,开始你的linux网络之旅吧。当然,如果你的网络是静态ip,你得在使用锐捷之前设置好你的ip地址。
另:(其中xrgsupackage文件中含有libpcap.so.0.6.2, libstdc++.so.5,libstdc++.so.5.0.7,xrgsu 四个文件)其中libpcap.so.0.6.2, libstdc++.so.5,libstdc++.so.5.0.7三个文件加入到/use/bin 锐捷不能运行 我又将libpcap.so.0.6.2, libstdc++.so.5,libstdc++.so.5.0.7三个文件加入 /use/lib 锐捷可以运行
运行终端 提示如下
[email=aslan@aslan-laptop:~$]aslan@aslan-laptop:~$[/email] sudo ifconfig eth0 172.30.61.98
[sudo] password for aslan:
[email=aslan@aslan-laptop:~$]aslan@aslan-laptop:~$[/email] sudo /bin/xrgsu
XRGSupplicant 1.1.1
Ruijie Network CopyRight 2004-2005
Please input your user name:060210230
Please input your password:
Use DHCP,1-Use,0-UnUse(Default: 0):
Use default auth parameter,0-Use 1-UnUse(Default: 0):
Searching server...
Connecting server...
Authenticating...
�����¿��������ʺ�����ͣ���������ĵ绰��5687184,13863021784
�������Ѽ������꣬���ɷ�!лл���(这个好像就是在xp下锐捷登陆成功的一个短消息)
Authenticate SUCCESSFULLY!
Please input 'unauth' to LogOff:
问题来了 firefox不能上网 提示如下
Address Not Found
Firefox can't find the server at www.baidu.com.
The browser could not find the host server for the provided address.
* Did you make a mistake when typing the domain? (e.g. "ww.mozilla.org" instead of "www.mozilla.org")
* Are you certain this domain address exists? Its registration may have expired.
* Are you unable to browse other sites? Check your network connection and DNS server settings.
* Is your computer or network protected by a firewall or proxy? Incorrect settings can interfere with Web browsing.
so,有没有高人帮我看看除了什么问题,为什么就不能上网
ps:1,我用的是ubuntu 8.04
2,本人几近抓狂
[ 本帖最后由 aslan 于 2008-3-14 12:11 编辑 ]


hanyutian 于 2008-04-09 16:40:55发表:
我用的红旗也发现了这个问题,就是能联网但上不去,不过我已经解决了,不知道ubuntu 8.04是不是和我的那情况一样,参考一下http://www.blog99.net/post/32.html的第四条,或许是你要的答案。
必须先用锐捷的帐号在windows下登录,启动CMD,输入ipconfig /all,把自己的IP地址,子网掩码,网关地址,主DNS以及第二DNS地址记下来,像我这样:
IP Address. . . . . . . . . . . . : 10.111.3.68
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 10.111.3.254
DHCP Server . . . . . . . . . . . : 10.100.100.200
DNS Servers . . . . . . . . . . . : 211.45.171.5
211.38.61.1
然后点桌面右下角的“网络连接”属性,然后在“使用DHCP”上打勾,并且把以上所记住的地址依次填写进去,确定。