分类: LINUX
2010-04-08 23:20:59
使用静态的IP,需要设置IP地址,默认网关,子网掩码,主要DNS,并且选择网卡,默认使用eth0。
开始执行网络配置:
[root@shiyanjun h3c802.1xclient]# ./pre.ps
configuration directory exist log directory exist Refresh IP script is READY. Authencation file is READY. pre operation finished successfully
开始配置,先输出的是上次配置保存的日志信息,接着是详细配置步骤:
[root@shiyanjun 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):
n
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@shiyanjun h3c802.1xclient]# linux1x -u xxjx/xxjx -n eth0
start 802.1X authentication device
check server
check
pass authentication
...
认证成功,现在可以访问互联网了。