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 安裝使用說明 目錄 安裝 解壓縮 執行安裝文件 使用 配置用戶信息 發起網路認證 查看網路狀態和版本信息 斷開網路連接
Please enter your user name (less than 128 characters):xxxxxx ##輸入你的帳戶名 我這裡出現問題了 輸入用戶名說錯誤 好像太長了 我試了下 用cnc這個用戶名可以 用cnc.stub0530235419就不行說錯誤 可是沒有這個cnc的帳戶啊 我們用戶名都這麼長的 老大們