Skip to contentSkip to conversation

compat-wireless iwl4965 on hp/compaq 2510p

DISCUSSION Bachman Kharazmi 3 participants 8 messages Apr 5, 2008

lore
Share & tools
lore
#0 lore raw

Hi,
I've tried to get the onboard iwl4965 wlan nic working with compat-wireless since it didn't work with driver that was in 2.6.24 kernel.

However I've followed the guide here: http://linuxwireless.org/en/users/Download downloading tarball from http://www.orbit-lab.org/kernel/compat-wireless-2.6/2008/04/compat-wireless-2008-04-01.tar.bz2

Compiling and installing went well, but there looks to be serious issues using the device.

dmesg and lspci can be found here: http://bachman.tor.lindesign.se/tmp/dmesgC2510p.txt
http://bachman.tor.lindesign.se/tmp/lspci-vnn_C2510p.txt
Debian/2.6.24

I've heard that the wlan on this laptop works with ubuntu which suprises me after all effort to get it going with latest drivers. Are there any solution to get this wlan nic working on my current system?

Thanks! /Bachman

lapp:~/temp/compat-wireless-2008-04-01# modprobe iwl4965
lapp:~/temp/compat-wireless-2008-04-01# iwconfig
lo        no wireless extensions.
eth1      no wireless extensions.
wmaster0  no wireless extensions.
wlan0     IEEE 802.11  ESSID:""
          Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated
          Tx-Power=0 dBm
          Retry min limit:7   RTS thr:off   Fragment thr=2352 B
          Encryption key:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

Trying to get IP

lapp:~/temp/compat-wireless-2008-04-01# dhclient wlan0
There is already a pid file /var/run/dhclient.pid with pid 6677
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

wmaster0: unknown hardware address type 801
SIOCSIFFLAGS: No such device
SIOCSIFFLAGS: No such device
wmaster0: unknown hardware address type 801 Listening on LPF/wlan0/00:13:e8:81:40:d3
Sending on LPF/wlan0/00:13:e8:81:40:d3
Sending on Socket/fallback
receive_packet failed on wlan0: Network is down DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
send_packet: Network is down
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15
send_packet: Network is down
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 19
send_packet: Network is down

#1 lore raw
Quoted 9 lines
lapp:~/temp/compat-wireless-2008-04-01# iwconfig
lo        no wireless extensions.
eth1      no wireless extensions.
wmaster0  no wireless extensions.
wlan0     IEEE 802.11  ESSID:""
           Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated
lapp:~/temp/compat-wireless-2008-04-01# dhclient wlan0

Have you considered connecting to a network before trying to use it?

johannes

#2 lore raw

Sure..

lapp:/tmp# iwconfig wlan0 essid planet_mars key B200A92732DA86E90DEFEFF3FB
stslapp:/tmp# iwconfig
lo        no wireless extensions.

eth1 no wireless extensions.

wmaster0 no wireless extensions.

wlan0 IEEE 802.11 ESSID:"planet_mars"
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated Tx-Power=0 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Encryption key:B200-A927-32DA-86E9-0DEF-EFF3-FB Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

lapp:/tmp# dhclient wlan0
There is already a pid file /var/run/dhclient.pid with pid 6907
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

wmaster0: unknown hardware address type 801
SIOCSIFFLAGS: No such device
SIOCSIFFLAGS: No such device
wmaster0: unknown hardware address type 801 Listening on LPF/wlan0/00:13:e8:81:40:d3
Sending on LPF/wlan0/00:13:e8:81:40:d3
Sending on Socket/fallback
receive_packet failed on wlan0: Network is down DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3
send_packet: Network is down
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8

Quoted 12 lines · Johannes Berg
Quoted 8 lines
lapp:~/temp/compat-wireless-2008-04-01# iwconfig
lo        no wireless extensions.
eth1      no wireless extensions.
wmaster0  no wireless extensions.
wlan0     IEEE 802.11  ESSID:""
           Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated
lapp:~/temp/compat-wireless-2008-04-01# dhclient wlan0

Have you considered connecting to a network before trying to use it?

johannes

#3 lore raw
Quoted 7 lines · Bachman Kharazmi

Sure..

lapp:/tmp# iwconfig wlan0 essid planet_mars key B200A92732DA86E90DEFEFF3FB

wlan0 IEEE 802.11 ESSID:"planet_mars"
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated

receive_packet failed on wlan0: Network is down

Try turning on the interface first... 'ip link set wlan0 up' might help

johannes

#4 lore raw
lapp:/tmp# ip link set wlan0 up
SIOCSIFFLAGS: No such device
lapp:/tmp# iwconfig
lo        no wireless extensions.

eth1 no wireless extensions.

wmaster0 no wireless extensions.

wlan0 IEEE 802.11 ESSID:"planet_mars"
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated Tx-Power=0 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Encryption key:B200-A927-32DA-86E9-0DEF-EFF3-FB Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

note that dmesg sais
iwl4965: Detected Intel Wireless WiFi Link 4965AGN
iwl4965: Tunable channels: 13 802.11bg, 19 802.11a channels
phy1: Selected rate control algorithm 'iwl-4965-rs'
ACPI: PCI Interrupt 0000:10:00.0[A] -> GSI 17 (level, low) -> IRQ 17
iwl4965: Radio disabled by HW RF Kill switch

/Bachman

Quoted 12 lines · Johannes Berg
Quoted 7 lines · Bachman Kharazmi

Sure..

lapp:/tmp# iwconfig wlan0 essid planet_mars key B200A92732DA86E90DEFEFF3FB

wlan0 IEEE 802.11 ESSID:"planet_mars"
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated

receive_packet failed on wlan0: Network is down

Try turning on the interface first... 'ip link set wlan0 up' might help

johannes

#5 lore raw
Quoted 20 lines · Bachman Kharazmi
lapp:/tmp# ip link set wlan0 up
 SIOCSIFFLAGS: No such device
 lapp:/tmp# iwconfig
 lo        no wireless extensions.

eth1 no wireless extensions.

wmaster0 no wireless extensions.

wlan0 IEEE 802.11 ESSID:"planet_mars"
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated Tx-Power=0 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Encryption key:B200-A927-32DA-86E9-0DEF-EFF3-FB Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

Quoted 6 lines

note that dmesg sais
iwl4965: Detected Intel Wireless WiFi Link 4965AGN
iwl4965: Tunable channels: 13 802.11bg, 19 802.11a channels
phy1: Selected rate control algorithm 'iwl-4965-rs'
ACPI: PCI Interrupt 0000:10:00.0[A] -> GSI 17 (level, low) -> IRQ 17
iwl4965: Radio disabled by HW RF Kill switch

___iwl4965: Radio disabled by HW RF Kill switch___ this would explain the problem

can you please enable the RF?

#6 lore raw

Not that easy.
When the module is loaded I press the (touch) panel where the wireless icon is. This still doesn't turn on the WLAN LED. Nothing in dmesg then I press the touchbutton.

lapp:/tmp# cat /sys/bus/pci/drivers/iwl4965/0000\:10\:00.0/rf_kill
2

echo "1" > /sys/bus/pci/drivers/iwl4965/0000\:10\:00.0/rf_kill
iwl4965: Error sending REPLY_CARD_STATE_CMD: enqueue_hcmd failed: -5

echo "0" > /sys/bus/pci/drivers/iwl4965/0000\:10\:00.0/rf_kill
iwl4965: WARNING: Requesting MAC access during RFKILL wakes up NIC

lapp:/tmp# cat /sys/bus/pci/drivers/iwl4965/0000\:10\:00.0/rf_kill
2

/Bachman

Quoted 37 lines · Tomas Winkler
Quoted 20 lines · Bachman Kharazmi
lapp:/tmp# ip link set wlan0 up
 SIOCSIFFLAGS: No such device
 lapp:/tmp# iwconfig
 lo        no wireless extensions.

eth1 no wireless extensions.

wmaster0 no wireless extensions.

wlan0 IEEE 802.11 ESSID:"planet_mars"
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated Tx-Power=0 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Encryption key:B200-A927-32DA-86E9-0DEF-EFF3-FB Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

Quoted 6 lines

note that dmesg sais
iwl4965: Detected Intel Wireless WiFi Link 4965AGN
iwl4965: Tunable channels: 13 802.11bg, 19 802.11a channels
phy1: Selected rate control algorithm 'iwl-4965-rs'
ACPI: PCI Interrupt 0000:10:00.0[A] -> GSI 17 (level, low) -> IRQ 17
iwl4965: Radio disabled by HW RF Kill switch

___iwl4965: Radio disabled by HW RF Kill switch___ this would explain the problem

can you please enable the RF?
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#7 lore raw

Here's what I did:
(-Compiled my own 2.6.24-4 instead of using debian kernel.)
-Booted XPee and hoped that all the clicking enabled the WLAN device. It seem to be a software button, like a touch panel. -Entered BIOS, disabled switching wlan button to hopefully keep the state constant(ON).

And finally I did configure my WEP, and requested IP and now I'm online ;)

thx guys! /Bachman

Quoted 60 lines · Bachman Kharazmi

Not that easy.
When the module is loaded I press the (touch) panel where the wireless icon is. This still doesn't turn on the WLAN LED. Nothing in dmesg then I press the touchbutton.

lapp:/tmp# cat /sys/bus/pci/drivers/iwl4965/0000\:10\:00.0/rf_kill
2

echo "1" > /sys/bus/pci/drivers/iwl4965/0000\:10\:00.0/rf_kill
iwl4965: Error sending REPLY_CARD_STATE_CMD: enqueue_hcmd failed: -5

echo "0" > /sys/bus/pci/drivers/iwl4965/0000\:10\:00.0/rf_kill
iwl4965: WARNING: Requesting MAC access during RFKILL wakes up NIC

lapp:/tmp# cat /sys/bus/pci/drivers/iwl4965/0000\:10\:00.0/rf_kill
2

/Bachman

Quoted 38 lines · Tomas Winkler
Quoted 21 lines · Bachman Kharazmi
lapp:/tmp# ip link set wlan0 up
 SIOCSIFFLAGS: No such device
 lapp:/tmp# iwconfig
 lo        no wireless extensions.

eth1 no wireless extensions.

wmaster0 no wireless extensions.

wlan0 IEEE 802.11 ESSID:"planet_mars"
Mode:Managed Frequency:2.412 GHz Access Point:
Not-Associated
Tx-Power=0 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Encryption key:B200-A927-32DA-86E9-0DEF-EFF3-FB Link Quality:0 Signal level:0 Noise level:0 Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

Quoted 6 lines

note that dmesg sais
iwl4965: Detected Intel Wireless WiFi Link 4965AGN
iwl4965: Tunable channels: 13 802.11bg, 19 802.11a channels
phy1: Selected rate control algorithm 'iwl-4965-rs'
ACPI: PCI Interrupt 0000:10:00.0[A] -> GSI 17 (level, low) -> IRQ 17
iwl4965: Radio disabled by HW RF Kill switch

___iwl4965: Radio disabled by HW RF Kill switch___ this would explain the problem

can you please enable the RF?

Signature · 3 lines
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Signature · 3 lines
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html