Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Airport Extreme snapshot ebuilds (out-of-tree)
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Tue Mar 14, 2006 3:49 am    Post subject: Airport Extreme snapshot ebuilds (out-of-tree) Reply with quote

Since some people (e.g. me) seem to be having trouble with the bcm43xx drivers, and since the bcm43xx ebuilds in Portage are somewhat out of date, I thought I'd publicise my line of bcm43xx ebuilds. I'm starting a new thread because I don't want to clog up the main bcm43xx thread with ebuild issues.

Currently:

  • bcm43xx: 20060320
  • ieee80211softmac: 20060320
  • No dscape support, since I don't use it, but if someone has dscape ebuilds I'll be happy to add them to my tree

Reasons you'd want to use them: they build out-of-tree (no messing around with patching kernels) and work with the current 2.6.15 gentoo-sources kernel. Edit: after some changes they also work with 2.6.16.

Location: in my svn tree, http://catmur.co.uk/svn/repos/gentoo/tree/net-wireless/ (use svn to sync) and viewcvs at http://catmur.co.uk/cgi-bin/viewcvs/viewcvs.cgi/svn/gentoo/tree/net-wireless/

Any trouble, bump requests, patch requests, post here.
_________________
No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS?


Last edited by ecatmur on Fri Mar 24, 2006 10:00 pm; edited 3 times in total
Back to top
View user's profile Send private message
gringo
Advocate
Advocate


Joined: 27 Apr 2003
Posts: 3793

PostPosted: Tue Mar 14, 2006 10:24 am    Post subject: Reply with quote

nice, thanks ecatmur :D

saluetes
Back to top
View user's profile Send private message
KeyserZero
n00b
n00b


Joined: 21 Mar 2005
Posts: 68

PostPosted: Tue Mar 14, 2006 12:24 pm    Post subject: Reply with quote

Hey!

Greate work...

Greetz
_________________
www.ruby-lang.org
Back to top
View user's profile Send private message
mauldus
n00b
n00b


Joined: 04 Apr 2003
Posts: 28
Location: Los Gatos, CA

PostPosted: Fri Mar 17, 2006 5:57 am    Post subject: Reply with quote

Thanks for the awesome work ecatmur. It is really appreciated.

I've been trying for some time to get this to work. Maybe I'm missing something obvious. I'm running 2.6.15-gentoo-r1. I left out ieee80211 drivers from my kernel. I imported the bcm43xx and ieee80211softmac ebuild dirs into the tree and emerged them just fine. I made the /lib/firmware dir. I ran bcm43xx-fwcutter -w /lib/firmware AppleAirPort2. I modprobed bcm43xx and all i get is "bcm43xx driver" showing up in dmesg. So I go ahead anyway and added eth1 with "ifconfig eth1 up" then tried "iwlist eth1 scan". I get the same thing "eth1 Interface doesn't support scanning : No such device". So the driver's not finding my card or what? I expected to see a eth1 show up in dmesg like regular nic's but this isn't the case. What am I missing here?

Thanks again to everyone for their time.
Back to top
View user's profile Send private message
KeyserZero
n00b
n00b


Joined: 21 Mar 2005
Posts: 68

PostPosted: Fri Mar 17, 2006 7:23 am    Post subject: Reply with quote

Hey

I don't know why but when i run the driver it will port it to eth2 and not to eth1!

Run iwconfig and have a look witch device is your Bcm-Card and then bring the right device up with ifconfig.

Greetz
_________________
www.ruby-lang.org
Back to top
View user's profile Send private message
scoobydu
Veteran
Veteran


Joined: 16 Feb 2003
Posts: 1076
Location: 'Mind the Gap'

PostPosted: Fri Mar 17, 2006 3:08 pm    Post subject: Reply with quote

Nice, thanks for the work ;)

Would you happen to know if these builds work with WPA/WPA2?

I can't get 80211 to work at all.

dscape works better but is somewhat hit and miss if it'll initialise the hardware.

Regards
_________________
Tyan Tiger K8W, 2xOpteron 240,Powerbook5,6 15" 1.5g, Macbook Black 2g, Mac Mini 1g, Ipod P60g.
| Linux - From a windows user perspective|
Back to top
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Fri Mar 17, 2006 3:47 pm    Post subject: Reply with quote

Sorry, I don't use WPA/WPA2. I guess it depends on what the softmac driver is capable of.
_________________
No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS?
Back to top
View user's profile Send private message
gringo
Advocate
Advocate


Joined: 27 Apr 2003
Posts: 3793

PostPosted: Fri Mar 17, 2006 6:18 pm    Post subject: Reply with quote

i dont use it too, but i thought WPA was only possible with dscape ?
Btw, softmac works great here, didnt playied much with dscape yet, had no need to ;)

cheers
Back to top
View user's profile Send private message
Fugee47
Apprentice
Apprentice


Joined: 25 Nov 2004
Posts: 196
Location: Germany

PostPosted: Fri Mar 17, 2006 6:34 pm    Post subject: Reply with quote

for wpa you have to use the wpa_supplicant.
I had it working with dscape and after a fresh install i switched to softmac, because patching of the kernel was not neccessary anymore.
and again, with wpa_supplicant i got a connection :D
Back to top
View user's profile Send private message
scoobydu
Veteran
Veteran


Joined: 16 Feb 2003
Posts: 1076
Location: 'Mind the Gap'

PostPosted: Fri Mar 17, 2006 6:41 pm    Post subject: Reply with quote

ecatmur wrote:
Sorry, I don't use WPA/WPA2. I guess it depends on what the softmac driver is capable of.


Ok, no probs thx. dscape works sometimes but softmac no for me on my powerbook.
_________________
Tyan Tiger K8W, 2xOpteron 240,Powerbook5,6 15" 1.5g, Macbook Black 2g, Mac Mini 1g, Ipod P60g.
| Linux - From a windows user perspective|
Back to top
View user's profile Send private message
mauldus
n00b
n00b


Joined: 04 Apr 2003
Posts: 28
Location: Los Gatos, CA

PostPosted: Sat Mar 18, 2006 8:44 am    Post subject: Reply with quote

KeyserZero wrote:
un iwconfig and have a look witch device is your Bcm-Card and then bring the right device up with ifconfig.


That was exactly it. Why doesn't anyone mention that in the howto's. lol

Thank you so much!
Ciao.
Back to top
View user's profile Send private message
qleak
n00b
n00b


Joined: 17 Jun 2005
Posts: 67

PostPosted: Sat Mar 18, 2006 8:18 pm    Post subject: Reply with quote

ieee80211softmac: 20060309

Is this ebuild compatible with the ieee80211 support in the kernel, or should it be disabled?

I'm trying to get WPA to work for softmac, but no luck yet. I think I'll try this ebuild.

Fugee47: Did you do anything special to wpa_supplicant to get it working with dscape?
I thought I remembered some special patching was necessary, but this info might be out of date.

-Q
Back to top
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Sat Mar 18, 2006 8:48 pm    Post subject: Reply with quote

Yes, the in-kernel ieee80211 should be disabled. The ebuild provides an improved ieee80211 module.
_________________
No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS?
Back to top
View user's profile Send private message
Fugee47
Apprentice
Apprentice


Joined: 25 Nov 2004
Posts: 196
Location: Germany

PostPosted: Sat Mar 18, 2006 11:18 pm    Post subject: Reply with quote

qleak: yes, wpa_supplicant was patched for dscape.

this softmac-version is "unstable" for me. Sometimes it gets connectes to my router, but mostly not :evil:
even getting a connection after unloading and loading the modules again doesnt work, only after a reboot .... (when i have luck ....)


seems i solved my problem. i have made a script for loading the modules and connecting to my router, but it seems that it needs some "little" time for the device to come up ... and the script wanted to connect while the device was not ready. when i load the modules and wait a few seconds, than i get the connection :D
Back to top
View user's profile Send private message
qleak
n00b
n00b


Joined: 17 Jun 2005
Posts: 67

PostPosted: Sun Mar 26, 2006 11:47 pm    Post subject: Reply with quote

This is entirely ignorance on my part, but how does one go about building an ebuild outside of the portage tree?

I've downloaded the following

ieee80211softmac-0.1-r20060320.ebuild
bcm43xx-0.0.1-r20060320.ebuild

now what ? :-)

all the best regards,

-Q
_________________
(\ /)
(O.o)
(> <)
This is Frank. He made me flood the school.
Back to top
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Mon Mar 27, 2006 1:08 am    Post subject: Reply with quote

Uh, you also need to download the patch files (in files/). See http://gentoo-wiki.com/HOWTO_Installing_3rd_Party_Ebuilds and http://gentoo-wiki.com/TIP_Overlays .
_________________
No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS?
Back to top
View user's profile Send private message
srpape
n00b
n00b


Joined: 25 Jun 2004
Posts: 11

PostPosted: Mon Mar 27, 2006 11:19 pm    Post subject: Reply with quote

Server just times out for me. :(

Edit:
Nevermind, finally got it. :)
Back to top
View user's profile Send private message
srpape
n00b
n00b


Joined: 25 Jun 2004
Posts: 11

PostPosted: Mon Mar 27, 2006 11:55 pm    Post subject: Reply with quote

Same problem when I try to use a 2.6.16 kernel and the lastest drivers. :(

dmesg says "SoftMac: Authentication response received from 00:13:c2:53:a2:48 but no queue item exists." a bunch of times when i try to associate. The default portage bcm43xx ebuild works, but I get a lot of packet loss. Ndiswrapper works fine, but no kismet. Kismet and iwlist work with this ebuild, but no associating.

Im not using any authentication, just an open network.

Right now I just switch back and forth between bcm43xx and ndiswrapper. Would be nice to use bcm43xx all the time though.
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Wed Mar 29, 2006 11:55 pm    Post subject: Reply with quote

ecatmur:

Thanks for the ebuilds, I've updated the versions in the tree. I've been busy working on the specs for 4318 chipsets, so hopefully we'll see better performance soon. :)
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
cchapman
Guru
Guru


Joined: 16 Jan 2003
Posts: 440
Location: Fremont, NE

PostPosted: Sat Apr 01, 2006 6:01 am    Post subject: Reply with quote

FYI: This is was patched on Apple iBook G4
I have a patched 2.6.16 kernel (no hunks when patching) and working on an ebuild for it...

I am also working on an ebuild for the fwcutter package....(almost 100%)

quick question? if I submit the patched kernel in tar.bz2 format plus the ebuild will that get imported into the portage tree... i am giving it a name
bcm43xx-gentoo-sources (because it is patched against the 2.6.16 gentoo-sources source tree) and btw this kernel was compiled on my iBook G4 and so was the fwcutter binary created from my ebuild and yes i have my Airport Extreme card working woohoo

i think that would help out a lot of people from having to manually patching there kernel....

i will post my results and ebuilds when i have them finished


EDIT: For some reason when i try to do 'make menuconfig' with no .config in /usr/src/linux and try and go to the IEEE802.11 stack options it will not let me make it a module, however if i do a 'make allmodconfig' it then enables me to compile as a module (course then i have a crap load of unneeded stuff). Is this a problem with the 'make menuconfig' command?
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sat Apr 01, 2006 11:20 pm    Post subject: Reply with quote

It won't be included, sorry. The bcm43xx driver has already been accepted for inclusion in the 2.6.17 kernel, so patching shouldn't even be a requirement in the near future. :)
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
cchapman
Guru
Guru


Joined: 16 Jan 2003
Posts: 440
Location: Fremont, NE

PostPosted: Sun Apr 02, 2006 7:14 am    Post subject: Reply with quote

what about the fwcutter package...?

And dang on your previuos post... i wanted to submit an ebuild..
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sun Apr 02, 2006 1:48 pm    Post subject: Reply with quote

Sure, I'll take an ebuild for bcm43xx-fwcutter. It should be pretty easy to write, all that you need is already in the bcm43xx ebuild we have now. It's just not worth it for a new kernel ebuild, it's just not worth the effort since bcm43xx has been accepted upstream already. Sorry. :(
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
cchapman
Guru
Guru


Joined: 16 Jan 2003
Posts: 440
Location: Fremont, NE

PostPosted: Sun Apr 02, 2006 7:39 pm    Post subject: Reply with quote

Should the fwcutter be seperate then? If the new kernel is going to have the drivers built in.
I looked at the ebuild and its an standalone for the bcm43xx driver.. and it did the fwcutter piece in there..

I will work on this if is not going to be redundant work...
Back to top
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Tue Apr 04, 2006 3:21 pm    Post subject: Reply with quote

In general, ebuilds for kernel patchsets are unlikely to be acccepted, especially when the same modules can be built with an out-of-kernel modular ebuild; patchsets can't be mixed easily and are far harder to maintain in parallel with the main gentoo-sources than are out-of-kernel modules.

A fwcutter ebuild should be fairly easy; just remove the bcm43xx modular stuff from the bcm43xx ebuild.
_________________
No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS?
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
Goto page 1, 2  Next
Page 1 of 2

 
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