輕鬆應用Linux串連校園網

來源:互聯網
上載者:User

如果你是個學生,經常在學校應用電腦,你安裝了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串連校園網。
 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.