LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1196|回复: 9

archlinux下怎么连校园网啊?

[复制链接]
发表于 2008-7-7 20:54:23 | 显示全部楼层 |阅读模式
我是用学校的校园网业务上网的,每个月四G流量。
以前用redhat 9.0, 能用xrgsu连上,然后在mozilla里还要在
填写用户认证信息,在连上才能上校外网,今天装了archlinux,
在用xrgsu的时候出错了,请问高手,我该怎么拌?还有,就算能用xrgsu连上,没有图形浏览网叶的工具,我该怎么连校外网啊?连不上校外网就不能用pacman,我能想象到,哈哈。
 楼主| 发表于 2008-7-7 21:34:25 | 显示全部楼层
#ruijie
ruijie: /usr/lib/libstdc++.so.5: version `GLIBCPP_3.2' not found (required by ruijie)
ruijie是我把xrgsu改了名字.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-7-7 21:46:38 | 显示全部楼层
我看了这篇文章

[root@localhost ~]# xrgsu
xrgsu: /usr/lib/libstdc++.so.5: version `GLIBCPP_3.2' not found (required by xrgsu)
#libstdc++.so.6与libstdc++.so.5

不兼容,得安装compat-libstdc+ +-33-3.2.3-61.i386.rpm

#里面有libstdc++.so.5。下载双击它即可安装。再运行
[root@localhost ~]# xrgsu
XRGSupplicant 1.1.1
Ruijie Network CopyRight 2004-2005
Please input your user name:402048
Please input your password:
Use DHCP,1-Use,0-UnUse(Default: 0):0
Use default auth parameter,0-Use 1-UnUse(Default: 0):1
Please input Eap-start Timeout(Default: 30s):
please input Eap-response Timeout(Default: 30s):
please input Eap-packet resend Time(Default: 3):
Use Red-Giant private MAC? 1-Use,0-UnUse(Default: 1):
Searching server...
Connecting server...
Authenticating...
-----------------------------------------
Authenticate SUCCESSFULLY!
Please input 'unauth' to LogOff:

可我用的是archlinux, rpm包是redhat下的,难到我要装rpm吗?
我真的急了,高手指点啊,archlinux为难我啊,,,,,
回复 支持 反对

使用道具 举报

发表于 2008-7-8 01:09:08 | 显示全部楼层
装libstdc++5,不要把libstdc++.so.6链接成libstdc++.so.5,不能联网下载到本地安装,这个东西很多软件都需要

还有有解压rpm的软件,可以下载本地安装,解压出libstdc++.so.5就可以了。

网页浏览可以使用link,基本可以让你填写信息,不过没中文的。
回复 支持 反对

使用道具 举报

发表于 2008-7-8 14:29:57 | 显示全部楼层
我blog里有
自己编译的,很好用
回复 支持 反对

使用道具 举报

发表于 2008-7-8 14:31:57 | 显示全部楼层
我blog里有
自己编译的,很好用
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-7-8 19:01:38 | 显示全部楼层
谢谢Jarryson,我找找.
谢谢wyg1258,我在学网络编程,也想自己整.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-7-9 14:17:21 | 显示全部楼层
解决了,用的是rpm2cpio,原来是个perl脚本,哈哈.
提取出libstdc++.so.5和一个连接,放在/usr/lib/下就好了.
回复 支持 反对

使用道具 举报

发表于 2008-7-9 15:29:17 | 显示全部楼层
Post by mclovein;1872759
解决了,用的是rpm2cpio,原来是个perl脚本,哈哈.
提取出libstdc++.so.5和一个连接,放在/usr/lib/下就好了.


叫你安装libstdc++5。。。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-7-9 20:16:10 | 显示全部楼层
不是一样吗?能用锐捷了现在,不过又有新问题了,哈哈.


问题是连不了网。

描述一下哈。。。

(1).锐捷认证成功

#ruijie
XRGSupplicant 1.1.1
Ruijie Network CopyRight 2004-2005
Please input your user name:
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...
7月1日起,为了招生工作的需要,夜间免费流量策略暂停。
Authenticate SUCCESSFULLY!
Please input 'unauth' to LogOff:xrgsu exit!

(2).ifconfig里有内容。

#ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0BB:98:A0:5D  
          inet addr:10.92.6.19  Bcast:10.92.6.254  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:550 errors:0 dropped:0 overruns:0 frame:0
          TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:51704 (50.4 Kb)  TX bytes:2701 (2.6 Kb)
          Interrupt:11 Base address:0xec00
lo        Link encapocal Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:72 errors:0 dropped:0 overruns:0 frame:0
          TX packets:72 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:5376 (5.2 Kb)  TX bytes:5376 (5.2 Kb)

(3). 我的rc.conf配置文件

#less /etc/rc.conf
# /etc/rc.conf - Main Configuration for Arch Linux
#
#
# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="en_US.utf8"
HARDWARECLOCK="localtime"
TIMEZONE="Canada/Pacific"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USEcolor="yes"

#
# -----------
# HARDWARE
# -------------
#
# Scan hardware and load required modules at bootup
MOD_AUTOLOAD="yes"
# Module Blacklist - modules in this list will never be loaded by udev
MOD_BLACKLIST=()
#
# Modules to load at boot-up (in this order)
#   - prefix a module with a ! to blacklist it
#
MODULES=(slhc ac97_bus snd-mixer-oss snd-pcm-oss snd-seq-oss snd-seq-device snd-seq-midi-event snd-seq snd-page-alloc snd-pcm snd-rawmidi snd-timer snd snd-ac97-codec snd-ens1371 soundcore)
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

#
# ---------------
# NETWORKING
# ----------------
#
HOSTNAME="myhost"
#
# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available
# interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
#   - prefix an entry in INTERFACES with a ! to disable it
#   - no hyphens in your interface names - Bash doesn't like it
#
# Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")
#
lo="lo 127.0.0.1"
eth0="eth0 10.92.6.19 netmask 255.255.255.0 broadcast 10.92.6.254"
INTERFACES=(lo eth0)
#
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 10.92.6.254"
ROUTES=(!gateway)
#
# Enable these network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network-profiles
#
#NET_PROFILES=(main)

#
# --------------------
# DAEMONS
# --------------------
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng network netfs crond)

# End of file



(4). 我的/etc/resolv.conf里的内容。

#search <yourdomain.tld>
nameserver <202.206.32.1>
nameserver <202.206.32.2>

# End of file
#


(5). 我的/etc/hosts里的内容。

# /etc/hosts: static lookup table for host names
#

#<ip-address>        <hostname.domain.org>        <hostname>
127.0.0.1        myhost.domain.org        myhost
# End of file


(6).使用route命令时
#route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.92.6.0       *               255.255.255.0   U     0      0        0 eth0


补充一下,我用的静态ip.
当我ping 自己时,有返回。
当我ping 其他的地址时(DNS)都没返回,所以上不了网。怎么半啊?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表