LINUX 下没有MD5时802.1X连接方法_第1页
LINUX 下没有MD5时802.1X连接方法_第2页
LINUX 下没有MD5时802.1X连接方法_第3页
LINUX 下没有MD5时802.1X连接方法_第4页
LINUX 下没有MD5时802.1X连接方法_第5页
已阅读5页,还剩2页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、LINUX 下802.1X连接,没有MD5时:客户端下载地址:/netdisk/singlepublic?fid=_安装客户端:下文以Ubuntu Linux为例*  上网认证客户端配置指南*happytrubuntu:/$unzip linux_client.ziphappytrubuntu:/$cd client/happytrubuntu:/client$ sudo -sH               

2、 #取得root权限Password:roottrubuntu:/client# ./pre.ps               #运行安装脚本configuration directory existRefresh IP script is READY.Authencation file is READY.pre operation finished successfullyroottrubuntu:/client# linux1x -c  &n

3、bsp;            #配置上网参数configure 802.1X network connection argumentsCurrent configuration is:The way to initialize 802.1X authentication.:multicastSend all packets by multicast.:NRefresh IP address after connecting.:YSave message and package to

4、log.:NContinue to configure your network connection arguments?(Y/N)yThere 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 :   #询问是使用“广播触发”模式还是使用“多播触发”,在WI

5、NDOWS中我们必须配置客户端为“多播触发”才可以上网,但Linux中的这个客户端你选哪个都能正常上网,所以写1写2可随意。2Send all packets by multicast? (Y/N):yRefresh your IP address after connecting? (Y/N):        #询问连接后是否更新IP,看你个人意愿和系统需要,如果你使用redhat、fedora core最好选择是,因为红帽的系统常常无法自动获得IP,如果你是其他发行版,比如Ubuntu,可以选否。ySave message and

6、 package to log?(Y/N):          #询问是否保存日志,随个人意愿选择          yThe default save directory is /var/log/h3c-linux1x/, do you want to change it?(Y/N):yConfiguration has finished, do you want to save it?(Y/N)   &

7、nbsp;#询问是否保存配置文件,这个要选Y设置才会生效ySave configuration sucessfully!             #配置成功roottrubuntu:/client# linux1x -dPlease enter your user name (less than 128 characters):xxxxxx   #输入你的帐户名Please enter your password (less than 64 characters): &nbs

8、p;   #输入帐户密码start 802.1X authenticationdevice checkserver checkInternet Systems Consortium DHCP Client V3.0.2Copyright 2004 Internet Systems Consortium.All rights reserved.For info, please visit /products/DHCPsit0: unknown hardware address type 776sit0: unknown hardwa

9、re address type 776Listening on LPF/eth0/00:yy:4c:zz:cb:xxSending on   LPF/eth0/00:yy:4c:zz:cb:xxSending on   Socket/fallbackDHCPREQUEST on eth0 to 55 port 67DHCPACK from bound to 172.17.138.xx - renewal in 38286 seconds.pass authenticationproxy check offmulti-netw

10、ork-card offhttp check off.联网成功,密码会被自动保存,下次你再上网,只需要输入linux1x -d即可。                                                    &n

11、bsp;                   802.1x Supplicant for Linux 安装使用说明 目录   安装   解压缩   执行安装文件   使用   配置用户信息   发起网络认证   查看网络状态和版本信息   断开网络连接 安装   安装过程分为两个步骤,首先解开压缩包,然后执行安装文件。 解压缩   unzip linux_client.zip 执行安装文件   到

12、展开的文件夹中执行   ./pre.ps 使用   用户可通过命令行的方式和程序进行交互。 配置用户信息   可以通过如下命令开始用户信息的配置:   linux1x c 发起网络认证   可以通过如下命令开始认证:   linux1x -u username/password -n netchar -d -p   无参数 如果没有参数,则使用上次成功认证的参数   -u 后输入的应是用户名和密码   -n 后输入的应是认证网卡的名字,如eth0, eth1, eth2 等等   -d 标识程序

13、以守护方式运行,通过认证后转到后台运行   -p 逐项提示用户输入需要的信息 例子: 用户想通过用户名为user1,密码为pass1,网卡eth0发起认证,可使用如下命令: (1) linux1x u user1/pass1 n eth0 (默认为在前台运行) (2) linux1x u user1/pass1 n eth0 d (通过认证后转到后台运行) (3) linux1x u user1/pass1 (在随后的提示中输入需要的信息) (4) linux1x (在随后的提示中输入需要的信息) (5) linux1x p (不使用存储的用户认证信息,提示输入所有的需要的信息) 查

14、看网络状态和版本信息   可通过如下命令查看网络状态和版本信息:   linux1x v seconds   -v 后可输入想要显示的时间,以秒为单位 例子: 1 用户想一直查看网络统计信息, 可使用如下命令: (1) linux1x v (2) linux1x v 0 2 用户想查看一段时间的网络统计信息,如想查看5秒后退出,可使用如下命令: (1) linux1x v 5 断开网络连接   用户可通过如下命令断开网络连接   linux1x k   -k 断开当前的网络连接 客户端使用常见故障及其解决方法(等待补充)1. happ

15、ytraveller2:$ linux1x -d 2.3. ERROR! Cant initial authentication program ! 4. happytraveller2:$ linux1x -c 5.6. ERROR! Cant initial authentication program !复制代码出现上述情况的原因有两个:1、没有使用root权限无法执行客户端;2、网卡未被驱动或未被激活,运行命令 1. happytraveller2:$ ifconfig 2. lo    Link encap:Local Loopback 3.  &nbs

16、p; inet addr:Mask: 4.    inet6 addr: :1/128 Scope:Host 5.    UP LOOPBACK RUNNINGMTU:16436Metric:1 6.    RX packets:33 errors:0 dropped:0 overruns:0 frame:0 7.    TX packets:33 errors:0 dropped:0 overruns:0 carrier:0 8

17、.    collisions:0 txqueuelen:0 9.    RX bytes:1682 (1.6 KiB)TX bytes:1682 (1.6 KiB) 10. 没有发现eth0,如果网卡驱动已经自动装好,可以使用命令sudo ifup eth0来激活网卡。复制代码对于第一个情况,取得root权限就可以了(不知道如何取得root权限的面壁去_),也可以为linux1x设置suid权限 1. chmod 4755 /usr/local/bin/linux1x复制代码这样以后再运行linux1x就不用切换到root身份,可以

18、直接用普通用户来运行.1. happytraveller2:$ sudo linux1x -d 2. start 802.1X authentication 3. connection overtime, type: 4. start 802.1X authentication 5. connection overtime, type: 5 6. start 802.1X authentication 7. connection overtime, type: 3 8. exit for overtime复制代码出现上述错误,可能是你的网线没插好,请检查一下。1. happytraveller

19、2:$ sudo linux1x -d 2. start 802.1X authentication 3. device check 4. server check 5. Internet Systems Consortium DHCP Client V3.0.3 6. Copyright 2004-2005 Internet Systems Consortium. 7. All rights reserved. 8. For info, please visit url/products/DHCP/url 9.10. Listening on LPF/eth0/00:f0:4c:81:c

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论