In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces the relevant knowledge of "how to configure wireless network card under redhat linux AS4". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Here's how to use madWifi for installation.
1. Download the following four packages:
Madwifi-0.9.3-33_r2088.el4.at.i386.rpm
Madwifi-devel-0.9.3-33_r2088.el4.at.i386.rpm
Madwifi-hal-kmdl-2.6.9-42.0.3.EL-0.9.3-33_r2088.el4.at.i686.rpm
Madwifi-kmdl-2.6.9-42.0.3.EL-0.9.3-33_r2088.el4.at.i686.rpm
The above four are the latest files, please depend on your own computer, if it is a 64-bit cpu computer, please choose the 64 package.
two。 Install the downloaded rpm package
# rpm-I madwifi*rpm (for multiple installations at a time, or individually)
3. Load into the kernel module
# modprobe ath_pci
4. If there is an active wired network card, it is prohibited first.
# ifconfig eth0 down
5. Set up a wireless network card
# iwconfig ath0 essid home (configure SSID to distinguish whether you want to connect to that ap)
# iwconfig ath0 channel 6 (configure the channel for ap)
# iwconfig ath0 key open S 1234 (configure the protocol of ap, as well as password. S: represents ACSII code)
# iwconfig ath0 mode Managed (configure ap mode, which is generally not required)
After the configuration, take a look at the ath0 information should be as follows:
Ath0 IEEE 802.11b ESSID: "home"
Mode:Managed Frequency:2.437 GHz Access Point: Not-Associated
Bit Rate:0 kb/s Tx-Power:31 dBm Sensitivity=0/3
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=0/94 Signal level=-98 dBm Noise level=-98 dBm
Rx invalid nwid:0 Rx invalid athrypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
6. Activate ath0 wireless network card
# ifconfig ath0 up
7. Dynamic ip selection
# dhclient ath0
Then you can try it and surf the Internet wirelessly!
Settings for boot auto-loading:
1. First modify / etc/modprobe.conf to add
Install ath0 / sbin/modprobe ath_pci; / usr/bin/wlanconfig ath0 create wlandev wifi0 wlanmode sta
Remove ath0 / usr/bin/wlanconfig ath0 destroy; / sbin/modprobe-r ath_pci
Alias ath0 ath_pci
If there is alias wifi0 ath_pci, delete it.
two。 Create an ifcfg-ath0 file under / etc/sysconfig/networking/devices in a format such as:
# Atheros Communications, Inc. AR5005G 802.11abg NIC
DEVICE=ath0
ONBOOT=yes
BOOTPROTO=dhcp
TYPE=wireless
KEY=s:1234
ESSID=home
MODE=Managed
RATE=auto
IWPRIV= "authmode 1" (IWPRIV has two modes: authmode 1 for open,authmode 2 for shared mode, which should be paid special attention to)
(note: if there is a space after the = sign, quotation marks are required.)
If WEP is started, the above KEY is the WEP password, and the first s indicates that the password is the ASCII character.
3. Copy ifcfg-ath0 to / etc/sysconfig/network-scripts and / etc/sysconfig/networking/profiles/default, and delete the ifcfg-wifi0 below it (three places, that is, the above three places).
Restart the machine and the wireless network card loads automatically.
This is the end of the content of "how to configure wireless network card under redhat linux AS4". Thank you for your reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
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.