天天看點

linux h3c 802.1用戶端,RedhatEnterprise AS release4使用華為(H3C 802.1x)用戶端上網

使用的是Red Hat Linux 9用戶端,Red Hat Linux 7的可能也能用,不過我沒試。AS release 5的用戶端試了試不能用,會報編譯錯誤。

使用靜态的IP,需要設定IP位址,預設網關,子網路遮罩,主要DNS,并且選擇網卡,預設使用eth0。

開始執行網絡配置:

[[email protected] h3c802.1xclient]# ./pre.ps

configuration directory exist log directory exist Refresh IP script is READY. Authencation file is READY. pre operation finished successfully

開始配置,先輸出的是上次配置儲存的日志資訊,接着是詳細配置步驟:

[[email protected] 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!

配置完成。

開始撥号認證:

[[email protected] h3c802.1xclient]# linux1x -u xxjx/xxjx -n eth0

start 802.1X authentication device

check server

check

pass authentication

...

認證成功,現在可以通路網際網路了。

我是在反複實驗後成功的,不排除是否還需要安裝一些庫什麼的~~