操作筆記:Linux配置wpa

來源:互聯網
上載者:User

Linux最近幾年發展迅速,很多人捨棄微軟應用Linux作業系統,Linux的強大功能是那麼吸引人。這裡介紹一些Linux知識,今天講解Linux配置wpa用戶端步驟,望你能學會Linux配置wpa。

核心:

  1. bt tools # uname -a  
  2. Linux bt 2.6.20-BT-PwnSauce-NOSMP #3 Sat Feb 24 15:52:59 GMT 2007 i686 i686 i386 GNU/Linux  
  3. bt tools # 

網卡:

  1. bt tools # lspci -vv |grep -i 394  
  2. 03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)  
  3. bt tools # 

作業系統版本:

  1. bt tools # cat /etc/slax-version  
  2. SLAX 6.0.0  
  3. bt tools #  
  4. 802.1x 用戶端版本:  
  5. bt ~ # wpa_supplicant -v  
  6. wpa_supplicant v0.5.7  
  7. Copyright (c) 2003-2006, Jouni Malinen and contributors  
  8. bt ~ #  
  9. bt tools # 

設定檔內容: wpa 方式

  1. bt ~ # cat /etc/wpa_supplicant.conf  
  2. network={  
  3. ssid="youssid" 
  4. psk="youpassword" 
  5. }  
  6. bt ~ # 

命令以及參數:

命令:wpa_supplicant

使用參數:

  1. -B = run daemon in the background  
  2. -c = Configuration file  
  3. -i = interface name 

命令執行例子:

wpa_supplicant -B -ieth0 -c /etc/wpa_supplicant.conf

獲得地址:

dhcpcd eth0

察看網卡狀態以及參數:

  1. bt ~ # iwconfig eth0  
  2. eth0 IEEE 802.11g ESSID:"youssid"  
  3. Mode:Managed Frequency:2.462 GHz Access Point: 00:00:00:00:00:00  
  4. Bit Rate:54 Mb/s Tx-Power:14 dBm  
  5. Retry limit:15 RTS thr:off Fragment thr:off  
  6. Encryption key:xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx Security mode:open  
  7. Power Management:off  
  8. Link Quality=74/100 Signal level=-57 dBm Noise level=-57 dBm  
  9. Rx invalid nwid:0 Rx invalid crypt:1 Rx invalid frag:0  
  10. Tx excessive retries:0 Invalid misc:21 Missed beacon:0  
  11. bt ~ # ifconfig eth0  
  12. eth0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx  
  13. inet addr:192.168.2.100 Bcast:192.168.2.255 Mask:255.255.255.0  
  14. inet6 addr: fe80::218:deff:feb0:38e5/64 Scope:Link  
  15. UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1  
  16. RX packets:33 errors:2 dropped:31 overruns:0 frame:0  
  17. TX packets:12 errors:0 dropped:0 overruns:0 carrier:0  
  18. collisions:0 txqueuelen:1000  
  19. RX bytes:11177 (10.9 KiB) TX bytes:4324 (4.2 KiB)  
  20. Interrupt:11 Base address:0x2000 Memory:edf00000-edf00fff 

以上就是Linux配置wpa的方法,這樣Linux就可以使用wpa訪問無線網路了.要比wep好一些.

  1. 全面解析Linux叢集技術的要點
  2. LifeKeeper又一款Linux伺服器叢集軟體
  3. 講解Linux伺服器叢集技術
  4. 詳解保護Linux伺服器七步驟
  5. 全面介紹Linux配置ntop

聯繫我們

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