花了两个小时的时间,终于搞定linux Ubuntu 上网
以下写一点心得体会
首先声明,以下内容有部分是从前人那里得到的。
学校用的是华为的inode 客户端,网上搜一下都有,下面开始:
先下2. 802.1X认证Linux平台客户端软件
1.在 linux下打开一个shell sudo以超级用户的进入
2.[root@adoplh ~]#unzip h3c802.1xClient.zip
解压完成后,cd一直进到h3c802.1xClient
3.[root@adolph h3c802.1xClient]#./per.ps
4.[root@adolph h3c802.1xClient]# ./linux1x -c
( 运行到这一步以后,有可能会遇到下面这些问题,没关系,做个链接就可以了!
1. ./linux1x: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory
解:[root@adolph h3c802.1xClient]# cd /usr/lib
[root@adolph h3c802.1xClient]# ls libstdc++*
libstdc++.so.6 libstdc++.so.6.0.10
相信在在你的机子上也会出现以上两个相似的文件,libstdc++.so.6.0.10就是我们要找的文件,下面做个链接:
[root@adolph h3c802.1xClient]# ln -s libstdc++.so.6.0.10 libstdc++-libc6.2-2.so.3
接着看一下是否成功:[root@adolph h3c802.1xClient]# ls libstdc++*,肯定多了我们所缺少的文件。
2. linux1x: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
解:步骤同上,
3. ./linux1x: /usr/lib/libstdc++.so.5: version `GLIBCPP_3.2' not found (required by ./linux1x)
./linux1x: /usr/lib/libstdc++.so.5: version `CXXABI_1.2' not found (required by ./linux1x)
解: 下一个compat-libstdc++-7.3-2.96.118.i386.rpm;或者compat-libstdc++-33-3.2.3-61.i386.rpm;
安装对应的rpm包:
[root@adolph ~]# rpm -ivh /加.rpm所在的路径
接着就可以了!寻找rpm最好的网站http://rpm.pbone.net/
注:当你再次运行 ./linux -c 时,有可能还会出现以上情况,那就删除rm掉,然后重新链接,直到成功!呵呵
)
成功以后,接着运行
[root@adolph h3c802.1xClient]# ./linux1x
接着输入用户名和密码:
Please enter your user name (less than 128 characters):
Please enter your password (less than 64 characters):
Please choose a network adapter:
1. eth0
2. virbr0
Enter the number of your choice (1-2[1]): 1
start 802.1X authentication
device check
server check
pass authentication
proxy check on
multi-network-card off
http check off
接着就可以了
相信大家都能够连上网