You are not logged in.
When using hostapd, or airodump-ng with a fixed channel(-c channelnumber), I get a message "Fixed channel -1".
I don't have any networking-apps running, nothing that changes the channel. I've read the aircrack-ng wiki entry about this. I think this is a problem in "compat-wireless". I tried to patch it using the code on http://ubuntuforums.org/showthread.php?t=1598930, but nothing's changed. I have an Atheros network card, and I'm using ath5k.
When using madwifi, I don't get the fixed channel error, but with madwifi, when I try to change my mac-adress(wlanconfig wlan0 destroy; macchanger -m 12:34:56:78:90:12 wifi0; wlanconfig dev wlan0 .....), the new wlan0 device has get's the mac-adress I wanted, but the second number in the mac-adress, is changed to a 6(the wlan0 mac-adress would be "16:34:56:78:90:12").
If there is a solution for one of the two problems, I'm happy.
Thanks!
[EDIT]Solved, I deleted my other kernel, and tried it again.
Last edited by rayman (2010-10-20 18:03:10)
Offline
You need to add an extra patch to compat-wireless for fixing the -1 channel: channel-negative-one-maxim.patch and recompile I have 2 (daily and stable releases ) PKGBUILDs in AUR for compat-wireless that includes both patches you can use them
Edit 1 : I missed the links
http://aur.archlinux.org/packages.php?ID=41472
http://aur.archlinux.org/packages.php?ID=41485
Last edited by cruznick (2010-10-20 18:08:12)
Offline
Thanks. I already tried using wireless-compat-all, from AUR, but that didn't work.
Offline
Not working for me:
03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
Kernel driver in use: iwl3945
Kernel modules: iwl3945
I see some loop errors when installing then I'm unable to load with iwl-load iwlagn or iwl-enable , any idea?
I also removed the old kernel from /usr/src/ and var/lib
Errors during compilation:
CC [M] /tmp/bauerbill/build/aur/compat-wireless-all/src/compat-wireless-2010-08-26/drivers/net/wireless/iwlwifi/iwl3945-base.o
/tmp/bauerbill/build/aur/compat-wireless-all/src/compat-wireless-2010-08-26/drivers/net/wireless/iwlwifi/iwl3945-base.c:30:0: warning: "pr_fmt" redefined
include/linux/kernel.h:381:0: note: this is the location of the previous definition
AND
CC [M] /tmp/bauerbill/build/aur/compat-wireless-all/src/compat-wireless-2010-08-26/drivers/net/wireless/iwlwifi/iwl-agn.o
/tmp/bauerbill/build/aur/compat-wireless-all/src/compat-wireless-2010-08-26/drivers/net/wireless/iwlwifi/iwl-agn.c:30:0: warning: "pr_fmt" redefined
include/linux/kernel.h:381:0: note: this is the location of the previous definition
During installation:
--> Running pacman: '/usr/bin/sudo' '/usr/bin/pacman' '--config' '/etc/pacman.conf' '-U' '/tmp/bauerbill/build/aur/compat-wireless-all/compat-wireless-all-2010_08_26-2-i686.pkg.tar.xz' '--cachedir' '/var/cache/pacman/pkg/'
resolving dependencies...
looking for inter-conflicts...
Targets (1): compat-wireless-all-2010_08_26-2
Total Download Size: 0.00 MB
Total Installed Size: 1.81 MB
Proceed with installation? [Y/n] y
checking package integrity...
(1/1) checking for file conflicts [#######################################################] 100%
(1/1) installing compat-wireless-all [#######################################################] 100%
depmod will prefer updates/ over kernel/ -- OK!
Module ath_pci not detected -- this is fine
Module iwl4965 not detected -- this is fine
Madwifi has been disabled, if present. If you would like to enable MadWifi
at a later time and disable ath5k, you can run: sudo athload madwifi
To use the new modules, unload your old wireless modules first and load them
again, or simply reboot.
Make sure to have read the full documentation at http://wireless.kernel.org/en/users/Download
--> Done
I have tried with both compat-wireless-patched and also with compat-wireless-all
Last edited by r0b0t (2010-10-26 19:17:53)
Offline
r0b0t, have you tried patching a vanilla kernel on your own? Try it, maybe it'll payoff.
Offline
Hi archman-cro,
I don't have time to work for patching kernels, If I wanted to patch a kernel the first patch to apply will be the gr-security patch.
I stay on my pc 3-4 h, the rest is at work and at work I use ubuntu (forced by the staff.)
After installing the compat-wireless-all at least I have the wlan0 interface and I'm able to load the driver, but now I need to patch the file.
wireless/chan.c
I don't find it
locate chan.c (after updatedb)
and
find / -iname chan.c gives me no results.
Any idea?
Offline
Erm, /net/wireless/chan.c is in the kernel tree. You're supposed to patch it at the kernelbuild time, I guess...
Offline
Great,
I'm waiting for .36 then.
Offline
The .36 will not fix this issue. I still had to apply the patch against it.
Offline
It's very weird, I never used compat-wireless and my card worked just fine, then after some kernel upgrade, I don't remember which version the channel -1 issue popped up..
I don't understand why with the current kernel I'm unable to define the channel to monitor and the card is listening in all channels and with the kernel before just worked fine...
I didn't ever install compat-wireless.
So if this is not a kernel bug it's an aircrack bug?
I don't know what to say...
I'm better learn some kernel basics and make my own one...
Offline
Hi all, I have the same problema: Fixed channel -1 on a Intel Wifi Link 5300.
What should I do? I use the driver iwlagn.
Thanks.
PD:I write little because my English is a bit basic
Offline
takedown, apply http://patches.aircrack-ng.org/channel- … axim.patch against your kernel. That's how I do it, since I use my own kernel mod. Maybe there's an another option out now, though, I dunno.
Offline
The .36 will not fix this issue. I still had to apply the patch against it.
does that mean .36 was out before the batch and next kernel version should have it included? I'm asking because I really like to keep my arch setup as clean as possible, whenever I compile my own kernel I seem to either forget something or have too many options extra.
Offline
Well, I just wanted to say that 2.6.36 didn't have the fix. Doesn't mean it won't be built into the next release, or the 2.6.36-ARCH. But knowing Arch, I think it won't be included, since not much people are affected.
Not sure, though.
Offline
im not sure if this is a bug or some feature change in the kernel that needs to propagate to userspace.
Offline
im not sure if this is a bug or some feature change in the kernel that needs to propagate to userspace.
There is an interesting discussion on the topic @ http://trac.aircrack-ng.org/ticket/742
seems like no kernel compilation is needed... this post at the ubuntuforums has stepbystep guide http://ubuntuforums.org/showpost.php?p= … ostcount=1 will try later to fix my arch netbook and report back!
Last edited by meborc (2010-11-03 11:45:03)
Offline
You need to add an extra patch to compat-wireless for fixing the -1 channel: channel-negative-one-maxim.patch and recompile I have 2 (daily and stable releases ) PKGBUILDs in AUR for compat-wireless that includes both patches you can use them
Edit 1 : I missed the links
http://aur.archlinux.org/packages.php?ID=41472
http://aur.archlinux.org/packages.php?ID=41485
THANKS! I tried the daily one yesterday and now everything works as it should... Excellent work!
Offline
@cruznick: Thanks for the packages but unfortunately I've run into some problems
Here's what I did:
I have a stable system with core, extra and community repo enabled. I downloaded the kernel 2.6.36-3 and kernel-headers 2.6.36-3 from the testing repo and installed them.
Compiled both of your packages, stable and daily. With the stable package, the wireless works, but as soon as i try to issue airmon-ng start wlan0 I get a kernel panic described here:
https://bbs.archlinux.org/viewtopic.php?id=108139
With the daily package, the wireless doesn't work at all, the modules don't get loaded properly
Any ideas?
Offline