* 4965AGN Not Associating
@ 2008-12-24 18:02 Delphi Real Estate
2008-12-26 1:00 ` Pavel Roskin
0 siblings, 1 reply; 7+ messages in thread
From: Delphi Real Estate @ 2008-12-24 18:02 UTC (permalink / raw)
To: linux-wireless
I was running the iwl4965 git driver successfully from 6 June up until two days ago, when I decided to be a smart-aleck and try to get 802.11n working. After two 12 hour days of struggle, I now have no wifi.
Running Kubuntu Hardy and typically compile a custom kernel. First I downloaded and compiled compat-wireless-old.tar.bz2 and compiled it to my kernel 2.6.24. Driver loaded fine and the wlan0 interface came up, but would no longer associate as the old driver did. Rebooted, but a second or so after the blue wireless light came on, the kernel crashed with an Aieeee! No way to see exactly where or why, as it'd scrolled off the screen and there's nothing in the logs.
So I tried just compiling kernels 2.6.27 and .28 to test their iwlagn functionality, but unfortunately no version of .27 or .28 will compile on my laptop. .27 does compile on my HTPC, but not where it counts:
OFFSETS arch/x86/boot/offsets.h
OBJCOPY arch/x86/boot/vmlinux.bin
AS arch/x86/boot/header.o
LD arch/x86/boot/setup.elf
OBJCOPY arch/x86/boot/setup.bin
BUILD arch/x86/boot/bzImage
Root device is (8, 1)
Setup is 11916 bytes (padded to 12288 bytes).
System is 2904 kB
CRC 30db084d
Kernel: arch/x86/boot/bzImage is ready (#1)
ERROR: "snd_hwdep_new" [ubuntu/misc/media/snd-bt-sco.ko] undefined!
WARNING: modpost: Found 4 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2
#
So I gave up on a new kernel and compiled 2.6.22, booted, and compiled compat-wireless-old.tar.bz2 to it, which went fine. I even get a blue light for the radio switch now. But it will not associate. I am using the exact same interfaces file as before. I tried network manager, but it doesn't even recognize this as a wireless device.
# iwconfig
wlan0 IEEE 802.11abgn ESSID:"Hex"
Mode:Managed Frequency:2.462 GHz Access Point: Not-Associated
Tx-Power=14 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Encryption key:off
Power Management: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
# iwpriv
wlan0 no private ioctls.
# iwpriv wlan0 network_type g
wlan0 no private ioctls.
# iwlist wlan0 auth
wlan0 Authentication capabilities :
WPA
WPA2
CIPHER-TKIP
CIPHER-CCMP
Current Authentication algorithm :
open
So for some reason it is not recognizing my WPA commands in /etc/network/interfaces (which worked before). Or maybe it's in 'n' or 'a' mode, rather than g. I've searched everywhere and can not find how to set it to g mode now that it has no private ioctls.
/etc/network/interfaces:
iface wlan0 inet static
pre-up /sbin/iwpriv wlan0 network_type g
pre-up ip link set wlan0 up
address 192.168.1.1
netmask 255.255.255.0
gateway 192.168.1.5
wireless-essid Hex
wpa-scan-ssid 0
wpa-ap-scan 1
wpa-ssid Hex
wpa-psk Freeasinfreedom
^ permalink raw reply [flat|nested] 7+ messages in thread
* 4965AGN Not Associating
@ 2008-12-24 19:58 Delphi Real Estate
2008-12-25 0:50 ` techmin
2008-12-25 0:56 ` Zhu Yi
0 siblings, 2 replies; 7+ messages in thread
From: Delphi Real Estate @ 2008-12-24 19:58 UTC (permalink / raw)
To: linux-wireless@vger.kernel.org
I was running the iwl4965 git driver successfully from 6 June up until two days ago, when I decided to be a smart-aleck and try to get 802.11n working. After two 12 hour days of struggle, I now have no wifi.
Running Kubuntu Hardy and typically compile a custom kernel. First I downloaded and compiled compat-wireless-old.tar.bz2 and compiled it to my kernel 2.6.24. Driver loaded fine and the wlan0 interface came up, but would no longer associate as the old driver did. Rebooted, but a second or so after the blue wireless light came on, the kernel crashed with an Aieeee! No way to see exactly where or why, as it'd scrolled off the screen and there's nothing in the logs.
So I tried just compiling kernels 2.6.27 and .28 to test their iwlagn functionality, but unfortunately no version of .27 or .28 will compile on my laptop. .27 does compile on my HTPC, but not where it counts:
OFFSETS arch/x86/boot/offsets.h
OBJCOPY arch/x86/boot/vmlinux.bin
AS arch/x86/boot/header.o
LD arch/x86/boot/setup.elf
OBJCOPY arch/x86/boot/setup.bin
BUILD arch/x86/boot/bzImage
Root device is (8, 1)
Setup is 11916 bytes (padded to 12288 bytes).
System is 2904 kB
CRC 30db084d
Kernel: arch/x86/boot/bzImage is ready (#1)
ERROR: "snd_hwdep_new" [ubuntu/misc/media/snd-bt-sco.ko] undefined!
WARNING: modpost: Found 4 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2
#
So I gave up on a new kernel and compiled 2.6.22, booted, and compiled compat-wireless-old.tar.bz2 to it, which went fine. I even get a blue light for the radio switch now. But it will not associate. I am using the exact same interfaces file as before. I tried network manager, but it doesn't even recognize this as a wireless device.
# iwconfig
wlan0 IEEE 802.11abgn ESSID:"Hex"
Mode:Managed Frequency:2.462 GHz Access Point: Not-Associated
Tx-Power=14 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Encryption key:off
Power Management: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
# iwpriv
wlan0 no private ioctls.
# iwpriv wlan0 network_type g
wlan0 no private ioctls.
# iwlist wlan0 auth
wlan0 Authentication capabilities :
WPA
WPA2
CIPHER-TKIP
CIPHER-CCMP
Current Authentication algorithm :
open
So for some reason it is not recognizing my WPA commands in /etc/network/interfaces (which worked before). Or maybe it's in 'n' or 'a' mode, rather than g. I've searched everywhere and can not find how to set it to g mode now that it has no private ioctls.
/etc/network/interfaces:
iface wlan0 inet static
pre-up /sbin/iwpriv wlan0 network_type g
pre-up ip link set wlan0 up
address 192.168.1.1
netmask 255.255.255.0
gateway 192.168.1.5
wireless-essid Hex
wpa-scan-ssid 0
wpa-ap-scan 1
wpa-ssid Hex
wpa-psk Freeasinfreedom
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 4965AGN Not Associating
2008-12-24 19:58 4965AGN Not Associating Delphi Real Estate
@ 2008-12-25 0:50 ` techmin
2008-12-25 0:56 ` Zhu Yi
1 sibling, 0 replies; 7+ messages in thread
From: techmin @ 2008-12-25 0:50 UTC (permalink / raw)
To: linux-wireless@vger.kernel.org
Delphi Real Estate ha scritto:
> I was running the iwl4965 git driver successfully from 6 June up until two days ago, when I decided to be a smart-aleck and try to get 802.11n working. After two 12 hour days of struggle, I now have no wifi.
>
> cut...
Yes,
same problem with b and g connection.
Disassociating by local choice.
I have already sended mail with all info to this list.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 4965AGN Not Associating
2008-12-24 19:58 4965AGN Not Associating Delphi Real Estate
2008-12-25 0:50 ` techmin
@ 2008-12-25 0:56 ` Zhu Yi
2008-12-25 16:00 ` Delphi Real Estate
1 sibling, 1 reply; 7+ messages in thread
From: Zhu Yi @ 2008-12-25 0:56 UTC (permalink / raw)
To: Delphi Real Estate; +Cc: linux-wireless@vger.kernel.org
On Thu, 2008-12-25 at 03:58 +0800, Delphi Real Estate wrote:
> Running Kubuntu Hardy and typically compile a custom kernel. First I
> downloaded and compiled compat-wireless-old.tar.bz2 and compiled it to
> my kernel 2.6.24. Driver loaded fine and the wlan0 interface came up,
> but would no longer associate as the old driver did. Rebooted, but a
> second or so after the blue wireless light came on, the kernel crashed
> with an Aieeee! No way to see exactly where or why, as it'd scrolled
> off the screen and there's nothing in the logs.
You can either use fb to make your console show more lines and take a
picture for it or use netconsole to capture the log.
> So I tried just compiling kernels 2.6.27 and .28 to test their iwlagn
> functionality, but unfortunately no version of .27 or .28 will compile
> on my laptop. .27 does compile on my HTPC, but not where it counts:
> OFFSETS arch/x86/boot/offsets.h
> OBJCOPY arch/x86/boot/vmlinux.bin
> AS arch/x86/boot/header.o
> LD arch/x86/boot/setup.elf
> OBJCOPY arch/x86/boot/setup.bin
> BUILD arch/x86/boot/bzImage
> Root device is (8, 1)
> Setup is 11916 bytes (padded to 12288 bytes).
> System is 2904 kB
> CRC 30db084d
> Kernel: arch/x86/boot/bzImage is ready (#1)
> ERROR: "snd_hwdep_new" [ubuntu/misc/media/snd-bt-sco.ko] undefined!
> WARNING: modpost: Found 4 section mismatch(es).
> To see full details build your kernel with:
> 'make CONFIG_DEBUG_SECTION_MISMATCH=y'
> make[1]: *** [__modpost] Error 1
> make: *** [modules] Error 2
CONFIG_SND_HWDEP?
Also make sure you get the correct firmware.
Thanks,
-yi
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 4965AGN Not Associating
2008-12-25 0:56 ` Zhu Yi
@ 2008-12-25 16:00 ` Delphi Real Estate
2008-12-26 1:20 ` Pavel Roskin
0 siblings, 1 reply; 7+ messages in thread
From: Delphi Real Estate @ 2008-12-25 16:00 UTC (permalink / raw)
To: linux-wireless@vger.kernel.org
On Wednesday 24 December 2008 16:56:51 Zhu Yi wrote:
> CONFIG_SND_HWDEP?
Actually, it turned out to need snd-emu10k1 enabled, amazingly. Then it compiled fine, but crashed on boot when it was time to pivot to /dev/sda1. Found the problem was the disk controller driver needed to be compiled in, not a module.
So I now have kernel 2.6.27-11.22 running and the nice little blue wifi light which I'd never had before, and it twinkles, apparently with network access. iwconfig, and indeed it is associated as it should be, showing 54Mb/s. No need for the external driver compile.
All right, so the kernel iwl modules are working with this kernel, good enough for me... although iwconfig shows, "Encryption key:AM32-52G0-50D6-130B-6AF0-201D-9450-H978 [2] Security mode:open".
'Open'? Homey don't think so. The AP us set to WPA AES. Why would it say it's open?
Also, I want to switch to 802.11a for streaming media, so I'm not polluting everyone else's bandwidth. How do I set this card to 'a' or 'n'? Is there any way to set it to dual-band for the new routers which send normal traffic on 'g' and stream on 'a'? How do I set it to WPA2?
IOW, how do I control this card? Instructions are nowhere to be found.
Currently my /etc/network/interfaces file is set thus and works (Network Manager is uninstalled and I don't trust it):
iface wlan0 inet static
pre-up /sbin/iwconfig wlan0 txpower 5
pre-up ip link set wlan0 up
address 192.168.1.1
netmask 255.255.255.0
gateway 192.168.1.5
wireless-essid Hex
wpa-scan-ssid 0
wpa-ap-scan 1
wpa-ssid Hex
wpa-psk Freeasinfreedom
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 4965AGN Not Associating
2008-12-24 18:02 Delphi Real Estate
@ 2008-12-26 1:00 ` Pavel Roskin
0 siblings, 0 replies; 7+ messages in thread
From: Pavel Roskin @ 2008-12-26 1:00 UTC (permalink / raw)
To: Delphi Real Estate; +Cc: linux-wireless
On Wed, 2008-12-24 at 10:02 -0800, Delphi Real Estate wrote:
> I was running the iwl4965 git driver successfully from 6 June up until
> two days ago, when I decided to be a smart-aleck and try to get
> 802.11n working. After two 12 hour days of struggle, I now have no
> wifi.
>
> Running Kubuntu Hardy and typically compile a custom kernel. First I
> downloaded and compiled compat-wireless-old.tar.bz2 and compiled it to
> my kernel 2.6.24. Driver loaded fine and the wlan0 interface came up,
> but would no longer associate as the old driver did. Rebooted, but a
> second or so after the blue wireless light came on, the kernel crashed
> with an Aieeee! No way to see exactly where or why, as it'd scrolled
> off the screen and there's nothing in the logs.
Capturing kernel messages is described in Documentation/oops-tracing.txt
in the kernel sources.
> So I tried just compiling kernels 2.6.27 and .28 to test their iwlagn
> functionality, but unfortunately no version of .27 or .28 will compile
> on my laptop. .27 does compile on my HTPC, but not where it counts:
> OFFSETS arch/x86/boot/offsets.h
> OBJCOPY arch/x86/boot/vmlinux.bin
> AS arch/x86/boot/header.o
> LD arch/x86/boot/setup.elf
> OBJCOPY arch/x86/boot/setup.bin
> BUILD arch/x86/boot/bzImage
> Root device is (8, 1)
> Setup is 11916 bytes (padded to 12288 bytes).
> System is 2904 kB
> CRC 30db084d
> Kernel: arch/x86/boot/bzImage is ready (#1)
> ERROR: "snd_hwdep_new" [ubuntu/misc/media/snd-bt-sco.ko] undefined!
> WARNING: modpost: Found 4 section mismatch(es).
> To see full details build your kernel with:
> 'make CONFIG_DEBUG_SECTION_MISMATCH=y'
> make[1]: *** [__modpost] Error 1
> make: *** [modules] Error 2
You must be compiling kernel sources patched by Ubuntu. There is an
unresolved symbol in on of the sound driver provided by Ubuntu. You can
disable that driver or enable sound option that would provide
"snd_hwdep_new". I think you can even ignore this error. It should not
prevent wireless drivers from working.
> So I gave up on a new kernel and compiled 2.6.22, booted, and compiled
> compat-wireless-old.tar.bz2 to it, which went fine.
IMHO it's a major overkill to downgrade the kernel so much because of
some external sound module, especially when the userspace is not exactly
conservative!
> I even get a blue light for the radio switch now. But it will not
> associate. I am using the exact same interfaces file as before. I
> tried network manager, but it doesn't even recognize this as a
> wireless device.
>
> # iwconfig
> wlan0 IEEE 802.11abgn ESSID:"Hex"
> Mode:Managed Frequency:2.462 GHz Access Point: Not-Associated
> Tx-Power=14 dBm
> Retry min limit:7 RTS thr:off Fragment thr=2352 B
> Encryption key:off
It looks like WPA is not being used.
> Power Management: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
>
> # iwpriv
> wlan0 no private ioctls.
>
> # iwpriv wlan0 network_type g
> wlan0 no private ioctls.
I don't think it's supposed to work.
> # iwlist wlan0 auth
> wlan0 Authentication capabilities :
> WPA
> WPA2
> CIPHER-TKIP
> CIPHER-CCMP
> Current Authentication algorithm :
> open
>
> So for some reason it is not recognizing my WPA commands
> in /etc/network/interfaces (which worked before). Or maybe it's in
> 'n' or 'a' mode, rather than g. I've searched everywhere and can not
> find how to set it to g mode now that it has no private ioctls.
I don't think you need to do anything like that. Try scanning to see if
the card sees the AP.
I don't know much about Ubuntu (or Debian) specific network
configuration, but I suggest that you try running wpa_supplicant
manually. Upgrading to a recent kernel may help too. If you want to
try the bleeding edge 802.11n support, perhaps you should check out the
wireless-testing branch from git.
--
Regards,
Pavel Roskin
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 4965AGN Not Associating
2008-12-25 16:00 ` Delphi Real Estate
@ 2008-12-26 1:20 ` Pavel Roskin
0 siblings, 0 replies; 7+ messages in thread
From: Pavel Roskin @ 2008-12-26 1:20 UTC (permalink / raw)
To: Delphi Real Estate; +Cc: linux-wireless@vger.kernel.org
On Thu, 2008-12-25 at 08:00 -0800, Delphi Real Estate wrote:
> All right, so the kernel iwl modules are working with this kernel,
> good enough for me... although iwconfig shows, "Encryption
> key:AM32-52G0-50D6-130B-6AF0-201D-9450-H978 [2] Security
> mode:open".
>
> 'Open'? Homey don't think so. The AP us set to WPA AES. Why would
> it say it's open?
It means "open system authentication", as opposed to "shared key"
authentication, which can only be used with WEP.
If iwconfig was smarter, it would show "WPA" there, but it's not so
smart.
--
Regards,
Pavel Roskin
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-12-26 1:20 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-24 19:58 4965AGN Not Associating Delphi Real Estate
2008-12-25 0:50 ` techmin
2008-12-25 0:56 ` Zhu Yi
2008-12-25 16:00 ` Delphi Real Estate
2008-12-26 1:20 ` Pavel Roskin
-- strict thread matches above, loose matches on Subject: below --
2008-12-24 18:02 Delphi Real Estate
2008-12-26 1:00 ` Pavel Roskin
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).