Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Atheros Wireless on Powerbook - A Simple How-To
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
ortcutt
n00b
n00b


Joined: 17 Jun 2004
Posts: 8

PostPosted: Tue Apr 26, 2005 7:36 am    Post subject: Atheros Wireless on Powerbook - A Simple How-To Reply with quote

As many of you know, Airport Extreme doesn't work under Linux. However, Powerbook users with PCMCIA slots can pick up cheap Atheros-based cards for little money. I bought one for $19 and am writing this over it right now. The following worked for me.

1. Download Madwifi. http://madwifi.otaku42.de/madwifi-cvs-current.tar.bz2
2. Make sure that you have shar-utils installed. Emerge it if you don't.
3. Untar the archive and cd to the madwifi directory.
4. export TARGET="powerpc-be-eabi"
5. export TOOLPREFIX="/usr/bin/"
6. make
7. make install
8. Let coldplug/hotplug worry about loading the modules on reboot.
9. Don't forget to bring ath0 up and run dhcpcd if necessary.

Let me know if there are any problems or suggestions.
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Tue Apr 26, 2005 3:39 pm    Post subject: Reply with quote

Madwifi is in portage, does this work for you? Try emerging madwifi-driver and madwifi-tools.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
ortcutt
n00b
n00b


Joined: 17 Jun 2004
Posts: 8

PostPosted: Tue Apr 26, 2005 4:50 pm    Post subject: Reply with quote

>Madwifi is in portage, does this work for you? Try emerging madwifi-driver and madwifi-tools.

I checked packages.gentoo.org and both are listed as not available for ppc. Do the ebuilds work on ppc? If so, shouldn't they be marked as testing?
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Tue Apr 26, 2005 4:54 pm    Post subject: Reply with quote

We can't mark something as testing if it hasn't been tested yet! You can mark the ebuild ppc yourself and see if it works. If it does work for you, please make a bug in bugzilla so we can mark it testing in the portage tree.

Thanks!
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
ortcutt
n00b
n00b


Joined: 17 Jun 2004
Posts: 8

PostPosted: Tue Apr 26, 2005 10:13 pm    Post subject: Reply with quote

Sorry, I thought you were implying above that it did work. I don't know. I'll have to look at it later. It would certainly be easier to use emerge to install but powerbook users can use the instructions above in the mean time. I'm sure that someone who understands ebuilds more than me could read the instructions above and get the build working on ppc in little time.
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Wed Apr 27, 2005 1:09 am    Post subject: Reply with quote

Actually, the problem is that no developer has tested the package yet, we don't have the hardware. It most likely *does* work on ppc, especially if you've gotten the drivers to work from upstream. All we need is for someone to try the package and report if it works so we can keyword the package accordingly.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
ortcutt
n00b
n00b


Joined: 17 Jun 2004
Posts: 8

PostPosted: Wed Apr 27, 2005 5:54 pm    Post subject: Ebuilds Reply with quote

I looked at the ebuild files and they don't have any code for setting the TARGET variable to "powerpc-be-eabi" for ppc, so I doubt they would work on ppc as is. However, I think that would be simple to fix. I will try to fix it and submit a patch once I have looked through the ebuild documentation.
Back to top
View user's profile Send private message
system606
n00b
n00b


Joined: 12 Aug 2005
Posts: 1

PostPosted: Wed Aug 17, 2005 4:32 am    Post subject: Reply with quote

I did everything in your first post ortcutt but when i issue the make command im getting the error

Code:
/usr/bin/ld: /root/madwifi/ath_hal/hal.o: Relocations in generic ELF (EM: 3)
/root/madwifi/ath_hal/hal.o: could not read symbols: file in wrong format
make[3]: *** [/root/madwifi/ath_hal/ath_hal.o] Error 1
make[2]: *** [_module_/root/madwifi/ath_hal] Error 2


any ideas?
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