轻松应用Linux连接校园网
创始人
2024-06-18 04:10:24
0

如果你是个学生,经常在学校应用电脑,你安装了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的内部命令

相关内容

热门资讯

如何允许远程连接到MySQL数... [[277004]]【51CTO.com快译】默认情况下,MySQL服务器仅侦听来自localhos...
如何利用交换机和端口设置来管理... 在网络管理中,总是有些人让管理员头疼。下面我们就将介绍一下一个网管员利用交换机以及端口设置等来进行D...
施耐德电气数据中心整体解决方案... 近日,全球能效管理专家施耐德电气正式启动大型体验活动“能效中国行——2012卡车巡展”,作为该活动的...
Windows恶意软件20年“... 在Windows的早期年代,病毒游走于系统之间,偶尔删除文件(但被删除的文件几乎都是可恢复的),并弹...
20个非常棒的扁平设计免费资源 Apple设备的平面图标PSD免费平板UI 平板UI套件24平图标Freen平板UI套件PSD径向平...
德国电信门户网站可实时显示全球... 德国电信周三推出一个门户网站,直观地实时提供其安装在全球各地的传感器网络检测到的网络攻击状况。该网站...
着眼MAC地址,解救无法享受D... 在安装了DHCP服务器的局域网环境中,每一台工作站在上网之前,都要先从DHCP服务器那里享受到地址动...
为啥国人偏爱 Mybatis,... 关于 SQL 和 ORM 的争论,永远都不会终止,我也一直在思考这个问题。昨天又跟群里的小伙伴进行...