linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* compat-wireless iwl4965 on hp/compaq 2510p
@ 2008-04-05 11:12 Bachman Kharazmi
  2008-04-05 11:50 ` Johannes Berg
  0 siblings, 1 reply; 8+ messages in thread
From: Bachman Kharazmi @ 2008-04-05 11:12 UTC (permalink / raw)
  To: linux-wireless

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: compat-wireless iwl4965 on hp/compaq 2510p
  2008-04-05 11:12 compat-wireless iwl4965 on hp/compaq 2510p Bachman Kharazmi
@ 2008-04-05 11:50 ` Johannes Berg
  2008-04-05 11:52   ` Bachman Kharazmi
  0 siblings, 1 reply; 8+ messages in thread
From: Johannes Berg @ 2008-04-05 11:50 UTC (permalink / raw)
  To: Bachman Kharazmi; +Cc: linux-wireless

[-- Attachment #1: Type: text/plain, Size: 422 bytes --]


> 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

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: compat-wireless iwl4965 on hp/compaq 2510p
  2008-04-05 11:50 ` Johannes Berg
@ 2008-04-05 11:52   ` Bachman Kharazmi
  2008-04-05 11:54     ` Johannes Berg
  0 siblings, 1 reply; 8+ messages in thread
From: Bachman Kharazmi @ 2008-04-05 11:52 UTC (permalink / raw)
  To: Johannes Berg; +Cc: linux-wireless

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

Johannes Berg wrote:
>> 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: compat-wireless iwl4965 on hp/compaq 2510p
  2008-04-05 11:52   ` Bachman Kharazmi
@ 2008-04-05 11:54     ` Johannes Berg
  2008-04-05 12:01       ` Bachman Kharazmi
  0 siblings, 1 reply; 8+ messages in thread
From: Johannes Berg @ 2008-04-05 11:54 UTC (permalink / raw)
  To: Bachman Kharazmi; +Cc: linux-wireless

[-- Attachment #1: Type: text/plain, Size: 416 bytes --]


On Sat, 2008-04-05 at 13:52 +0200, Bachman Kharazmi wrote:
> 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

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: compat-wireless iwl4965 on hp/compaq 2510p
  2008-04-05 11:54     ` Johannes Berg
@ 2008-04-05 12:01       ` Bachman Kharazmi
  2008-04-05 13:37         ` Tomas Winkler
  0 siblings, 1 reply; 8+ messages in thread
From: Bachman Kharazmi @ 2008-04-05 12:01 UTC (permalink / raw)
  To: Johannes Berg; +Cc: linux-wireless

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

Johannes Berg wrote:
> On Sat, 2008-04-05 at 13:52 +0200, Bachman Kharazmi wrote:
>> 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: compat-wireless iwl4965 on hp/compaq 2510p
  2008-04-05 12:01       ` Bachman Kharazmi
@ 2008-04-05 13:37         ` Tomas Winkler
  2008-04-05 13:48           ` Bachman Kharazmi
  0 siblings, 1 reply; 8+ messages in thread
From: Tomas Winkler @ 2008-04-05 13:37 UTC (permalink / raw)
  To: Bachman Kharazmi; +Cc: Johannes Berg, linux-wireless

On Sat, Apr 5, 2008 at 3:01 PM, Bachman Kharazmi
<bachman@tor.lindesign.se> wrote:
> 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

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

can you please enable the RF?

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: compat-wireless iwl4965 on hp/compaq 2510p
  2008-04-05 13:37         ` Tomas Winkler
@ 2008-04-05 13:48           ` Bachman Kharazmi
  2008-04-05 14:39             ` [SOLVED] " Bachman Kharazmi
  0 siblings, 1 reply; 8+ messages in thread
From: Bachman Kharazmi @ 2008-04-05 13:48 UTC (permalink / raw)
  To: Tomas Winkler; +Cc: Johannes Berg, linux-wireless

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
Tomas Winkler wrote:
> On Sat, Apr 5, 2008 at 3:01 PM, Bachman Kharazmi
> <bachman@tor.lindesign.se> wrote:
>> 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
> 
> ___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 majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [SOLVED] Re: compat-wireless iwl4965 on hp/compaq 2510p
  2008-04-05 13:48           ` Bachman Kharazmi
@ 2008-04-05 14:39             ` Bachman Kharazmi
  0 siblings, 0 replies; 8+ messages in thread
From: Bachman Kharazmi @ 2008-04-05 14:39 UTC (permalink / raw)
  To: Tomas Winkler; +Cc: Johannes Berg, linux-wireless

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

Bachman Kharazmi wrote:
> 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
> Tomas Winkler wrote:
>> On Sat, Apr 5, 2008 at 3:01 PM, Bachman Kharazmi
>> <bachman@tor.lindesign.se> wrote:
>>> 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
>>
>> ___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 majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> -- 
> To unsubscribe from this list: send the line "unsubscribe 
> linux-wireless" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-04-05 14:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-05 11:12 compat-wireless iwl4965 on hp/compaq 2510p Bachman Kharazmi
2008-04-05 11:50 ` Johannes Berg
2008-04-05 11:52   ` Bachman Kharazmi
2008-04-05 11:54     ` Johannes Berg
2008-04-05 12:01       ` Bachman Kharazmi
2008-04-05 13:37         ` Tomas Winkler
2008-04-05 13:48           ` Bachman Kharazmi
2008-04-05 14:39             ` [SOLVED] " Bachman Kharazmi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).