首页 > 电脑知识 > 华为802.1X客户端for Linux的用法

华为802.1X客户端for Linux的用法

2007年11月24日 发表评论 阅读评论

*********************************
上网认证客户端配置指南
*********************************

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 : ##询问是使用“广播触发”模式还是使用“多播触发”,在WINDOWS中我们必须配置客户端为“多播触发”才可以上网,但Linux中的这个客户端你选哪个都能正常上网,所以写1写2可随意。

2

Send all packets by multicast? (Y/N):
y

Refresh your IP address after connecting? (Y/N):##询问连接后是否更新IP,看你个人意愿和系统需要,如果你使用redhat、fedora core最好选择是,因为红帽的系统常常无法自动获得IP,如果你是其他发行版,比如Ubuntu,可以选否。

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):
y

Configuration has finished, do you want to save it?(Y/N)##询问是否保存配置文件,这个要选Y设置才会生效
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即可。

[Copy to clipboard] [ - ]CODE:
                                   

              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 断开当前的网络连接


本站文章请注明,转载自:仲卯杂记
本文链接: http://zoomao.net/2007/11/24/h3c-8021x.html

分类: 电脑知识 标签:

相关日志

Redflag linux 7 硬盘安装 (2)
linux下虚拟光驱
华为客户端在linux下上网的完美解决
红旗Linux中的小技巧
linux下安装软件
戴尔D630安装红旗linux 6.0 (1)
Linux系统下文件与目录操作
  1. 2019年1月20日18:19 | #1

    The Positive Effects of Reiki around the Human Body

    Reiki is known for its positive results around the human body.
    However, lots of people of those that have never yet experienced its
    power determine what exactly Reiki does and what its effects are.
    If you are thinking about the way in which Reiki can assist you,
    then continue reading and pay attention to
    what Reiki can do for your, mind and soul.

    1. Increases one’s body’s power to heal itself.
    Normally, the body features a defense system which functions good providing the Ki flow is not interrupted.
    When the Ki is not able to flow through
    the body, illnesses and diseases can seem. Reiki stimulates the flow of positive energy, thus enabling your body to heal
    itself and fight the bodily and mental attacks better.
    2. Cleans the body of all toxins. Because it acts around the physique, it is one of the few complete detox programs
    you can follow. In addition to that it does not involve refraining from
    food or another kind of activity. Yet, negative thoughts have
    to be banned in the individual’s mind while they will have a negative impact upon the treatment.

    3. Promotes health, positive thoughts and relaxation. The principles of Reiki depend on positive thinking,
    thus a satisfaction and relaxation is induced to the individual.
    By removing negative energy and promoting a feeling
    of peace, the recovery process is going to be easier and
    shorter, regardless of illness or disease that the person suffers.

    4. Works for the gastrointestinal tract and improves
    the benefic outcomes of every thing somebody ingests, from
    food and water to medicines and curative herbs.

    Thus, it can be successfully used as a complementary therapy for the people already taking medicine, but concurrently it is ideal for maintain the person’s
    health in good parameters.
    5. Works on personal feelings, helping people conquer negative experiences from their lives and managing unexpected
    or unpleasant situations from their lives. People with depressions, anxieties or being affected
    by stress are able to see dramatic improvements of their conditions after the Reiki sessions.

    6. Makes the transition from life to death much easier. It helps the soul
    transcend into immortality and our bodies feel less experiencing this
    transformation. This is why many Reiki adepts utilize the Ki
    to make their transition in one world to an alternative smoother.

    Reiki offers healing for those varieties of
    bodily conditions, and for the spiritual problems. It
    is like a closest friend for all those those people short of funds,
    however it also can relieve healthy people from
    quotidian stress and problems.

    You can read more details here on website : https://tinyurl.com/y7rvglyk

    [回复]

  1. 本文目前尚无任何 trackbacks 和 pingbacks.

小提示:本站采用Gravatar.com提供的头像系统,想要头像的同学可去免费绑定

Love Note to Jiao