Linux系統下 華為802.1x認證上網-5.18 配置詳解(最詳細)

來源:互聯網
上載者:User

找了好久才找到的,記錄一下供大家學習!

首先下載用戶端(附件中有)
下載到你的主目錄(也就是home)裡,然後解壓,解壓後就進行下面的命令(注意不要出錯,##後的是注釋,不用輸入)

按照下面的步驟輸入命令,如果有錯誤請在後面跟帖,把錯誤的代碼貼出來!

cd client3
sudo su ##取得root許可權,會需要你輸入密碼
chmod +x * ##給檔案賦予可執行許可權
./pre.ps ##運行安裝指令碼
configuration directory exist
Refresh IP script is READY.
Authencation file is READY.
pre operation finished successfully
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! ##配置成功

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/DHCPsit0: 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就可以了。

 

 本文出處:http://bbs.linuxeye.cn/thread-43-1-1.html

感謝作者!

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.