Linux 下配置 802.1X

來源:互聯網
上載者:User

寢室的網路採用802.1X認證,新裝了個RedHat 9 ,發現上不了網,需要安裝 802.1X 認證用戶端。學校的網管只提供華為的Windows用戶端,沒有Linux版。自己動手,從 www.open1x.org 下載 xsupplicant ,從 http://libdnet.sourceforge.net/ 下載 libdnet-1.7.tar.gz 。先編譯安裝libdnet、再安裝xsupplicant。之後

mkdir /etc/1x
cp 1x.conf /etc/1x/

編輯 1x.conf,填好 user name 和 password,執行

 xsupplicant -i eth0

結果還是不能認證通過:( 又把認證種類從 TLS 改為 MD5,這下終於通過了。在Mozilla中上了一把網,不錯。

在 /etc/rc.d/rc.local 中添加

 xsupplicant -i eth0 -D

這樣每次一啟動就會自動認證,上網無優。

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.