linux链接校园网络,Linux连接校园网

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$

阅读(687) | 评论(0) | 转发(0) |

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值