LinuxSir.cn,穿越时空的Linuxsir!

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

802.1x认证问题(xrgsu)不知如何解决,在网上查了好多资料都没搞定。

[复制链接]
发表于 2005-10-22 11:25:46 | 显示全部楼层 |阅读模式
1:我都弄了整整有一个多星期了还没有搞定这个上网问题,我用的是KNOPPIX3.6装的debian。
 我们学校是用xrgsu(瑞捷)认证上网的,xrgsu的版本和你们的也一样的吧,学校认证服务用
 的是认证后获取IP地址,而认证前用DHCP给我们分了一个动态的IP,但是我上网认证不了啊,
 老是出现这种信息:
root@0[knoppix]# netcardconfig
Sending DHCP broadcast from device eth0 OK.
auto lo eth0
root@0[knoppix]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:E0:4C:99:3AC
inet addr:10.16.10.66 Bcast:10.16.10.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4964 errors:0 dropped:0 overruns:0 frame:0
TX packets:50 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:603665 (589.5 KiB) TX bytes:14689 (14.3 KiB)
Interrupt:18 Base address:0xc00

lo Link encapocal Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:179 errors:0 dropped:0 overruns:0 frame:0
TX packets:179 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:11356 (11.0 KiB) TX bytes:11356 (11.0 KiB)

root@0[knoppix]# ifup eth0
ifup: interface eth0 already configured
root@0[knoppix]# xrgsu -d
XRGSupplicant 1.0.1
RuiJie Network CopyRight 2004
Please input your user name:sanvagegarden
Please input your password:
Use default auth parameter,0-Use 1-UnUse(Default: 0):
Searching server...
Connecting server...
Searching server...
Connecting server...
Searching server...
Connecting server...
If system work in DHCP mode,please resume IP address!
xrgsu exit!
root@0[knoppix]#
而我的确是在DHCP方式下的啊
2:我又在网上下了一个mystar认证软件,然后再下了dhcp3-common 3.0.1和
 dhcp3-client 3.0.1(原来我的机子上只有dhcp3-common 3.0.0和dhcp3-server,
 没有dhcp3-client),不知道是不是非得要有这些东西?然后装上以后问题还是那样,
 只不过好像mystar能连到服务器,但 提示IP类型不对:
root@0[bin]# dhclient
Internet Systems Consortium DHCP Client V3.0.1
Copyright 2004 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

Listening on LPF/lo/
Sending on   LPF/lo/
Listening on LPF/eth0/00:e0:4c:99:3a:dc
Sending on   LPF/eth0/00:e0:4c:99:3a:dc
su
root@0[bin]# dhclient
Internet Systems Consortium DHCP Client V3.0.1
Copyright 2004 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

Listening on LPF/lo/
Sending on   LPF/lo/
Listening on LPF/eth0/00:e0:4c:99:3a:dc
Sending on   LPF/eth0/00:e0:4c:99:3a:dc
Sending on   Socket/fallback
DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 7
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 10.16.10.1
bound to 10.16.10.2 -- renewal in 2936 seconds.
root@0[bin]# xrgsu -d
XRGSupplicant 1.0.1
RuiJie Network CopyRight 2004
Please input your user name:sanvagegarden
Please input your password:
Use default auth parameter,0-Use 1-UnUse(Default: 0):
Searching server...
Connecting server...
Searching server...
Connecting server...
Searching server...
Connecting server...
If system work in DHCP mode,please resume IP address!
xrgsu exit!

root@0[bin]# mystar
>> Searching for server...
@@ Server found, requesting user name...
>> Sending user name...
@@ User name valid, requesting password...
>> Sending password...
@@ Authenticaton failed!!! IP地址类型错误,请使用动态IP地址!
>> Logouting...
>> Searching for server...
@@ Server found, requesting user name...
>> Sending user name...
@@ Authenticaton failed!!!
>> Logouting...
>> Searching for server...
@@ Server found, requesting user name...
>> Sending user name...
@@ User name valid, requesting password...
>> Sending password...
@@ Authenticaton failed!!! IP地址类型错误,请使用动态IP地址!
>> Logouting...
>> Searching for server...
 
 ???是我的IP配置得不对?上面用dhclient不就是获得动态IP的吗?还有就是那个netcardconfig我也选取了DHCP方式,怎么回事呢?


 还有就是我在网上看到有比较多的人是认证成功了,但是会检测到有代理然后就掉线了
 而我这个是还没有认证成功。。???
 
 盼知道的指点指点,不胜感激!!!
 楼主| 发表于 2005-10-22 11:40:35 | 显示全部楼层
忘了说了,libcap.so.0.6.2和libcap0.8.3都有
怎么回事呢?
回复 支持 反对

使用道具 举报

发表于 2005-10-22 12:30:06 | 显示全部楼层
用mystar吧
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-10-22 12:40:54 | 显示全部楼层
Post by forexi
用mystar吧

用mystar也不行,是我的IP不对吗??
回复 支持 反对

使用道具 举报

发表于 2005-10-22 12:52:51 | 显示全部楼层
Post by liushajian
用mystar也不行,是我的IP不对吗??

我们学校ip是绑定的。
回复 支持 反对

使用道具 举报

发表于 2005-10-22 13:03:13 | 显示全部楼层
我以前在学校也用这个xrgsu,下载了一个xrgsu+lib编译好的包
直接make make install就可以了
然后终端运行xrgsu命令(登陆没有问题,只是每次都得从终端登陆比较麻烦)
楼主要否?如果想试试就留个email
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-10-22 21:59:25 | 显示全部楼层
Post by andey
我以前在学校也用这个xrgsu,下载了一个xrgsu+lib编译好的包
直接make make install就可以了
然后终端运行xrgsu命令(登陆没有问题,只是每次都得从终端登陆比较麻烦)
楼主要否?如果想试试就留个email

用这个行吗?我们学校用的是动态地址。hfliusha@126.com,谢谢了。
回复 支持 反对

使用道具 举报

发表于 2005-10-23 00:01:25 | 显示全部楼层
mystar应该还不支持DHCP的,gnap兄的方法我没有试过,恐怕也没有机会试了,毕竟已经离开学校了。不过你可以试试。见这里。
http://www.linuxsir.cn/bbs/showthread.php?t=219727
还有一个什么破解了xrgsu的版本,在论坛里面也见过,好像白水兄有贴过这个东西的相关帖子,你找找吧。
还有,如果你之前已经配置了其他连接用于上网,请把它们删掉。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-10-23 17:08:10 | 显示全部楼层
Post by csyfek
mystar应该还不支持DHCP的,gnap兄的方法我没有试过,恐怕也没有机会试了,毕竟已经离开学校了。不过你可以试试。见这里。
http://www.linuxsir.cn/bbs/showthread.php?t=219727
还有一个什么破解了xrgsu的版本,在论坛里面也见过,好像白水兄有贴过这个东西的相关帖子,你找找吧。
还有,如果你之前已经配置了其他连接用于上网,请把它们删掉。


谢谢了,其实我用的就是那个破解版的,还是不行,至于gnap兄的,他是在FC平台上用的那个
补丁和命令,好像在我这个debian上打不了这个补丁(也许是命令不一样吧)。只不过我再试试
吧。晚上我还会回来的。



还有就是要谢谢andey兄,我收到你的邮件了,我试一下吧。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-10-23 23:43:57 | 显示全部楼层
那个gnap兄的包我用过了但是装不上去啊,我是一个新手,能告诉我是我的机子里面缺少了什
么吗?如下
root@0[tmp]# cd xsupplicant-1.2.1
root@0[xsupplicant-1.2.1]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for ranlib... ranlib
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for bison... bison -y
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking whether byte ordering is bigendian... no
checking whether to build with OpenSSL support...
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking Operating System... Linux
checking for CRYPTO_new_ex_data in -lcrypto... yes
checking for SSL_library_init in -lssl... yes
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking openssl/err.h usability... yes
checking openssl/err.h presence... yes
checking for openssl/err.h... yes
checking for native frame interface... linux
checking for procfs support... okay
!! Not building MADWIFI WPA support !!
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating tools/Makefile
config.status: creating doc/Makefile
config.status: creating etc/Makefile
config.status: creating drivers/Makefile
config.status: creating tools/config-parser/Makefile
config.status: creating gui_tools/Makefile
config.status: creating gui_tools/cli/Makefile
config.status: creating gui_tools/cli/xsup_set_pwd/Makefile
config.status: creating gui_tools/cli/xsup_monitor/Makefile
config.status: creating gui_tools/cli/xsup_get_state/Makefile
config.status: executing depfiles commands
root@0[xsupplicant-1.2.1]# make
Making all in src
make[1]: Entering directory `/home/knoppix/tmp/xsupplicant-1.2.1/src'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/knoppix/tmp/xsupplicant-1.2.1/src'
Making all in etc
make[1]: Entering directory `/home/knoppix/tmp/xsupplicant-1.2.1/etc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/knoppix/tmp/xsupplicant-1.2.1/etc'
Making all in tools
make[1]: Entering directory `/home/knoppix/tmp/xsupplicant-1.2.1/tools'
Making all in config-parser
make[2]: Entering directory `/home/knoppix/tmp/xsupplicant-1.2.1/tools/config-parser'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/knoppix/tmp/xsupplicant-1.2.1/tools/config-parser'
make[2]: Entering directory `/home/knoppix/tmp/xsupplicant-1.2.1/tools'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/knoppix/tmp/xsupplicant-1.2.1/tools'
make[1]: Leaving directory `/home/knoppix/tmp/xsupplicant-1.2.1/tools'
Making all in doc
make[1]: Entering directory `/home/knoppix/tmp/xsupplicant-1.2.1/doc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/knoppix/tmp/xsupplicant-1.2.1/doc'
Making all in drivers
make[1]: Entering directory `/home/knoppix/tmp/xsupplicant-1.2.1/drivers'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/knoppix/tmp/xsupplicant-1.2.1/drivers'
Making all in gui_tools
make[1]: Entering directory `/home/knoppix/tmp/xsupplicant-1.2.1/gui_tools'
Making all in cli
make[2]: Entering directory `/home/knoppix/tmp/xsupplicant-1.2.1/gui_tools/cli'
Making all in xsup_set_pwd
make[3]: Entering directory `/home/knoppix/tmp/xsupplicant-1.2.1/gui_tools/cli/xsup_set_pwd'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/knoppix/tmp/xsupplicant-1.2.1/gui_tools/cli/xsup_set_pwd'
Making all in xsup_monitor
make[3]: Entering directory `/home/knoppix/tmp/xsupplicant-1.2.1/gui_tools/cli/xsup_monitor'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/knoppix/tmp/xsupplicant-1.2.1/gui_tools/cli/xsup_monitor'
Making all in xsup_get_state
make[3]: Entering directory `/home/knoppix/tmp/xsupplicant-1.2.1/gui_tools/cli/xsup_get_state'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/knoppix/tmp/xsupplicant-1.2.1/gui_tools/cli/xsup_get_state'
make[3]: Entering directory `/home/knoppix/tmp/xsupplicant-1.2.1/gui_tools/cli'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/knoppix/tmp/xsupplicant-1.2.1/gui_tools/cli'
make[2]: Leaving directory `/home/knoppix/tmp/xsupplicant-1.2.1/gui_tools/cli'
make[2]: Entering directory `/home/knoppix/tmp/xsupplicant-1.2.1/gui_tools'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/knoppix/tmp/xsupplicant-1.2.1/gui_tools'
make[1]: Leaving directory `/home/knoppix/tmp/xsupplicant-1.2.1/gui_tools'
make[1]: Entering directory `/home/knoppix/tmp/xsupplicant-1.2.1'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/home/knoppix/tmp/xsupplicant-1.2.1'
root@0[xsupplicant-1.2.1]# make install
Making install in src
make[1]: Entering directory `/home/knoppix/tmp/xsupplicant-1.2.1/src'
make[2]: Entering directory `/home/knoppix/tmp/xsupplicant-1.2.1/src'
test -z "/usr/local/sbin" || mkdir -p -- "/usr/local/sbin"
  /usr/bin/install -c 'xsupplicant' '/usr/local/sbin/xsupplicant'
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/knoppix/tmp/xsupplicant-1.2.1/src'
make[1]: Leaving directory `/home/knoppix/tmp/xsupplicant-1.2.1/src'
Making install in etc
make[1]: Entering directory `/home/knoppix/tmp/xsupplicant-1.2.1/etc'
make[2]: Entering directory `/home/knoppix/tmp/xsupplicant-1.2.1/etc'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/knoppix/tmp/xsupplicant-1.2.1/etc'
make[1]: Leaving directory `/home/knoppix/tmp/xsupplicant-1.2.1/etc'
Making install in tools
make[1]: Entering directory `/home/knoppix/tmp/xsupplicant-1.2.1/tools'
Making install in config-parser
make[2]: Entering directory `/home/knoppix/tmp/xsupplicant-1.2.1/tools/config-parser'
make[3]: Entering directory `/home/knoppix/tmp/xsupplicant-1.2.1/tools/config-parser'
test -z "/usr/local/bin" || mkdir -p -- "/usr/local/bin"
  /usr/bin/install -c 'config-parser' '/usr/local/bin/config-parser'
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/knoppix/tmp/xsupplicant-1.2.1/tools/config-parser'
make[2]: Leaving directory `/home/knoppix/tmp/xsupplicant-1.2.1/tools/config-parser'
make[2]: Entering directory `/home/knoppix/tmp/xsupplicant-1.2.1/tools'
make[3]: Entering directory `/home/knoppix/tmp/xsupplicant-1.2.1/tools'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/knoppix/tmp/xsupplicant-1.2.1/tools'
make[2]: Leaving directory `/home/knoppix/tmp/xsupplicant-1.2.1/tools'
make[1]: Leaving directory `/home/knoppix/tmp/xsupplicant-1.2.1/tools'
Making install in doc
make[1]: Entering directory `/home/knoppix/tmp/xsupplicant-1.2.1/doc'
make[2]: Entering directory `/home/knoppix/tmp/xsupplicant-1.2.1/doc'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/knoppix/tmp/xsupplicant-1.2.1/doc'
make[1]: Leaving directory `/home/knoppix/tmp/xsupplicant-1.2.1/doc'
Making install in drivers
make[1]: Entering directory `/home/knoppix/tmp/xsupplicant-1.2.1/drivers'
make[2]: Entering directory `/home/knoppix/tmp/xsupplicant-1.2.1/drivers'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/knoppix/tmp/xsupplicant-1.2.1/drivers'
make[1]: Leaving directory `/home/knoppix/tmp/xsupplicant-1.2.1/drivers'
Making install in gui_tools
make[1]: Entering directory `/home/knoppix/tmp/xsupplicant-1.2.1/gui_tools'
Making install in cli
make[2]: Entering directory `/home/knoppix/tmp/xsupplicant-1.2.1/gui_tools/cli'
Making install in xsup_set_pwd
make[3]: Entering directory `/home/knoppix/tmp/xsupplicant-1.2.1/gui_tools/cli/xsup_set_pwd'
make[4]: Entering directory `/home/knoppix/tmp/xsupplicant-1.2.1/gui_tools/cli/xsup_set_pwd'
test -z "/usr/local/bin" || mkdir -p -- "/usr/local/bin"
  /usr/bin/install -c 'xsup_set_pwd' '/usr/local/bin/xsup_set_pwd'
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/home/knoppix/tmp/xsupplicant-1.2.1/gui_tools/cli/xsup_set_pwd'
make[3]: Leaving directory `/home/knoppix/tmp/xsupplicant-1.2.1/gui_tools/cli/xsup_set_pwd'
Making install in xsup_monitor
make[3]: Entering directory `/home/knoppix/tmp/xsupplicant-1.2.1/gui_tools/cli/xsup_monitor'
make[4]: Entering directory `/home/knoppix/tmp/xsupplicant-1.2.1/gui_tools/cli/xsup_monitor'
test -z "/usr/local/bin" || mkdir -p -- "/usr/local/bin"
  /usr/bin/install -c 'xsup_monitor' '/usr/local/bin/xsup_monitor'
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/home/knoppix/tmp/xsupplicant-1.2.1/gui_tools/cli/xsup_monitor'
make[3]: Leaving directory `/home/knoppix/tmp/xsupplicant-1.2.1/gui_tools/cli/xsup_monitor'
Making install in xsup_get_state
make[3]: Entering directory `/home/knoppix/tmp/xsupplicant-1.2.1/gui_tools/cli/xsup_get_state'
make[4]: Entering directory `/home/knoppix/tmp/xsupplicant-1.2.1/gui_tools/cli/xsup_get_state'
test -z "/usr/local/bin" || mkdir -p -- "/usr/local/bin"
  /usr/bin/install -c 'xsup_get_state' '/usr/local/bin/xsup_get_state'
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/home/knoppix/tmp/xsupplicant-1.2.1/gui_tools/cli/xsup_get_state'
make[3]: Leaving directory `/home/knoppix/tmp/xsupplicant-1.2.1/gui_tools/cli/xsup_get_state'
make[3]: Entering directory `/home/knoppix/tmp/xsupplicant-1.2.1/gui_tools/cli'
make[4]: Entering directory `/home/knoppix/tmp/xsupplicant-1.2.1/gui_tools/cli'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/home/knoppix/tmp/xsupplicant-1.2.1/gui_tools/cli'
make[3]: Leaving directory `/home/knoppix/tmp/xsupplicant-1.2.1/gui_tools/cli'
make[2]: Leaving directory `/home/knoppix/tmp/xsupplicant-1.2.1/gui_tools/cli'
make[2]: Entering directory `/home/knoppix/tmp/xsupplicant-1.2.1/gui_tools'
make[3]: Entering directory `/home/knoppix/tmp/xsupplicant-1.2.1/gui_tools'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/knoppix/tmp/xsupplicant-1.2.1/gui_tools'
make[2]: Leaving directory `/home/knoppix/tmp/xsupplicant-1.2.1/gui_tools'
make[1]: Leaving directory `/home/knoppix/tmp/xsupplicant-1.2.1/gui_tools'
make[1]: Entering directory `/home/knoppix/tmp/xsupplicant-1.2.1'
make[2]: Entering directory `/home/knoppix/tmp/xsupplicant-1.2.1'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/knoppix/tmp/xsupplicant-1.2.1'
make[1]: Leaving directory `/home/knoppix/tmp/xsupplicant-1.2.1'
root@0[xsupplicant-1.2.1]#
小弟在此先谢谢了!!
回复 支持 反对

使用道具 举报

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

本版积分规则

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