In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
In this issue, the editor will bring you about the driver installation and basic operation commands of the wireless network card in CentOS. The article is rich in content and analyzes and describes for you from a professional point of view. I hope you can get something after reading this article.
1. Installation
Enter a command
The code is as follows:
Lsusb
You can see that the USB wireless network card is
Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter
First download the driver installation package: 8188cus
Http://218.210.127.131/downloads/downloadsView.aspx? Langid=1&PNid=48&PFid=48&Level=5&Conn=4&DownTypeID=3&GetDown=false&Downloads=true#RTL8188CUS
After downloading, copy it to the flash drive. The flash drive here is in fat32 format, while the NFTS format needs to be packaged separately.
Linux mount (fat32) USB disk:
Create a usb directory under the mnt directory
The code is as follows:
Mkdir / mnt/usb
Mount-t vfat / dev/sda1 / mnt/usb
Execute after completion (uninstall USB disk: umount / mnt/usb delete usb directory: rm-rf / mnt/usb)
Extract and compile:
The code is as follows:
Unzip + file name
Enter the folder
The code is as follows:
Make
Make install
Or... / install
Or read README and follow the prompts.
The operation failed:
The following error occurred:
Make: * / lib/modules/2.6.32-431.el6.x86q64buildUniverse: No such file or directory. Stop.
The problem should be that the kernel development package is not installed on the system, you can take a look at / usr/src/kernels/
If this directory is empty, the kernel development package is not installed
The code is as follows:
Yum install kernel-devel
If this directory is not empty, you need to redo the connection:
The code is as follows:
[root@localhost ~] # cd / lib/modules/2.6.32-431.el6.x86_64
[root@localhost 2.6.32-431.el6.x86_64] # ln-s. / . . / . . / usr/src/kernels/2.6.32-431.el6.x86_64/build
Then re-execute make & make install.
two。 Common operation
(1) first close the wired network card of the development board
The code is as follows:
[root@FriendlyARM /] # ifconfig eth0 down
(2) load USB WiFi wireless network card
The code is as follows:
[root@FriendlyARM /] # ifconfig wlan0 up
(3) scan available wireless networks
The code is as follows:
[root@FriendlyARM /] # iwlist scanning | grep ESSID
Lo Interface doesn't support scanning.
Eth0 Interface doesn't support scanning.
Wmaster0 Interface doesn't support scanning.
ESSID: "FRIENDLY-ARM"
ESSID: "NETGEAR"
ESSID: "TP-LINK"
(4) Select the wireless network to connect to
The code is as follows:
[root@FriendlyARM /] # iwconfig wlan0 essid "FRIENDLY-ARM"
(5) enter the security password of the network
The code is as follows:
[root@FriendlyARM /] # iwconfig wlan0 key s:12345
(6) Connect to the specified AP (wireless routing)
The code is as follows:
[root@FriendlyARM /] # iwconfig wlan0 ap auto
(7) set the IP address of the wireless network card
The code is as follows:
[root@FriendlyARM /] # ifconfig wlan0 192.168.1.120
(8) use ping command to detect wireless network connectivity.
The code is as follows:
[root@FriendlyARM /] # ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1): 56 data bytes
64 bytes from 192.168.1.1: seq=0 ttl=64 time=42.804 ms
64 bytes from 192.168.1.1: seq=1 ttl=64 time=5.020 ms
.
The above is the driver installation and basic operation commands of the wireless network card in CentOS shared by Xiaobian. If you happen to have similar doubts, you might as well refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.