08-30-2009
#1 (permalink )
Just Joined!
Join Date: Aug 2009
Posts: 4
CentOS 5.3 and Intel 4965 AG
I've been screwing with this for some time now. I've read a million HowTos and tutorials, each one different. Nothing really seems to work.
Starting with the wireless router. It is a Linksys WRT54G that seems to work fine with my XP laptop. It is configured to run WPA/TKIP with a preshared key.
One of the tutorials said to install the firmware so I installed the iwl4965-firmware package from rpmforge. That part is done so I believe that the drivers are installed.
All the other howtos are kind of vauge.
Code:
============ lspci ============
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 0c)
00:01.0 PCI bridge: Intel Corporation Mobile PM965/GM965/GL960 PCI Express Root Port (rev 0c)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 02)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 02)
00:1c.5 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 6 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f2)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation Quadro NVS 135M (rev a1)
03:01.0 CardBus bridge: O2 Micro, Inc. Cardbus bridge (rev 21)
03:01.4 FireWire (IEEE 1394): O2 Micro, Inc. Firewire (IEEE 1394) (rev 02)
09:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5755M Gigabit Ethernet PCI Express (rev 02)
0c:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or AGN [Kedron] Network Connection (rev 61)
============ lsusb ============
Bus 002 Device 006: ID 0ea0:2168 Ours Technology, Inc. Transcend JetFlash 2.0 / Astone USB Drive
Bus 002 Device 005: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 002 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 005 Device 001: ID 0000:0000
Bus 007 Device 002: ID 0b97:7761 O2 Micro, Inc. Oz776 1.1 Hub
Bus 007 Device 001: ID 0000:0000
Bus 007 Device 004: ID 0b97:7772 O2 Micro, Inc. OZ776 CCID Smartcard Reader
Bus 007 Device 003: ID 0483:2016 SGS Thomson Microelectronics Fingerprint Reader
Bus 001 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 006 Device 001: ID 0000:0000
Bus 006 Device 002: ID 0425:f102 Motorola Semiconductors HK, Ltd
============ lsmod ============
Module Size Used by
iwlagn 94809 0
vfat 15937 1
fat 51165 1 vfat
usb_storage 76449 1
autofs4 24261 2
vmnet 48064 13
vmblock 18464 3
vmci 50904 0
vmmon 68528 0
sunrpc 144765 1
ip_conntrack_netbios_ns 6977 0
ipt_REJECT 9537 1
xt_state 6209 7
ip_conntrack 52897 2 ip_conntrack_netbios_ns,xt_state
nfnetlink 10713 1 ip_conntrack
iptable_filter 7105 1
ip_tables 17029 1 iptable_filter
ip6t_REJECT 9409 1
xt_tcpudp 7105 19
ip6table_filter 6849 1
ip6_tables 18053 1 ip6table_filter
x_tables 17349 6 ipt_REJECT,xt_state,ip_tables,ip6t_REJECT,xt_tcpudp,ip6_tables
cpufreq_ondemand 12493 1
acpi_cpufreq 13897 2
dm_multipath 24013 0
scsi_dh 11713 1 dm_multipath
video 21193 0
hwmon 7365 0
backlight 10049 1 video
sbs 18533 0
i2c_ec 9025 1 sbs
button 10705 0
battery 13637 0
asus_acpi 19289 0
ac 9157 0
ipv6 261472 15 ip6t_REJECT
xfrm_nalgo 13381 1 ipv6
parport_pc 29157 0
lp 15849 0
parport 37513 2 parport_pc,lp
snd_hda_intel 343537 1
snd_seq_dummy 7877 0
snd_seq_oss 32577 0
joydev 13313 0
snd_seq_midi_event 11073 1 snd_seq_oss
testmgr_cipher 6849 0
snd_seq 49585 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
testmgr 44593 1 testmgr_cipher
snd_seq_device 11725 3 snd_seq_dummy,snd_seq_oss,snd_seq
aead 11841 1 testmgr
snd_pcm_oss 42817 0
crypto_blkcipher 17601 1 testmgr
snd_mixer_oss 19009 1 snd_pcm_oss
crypto_algapi 22849 3 testmgr,aead,crypto_blkcipher
crypto_api 12609 5 xfrm_nalgo,testmgr,aead,crypto_blkcipher,crypto_algapi
nvidia 7255188 29
sg 36061 0
arc4 6209 2
snd_pcm 72133 2 snd_hda_intel,snd_pcm_oss
snd_timer 24517 2 snd_seq,snd_pcm
snd_page_alloc 14281 2 snd_hda_intel,snd_pcm
iwlcore 89669 1 iwlagn
i2c_i801 11725 0
tg3 114117 0
snd_hwdep 12869 1 snd_hda_intel
mac80211 137929 2 iwlagn,iwlcore
ohci1394 35845 0
i2c_core 23745 3 i2c_ec,nvidia,i2c_i801
serio_raw 10693 0
libphy 21569 1 tg3
snd 55237 11 snd_hda_intel,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_hwde
p
soundcore 11553 1 snd
cfg80211 30793 3 iwlagn,iwlcore,mac80211
ieee1394 293753 1 ohci1394
pcspkr 7105 0
dm_raid45 66509 0
dm_message 6977 1 dm_raid45
dm_region_hash 15681 1 dm_raid45
dm_mem_cache 9537 1 dm_raid45
dm_snapshot 22245 0
dm_zero 6209 0
dm_mirror 23877 0
dm_log 14529 3 dm_raid45,dm_region_hash,dm_mirror
dm_mod 62201 11 dm_multipath,dm_raid45,dm_snapshot,dm_zero,dm_mirror,dm_log
pata_acpi 9665 0
ata_piix 23621 2
ata_generic 10565 0
libata 156933 3 pata_acpi,ata_piix,ata_generic
sd_mod 25153 5
scsi_mod 141589 5 usb_storage,scsi_dh,sg,libata,sd_mod
ext3 124361 3
jbd 56937 1 ext3
uhci_hcd 25549 0
ohci_hcd 24809 0
ehci_hcd 33613 0
============ dmesg-firmware ============
iwlagn: iwlwifi-4965-2.ucode firmware file req failed: Reason -2
iwlagn: iwlwifi-4965-2.ucode firmware file req failed: Reason -2
iwlagn: iwlwifi-4965-2.ucode firmware file req failed: Reason -2
iwlagn: iwlwifi-4965-2.ucode firmware file req failed: Reason -2
iwlagn: iwlwifi-4965-2.ucode firmware file req failed: Reason -2
iwlagn: iwlwifi-4965-2.ucode firmware file req failed: Reason -2
============ kernel version ============
2.6.18-128.7.1.el5.centos.plusPAE
My /etc/sysconfig/network-scripts/ifcfg-wlan0 is
Code:
DEVICE=wlan0
BOOTPROTO=none
ONBOOT=yes
HWADDR=00:21:5c:89:5f:c7
NETMASK=255.255.255.0
DHCP_HOSTNAME=
IPADDR=192.168.3.10
DOMAIN=
TYPE=Wireless
ESSID=linksys
CHANNEL=1
MODE=Managed
SECURITYMODE=restricted
RATE=auto
USERCTL=no
IPV6INIT=no
PEERDNS=yes
GATEWAY=192.168.3.1
I'm sure there is something missing in the puzzle but can't put my finger on it.
Thanks in advance.
08-31-2009
#2 (permalink )
Trusted Penguin
Join Date: Jul 2004
Location: Franklin, Wisconsin
Posts: 3,957
Welcome to Linux Forums!
You may have installed some firmware, but it doesn't seem to be the correct one.
Code:
============ dmesg-firmware ============
iwlagn: iwlwifi-4965-2.ucode firmware file req failed: Reason -2
iwlagn: iwlwifi-4965-2.ucode firmware file req failed: Reason -2
iwlagn: iwlwifi-4965-2.ucode firmware file req failed: Reason -2
iwlagn: iwlwifi-4965-2.ucode firmware file req failed: Reason -2
iwlagn: iwlwifi-4965-2.ucode firmware file req failed: Reason -2
iwlagn: iwlwifi-4965-2.ucode firmware file req failed: Reason -2
You can download this firmware from the Intel website:
http://intellinuxwireless.org/iwlwif...-15.32.2.9.tgz
Unpack it and copy the file iwlwifi-3945-2.ucode to the /lib/firmware folder.
Edit: OOPS! Wrong firmware! Use this one:
http://intellinuxwireless.org/iwlwif...28.61.2.24.tgz
__________________
Paul
Please do not PM me with requests for help. I will not reply.
Last edited by waterhead; 08-31-2009 at 04:39 AM ..
08-31-2009
#3 (permalink )
Trusted Penguin
Join Date: Jul 2004
Location: Franklin, Wisconsin
Posts: 3,957
Hal343: You shouldn't have deleted your post. I had the wrong firmware listed, but reading your post showed me my error!
__________________
Paul
Please do not PM me with requests for help. I will not reply.
08-31-2009
#4 (permalink )
Linux User
Join Date: May 2009
Location: Kamloops, B.C., Canada
Posts: 325
Sorry about that. We were posting at the same time, and your instructions were clearer, so I deleted mine without checking to see if it was the same firmware.
__________________
Registered Linux User #420832
08-31-2009
#5 (permalink )
Just Joined!
Join Date: Aug 2009
Posts: 4
Actually I believe the firmware is correct. Those messages were left around from before I installed it.
Code:
# dmesg | grep iwl
iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, 1.3.27ks
iwlagn: Copyright(c) 2003-2008 Intel Corporation
iwlagn: Detected Intel Wireless WiFi Link 4965AGN REV=0x4
iwlagn: Tunable channels: 11 802.11bg, 13 802.11a channels
phy0: Selected rate control algorithm 'iwl-agn-rs'
Registered led device: iwl-phy0:radio
Registered led device: iwl-phy0:assoc
Registered led device: iwl-phy0:RX
Registered led device: iwl-phy0:TX
08-31-2009
#6 (permalink )
Trusted Penguin
Join Date: Jul 2004
Location: Franklin, Wisconsin
Posts: 3,957
When you reboot, the messages are cleared. If you are still seeing the firmware error messages, then the firmware version is wrong. Are you still getting the errors?
__________________
Paul
Please do not PM me with requests for help. I will not reply.
09-01-2009
#7 (permalink )
Just Joined!
Join Date: Aug 2009
Posts: 4
There are no error messages after reboot.
09-01-2009
#8 (permalink )
Trusted Penguin
Join Date: Jul 2004
Location: Franklin, Wisconsin
Posts: 3,957
And the wireless still doesn't work?
What are you using to connect to wireless networks? Does CentOS use NetworkManager? I would suggest using Wicd instead.
wicd - home
__________________
Paul
Please do not PM me with requests for help. I will not reply.
09-01-2009
#9 (permalink )
Just Joined!
Join Date: Aug 2009
Posts: 4
CentOS uses either NetworkManager or the regular network service. I prefer the regular network service because I have some custom scripts that load network configs depending on what network I am connected to at work. Wireless is prohibited at work and I need to make sure that the wireless radio is turned off there or get busted.
At home however it would be convenient to use wireless. I'll take a look at what you suggested.
09-01-2009
#10 (permalink )
Trusted Penguin
Join Date: Jul 2004
Location: Franklin, Wisconsin
Posts: 3,957
If you are not using a connection manager, then you will need to use terminal commands. To enable the wireless, use this:
I am assuming that wlan0 is the name of the connection. To determine the names and state of network and wireless connections, use these commands.
If you are trying to connect to a WPA encrypted network, you will need to install and configure wpa_supplicant.
__________________
Paul
Please do not PM me with requests for help. I will not reply.
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools Display Modes Linear Mode
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off