轻松应用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连接校园网。
 

相关内容

    暂无相关文章