How to configure the wireless network card under Linux system

  
The following describes how to configure the wireless network in the command line state using commands such as iwconfig and ifconfig. The premise is that the wireless network card driver has been properly installed and correctly recognized by the system. The general idea of ​​general idea work is as follows: Use iwconfig to enable the wireless network card power supply, and find the wireless network in the area to connect to the corresponding wireless network. Enable the wireless network card through ifconfig and obtain the IP (if using DHCP). Note: Assume that the wireless is recognized. For wlan0, if your network card is not recognized as wlan0, you can make corresponding changes during operation. The specific process 1. Turn on the wireless network card power iwconfig wlan0 txpower on the wireless network signal should be on. 2. List the wireless network in the area iwlist wlan0 scan3. Suppose you want to connect to the network MyHome (that is, the network where essid is MyHome), then enter the command iwconfig wlan0 essid "MyHome" If the network is encrypted, the password is 0123456789, then Enter the command iwconfig wlan0 essid "MyHome" key 0123-4567-894. If it is normal, enter iwconfig wlan0 to see the parameters of the connection are normal. 5. Enable the wireless network card ifconfig wlan0 up6. If you are using DHCP to obtain IP, then use dhclient or dhcpcd to get ipdhclient wlan0 or dhcpcd wlan07. Now the wireless network card should be able to use normally. PS: If you can't connect to the internet now. Then click on the network icon. Choose to link to a hidden wireless network. Enter the name of the network found. The graphical network manager is System->Preferences->Network Connections. After opening the program, click on the wireless network project and click add to add a new wireless network. Give any Connection Name. Enter the name of the unlimited network in the SSID. Choose a suitable encryption type in wireless security. Enter the password for the unlimited network in key. No other fields are modified. After execution, you should be able to link to an unlimited network. You can use the iwconfig wlan0 command to see if the wireless network is properly connected. The output of the wireless network is not correctly linked: iwconfig wlan0wlan0 IEEE 802.11abg ESSID: off/any Mode: Managed Access Point: Not-Associated Tx-Power=0 dBm Retry long limit: 7 RTS thr:off Fragment thr:off Power Management:off Output after correctly linking the wireless network: iwconfig wlan0wlan0 IEEE 802.11abg ESSID:"LilyHomeRout" Mode:Managed Frequency:2.437 GHz Access Point: 00:23:CD:22:1A:A8 Bit Rate=54 Mb/s Tx-Power =0 dBm Retry long limit: 7 RTS thr:off Fragment thr:off Power Management:off Link Quality=65/70 Signal level=-45 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries :0 Invalid misc:0 Missed beacon:0
Copyright © Windows knowledge All Rights Reserved