⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.txt

📁 上网认证客户端软件
💻 TXT
字号:
*********************************
     上网认证客户端配置指南
*********************************

happy@trubuntu:~/$unzip linux_client.zip
happy@trubuntu:~/$cd client/

happy@trubuntu:~/client$ sudo -sH                                          ##取得root权限
Password:

root@trubuntu:~/client# ./pre.ps                                           ##运行安装脚本
configuration directory exist
Refresh IP script is READY.
Authencation file is READY.
pre operation finished successfully

root@trubuntu:~/client# linux1x -c                                         ##配置上网参数
configure 802.1X network connection arguments
Current configuration is:

The way to initialize 802.1X authentication.......:multicast
Send all packets by multicast.....................:N
Refresh IP address after connecting...............:Y
Save message and package to log...................:N
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):                  ##询问连接后是否更新IP
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!                                   ##配置成功

root@trubuntu:~/client# linux1x -d
Please enter your user name (less than 128 characters):xxxxxx     ##输入你的帐户名
Please enter your password (less than 64 characters):             ##输入帐户密码
start 802.1X authentication
device check
server check
Internet Systems Consortium DHCP Client V3.0.2
Copyright 2004 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

sit0: unknown hardware address type 776
sit0: unknown hardware address type 776
Listening on LPF/eth0/00:yy:4c:zz:cb:xx
Sending on   LPF/eth0/00:yy:4c:zz:cb:xx
Sending on   Socket/fallback
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 172.17.138.1
bound to 172.17.138.xx -- renewal in 38286 seconds.
pass authentication
proxy check off
multi-network-card off
http check off
...............
联网成功,密码会被自动保存,下次你再上网,只需要输入linux1x -d即可。
                                                                 
                                                           上文以Ubuntu Linux为例--旅行者2号



                       802.1x Supplicant for Linux 安装使用说明
目录
    安装
    解压缩
    执行安装文件
    使用
    配置用户信息
    发起网络认证
    查看网络状态和版本信息
    断开网络连接
 
安装
   安装过程分为两个步骤,首先解开压缩包,然后执行安装文件。
解压缩
    unzip linux_client.zip
执行安装文件
    到展开的文件夹中执行
    ./pre.ps
使用
    用户可通过命令行的方式和程序进行交互。
配置用户信息
    可以通过如下命令开始用户信息的配置:
    linux1x –c
发起网络认证
    可以通过如下命令开始认证:
    linux1x [-u username[/password]] [-n netchar] [-d] [-p]
    无参数 如果没有参数,则使用上次成功认证的参数
    -u  后输入的应是用户名和密码
    -n  后输入的应是认证网卡的名字,如eth0, eth1, eth2 等等
    -d  标识程序以守护方式运行,通过认证后转到后台运行
    -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 (不使用存储的用户认证信息,提示输入所有的需要的信息)
 
查看网络状态和版本信息
    可通过如下命令查看网络状态和版本信息:
    linux1x –v [seconds]
    -v  后可输入想要显示的时间,以秒为单位
例子:
1. 用户想一直查看网络统计信息, 可使用如下命令:
(1) linux1x –v
(2) linux1x –v 0
 
2. 用户想查看一段时间的网络统计信息,如想查看5秒后退出,可使用如下命令:
(1) linux1x –v 5
 
断开网络连接
    用户可通过如下命令断开网络连接
    linux1x –k
    -k  断开当前的网络连接
  

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -