轻松应用Linux连接校园网

运维 系统运维
如果你是个学生,经常在学校应用电脑,你安装了Linux操作系统,怎样才能应用Linux连接校园网呢?本文为你介绍Linux连接校园网。

如果你是个学生,经常在学校应用电脑,你安装了Linux操作系统,怎样才能应用Linux连接校园网呢?本文为你介绍Linux连接校园网。

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

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

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

解决方法如下:

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

再次安装就行了,如下:

  1. duxingxia@ubuntu:~/h3c802.1xClient$ sudo ./linux1x -c  
  2. configure 802.1X network connection arguments  
  3. Current configuration is: 
  1. The way to initialize 802.1X authentication.......:multicast  
  2. Send all packets by multicast.....................:Y  
  3. Refresh IP address after connecting...............:Y  
  4. Save message and package to log...................:Y  
  5. The save directory is.............................:/var/log/h3c-linux1x/  
  6. Continue to configure your network connection arguments?(Y/N)  
  7. y  
  8. There are two ways to initialize 802.1X authentication:  
  9. 1. Trap by broadcast.  
  10. 2. Trap by multicast.  
  11. Please choose the way to initialize the 802.1X authentication :   
  12. 1  
  13. Send all packets by multicast? (Y/N):  
  14. y  
  15. Refresh your IP address after connecting? (Y/N):  
  16. y  
  17. Save message and package to log?(Y/N):  
  18. y  
  19. The default save directory is '/var/log/h3c-linux1x/', do you want to change it?(Y/N):  
  20. n  
  21. Configuration has finished, do you want to save it?(Y/N)  
  22. y  
  23. Save configuration sucessfully!  
  24. duxingxia@ubuntu:~/h3c802.1xClient$  

这样你就完成了Linux连接校园网。
 

【编辑推荐】

  1. Linux上的虚拟化技术 Xen虚拟化初学指南
  2. 处理Linux内核安全详解
  3. Linux的Shell编程 Shell基本语法
  4. Linux的Shell编程 运行Shell程序的方法
  5. Linux的Shell编程bash的内部命令
责任编辑:小霞
相关推荐

2010-04-27 09:23:00

WLAN校园网

2011-04-02 12:42:42

2009-05-13 10:06:42

2011-04-02 13:15:04

2010-03-24 20:28:48

广域网加速

2011-03-24 14:06:25

2011-03-25 16:26:30

2011-03-25 16:28:46

漏洞扫描系统

2011-03-25 16:27:15

2011-03-25 16:17:36

2018-11-01 15:59:41

校园网网络建设极简网络

2010-07-23 21:11:17

2010-09-08 21:53:59

2009-01-07 09:18:00

2010-06-23 21:12:15

2011-06-03 10:34:42

2020-09-25 08:40:02

Python开发网络

2009-02-12 10:14:00

2010-07-15 21:47:26

校园网网络信息化锐捷

2010-03-02 15:36:50

点赞
收藏

51CTO技术栈公众号