Chinaunix首页 | 论坛 | 博客
  • 博客访问: 126288
  • 博文数量: 46
  • 博客积分: 2000
  • 博客等级: 大尉
  • 技术积分: 480
  • 用 户 组: 普通用户
  • 注册时间: 2009-06-13 09:26
文章分类

全部博文(46)

文章存档

2011年(1)

2010年(5)

2009年(40)

我的朋友

分类: LINUX

2009-12-24 09:29:57

Linux连接校园网

Linux下连接校园网可以使用h3c802.1xclient

但是编译的时候经常碰到如下问题:


duxingxia@ubuntu:~$ cd h3c802.1xClient/
duxingxia@ubuntu:~/h3c802.1xClient$ ls
802.1x Supplicant for Linux readme.files  pre.ps      Readme.htm  renew.ps
linux1x                                   Readme.doc  Readme.txt
duxingxia@ubuntu:~/h3c802.1xClient$ sudo ./pre.ps
[sudo] password for duxingxia:
Refresh IP script is READY.
Authencation file is READY.
pre operation finished successfully
duxingxia@ubuntu:~/h3c802.1xClient$ sudo ./linux1x -c
./linux1x: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory
duxingxia@ubuntu:~/h3c802.1xClient$



解决方法如下:

duxingxia@ubuntu:/usr/lib$ ll libstdc*
lrwxrwxrwx 1  512  512      18 2009-12-24 06:00 libstdc++.so.5 -> libstdc++.so.5.0.1
-rwxr-xr-x 1  512  512 4181584 2002-09-04 11:02 libstdc++.so.5.0.1
lrwxrwxrwx 1 root root      19 2009-12-24 06:00 libstdc++.so.6 -> libstdc++.so.6.0.13
-rw-r--r-- 1 root root  962800 2009-10-15 07:51 libstdc++.so.6.0.13
duxingxia@ubuntu:/usr/lib$ ln -s libstdc++.so.5.0.1 libstlibstdc++-libc6.2-2.so.3
duxingxia@ubuntu:/usr/lib$


再次安装就行了,如下:
duxingxia@ubuntu:~/h3c802.1xClient$ 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.....................:Y
Refresh IP address after connecting...............:Y
Save message and package to log...................:Y
The save directory is.............................:/var/log/h3c-linux1x/
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 :
1
Send all packets by multicast? (Y/N):
y
Refresh your IP address after connecting? (Y/N):
y
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!
duxingxia@ubuntu:~/h3c802.1xClient$












阅读(1229) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~