You are not logged in.

#1 2005-05-02 19:25:29

ravster
Member
From: Queen's U, Kingston, Canada
Registered: 2004-05-02
Posts: 285
Website

[New]RT2400 wireless card drivers

Here is the PKGBUILD for the rt2400 wireless pci card drivers.

#Contributor Ravi Desai <ravster3@hotmail.com>
pkgname=rt2400
pkgver=1.2.2_b2
pkgrel=1
pkgdesc="Drivers for rt2400 chipset wireless cards"
url="http://rt2x00.serialmonkey.com/wiki/index.php/Main_Page"
license=""
depends=()
source=(http://dl.sourceforge.net/sourceforge/$pkgname/$pkgname-1.2.2-b2.tar.gz)
md5sums=('5899c1105bde1f68415a27e82b743fc0')

build() {
  cd $startdir/src/$pkgname-1.2.2/Module
  make || return 1
#  make DESTDIR=$startdir/pkg install
  install -D -m 755 rt2400.ko
     $startdir/pkg/lib/modules/$(uname -r)/kernel/drivers/net/wireless/rt2400.ko
  depmod -a
}

If you find anything wrong, please let me know and I will upload the changes to the Aur.
You may use the file as it is, or delete the forward-slash "" and put the 'install' and lower line as one. Sorry about that, the forum posting messes with the formatting.
Once this is done, the "Arch way" would be to add 'rt2400' to your modules array and

ra0="ra0 192.168.1.101 netmask 255.255.255.0 broadcast 192.168.1.255"
INTERFACES=(lo !eth0 ra0)

in your /etc/rc.conf file.
Of course, these values will change depending on your network setup.
Dunno if this matters, but I have also place 'alias ra0 rt2400' to my modprobe.conf file (kernel 2.6).

Offline

#2 2005-05-02 19:28:01

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: [New]RT2400 wireless card drivers

good job

make sure to submit this to the AUR: http://aur.archlinux.org

Offline

#3 2005-05-02 20:07:31

ravster
Member
From: Queen's U, Kingston, Canada
Registered: 2004-05-02
Posts: 285
Website

Re: [New]RT2400 wireless card drivers

Done.
I've also added a page in the wiki for this driver
http://wiki2.archlinux.org/index.php/RT … %20drivers
Thanks for the suggestion.

Offline

#4 2005-07-12 21:46:23

freakyc
Member
Registered: 2004-03-28
Posts: 91

Re: [New]RT2400 wireless card drivers

I thought I'd finally try this after the latest kernel update since I needed to recompile the module anyways.

First, it looks like one of the updates changed something so the latest official package wouldn't build.  As suggested on the main forums, I tried a nightly build which compiled fine, but after a "modprobe rt2400", which went through fine, I can't do an "ifconfig ra0 up".  I believe the error is a "device not found".

I'm just wondering if you've encountered this yet and/or know of a solution.

Oh, I noticed I have /lib/modules/2.6.11.x-ARCH but I only have /lib/modules/2.6.12-ARCH.  I'm guessing that's normal, but I thought I'd throw that out there.

Offline

#5 2005-07-12 21:55:41

freakyc
Member
Registered: 2004-03-28
Posts: 91

Re: [New]RT2400 wireless card drivers

Nevermind, I think I was running into the bug where if you don't set it up quick enough after inserting the module, it causes problems.  A boot into Windows to check the forums and a reboot back has me back online.

Offline

Board footer

Powered by FluxBB