You are not logged in.
The wlan-ng driver requires a patch to compile under the new kernel. It is in the CVS here:
http://cvs.archlinux.org/cgi-bin/viewcv … ag=CURRENT
How do I apply this patch?
Some specifics: http://lists.linux-wlan.com/pipermail/l … 03557.html
Thanks in advance.
Offline
It's all in the PKGBUILD, which is also in CVS.
Offline
Running the pkgbuild tells me I need wlan-ng26-utils. wlan-ng26 and wlan-ng26-utils are the same file:
ftp://ftp.linux-wlan.org/pub/linux-wlan … 2.3.tar.gz
The utils have their own pkgbuild and scripts. When trying to compile this the autoconfigure chooses the modules I don't want, and leaves out the one I do (usb). It also exits on an error.
How can I compile with pkgbuild but do the configuration myself?
Offline
There's a wlan-ng26 package in the repos for the Arch kernel
If you however want one for your kernel, Use abs, then modify the arch wlan-ng26 package to compile for your kernel
Offline
Thanks iphitus, I'd rather use the binaries. I installed them with pacman, but I don't know the name of the module to load. Before it was prism2_usb.
Offline
Thanks iphitus, I'd rather use the binaries.
"The binaries" are the packages in the repos. wlan-ng26-utils provides the userspace utilities and firmware, and wlan-ng26 provides the kernel modules - including prism2_usb. All required patches have been applied.
If you want to recompile wlan-ng26 for a custom kernel, you just need to change the _kernver= line in the PKGBUILD to your particular kernel version e.g.
_kernver=2.6.16.1-burthawk
Offline
I downloaded both packages from the repo and installed them. The modules show up in
/lib/modules/2.6.16-ARCH/linux-wlan-ng which does match uname -r. Unfortunately, "modprobe prism2_usb" reports module not found, even when I cd to the wlan-ng folder and specify the .ko file.
If I can get the module loaded I should be set, because your post
http://bbs.archlinux.org/viewtopic.php? … ght=wlanng
is pretty comprehensive.
Offline
fixed in new package modules were installed to wrong place
Offline
I installed the new package (wlan-ng26-0.2.3-7.pkg.tar.gz), and now there is no wlan-ng folder in modules at all. modprobe prism2_usb still can't find the module.
Thanks
Offline
The directory is /lib/modules/2.6.16-ARCH/kernel/drivers/net/wireless/linux-wlan-ng.
I'm using 0.2.3-7 here, and it's working perfectly. Can you post the response to the following commands:
- modprobe prism2_usb
- lsusb
- uname -r
- ls /lib/modules/2.6.16-ARCH/kernel/drivers/net/wireless/linux-wlan-ng/
Offline
modprobe prism2_usb
FATAL: Module prism2_usb not found.
ls /lib/modules/2.6.16-ARCH/kernel/drivers/net/wireless/linux-wlan-ng/
p80211.ko
prism2_cs.ko
prism2_pci.ko
prism2_plx.ko
prism2_usb.ko
uname -r
2.6.16-ARCH
lsusb
Bus 001 Device 004: ID 08ec:0015 M-Systems Flash Disk Pioneers
Bus 001 Device 001: ID 0000:0000
Bus 003 Device 002: ID 413c:8100 Dell Computer Corp. TrueMobile 1180 802.11b Adapter
Bus 003 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Offline
This is a bit puzzling. Can you do
depmod -a
and then try the modprobe again? If you get no response, it's working. If you get an error, post it here, and then try
insmod /lib/modules/2.6.16-ARCH/kernel/drivers/net/wireless/linux-wlan-ng/prism2_usb.ko
Offline
Success with depmod -a.
Thank you tomk. You are truly a Trusted User.
Offline
solved my problem as well with "depmod -a"
Thanks, tomk!
Offline