|
发表于 2004-8-6 16:50:42
|
显示全部楼层
真是天意弄人呀!!!
1.我把mozilla里的ssl都关了,但还是不行,我想不是这个问题,IE也用SSL的
2. 我下了官方的libpcap0.8.3,用了你的Makefile.in文件,但也一样,本想试试libpcap0.6.2的,但是编译的时候出错,我想也不应该是版本兼容的问题,因为用ftp和在线升级debian的时候都没事
3. 我用了你用expect写的脚本方便多了,但是有一些小问题,比如输入"unauth"后终端就死在那里了,然后我就直接把终端窗口给关了!想请问jerry最后两句是起什么作用的,
expect "LogOff:"
sleep 360000
因为第一句并没有显示出来,但是我试了去掉就到不了将要输出的那一句LogOff了
但是,就在这时, 我ping网关,依然还能ping通,因为我刚才把终端关了按理来说xrgsu应该断了呀,然后, 我就用mozilla去上网了,上了几个网页发现竟然还能连上!!! (当时我心里就一个心情:美,兴奋的不得了),接着我就赶紧找原因,发现:
用正常的xrgsu -a真正在进程里是这个样子:
root 987 0.2 0.2 21356 1216 pts/1 S+ 16:35 0:00 xrgsu -a
root 988 0.0 0.2 21356 1216 pts/1 S+ 16:35 0:00 xrgsu -a
root 989 0.0 0.2 21356 1216 pts/1 S+ 16:35 0:00 xrgsu -a
root 990 0.0 0.2 21356 1216 pts/1 S+ 16:35 0:00 xrgsu -a
root 991 0.0 0.2 21356 1216 pts/1 S+ 16:35 0:00 xrgsu -a
root 992 0.0 0.2 21356 1216 pts/1 S+ 16:35 0:00 xrgsu -a
root 993 0.0 0.2 21356 1216 pts/1 S+ 16:35 0:00 xrgsu -a
root 994 0.0 0.2 21356 1216 pts/1 S+ 16:35 0:00 xrgsu -a
root 995 0.0 0.2 21356 1216 pts/1 S+ 16:35 0:00 xrgsu -a
root 996 0.0 0.2 21356 1216 pts/1 S+ 16:35 0:00 xrgsu -a
root 997 0.0 0.2 21356 1216 pts/1 S+ 16:35 0:00 xrgsu -a
但是我用connect-root脚本运行后死掉在强行退出就变成这个样子:
root 765 0.0 0.0 0 0 ? root 765 0.0 0.0 0 0 ? Zs 16:05 0:00 [xrgsu] <defunct>
然后用kill -9 765怎么也杀不死了,我想就是不是因为sleep36000的问题,总之还是不太明白啦,请jerry帮忙看看!
虽说问题解决的莫名其妙,但毕竟现在可以踏踏实实的上网了,现在我就是用mozilla回的帖子,简直开心死了! 这里我要郑重的谢谢linuxjerry兄这些日子以来的热心帮助,小弟在这万分感激,感激不尽呀!!!^_^_^_^_^_^_^_^
接着希望能帮我解释一下上面那两句的含义,还有我怎样才能实现直接unauth,这样每次就不用自己输入直接关终端就可以了,呵呵,这样也算是bt解决方法了,不过对待bt问题就应该bt解决!
等着你的回复了!^_^ |
|