免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2851 | 回复: 0
打印 上一主题 下一主题

[桌面系统] debian通过华为h3c上网问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-10-23 15:38 |只看该作者 |倒序浏览
我学linux不久, 前几天我打算彻底把硬盘格了, 装linux用了, 我以前学Windows编程, 虽然我经验不多, 但是我开始讨厌微软的开发平台了. 太复杂了. 可能因为微软封闭的原因, 为了做到一些兼容, 把开发平台搞得复杂.

安装debian的时候相当顺利, 安装好了后, 我想用他上网, 我用的是华为的h3c上网认证, 网上有很多教程, 我看了不少, 给我也解决了不少问题, 但是最终我还是没能联上网.


如果有人知道解决方法, 请告诉我, 帮帮我这个弃暗(ms)投明(linux)的人吧.




以下是我的配置过程. 红色部分为我输入命令

mypc:/home/tony# gunzip H3C_8021XClient_CH_V220_0210-Linux.tar.gz
mypc:/home/tony# tar -xvf H3C_8021XClient_CH_V220_0210-Linux.tar
mypc:/home/tony# cd h3c802.1xClient


mypc:/home/tony/h3c802.1xClient# ls -l
total 756
drwxr-xr-x 2 root root   4096 2004-11-24 01:23 802.1x Supplicant for Linux readme.files
-rwxr-xr-x 1 root root 606217 2004-11-23 01:27 linux1x
-r-xr-xr-x 1 root root    608 2004-11-23 01:27 pre.ps
-rw------- 1 root root  64000 2004-11-24 01:14 Readme.doc
-rw------- 1 root root  69398 2004-11-24 01:14 Readme.htm
-rw------- 1 root root   1655 2004-11-24 01:14 Readme.txt
-r-xr-xr-x 1 root root     89 2004-11-23 01:27 renew.ps


mypc:/home/tony/h3c802.1xClient# ./pre.ps
configuration directory exist
log directory exist
Refresh IP script is READY.
Authencation file is READY.
pre operation finished successfully


mypc:/home/tony/h3c802.1xClient# ./linux1x -c
./linux1x: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory


mypc:/home/tony/h3c802.1xClient# cd /usr/lib
mypc:/usr/lib# ln -s libstdc++.so.6.0.8 libstdc++-libc6.2-2.so.3
mypc:/usr/lib# ls -l | grep libstdc
lrwxrwxrwx 1 root root      18 2008-10-23 13:18 libstdc++-libc6.2-2.so.3 -> libstdc++.so.6.0.8
lrwxrwxrwx 1 root root      18 2008-10-22 14:43 libstdc++.so.6 -> libstdc++.so.6.0.8
-rw-r--r-- 1 root root  909044 2006-12-10 09:45 libstdc++.so.6.0.8


mypc:/usr/lib# cd /home/tony/h3c802.1xClient


mypc:/home/tony/h3c802.1xClient# ./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 :
2
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!


mypc:/home/tony/h3c802.1xClient# ./linux1x -u xxxx/xxxx -n eth1 #xxxx为我帐户名和密码
start 802.1X authentication
device check
unknown error, please contact network administrator
authentication failed


mypc:/home/tony/h3c802.1xClient# ./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!


mypc:/home/tony/h3c802.1xClient# ./linux1x -u xxxx/xxxx -n eth1
start 802.1X authentication
device check #每次都在这里错误, 希望有人帮我解决一下这个问题
unknown error, please contact network administrator
authentication failed


mypc:/home/tony/h3c802.1xClient# ./linux1x -v
    802.1X Supplicant for Linux: Version 2.20-0210
    Copyright (C)2004 Huawei-3Com Technologies Co.,Ltd.
Time: 13:22:10 Message: Error: have no effective network connection now.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP