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:
- 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$
The solution is as follows:
- 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$
Just install it again, as shown below:
- 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$
In this way, you can connect to the campus network in Linux.