Easily connect to the campus network using Linux

Source: Internet
Author: User

If you are a student and often use a computer in school, how can you connect to the campus network using Linux if you have installed a Linux operating system? This article introduces how to connect to the campus network in Linux.

You can use h3c802.1xclient to connect to the campus network in Linux.

However, the following problems are frequently encountered during compilation:

 
 
  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$  

The solution is as follows:

 
 
  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$  

Just install it again, as shown below:

 
 
  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$  

In this way, you can connect to the campus network in Linux.
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.