Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
2.6.24-gentoo-r3 and USB wireless with rt2x00 on PPC?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
prairie_dad
n00b
n00b


Joined: 02 Aug 2007
Posts: 68
Location: Denver, CO

PostPosted: Thu Mar 27, 2008 2:22 am    Post subject: 2.6.24-gentoo-r3 and USB wireless with rt2x00 on PPC? Reply with quote

Hi all,

I have a G4 (7450) with the latest kernel, and both D-Link and Addlogix wireless dongles. I've played around a little with /etc/conf.d/net and now get: a green light on the dongle; iwconfig shows that it's talking to the right access point (it shows the AP's MAC address) but no connection...so now what? When I go into KDE's network setup "control panel" to enable the wireless interface, it "enables" for a second, then goes back to red, disconnected...Not sure what to do next. I pored over (the now deprecated) /etc/conf.d/wireless for hints, and that got me a certain distance (the more or less comforting iwconfig readings) but not quite all the way.

What am I not doing right? Any files you need to see? some other driver still needed? I can't quite tell what is actually on...I think I got the correct kernel configuration, but there are a lot of steps here! Is the rt2x00 option enough by itself (it's supposed to be) or do I need to include rt...is it 61, or 73...or 2500 in the kernel compile?

Any thoughts would be most appreciated...this has been the holy grail for me for some months!

thanks

dave
Back to top
View user's profile Send private message
gringo
Advocate
Advocate


Joined: 27 Apr 2003
Posts: 3793

PostPosted: Thu Mar 27, 2008 2:32 pm    Post subject: Reply with quote

(Actually i was under the impression that there was no working rt2x00 driver for ppc, but it looks like i was wrong even if all rt drivers are not ppc marked in the tree). I searched a bit and it looks like that you have to pull from cvs to have something that actually works in ppc.

What driver are you using ? I asume you have to use rt2x00-9999

cheers
_________________
Error: Failing not supported by current locale
Back to top
View user's profile Send private message
prairie_dad
n00b
n00b


Joined: 02 Aug 2007
Posts: 68
Location: Denver, CO

PostPosted: Sat Mar 29, 2008 6:07 pm    Post subject: other drivers than are included in the kernel? Reply with quote

gringo wrote:
(Actually i was under the impression that there was no working rt2x00 driver for ppc, but it looks like i was wrong even if all rt drivers are not ppc marked in the tree). I searched a bit and it looks like that you have to pull from cvs to have something that actually works in ppc.

What driver are you using ? I asume you have to use rt2x00-9999

cheers


It seems that I have wandered out of my depth here...I assumed that with the inclusion of rt2x00 in the 2.6.24 kernel, the devices I have would be essentially plug and play, provided I included the right options when I compiled the kernel...much as an external hard drive or cd-dvd device is...and the fact that I now get a green light on the device, and see it in iwconfig, suggested that I was right, at least to me, at least part way.

If that is not the case, I am indeed somewhat at a loss. The dates of rt2x00 and rt2570 on packages.gentoo (which I think are the two most likely candidates to work) are far older than the kernel I'm using...why on earth would I want to include them? And, for that matter, how would I include them?

I have no idea about using cvs or git...is there a document on the topic. Always willing to try/learn.

sorry for being such a prat.

thanks,

dave
Back to top
View user's profile Send private message
prairie_dad
n00b
n00b


Joined: 02 Aug 2007
Posts: 68
Location: Denver, CO

PostPosted: Sun Mar 30, 2008 5:33 pm    Post subject: modprobe -l results include... Reply with quote

/lib/modules/2.6.24-gentoo-r3/kernel/drivers/net/wireless/rt2x00/rt2x00lib.ko
/lib/modules/2.6.24-gentoo-r3/kernel/drivers/net/wireless/rt2x00/rt2x00usb.ko
/lib/modules/2.6.24-gentoo-r3/kernel/drivers/net/wireless/rt2x00/rt2500usb.ko

and

/lib/modules/2.6.24-gentoo-r3/kernel/net/wireless/cfg80211.ko

and

/lib/modules/2.6.24-gentoo-r3/kernel/net/mac80211/mac80211.ko
/lib/modules/2.6.24-gentoo-r3/kernel/net/ieee80211/ieee80211.ko
/lib/modules/2.6.24-gentoo-r3/kernel/net/ieee80211/ieee80211_crypt_tkip.ko
/lib/modules/2.6.24-gentoo-r3/kernel/net/ieee80211/ieee80211_crypt.ko
/lib/modules/2.6.24-gentoo-r3/kernel/net/ieee80211/ieee80211_crypt_wep.ko
/lib/modules/2.6.24-gentoo-r3/kernel/net/ieee80211/ieee80211_crypt_ccmp.ko

among many others...so I assume I have what I need, more or less. Ought I still be wading into cvs (I have the documentation open before me) and git (from the serialmonkey web site) cogito, etc.?

thanks,

dave
Back to top
View user's profile Send private message
prairie_dad
n00b
n00b


Joined: 02 Aug 2007
Posts: 68
Location: Denver, CO

PostPosted: Sun Mar 30, 2008 11:16 pm    Post subject: okay, so I have the latest git tree...now what? Reply with quote

I followed the instructions at the rt2x00.serialmonkey site to get the complete git tree, including, obviously, the source code for the rt2x00 drivers:
Code:

-rw-r--r-- 1 root root 27054 Mar 30 13:12 rt2x00.h
-rw-r--r-- 1 root root  8842 Mar 30 13:12 rt2x00config.c
-rw-r--r-- 1 root root 16671 Mar 30 13:12 rt2x00debug.c
-rw-r--r-- 1 root root  1614 Mar 30 13:12 rt2x00debug.h
-rw-r--r-- 1 root root 34237 Mar 30 13:12 rt2x00dev.c
-rw-r--r-- 1 root root  4146 Mar 30 13:12 rt2x00dump.h
-rw-r--r-- 1 root root  2702 Mar 30 13:12 rt2x00firmware.c
-rw-r--r-- 1 root root  5854 Mar 30 13:12 rt2x00leds.c
-rw-r--r-- 1 root root  1291 Mar 30 13:12 rt2x00leds.h
-rw-r--r-- 1 root root  6193 Mar 30 13:12 rt2x00lib.h
-rw-r--r-- 1 root root 15620 Mar 30 13:12 rt2x00mac.c
-rw-r--r-- 1 root root 12608 Mar 30 13:12 rt2x00pci.c
-rw-r--r-- 1 root root  4496 Mar 30 13:12 rt2x00pci.h
-rw-r--r-- 1 root root  7032 Mar 30 13:12 rt2x00queue.c
-rw-r--r-- 1 root root 13849 Mar 30 13:12 rt2x00queue.h
-rw-r--r-- 1 root root  4721 Mar 30 13:12 rt2x00reg.h
-rw-r--r-- 1 root root  5685 Mar 30 13:12 rt2x00rfkill.c
-rw-r--r-- 1 root root 17441 Mar 30 13:12 rt2x00usb.c
-rw-r--r-- 1 root root  8984 Mar 30 13:12 rt2x00usb.h


and so forth. Now what?

I can put their names in the /etc/modules.autoload.d/kernel-2.6 folder...but how does the compiler find the source...surely I have to put all those files somewhere accessible? Or put the .o or .ko files somewhere accessible...? Not sure how to do that.

Also, the CVS suggestion escapes me entirely...not at all sure what to use as the cvs root...serialmonkey says explicitly that the rt2x00 files are to be found using git...never mentions cvs.

thoughts? pointers?

thanks,

dave
Back to top
View user's profile Send private message
echo6
Guru
Guru


Joined: 04 Jan 2003
Posts: 587

PostPosted: Thu Apr 17, 2008 10:13 pm    Post subject: Reply with quote

It's been a while since I last checked out the rt2x00 drivers, I had some correspondence with the author regarding ppc at the time the driver did not work or I had to manually configure the mac address. I was using something like this to manually build the cvs tree.
Code:

wget http://rt2x00.serialmonkey.com/rt2570-cvs-daily.tar.gz
tar zxvf rt2570-cvs-daily.tar.gz
cd rt2570-cvs-2008041716/Module
make
make install


btw wget http://rt2x00.serialmonkey.com/rt2x00-cvs-daily.tar.gz also works.

Hope this helps.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum