You are not logged in.
Pages: 1
Hello,
today I made my own madwifi update, since the latest version (0.9.3.1.99-2) in the repository is broken for me. It is has been flagged out-of-date anyway.
First of all, I took the latest PKBUILDs from cvs and updated them to the recent release, nothing else. No hacking in the package build process. That was easy. :-)
Here are the two PKGBUILDs for madwifi and madwifi-utils:
# Originally by kleptophobiac <kleptophobiac@gmail.com>
# Modified by Simon Streit <ss2@arcor.de>
_kernver=2.6.22-ARCH;
pkgname=madwifi
pkgver=0.9.3.2
pkgrel=1
pkgdesc="Madwifi drivers for Atheros wireless chipsets. For stock arch 2.6 kernel"
arch=(i686 x86_64)
license=('GPL')
url="http://madwifi.org"
depends=('madwifi-utils' 'kernel26')
makedepends=('sharutils')
install=madwifi-ng.install
source=(http://downloads.sourceforge.net/madwifi/$pkgname-$pkgver.tar.gz)
md5sums=('0e308afd179e4ccb2eafa47ade1e5f53')
build() {
cd $startdir/src/$pkgname-$pkgver
sed -i -e 's/-Werror//g' Makefile.inc
make KERNELPATH=/lib/modules/$_kernver/build KERNELRELEASE=$_kernver modules|| return 1
make KERNELPATH=/lib/modules/$_kernver/build KERNELRELEASE=$_kernver modules \
DESTDIR=$startdir/pkg KERNELRELEASE=$_kernver install-modules
sed -i -e "s/KERNEL_VERSION='.*'/KERNEL_VERSION='${_kernver}'/" $startdir/*.install
# install to wireless kernel directory
mkdir -p $startdir/pkg/lib/modules/$_kernver/kernel/drivers/net/wireless/madwifi
mv $startdir/pkg/lib/modules/$_kernver/net/* $startdir/pkg/lib/modules/$_kernver/kernel/drivers/net/wireless/madwifi
rm -r $startdir/pkg/lib/modules/$_kernver/net/
}
# Originally by kleptophobiac <kleptophobiac@gmail.com>
# Modified by Simon Streit <ss2@arcor.de>
pkgname=madwifi-utils
pkgver=0.9.3.2
_kernver=2.6.22-ARCH
pkgrel=1
pkgdesc="Userspace tools of madwifi drivers for Atheros wireless chipsets."
arch=(i686 x86_64)
license=('GPL')
url="http://madwifi.org"
depends=('wireless_tools')
makedepends=('sharutils')
provides=("madwifi-ng-utils")
conflicts=("madwifi-ng-utils")
replaces=("madwifi-ng-utils")
source=(http://downloads.sourceforge.net/madwifi/$pkgname-$pkgver.tar.gz)
md5sums=('0e308afd179e4ccb2eafa47ade1e5f53')
build() {
export KERNELPATH=/lib/modules/${_kernver}/build
cd $startdir/src/madwifi-$pkgver
make tools|| return 1
make DESTDIR=$startdir/pkg \
BINDIR=/usr/bin \
MANDIR=/usr/man \
install-tools
}
I would suggest some arch developer should have a look at this, so the packets can be updated. I contacted the maintainer too.
Have fun with them. :-)
Regards,
Simon
Offline
Just updated the madwifi packages for our stock kernel26 to 0.9.3.2. -ck and users of other kernels may have to wait for a but still though.
I recognize that while theory and practice are, in theory, the same, they are, in practice, different. -Mark Mitchell
Offline
I will try them tonight, hope it fixes my issues too
I am a gated community.
Offline
Thank you, that went fast.
Offline
i get no device on a fresh FTP-Install:
Linux T42 2.6.22-ARCH #1 SMP PREEMPT
madwifi 0.9.3.2-2
/etc/rc.conf
MODULES=(... ath_hal ath_pci wlan ...)
lo="lo 127.0.0.1"
eth0="eth0 192.168.XXX.XXX netmask 255.255.XXX.XXX broadcast 192.168.XXX.XXX"
ath0="ath0 192.168.XXX.XXX netmask 255.255.XXX.XXX broadcast 192.168.XXX.XXX" | ath0="dhcp"
WLAN_INTERFACES=(ath0)
wlan_ath0="ath0 mode managed essid XXX"
INTERFACES=(lo eth0 ath0)
gateway="default gw 192.168.XXX.XXX"
ROUTES=(gateway)
DAEMONS=(syslog-ng network netfs crond dbus hal kdm)
ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:0D:60:FD:0A:27
inet addr:192.168.XXX.XXX Bcast:192.168.XXX.XXX Mask:255.255.XXX.XXX
inet6 addr: fe80::20d:60ff:fefd:a27/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1659 errors:0 dropped:0 overruns:0 frame:0
TX packets:1745 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:780258 (761.9 Kb) TX bytes:279673 (273.1 Kb)
Base address:0x8000 Memory:c0240000-c0260000
irda0 Link encap:IrLAP HWaddr 00:00:00:00
NOARP MTU:2048 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:8
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:12 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:600 (600.0 b) TX bytes:600 (600.0 b)
iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
irda0 no wireless extensions.
dmesg | grep ath
ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 0.9.18.0 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
ath_pci: 0.9.4.5 (0.9.3.2)
sda6 sda7<3>Error loading module "ath_rate_sample"
Any suggestions ?
Last edited by boomshalek (2007-10-12 03:27:08)
Offline
I can't get it to work either on a fresh install. Same output as boomshalek, nothing new to add.
Offline
I got it working by using the madwifi-svn package in AUR; worked out of the box.
Offline
Pages: 1