Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Native Airport Extreme Drivers
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3 ... 40, 41, 42  Next  
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sun Dec 04, 2005 7:20 pm    Post subject: Native Airport Extreme Drivers Reply with quote

This thread has been split, please continue here:
https://forums.gentoo.org/viewtopic-t-547687.html


Updated 2007-03-10!
There is nothing ppc specific in these directions.

As of 2.6.17_rc1, bcm43xx is included with the kernel. I recommend using the latest kernel with Larry's patches applied as needed.

To find which card you have:
Code:

lspci -n | grep 14e4:43

This should return something like this:
Quote:

0001:10:11.0 0280: 14e4:4318 (rev 02)

Where 4318 is the card version. Note that many 4306 cards return 4320 instead of 4306.

To use bcm43xx:
1. Emerge a 2.6.17 or newer kernel
2. When configuring the kernel, enable:
Code:
Networking -->
     <M>   Generic IEEE 802.11 Networking Stack
     [*]     Enable full debugging output
     <M>     IEEE 802.11 WEP encryption (802.1x)
     <M>     IEEE 802.11i CCMP support
     <M>     IEEE 802.11i TKIP encryption
     <M>     Software MAC add-on to the IEEE 802.11 networking stack
     [*]       Enable full debugging output

Device Drivers --> Network device support --> Wireless LAN drivers (non-hamradio) & Wireless Extensions
     <M>   Broadcom BCM43xx wireless support
     [*]     Broadcom BCM43xx debugging (RECOMMENDED)

3. Build the kernel as usual
4. Emerge bcm43xx-fwcutter
5. Get firmware from http://linuxwireless.org/en/users/Drivers/bcm43xx
6. Cut and install the firmware
Code:

# mkdir /lib/firmware
# bcm43xx-fwcutter -w /lib/firmware name_of_fw_file

7. Make sure that you have hotplug or >=udev-096 installed for firmware loading support, wireless-tools for the iwconfig tool and wpa_supplicant if you require WPA support.
8. To use the driver, we'll insert the module first
Code:
# modprobe bcm43xx

If this doesn't work, please check dmesg to see what the problem is.

I recommend using wpa_supplicant with Gentoo's net scripts with current kernels (even for non-WPA connections). It's very easy to set up and works well now with bcm43xx.

Board specific notes:
Support for newer cards (4311/4312/4318/4319 chipsets) is progressing slowly. To support these cards properly, work has started on a new set of specs using a newer driver. Please be patient while we figure out what they changed (it's non-trivial). Despite this, it should work at lower rates (11M) for now.

432x and 433x cards (N PHY cards) are not supported at this time and have not even been spec'd yet. It's unlikely that they will be supported in the near future, but they are being worked on.

Big thanks to everyone who has worked on the driver and gotten us this far!
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml


Last edited by JoseJX on Sat Mar 24, 2007 5:54 pm; edited 26 times in total
Back to top
View user's profile Send private message
scoobydu
Veteran
Veteran


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

PostPosted: Mon Dec 05, 2005 12:47 am    Post subject: Reply with quote

Just a big thanks to all involved for their efforts :wink: Never thought I see this happen, a native driver.

scooby
_________________
Tyan Tiger K8W, 2xOpteron 240,Powerbook5,6 15" 1.5g, Macbook Black 2g, Mac Mini 1g, Ipod P60g.
| Linux - From a windows user perspective|


Last edited by scoobydu on Tue Jan 17, 2006 12:06 am; edited 1 time in total
Back to top
View user's profile Send private message
CatOsMandros
n00b
n00b


Joined: 30 Mar 2005
Posts: 7

PostPosted: Mon Dec 05, 2005 7:33 pm    Post subject: Reply with quote

i love you guys :mrgreen:
Back to top
View user's profile Send private message
revolthor
n00b
n00b


Joined: 11 Nov 2004
Posts: 27

PostPosted: Mon Dec 05, 2005 9:17 pm    Post subject: Reply with quote

huzzah! thank you from the bottom of my heart. i am anxious to get this to work, but i am stuck trying to make the softmac source. here's what happens when i run make:
Code:

# cd source
# make
make -C /lib/modules/2.6.15-rc3/build M=/home/arthur/source modules
make[1]: Entering directory '/usr/src/linux-2.6.15-rc3'
  CC [M] /home/arthur/source/ieee80211softmac_assoc.o
/home/arthur/source/ieee80211softmac_assoc.c: In function 'ieee80211softmac_reasoc':
/home/arthur/source/ieee80211softmac_assoc.c:65: error: too few arguments to function
/home/arthur/source/ieee80211softmac_assoc.c:68: error: 'net' undeclared (first use in this function)
/home/arthur/source/ieee80211softmac_assoc.c:68: error: (Each undeclared identifier is reported only once
/home/arthur/source/ieee80211softmac_assoc.c:68: error: for each function it appears in.)
/home/arthur/source/ieee80211softmac_assoc.c: At top level:
/home/arthur/source/ieee80211softmac_assoc.c:61: warning: 'ieee80211softmac_reassoc' defined but not used
/home/arthur/source/ieee80211softmac_assoc.c:87: warning: 'ieee80211softmac_deasoc' defined but not used
make[2]: *** [/home/arthur/source/ieee80211softmac_assoc.o] Error 1
make[1]: *** [_module_/home/arthur/source] Error 2
make[1]: Leaving directory '/usr/src/linux-2.6.15-rc3'
make: *** [modules] Error 2

im pretty sure i have all the kernel stuff set up right but have no clue what's going wrong here.
Back to top
View user's profile Send private message
cocozz
Apprentice
Apprentice


Joined: 31 Jul 2004
Posts: 160

PostPosted: Mon Dec 05, 2005 9:57 pm    Post subject: Reply with quote

Same problem there :)
_________________
Soy tu amigo, amigo .
Back to top
View user's profile Send private message
fuoco
Guru
Guru


Joined: 23 May 2004
Posts: 386
Location: Israel

PostPosted: Mon Dec 05, 2005 10:04 pm    Post subject: Reply with quote

softmac build is a bit broken but you can use an older changeset. maybe try this link:

http://softmac.sipsolutions.net/source/?cmd=archive;node=2167883c86e8ea1917999cafcd9854e3f6494b31;type=gz
Back to top
View user's profile Send private message
cocozz
Apprentice
Apprentice


Joined: 31 Jul 2004
Posts: 160

PostPosted: Mon Dec 05, 2005 10:17 pm    Post subject: Reply with quote

Well...

root@floquet:/home/cocozz/Programas/softmac/source# tar -xvvzf ../softmac-source-repository-2167883c86e8.tar.gz
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors
_________________
Soy tu amigo, amigo .
Back to top
View user's profile Send private message
darklesi
n00b
n00b


Joined: 23 Jul 2004
Posts: 12
Location: Portugal

PostPosted: Mon Dec 05, 2005 10:56 pm    Post subject: Reply with quote

Hi there :D

Well maybe you will want to try tar -xf softmac-source-repository-2167883c86e8.tar.gz cause this is not a .gz file :)

However, i can compile it but i can't insert it :S
Code:

insmod: error inserting 'ieee802111softmac.ko': -1 Unknown symbol in module


Thanks in advance ;)
Back to top
View user's profile Send private message
bz31
Tux's lil' helper
Tux's lil' helper


Joined: 20 Apr 2005
Posts: 108

PostPosted: Mon Dec 05, 2005 11:05 pm    Post subject: Reply with quote

darklesi wrote:
Hi there :D

Well maybe you will want to try tar -xf softmac-source-repository-2167883c86e8.tar.gz cause this is not a .gz file :)

However, i can compile it but i can't insert it :S
Code:

insmod: error inserting 'ieee802111softmac.ko': -1 Unknown symbol in module


Thanks in advance ;)
ieee80211softmac.ko, not 2111
Or maybe load first the module ieee80211.
Back to top
View user's profile Send private message
darklesi
n00b
n00b


Joined: 23 Jul 2004
Posts: 12
Location: Portugal

PostPosted: Mon Dec 05, 2005 11:11 pm    Post subject: Reply with quote

Thanks man, i think i was sleeping when i was doing this ... forgot to modprobe de module first!

Cheers :D
Back to top
View user's profile Send private message
nbarrientos
n00b
n00b


Joined: 05 Dec 2005
Posts: 5

PostPosted: Mon Dec 05, 2005 11:13 pm    Post subject: Reply with quote

All working OK.

Thank you.
Back to top
View user's profile Send private message
cocozz
Apprentice
Apprentice


Joined: 31 Jul 2004
Posts: 160

PostPosted: Mon Dec 05, 2005 11:40 pm    Post subject: Reply with quote

root@floquet:/home/cocozz/Programas/bcm43/trunk/fwcutter# ./fwcutter AppleAirPort2
Driver version unknown or wrong input file.


:roll: Too newer driver version ? Im on an ibook g4
_________________
Soy tu amigo, amigo .
Back to top
View user's profile Send private message
bz31
Tux's lil' helper
Tux's lil' helper


Joined: 20 Apr 2005
Posts: 108

PostPosted: Mon Dec 05, 2005 11:48 pm    Post subject: Reply with quote

cocozz wrote:
root@floquet:/home/cocozz/Programas/bcm43/trunk/fwcutter# ./fwcutter AppleAirPort2
Driver version unknown or wrong input file.


:roll: Too newer driver version ? Im on an ibook g4
I had the same problem.
I download this driver : http://www.apple.com/support/downloads/airport42formacosx1033.html and extract the AppleAirPort2 file.
Back to top
View user's profile Send private message
nbarrientos
n00b
n00b


Joined: 05 Dec 2005
Posts: 5

PostPosted: Tue Dec 06, 2005 12:07 am    Post subject: Reply with quote

$ sha1sum AppleAirPort2
0d9893651e0a245564504ee497c0253471d71434 AppleAirPort2

works nice, panther version IIRC.

Regards,
Back to top
View user's profile Send private message
cocozz
Apprentice
Apprentice


Joined: 31 Jul 2004
Posts: 160

PostPosted: Tue Dec 06, 2005 12:17 am    Post subject: Reply with quote

Well one more problem ( maybe the last ? :P ).

I cant insert the module

root@floquet:/home/cocozz/Programas/bcm43/trunk/driver# insmod bcm43xx.ko
insmod: error inserting 'bcm43xx.ko': -1 Unknown symbol in module

What can I be missing ?
_________________
Soy tu amigo, amigo .
Back to top
View user's profile Send private message
nbarrientos
n00b
n00b


Joined: 05 Dec 2005
Posts: 5

PostPosted: Tue Dec 06, 2005 12:25 am    Post subject: Reply with quote

[quote="cocozz"]Well one more problem ( maybe the last ? :P ).

I cant insert the module

root@floquet:/home/cocozz/Programas/bcm43/trunk/driver# insmod bcm43xx.ko
insmod: error inserting 'bcm43xx.ko': -1 Unknown symbol in module

modprobe firmware_class
Back to top
View user's profile Send private message
cocozz
Apprentice
Apprentice


Joined: 31 Jul 2004
Posts: 160

PostPosted: Tue Dec 06, 2005 12:27 am    Post subject: Reply with quote

Says not found :(
_________________
Soy tu amigo, amigo .
Back to top
View user's profile Send private message
nbarrientos
n00b
n00b


Joined: 05 Dec 2005
Posts: 5

PostPosted: Tue Dec 06, 2005 12:31 am    Post subject: Reply with quote

cocozz wrote:
Says not found :(


CONFIG_FW_LOADER=m in your 2.6.15-rcX config file.

Regards,
Back to top
View user's profile Send private message
cocozz
Apprentice
Apprentice


Joined: 31 Jul 2004
Posts: 160

PostPosted: Tue Dec 06, 2005 12:36 am    Post subject: Reply with quote

Yes ,

root@floquet:/usr/src/linux-2.6.15-rc5# cat config | grep FW_LOADER
CONFIG_FW_LOADER=m

:cry:
_________________
Soy tu amigo, amigo .
Back to top
View user's profile Send private message
nbarrientos
n00b
n00b


Joined: 05 Dec 2005
Posts: 5

PostPosted: Tue Dec 06, 2005 12:43 am    Post subject: Reply with quote

cocozz wrote:
Yes ,

root@floquet:/usr/src/linux-2.6.15-rc5# cat config | grep FW_LOADER
CONFIG_FW_LOADER=m

:cry:


bcm43xx 413332 0
arc4 1664 0
firmware_class 9504 1 bcm43xx
ieee80211_crypt_wep 5024 0
ieee80211_crypt_tkip 11520 0
ieee80211_crypt_ccmp 7360 0
ieee80211softmac 32000 1 bcm43xx
ieee80211 44468 2 bcm43xx,ieee80211softmac
ieee80211_crypt 5408 4 ieee80211_crypt_wep,ieee80211_crypt_tkip,ieee80211_crypt_ccmp,ieee80211

bed time, good luck.
Back to top
View user's profile Send private message
bz31
Tux's lil' helper
Tux's lil' helper


Joined: 20 Apr 2005
Posts: 108

PostPosted: Tue Dec 06, 2005 12:53 am    Post subject: Reply with quote

cocozz wrote:
Well one more problem ( maybe the last ? :P ).

I cant insert the module

root@floquet:/home/cocozz/Programas/bcm43/trunk/driver# insmod bcm43xx.ko
insmod: error inserting 'bcm43xx.ko': -1 Unknown symbol in module

What can I be missing ?
I had also the same problem on my debian.
I "cp bcm43xx.ko" to the directory of kernel modules, then did a "depmod", then "modprobe bcm43xx.ko".
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Tue Dec 06, 2005 1:35 am    Post subject: Reply with quote

Sorry about the softmac breakage, it's fixed in my repo.
Merged... please use the official repo again
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml


Last edited by JoseJX on Tue Dec 06, 2005 4:11 pm; edited 1 time in total
Back to top
View user's profile Send private message
simprix
n00b
n00b


Joined: 01 Mar 2003
Posts: 4

PostPosted: Tue Dec 06, 2005 2:16 am    Post subject: won't work Reply with quote

I am using vanilla-sources 2.6.15-rc4


i can not assign a ip address or set it to scan.
I have this in dmesg

bcm43xx: Unknown symbol ieee80211_wx_set_encode
bcm43xx: Unknown symbol ieee80211_wx_get_encode
bcm43xx: Unknown symbol ieee80211softmac_wx_set_rate
bcm43xx: Unknown symbol ieee80211_txb_free
bcm43xx: Unknown symbol alloc_ieee80211softmac
bcm43xx: Unknown symbol ieee80211softmac_wx_trigger_scan
bcm43xx: Unknown symbol ieee80211softmac_wx_get_scan_results
bcm43xx: Unknown symbol ieee80211_set_geo
bcm43xx: Unknown symbol ieee80211softmac_start
bcm43xx: Unknown symbol ieee80211softmac_wx_set_essid
bcm43xx: Unknown symbol ieee80211_rx
bcm43xx: Unknown symbol ieee80211softmac_wx_get_rate
bcm43xx: Unknown symbol ieee80211_rx_mgt
bcm43xx: Unknown symbol ieee80211_get_geo
bcm43xx: Unknown symbol ieee80211softmac_wx_get_essid
bcm43xx: Unknown symbol ieee80211softmac_stop
bcm43xx: Unknown symbol free_ieee80211softmac
ieee80211_crypt: registered algorithm 'NULL'
ieee80211: 802.11 data/management/control stack, git-1.1.7
ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
bcm43xx: no version for "ieee80211softmac_wx_set_rate" found: kernel tainted.
bcm43xx driver 0.0.1
PCI: Enabling device 0001:10:12.0 (0004 -> 0006)
bcm43xx: Chip ID 0x4306, rev 0x2
bcm43xx: Number of cores: 6
bcm43xx: Core 0: ID 0x800, rev 0x2, vendor 0x4243, enabled
bcm43xx: Core 1: ID 0x812, rev 0x4, vendor 0x4243, disabled
bcm43xx: Core 2: ID 0x80d, rev 0x1, vendor 0x4243, enabled
bcm43xx: Core 3: ID 0x807, rev 0x1, vendor 0x4243, disabled
bcm43xx: Core 4: ID 0x804, rev 0x7, vendor 0x4243, enabled
bcm43xx: Core 5: ID 0x812, rev 0x4, vendor 0x4243, disabled
bcm43xx: Ignoring additional 802.11 core.
bcm43xx: Detected PHY: Version: 1, Type 2, Revision 1
bcm43xx: Detected Radio: ID: 2205017f (Manuf: 17f Ver: 2050 Rev: 2)
bcm43xx: Radio turned off
bcm43xx: Radio turned off
SoftMAC: /home/simprix/softmac-source-repository-2167883c86e8/ieee80211softmac_a ssoc.c:107:ieee80211softmac_assoc_work()
SoftMAC: associate: network not known, trying to initiate scan: failed.
bcm43xx: Error: Microcode "bcm43xx_microcode4.fw" not available or load failed.
bcm43xx: Error: Microcode "bcm43xx_microcode4.fw" not available or load failed.
ieee80211: 802.11 data/management/control stack, git-1.1.7
ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
ieee80211_crypt: registered algorithm 'WEP'
ieee80211_crypt: registered algorithm 'TKIP'
ieee80211_crypt: registered algorithm 'CCMP'
bcm43xx driver 0.0.1
bcm43xx: Chip ID 0x4306, rev 0x2
bcm43xx: Number of cores: 6
bcm43xx: Core 0: ID 0x800, rev 0x2, vendor 0x4243, enabled
bcm43xx: Core 1: ID 0x812, rev 0x4, vendor 0x4243, enabled
bcm43xx: Core 2: ID 0x80d, rev 0x1, vendor 0x4243, enabled
bcm43xx: Core 3: ID 0x807, rev 0x1, vendor 0x4243, disabled
bcm43xx: Core 4: ID 0x804, rev 0x7, vendor 0x4243, enabled
bcm43xx: Core 5: ID 0x812, rev 0x4, vendor 0x4243, disabled
bcm43xx: Ignoring additional 802.11 core.
bcm43xx: Detected PHY: Version: 1, Type 2, Revision 1
bcm43xx: Detected Radio: ID: 2205017f (Manuf: 17f Ver: 2050 Rev: 2)
bcm43xx: Radio turned off
bcm43xx: Radio turned off
SoftMAC: /home/simprix/softmac-source-repository-2167883c86e8/ieee80211softmac_a ssoc.c:107:ieee80211softmac_assoc_work()
SoftMAC: associate: network not known, trying to initiate scan: failed.
bcm43xx: Error: Microcode "bcm43xx_microcode4.fw" not available or load failed.


I am using a tiger driver
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Tue Dec 06, 2005 3:08 am    Post subject: Reply with quote

simprix: You either don't have hotplug firmware loading correctly or you skipped the step on extracting the firmware.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
Cenrim
Tux's lil' helper
Tux's lil' helper


Joined: 04 Dec 2004
Posts: 142
Location: Germany

PostPosted: Tue Dec 06, 2005 9:19 am    Post subject: Reply with quote

the AppleAirport2 from my panther DVD didn't worked, so I had to download some drivers from the README but it seems, not every driver got the needed firmware
once I got a dmesg line similar to simplex'
Code:
bcm43xx: Error: Microcode "bcm43xx_microcode4.fw" not available or load failed.
bcm43xx: Error: Microcode "bcm43xx_microcode4.fw" not available or load failed.

so I tried another one and another one... ::)
(bash's for is your friend ;))

after 5 rebuild kernels and modules I got a combination, that seems to work, but I can't set the channel
watching with iwevent I get a message about setting channel to "0", no matter what my arguments for iwconfig are

now stuck with Panther again... :roll:
_________________
[/garbage]
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Goto page 1, 2, 3 ... 40, 41, 42  Next
Page 1 of 42

 
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