Reference http://pub.itpub.net/post/2102/496647/
Centos 5.4 x86_64 t61 wireless network card model is 4965
1. Check whether the kernel supports
Check the configuration file. config
[Root @ ljh ~] # Grep config_iwl4965/reboot/config-2.6.18-164.11.1.el5
Config_iwl4965 = y
2. Check whether there are corresponding modules.
On the Internet, I found that the module corresponding to 4965 is iwl4965, and the actual module is iwlagn. This is true for centos5.3 and ubuntu9 and 04. (This really took me a long time)
[Root @ ljh ~] # Lsmod | grep IW
Iwlagn 134361 0
Iwlcore 131397 1 iwlagn
Mac80211 183113 2 iwlagn, iwlcore
Listen 80211 63825 3 iwlagn, iwlcore, mac80211
[Root @ ljh ~] # Cat/etc/modprobe. conf
Alias eth0 e1000e
Alias scsi_hostadapter ata_piix
Alibaba snd-card-0 snd-hda-intel
Options snd-card-0 Index = 0
Install
SND-hda-Intel/sbin/modprobe -- ignore-install snd-hda-Intel &&
/Usr/sbin/alsactl restore>/dev/null 2> & 1 |:
Remove
SND-hda-Intel {/usr/sbin/alsactl store>/dev/null 2> & 1 |:
;};/Sbin/modprobe-r -- ignore-Remove snd-hda-intel
Alias USB-controller EHCI-HCD
Alias usb-controller1 uhci-HCD
Alias wlan0 iwlagn
The iwlagn module is displayed.
Okay, the module has enabled the NIC.
# Ifconfig wlan0 Up Error
Deciding IP information of wlan0... siocsifflags: no such file or directory
Siocsifflags: No file or directory
The result of surfing Google is/lib/firmware/and the corresponding ucode is missing.
Download the ucode of this Nic
[Root @ ljh ~] # Wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-4965-ucode-228.61.2.24.tgz
-- 22:05:16 -- http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-4965-ucode-228.61.2.24.tgz
Parsing host intellinuxwireless.org... 204.253.143.234
Connecting to intellinuxwireless.org | 204.253.143.234 |: 80... connected.
An HTTP request has been sent and is waiting for response... 200 OK
Length: 81309 (79 K) [application/X-gzip]
Saving to: 'iwlwifi-4965-ucode-228.61.2.24.tgz'
100% [===========================================>] 81,309 54.7 K/s in 1.5 s
22:05:18 (54.7 kb/s)-'iwlwifi-4965-ucode-228.61.2.24.tgz' saved [81309/81309]
[Root @ ljh ~] # Tar xvf iwlwifi-4965-ucode-228.61.2.24.tgz
Iwlwifi-4965-ucode-228.61.2.24/
Iwlwifi-4965-ucode-228.61.2.24/license. iwlwifi-4965-ucode
Iwlwifi-4965-ucode-228.61.2.24/readme. iwlwifi-4965-ucode
Iwlwifi-4965-ucode-228.61.2.24/iwlwifi-4965-2.ucode
Copy the *. ucode file in the folder to/lib/firmware.
[Root @ ljh ~] # Cp iwlwifi-4965-ucode-228.61.2.24/iwlwifi-4965-2.ucode/lib/firmware/
Restart the NIC.
Ifconfig wlan0 up
The wireless indicator is on.
Set the network.
Supplement:
Use NetworkManager
# Start NetworkManager start
# Chkconfig NetworkManager on