This article describes how to manually configure a wireless network card in the Linux command line interface. Most distributions that are currently popular support configuration with the graphical interface's network-manager without the original method described in this article.
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 identified by the system
.
General thinking The general idea of the work is as follows:
Use iwconfig to turn on the wireless network card and find the wireless network in the area. Connect to the corresponding wireless network. Enable the wireless network card through ifconfig and obtain the IP address. (If using DHCP) Note: Assume that the wireless is recognized as wlan0. If your network card is not recognized as wlan0, you can make corresponding changes during operation.
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 scan
3. Assuming you want to connect to the network MyHome (that is, the network where essid is MyHome), enter the command
iwconfig wlan0 essid "MyHome"
If the network is encrypted and the password is 0123456789, then enter the command
iwconfig wlan0 essid "MyHome" key 0123-4567 -89
4. If it is normal, type
iwconfig wlan0
to see the parameters of the connection.
5. Enable wireless network card
ifconfig wlan0 up
6. If you are using DHCP to obtain IP, then use dhclient or dhcpcd to get ip
dhclient Wlan0
or
dhcpcd wlan0
7. The wireless card should now work properly.
PS:
If you can't connect to the Internet right 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.
Other fields are not 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 properly linked:
iwconfig wlan0 wlan0 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 correct connection of wireless network:
iwconfig wlan0 wlan0 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
1 Start vSphere Client2 Start Virtual Machine [Right-click on VM, select Power —>Open] and
for Windows 7 computers Microsoft will allow its computer OEMs and their system co-developers to d
System Requirements: Unlimited release, requires PC platform (x86 architecture CPU), Glibc version
DNS (Domain Name System), a distributed database on the Internet that maps domain names and IP addr
Squid hit rate analysis parameter annotation
Network-based RedHat system unattended installation
Learning tips about interprocess communication
Linux disk space occupation view
Time setting method under Linux operating system
Linux common tips: teach you the same network card configuration multiple IP
Solve the dual system boot option does not show the Linux system problem
How to install rpm package for Linux system
Elementary OS Beautiful Linux Overview
Introduction to the configuration method of VPN server under Linux operating system
Win7 system to solve the problem of limiting the speed of the network
What should I do if the win8.1 system can't sleep?
How does Win10 display all icons of the system tray
After XP starts, can you enter the command line mode directly?
Win10 get member version is gray how to do
Windows 7 beta is affected by Vista virus
Teach everyone to know the TC server flow control function
QXP WinXP Auto Recovery Repair Disk
SophosLabs: Windows 7 security still needs to be tightly guarded
After upgrading the official version of win10, I can't enter the password button. What should I do?