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

Goto page Previous  1, 2, 3 ... 36, 37, 38 ... 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: Sat Dec 16, 2006 1:46 am    Post subject: Reply with quote

Your dmesg is telling you what's wrong:
Quote:

Dec 16 00:11:12 [kernel] bcm43xx: Firmware: no support for microcode rev > 0x128


If you're using SoftMAC, you need a v3 firmware. If you're using Devicescape, you need a v4 firmware.
Take a look at http://bu3sch.de/bcm43xx_fw.php for the currently suggested versions.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
Tommy[D]
Developer
Developer


Joined: 13 Feb 2005
Posts: 66

PostPosted: Thu Dec 21, 2006 8:01 pm    Post subject: Reply with quote

I tried the installation from the first post but after
Code:
iwlist eth1 scan
i only get
Code:
eth1   No scan results


(with gentoo-sources-2.6.19-r2 and bcm43xx-fwcutter-005)


Does anyone has a suggestion?
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sat Dec 23, 2006 8:28 pm    Post subject: Reply with quote

That's not very helpful unfortunately. Does dmesg tell you anything? Do you have a card that's activated by radio button? What kind of card do you have? Is your AP visible to scans?
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
Tommy[D]
Developer
Developer


Joined: 13 Feb 2005
Posts: 66

PostPosted: Sat Dec 23, 2006 8:51 pm    Post subject: Reply with quote

JoseJX wrote:
That's not very helpful unfortunately. Does dmesg tell you anything? Do you have a card that's activated by radio button? What kind of card do you have? Is your AP visible to scans?


dmesg: i saw nothing
card: under windows i can activate and deactivate it with a button at the front with light on while activated
card version: 4318 (broadcom in acer aspire 5024 laptop)
AP is visible to scans
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sat Dec 23, 2006 9:31 pm    Post subject: Reply with quote

Did you bring up the device first with iwconfig?
Did you compile with bcm43xx debugging support?
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
Tommy[D]
Developer
Developer


Joined: 13 Feb 2005
Posts: 66

PostPosted: Sat Dec 23, 2006 10:21 pm    Post subject: Reply with quote

New test:

i booted with the laptop, did
Code:
ifconfig eth1 up
and
Code:
iwlist eth1 scan
and got
Code:
eth1 no scan results


After that i did look in dmesg and got those lines with softMAC and bcm43xx:
Code:
bcm43xx: Chip ID 0x4318, rev 0x2
bcm43xx: Number of cores: 4
bcm43xx: Core 0: ID 0x800, rev 0xd, vendor 0x4243, enabled
bcm43xx: Core 1: ID 0x812, rev 0x9, vendor 0x4243, disabled
bcm43xx: Core 2: ID 0x804, rev 0xc, vendor 0x4243, enabled
bcm43xx: Core 3: ID 0x80d, rev 0x7, vendor 0x4243, enabled
bcm43xx: PHY connected
bcm43xx: Detected PHY: Version: 3, Type 2, Revision 7
bcm43xx: Detected Radio: ID: 8205017f (Manuf: 17f Ver: 2050 Rev: 8)
bcm43xx: Radio turned off
bcm43xx: Radio turned off
Adding 506008k swap on /dev/hda5.  Priority:-1 extents:1 across:506008k
APIC error on CPU0: 00(40)
bcm43xx: PHY connected
bcm43xx: Microcode rev 0x123, pl 0x21 (2005-01-22  19:48:06)
bcm43xx: Radio turned on
bcm43xx: ASSERTION FAILED (radio_attenuation < 10) at: drivers/net/wireless/bcm43xx/bcm43xx_phy.c:1496:bcm43xx_find_lopair()
bcm43xx: ASSERTION FAILED (radio_attenuation < 10) at: drivers/net/wireless/bcm43xx/bcm43xx_phy.c:1496:bcm43xx_find_lopair()
bcm43xx: ASSERTION FAILED (radio_attenuation < 10) at: drivers/net/wireless/bcm43xx/bcm43xx_phy.c:1496:bcm43xx_find_lopair()
bcm43xx: Chip initialized
bcm43xx: 32-bit DMA initialized
bcm43xx: Keys cleared
bcm43xx: Selected 802.11 core (phytype 2)
bcm43xx: ASSERTION FAILED (radio_attenuation < 10) at: drivers/net/wireless/bcm43xx/bcm43xx_phy.c:1496:bcm43xx_find_lopair()
SoftMAC: Start scanning with channel: 1
SoftMAC: Scanning 14 channels
SoftMAC: Scanning finished


And yes i did compile it with debugging support.
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sat Dec 23, 2006 10:47 pm    Post subject: Reply with quote

Okay, well, that all looks fine. My guess would be that you're either not close enough to your AP (signal strength is reduced with 4318 cards) or you've got a wifi button that isn't enabled, you may need extra software for it (acer_acpi, acerhk, etc.).
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
Tommy[D]
Developer
Developer


Joined: 13 Feb 2005
Posts: 66

PostPosted: Sat Dec 23, 2006 11:10 pm    Post subject: Reply with quote

I have a good signal with windows and the AP is around 2 meters away so that should not be the problem.
I cannot try acerhk as i have a 64-bit system (amd64) and acerhk is only for x86.
I will look if i can do something with acer_acpi....
edit: i got it to work with acer_acpi. Thanks for the hint.
Back to top
View user's profile Send private message
psihodelia
n00b
n00b


Joined: 27 Dec 2006
Posts: 15

PostPosted: Wed Dec 27, 2006 2:45 am    Post subject: Annoying bcm driver Reply with quote

Current bcm linux drivers do not work for me good:

1)Insecure connection works fine before the distance is shorter than 2..3 meters.
2)WEP connection works only in PIO mode (set in kernel options), thus without DMA support. It works also about some minutes, then it doesn't work at all. Any reboot or re-modprobe absolutely does not change anything.And this is very annoying thing. Some day it works, some day it doesn't work. I suggest that bcm driver code has a lot of bugs. Nothing similar
happens in MacOSX.
3)My empirical observation (hope Jose knows answer):
Why Signal level is better in Linux kernel ver. 2.6.17-rc4 than in other versions. I did try following kernels:

Code:

ibook gvideo # ls -1 /usr/src/
linux
linux-2.6.15-gentoo-r5
linux-2.6.17-gentoo-r8
linux-2.6.17-rc4
linux-2.6.19-rc5
recompile.sh

... and only linux-2.6.17-rc4 has 3 times better level than other.
Other have the very bad signal level, resulting in unstable unreliable connection.

I have iBook G4.
0001:10:12.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 03)

thanks in advance,
Apple Linux User
Back to top
View user's profile Send private message
quatsch
Tux's lil' helper
Tux's lil' helper


Joined: 24 Apr 2005
Posts: 104
Location: New York, NY

PostPosted: Wed Dec 27, 2006 5:12 am    Post subject: Reply with quote

psihodelia:

Try the newest kernel from kernel.org.

I have an ibook G4 with the same network controller:
0001:10:12.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 03)

The bcm43xx driver is working fine for me with kernel 2.6.19 (reasonable signal strength and I can use WEP in DMA mode). I did notice that it seems to stop working after a few minutes when there is no network traffic. I get around it by having ntpd running - it also keeps my click exact.
Back to top
View user's profile Send private message
secretcorporation
n00b
n00b


Joined: 09 Dec 2004
Posts: 71
Location: USA

PostPosted: Thu Dec 28, 2006 11:49 pm    Post subject: broadcom 4311 Reply with quote

01:00.0 Network controller: Broadcom Corporation Dell Wireless 1390 WLAN Mini-PCI Card (rev 01)
Subsystem: Hewlett-Packard Company Unknown device 1363
Flags: bus master, fast devsel, latency 0, IRQ 10
Memory at c3000000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 2
Capabilities: [58] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-
Capabilities: [d0] Express Legacy Endpoint IRQ 0
Capabilities: [100] Advanced Error Reporting
Capabilities: [13c] Virtual Channel

I am having trouble with the above WLAN network card. As far as I can tell it is a broadcom 4311 card (HP dv2125 laptop) I have my system configured as per this install guide however nothing happens when the bcm43xx module is loaded. There is not eth# or wlan0 device available in ifconfig.

output from dmesg:


PM: Adding info for ieee1394:06e40a007c8a5039
ieee1394: NodeMgr: raw=0xe064a232 irmc=1 cmc=1 isc=1 bmc=0 pmc=0 cyc_clk_acc=100 max_rec=2048 max_rom=1024 gen=3 lspd=2
ieee1394: Host added: ID:BUS[0-00:1023] GUID[06e40a007c8a5039]
PM: Adding info for ieee1394:06e40a007c8a5039-0
nvidia: module license 'NVIDIA' taints kernel.
ACPI: PCI Interrupt Link [LK3E] enabled at IRQ 21
ACPI: PCI Interrupt 0000:00:05.0[A] -> Link [LK3E] -> GSI 21 (level, high) -> IRQ 18
PCI: Setting latency timer of device 0000:00:05.0 to 64
NVRM: loading NVIDIA Linux x86 Kernel Module 1.0-8776 Mon Oct 16 21:56:04 PDT 2006
ACPI: PCI Interrupt Link [LAZA] enabled at IRQ 17
ACPI: PCI Interrupt 0000:00:10.1[B] -> Link [LAZA] -> GSI 17 (level, high) -> IRQ 22
PCI: Setting latency timer of device 0000:00:10.1 to 64
EXT3 FS on sda5, internal journal
ieee80211_crypt: registered algorithm 'NULL'
ieee80211: 802.11 data/management/control stack, git-1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
bcm43xx driver
ieee80211_crypt: registered algorithm 'CCMP'
ieee80211_crypt: registered algorithm 'TKIP'
ieee80211_crypt: registered algorithm 'WEP'
Adding 1510068k swap on /dev/sda6. Priority:-1 extents:1 across:1510068k
PM: Adding info for No Bus:i2c-0
PM: Adding info for No Bus:i2c-1
PM: Adding info for No Bus:i2c-2

I am using kernel 2.6.18-gentoo-r4 I have extracted the firmware from a driver I know works with ndiswrapper when using SUSE 10 on the same laptop. Does anybody have any ideas?
_________________
In the land of the free you are only one party away from dictatorship at any time.
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Fri Dec 29, 2006 3:48 am    Post subject: Reply with quote

secretcorporation:
You *must* patch for 4311/4312 support. Just to forewarn you, it's not supported very well at this time, but the patches are listed on the first post in this thread.

psihodelia:
It might be an issue interacting with the 4318 fixes that are slowly being merged. If you can pinpoint the kernel where it really broke, that would be helpful. Otherwise, try the latest 2.6.19 kernel first (2.6.20_pre[1,2] are currently known to be broken).
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
praveen
n00b
n00b


Joined: 08 Jun 2005
Posts: 43

PostPosted: Fri Dec 29, 2006 8:36 am    Post subject: Reply with quote

WOW. My Airport Extreme card (BCM 4306) works !!! Thanks for all the people who made this possible.
Back to top
View user's profile Send private message
plink212
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jan 2005
Posts: 90

PostPosted: Sat Dec 30, 2006 8:58 am    Post subject: Reply with quote

Is the 4320 now supported? I have managed to get the driver working to the stage of scanning for networks and that seems to go ok. I try to set the card to master mode which works but on iwconfig the access point says invalid and no ssid seems to be transmitted?

Quote:
eth1 IEEE 802.11b/g ESSID:"Cameras" Nickname:"Broadcom 4306"
Mode:Master Frequency=2.484 GHz Access Point: Invalid
Bit Rate=1 Mb/s Tx-Power=15 dBm
RTS thr:off Fragment thr:off
Encryption key:off
Link Quality=0/100 Signal level=-256 dBm Noise level=-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

Quote:
eth1 Link encap:Ethernet HWaddr 00:30:BD:F9:3D:1F
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:4807 overruns:0 frame:0
TX packets:193 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:8622 (8.4 Kb)
Interrupt:18 Base address:0xc000

Quote:
bcm43xx driver
ACPI: PCI Interrupt 0000:00:09.0[A] -> GSI 17 (level, low) -> IRQ 18
bcm43xx: Chip ID 0x4306, rev 0x3
bcm43xx: Number of cores: 5
bcm43xx: Core 0: ID 0x800, rev 0x4, vendor 0x4243, enabled
bcm43xx: Core 1: ID 0x812, rev 0x5, vendor 0x4243, disabled
bcm43xx: Core 2: ID 0x80d, rev 0x2, vendor 0x4243, enabled
bcm43xx: Core 3: ID 0x807, rev 0x2, vendor 0x4243, disabled
bcm43xx: Core 4: ID 0x804, rev 0x9, vendor 0x4243, enabled
bcm43xx: PHY connected
bcm43xx: Detected PHY: Version: 2, Type 2, Revision 2
bcm43xx: Detected Radio: ID: 2205017f (Manuf: 17f Ver: 2050 Rev: 2)
bcm43xx: Radio turned off
bcm43xx: Radio turned off
ReiserFS: sda1: found reiserfs format "3.6" with standard journal
ReiserFS: sda1: using ordered data mode
ReiserFS: sda1: journal params: device sda1, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: sda1: checking transaction log (sda1)
ReiserFS: sda1: Using r5 hash to sort names
Adding 977248k swap on /dev/hda2. Priority:-1 extents:1 across:977248k
bcm43xx: PHY connected
bcm43xx: Microcode rev 0x127, pl 0xe (2005-04-18 02:36:27)
bcm43xx: Radio turned on
bcm43xx: Chip initialized
bcm43xx: PIO initialized
bcm43xx: Keys cleared
bcm43xx: Selected 802.11 core (phytype 2)
ADDRCONF(NETDEV_UP): eth1: link is not ready
SoftMAC: Associate: Scanning for networks first.
SoftMAC: Start scanning with channel: 1
SoftMAC: Scanning 14 channels
SoftMAC: Scanning finished
SoftMAC: Associate: Scanning for networks first.
SoftMAC: Start scanning with channel: 1
SoftMAC: Scanning 14 channels
SoftMAC: Scanning finished
SoftMAC: Associate: Scanning for networks first.
SoftMAC: Start scanning with channel: 1
SoftMAC: Scanning 14 channels
SoftMAC: Scanning finished
SoftMAC: Unable to find matching network after scan!
bcm43xx: Radio turned off
bcm43xx: PHY connected
bcm43xx: Microcode rev 0x127, pl 0xe (2005-04-18 02:36:27)
bcm43xx: InitVals (bcm43xx_initvalXX.fw) file-format error. Please fix your bcm43xx firmware files.
bcm43xx: core_up for active 802.11 core failed (-71)
bcm43xx: set security called, .level = 0, .enabled = 0, .encrypt = 0
SoftMAC: Associate: Scanning for networks first.
SoftMAC: Associate: failed to initiate scan. Is device up?
bcm43xx: PHY connected
bcm43xx: Microcode rev 0x127, pl 0xe (2005-04-18 02:36:27)
bcm43xx: Radio turned on
bcm43xx: Chip initialized
bcm43xx: PIO initialized
bcm43xx: Keys cleared
bcm43xx: Selected 802.11 core (phytype 2)
SoftMAC: Associate: Scanning for networks first.
SoftMAC: Start scanning with channel: 1
SoftMAC: Scanning 14 channels
ADDRCONF(NETDEV_UP): eth1: link is not ready
SoftMAC: Scanning finished
SoftMAC: Associate: Scanning for networks first.
SoftMAC: Start scanning with channel: 1
SoftMAC: Scanning 14 channels
SoftMAC: Unable to find matching network after scan!
SoftMAC: Scanning finished
Back to top
View user's profile Send private message
IvanMajhen
Guru
Guru


Joined: 10 Jun 2006
Posts: 392
Location: Croatia

PostPosted: Sat Dec 30, 2006 3:37 pm    Post subject: Reply with quote

Hello!
I have acer laptop with:
Code:
06:02.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)

BCM43xx is loaded:
Code:
bcm43xx driver
ACPI: PCI Interrupt 0000:06:02.0[A] -> GSI 22 (level, low) -> IRQ 21
bcm43xx: Chip ID 0x4318, rev 0x2
bcm43xx: Number of cores: 4
bcm43xx: Core 0: ID 0x800, rev 0xd, vendor 0x4243, enabled
bcm43xx: Core 1: ID 0x812, rev 0x9, vendor 0x4243, disabled
bcm43xx: Core 2: ID 0x804, rev 0xc, vendor 0x4243, enabled
bcm43xx: Core 3: ID 0x80d, rev 0x7, vendor 0x4243, enabled
bcm43xx: PHY connected
bcm43xx: Detected PHY: Version: 3, Type 2, Revision 7
bcm43xx: Detected Radio: ID: 8205017f (Manuf: 17f Ver: 2050 Rev: 8)
bcm43xx: Radio turned off
bcm43xx: Radio turned off
bcm43xx: PHY connected
bcm43xx: Microcode rev 0x127, pl 0xe (2005-04-18  02:36:27)
bcm43xx: Radio turned on
bcm43xx: ASSERTION FAILED (radio_attenuation < 10) at: drivers/net/wireless/bcm43xx/bcm43xx_phy.c:1496:bcm43xx_find_lopair()
bcm43xx: ASSERTION FAILED (radio_attenuation < 10) at: drivers/net/wireless/bcm43xx/bcm43xx_phy.c:1496:bcm43xx_find_lopair()
bcm43xx: ASSERTION FAILED (radio_attenuation < 10) at: drivers/net/wireless/bcm43xx/bcm43xx_phy.c:1496:bcm43xx_find_lopair()
bcm43xx: Chip initialized
bcm43xx: 32-bit DMA initialized
bcm43xx: Keys cleared
bcm43xx: Selected 802.11 core (phytype 2)
bcm43xx: ASSERTION FAILED (radio_attenuation < 10) at: drivers/net/wireless/bcm43xx/bcm43xx_phy.c:1496:bcm43xx_find_lopair()
ADDRCONF(NETDEV_UP): eth1: link is not ready
SoftMAC: Start scanning with channel: 1
SoftMAC: Scanning 14 channels
SoftMAC: Scanning finished
SoftMAC: Queueing Authentication Request to 00:e0:63:82:74:d3
SoftMAC: Cannot associate without being authenticated, requested authentication
SoftMAC: Sent Authentication Request to 00:e0:63:82:74:d3.
SoftMAC: Sent Authentication Request to 00:e0:63:82:74:d3.
bcm43xx: set security called, .level = 0, .enabled = 0, .encrypt = 0
SoftMAC: Sent Authentication Request to 00:e0:63:82:74:d3.
SoftMAC: Sent Authentication Request to 00:e0:63:82:74:d3.
SoftMAC: Sent Authentication Request to 00:e0:63:82:74:d3.
SoftMAC: Authentication timed out with 00:e0:63:82:74:d3
bcm43xx: Radio turned off
bcm43xx: DMA-32 0x0200 (RX) max used slots: 1/64
bcm43xx: DMA-32 0x02A0 (TX) max used slots: 0/512
bcm43xx: DMA-32 0x0280 (TX) max used slots: 0/512
bcm43xx: DMA-32 0x0260 (TX) max used slots: 0/512
bcm43xx: DMA-32 0x0240 (TX) max used slots: 0/512
bcm43xx: DMA-32 0x0220 (TX) max used slots: 2/512
bcm43xx: DMA-32 0x0200 (TX) max used slots: 0/512
bcm43xx: Microcode rev 0x127, pl 0xe (2005-04-18  02:36:27)
bcm43xx: Radio turned on
bcm43xx: ASSERTION FAILED (radio_attenuation < 10) at: drivers/net/wireless/bcm43xx/bcm43xx_phy.c:1496:bcm43xx_find_lopair()
bcm43xx: ASSERTION FAILED (radio_attenuation < 10) at: drivers/net/wireless/bcm43xx/bcm43xx_phy.c:1496:bcm43xx_find_lopair()
bcm43xx: Chip initialized
bcm43xx: 32-bit DMA initialized
bcm43xx: Keys cleared
bcm43xx: Selected 802.11 core (phytype 2)
bcm43xx: ASSERTION FAILED (radio_attenuation < 10) at: drivers/net/wireless/bcm43xx/bcm43xx_phy.c:1496:bcm43xx_find_lopair()
ADDRCONF(NETDEV_UP): eth1: link is not ready
SoftMAC: Associate: Scanning for networks first.
SoftMAC: Start scanning with channel: 1
SoftMAC: Scanning 14 channels
SoftMAC: Scanning finished
SoftMAC: Queueing Authentication Request to 00:e0:63:82:74:d3
SoftMAC: Cannot associate without being authenticated, requested authentication
SoftMAC: Sent Authentication Request to 00:e0:63:82:74:d3.
SoftMAC: Sent Authentication Request to 00:e0:63:82:74:d3.
SoftMAC: Already associating or associated to 00:e0:63:82:74:d3

Sometimes it works if I'm near router. It works with wep too. Scan results are better with ndiswrapper. With ndiswrapper txpower is 32 dBm,but
with bcm43xx is 19 dBm max. I heard that there are some problems with transsmition rates. I tried acerhk but there is no difference. If I switch it off or on
with button, ndiswrapper or bcm43xx card switches off or on-no scan results. It also switches off or on through /proc/driver/acer.
The funny thing is that airodump-ng works perfectly. It finds all networks that ndiswrapper finds, and even more. So, receive power is good.
I'm using 2.6.19-beyond2 kernel.
Back to top
View user's profile Send private message
OpelBlitz
Apprentice
Apprentice


Joined: 12 Dec 2002
Posts: 229
Location: Chicago, Illinois

PostPosted: Mon Jan 01, 2007 1:18 am    Post subject: Reply with quote

I have 2.6.18-gentoo-r5 and I don't even have the Broadcom BCM43xx stuff in Wireless LAN drivers (non-hamradio) & Wireless Extensions...

Do I need a more recent kernel? I see -r6 is out on portage.
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Mon Jan 01, 2007 4:31 pm    Post subject: Reply with quote

OpelBlitz:
Make sure you have ieee80211 and ieee80211softmac enabled.

IvanMajhen:
Yes, 4318 still has transmission power problems. We're working on it. I know there hasn't been much activity, but the problem is quite difficult, but we are still making some progress. The problem is that it's a software controlled radio with many unknown registers and the only documentation is the source we've decompiled :p. For now, the best thing to do is to lower your rate and get closer to the AP, there's not much else I can suggest at the moment.

plink212:
Yes, the 4320 is actually a 4306 and it has been supported for quite some time now. Master mode is not supported with SoftMAC at this time, but if you need this to work, it can be done using the devicescape branch instead.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
vst
n00b
n00b


Joined: 19 May 2005
Posts: 7

PostPosted: Thu Jan 04, 2007 12:49 pm    Post subject: Reply with quote

I have a Powerbook G4 with a Broadcom BCM4306 that I'm trying to get to work. I followed the instructions on the first page and don't seem to get any errors with any of the commands. But unfortunately it still won't connect. When I look at dmesg it says it can't authenticate but I'm not using authentication so I'm not sure why it's trying to. Here are the outputs of each command:

ifconfig eth1
Code:
eth1      Link encap:Ethernet  HWaddr 00:0D:93:EC:CE:12 
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:3 overruns:0 frame:0
          TX packets:75 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:3146 (3.0 Kb)
          Interrupt:52 Base address:0x4000


iwlist scan
Code:
eth1      Scan completed :
          Cell 01 - Address: 02:13:02:06:DB:9B
                    ESSID:"test"
                    Protocol:IEEE 802.11bg
                    Mode:Ad-Hoc
                    Channel:11
                    Encryption key:off
                    Bit Rates:54 Mb/s
                    Extra: Rates (Mb/s): 1 2 5.5 6 9 11 12 18 24 36 48 54
                    Quality=100/100  Signal level=-162 dBm 
                    Extra: Last beacon: 108ms ago
          Cell 02 - Address: 00:16:01:27:C2:83
                    ESSID:"2C99A1442BA6DC184E1E3122326477F2"
                    Protocol:IEEE 802.11bg
                    Mode:Master
                    Channel:11
                    Encryption key:on
                    Bit Rates:54 Mb/s
                    Extra: Rates (Mb/s): 1 2 5.5 6 9 11 12 18 24 36 48 54
                    Quality=100/100  Signal level=-217 dBm 
                    Extra: Last beacon: 432ms ago


iwconfig
Code:
eth1      IEEE 802.11b/g  ESSID:"test"  Nickname:"Broadcom 4306"
          Mode:Ad-Hoc  Frequency=2.462 GHz  Cell: 02:13:02:06:DB:9B   
          Bit Rate:11 Mb/s   Tx-Power=15 dBm   
          RTS thr:off   Fragment thr:off
          Encryption key:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0


dmesg
Code:
bcm43xx driver
PCI: Enabling device 0001:10:12.0 (0004 -> 0006)
bcm43xx: Chip ID 0x4306, rev 0x3
bcm43xx: Number of cores: 5
bcm43xx: Core 0: ID 0x800, rev 0x4, vendor 0x4243, enabled
bcm43xx: Core 1: ID 0x812, rev 0x5, vendor 0x4243, disabled
bcm43xx: Core 2: ID 0x80d, rev 0x2, vendor 0x4243, enabled
bcm43xx: Core 3: ID 0x807, rev 0x2, vendor 0x4243, disabled
bcm43xx: Core 4: ID 0x804, rev 0x9, vendor 0x4243, enabled
bcm43xx: PHY connected
bcm43xx: Detected PHY: Version: 2, Type 2, Revision 2
bcm43xx: Detected Radio: ID: 2205017f (Manuf: 17f Ver: 2050 Rev: 2)
bcm43xx: Radio turned off
bcm43xx: Radio turned off
[...]
bcm43xx: PHY connected
bcm43xx: Radio turned on
bcm43xx: Chip initialized
bcm43xx: DMA initialized
bcm43xx: 80211 cores initialized
bcm43xx: Keys cleared
SoftMAC: Associate: Scanning for networks first.
SoftMAC: Start scanning with channel: 1
SoftMAC: Scanning 14 channels
SoftMAC: Scanning finished
SoftMAC: Queueing Authentication Request to 02:13:02:06:db:9b
SoftMAC: cannot associate without being authenticated, requested authentication
SoftMAC: Sent Authentication Request to 02:13:02:06:db:9b.
SoftMAC: Start scanning with channel: 1
SoftMAC: Scanning 14 channels
SoftMAC: Scanning finished
SoftMAC: Sent Authentication Request to 02:13:02:06:db:9b.
SoftMAC: Start scanning with channel: 1
SoftMAC: Scanning 14 channels
SoftMAC: Scanning finished
SoftMAC: Sent Authentication Request to 02:13:02:06:db:9b.
SoftMAC: Sent Authentication Request to 02:13:02:06:db:9b.
SoftMAC: Sent Authentication Request to 02:13:02:06:db:9b.
SoftMAC: cannot associate without being authenticated, requested authentication
SoftMAC: Authentication timed out with 02:13:02:06:db:9b
SoftMAC: cannot associate without being authenticated, requested authentication
SoftMAC: cannot associate without being authenticated, requested authentication
SoftMAC: Start scanning with channel: 1
SoftMAC: Scanning 14 channels
SoftMAC: Scanning finished
SoftMAC: Start scanning with channel: 1
SoftMAC: Scanning 14 channels
SoftMAC: Scanning finished
Back to top
View user's profile Send private message
psihodelia
n00b
n00b


Joined: 27 Dec 2006
Posts: 15

PostPosted: Thu Jan 04, 2007 7:47 pm    Post subject: Reply with quote

BCM 4306 doesn't work properly.

I did test following kernels:

linux-2.6.15-gentoo-r5
linux-2.6.17-gentoo-r8
linux-2.6.17-rc4
linux-2.6.19.1 --- sudden disconnections every 10-15 minutes, needs /etc/init.d/net.eth1 restart
linux-2.6.19-rc5
----------------------------------
bad signal level, WEP doesn't work

Only linux-2.6.17-rc4 shows always 2-3 times better signal level and WEP works in PIO mode only for some minutes.

Jose, can you please comment it?
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Thu Jan 04, 2007 10:57 pm    Post subject: Reply with quote

vst:
Authentication is the first step in establishing a wireless connection. It is the handshake between the AP and the station. Looking at your configuration, you're using AdHoc mode which isn't supported in SoftMAC. You must connect with an AP or use the devicescape stack.

psihodelia:
It works fine for me and others. Make sure that you're using the suggested firmware: http://bu3sch.de/bcm43xx_fw.php
Can you give any additional information? What does it say when it disconnects? Have you tried the latest 2.6.20_pre kernel? Can you identify the exact patch that broke it for you? (git bisect?)
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
psihodelia
n00b
n00b


Joined: 27 Dec 2006
Posts: 15

PostPosted: Fri Jan 05, 2007 12:19 am    Post subject: Reply with quote

Jose:

JoseJX wrote:

psihodelia:
It works fine for me and others. Make sure that you're using the suggested firmware: http://bu3sch.de/bcm43xx_fw.php
Can you give any additional information? What does it say when it disconnects? Have you tried the latest 2.6.20_pre kernel?


I didn't try 2.6.20_pre, but my experience (I did try a lot of kernels) tells me, there will nothing special new. Maybe I am wrong. The following is my current system messages:

1. dmesg:
Code:
...
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 'NULL'
...

PCI: Enabling device 0001:10:12.0 (0004 -> 0006)
bcm43xx: Chip ID 0x4306, rev 0x3
bcm43xx: Number of cores: 5
bcm43xx: Core 0: ID 0x800, rev 0x4, vendor 0x4243, enabled
bcm43xx: Core 1: ID 0x812, rev 0x5, vendor 0x4243, disabled
bcm43xx: Core 2: ID 0x80d, rev 0x2, vendor 0x4243, enabled
bcm43xx: Core 3: ID 0x807, rev 0x2, vendor 0x4243, disabled
bcm43xx: Core 4: ID 0x804, rev 0x9, vendor 0x4243, enabled
bcm43xx: PHY connected
bcm43xx: Detected PHY: Version: 2, Type 2, Revision 2
bcm43xx: Detected Radio: ID: 2205017f (Manuf: 17f Ver: 2050 Rev: 2)
bcm43xx: Radio turned off
bcm43xx: Radio turned off
ieee80211_crypt: registered algorithm 'WEP'
ieee80211_crypt: registered algorithm 'TKIP'
ieee80211_crypt: registered algorithm 'CCMP'
...
bcm43xx: PHY connected
bcm43xx: Radio turned on
bcm43xx: Chip initialized
bcm43xx: DMA initialized
bcm43xx: 80211 cores initialized
bcm43xx: Keys cleared
bcm43xx: set security called
bcm43xx:    .level = 0
bcm43xx:    .enabled = 0
bcm43xx:    .encrypt = 0
SoftMAC: Associate: Scanning for networks first.
SoftMAC: Start scanning with channel: 1
SoftMAC: Scanning 14 channels
bcm43xx: set security called
bcm43xx:    .level = 0
bcm43xx:    .enabled = 0
bcm43xx:    .encrypt = 0
SoftMAC: Queueing Authentication Request to 00:13:10:f2:63:30
SoftMAC: cannot associate without being authenticated, requested authentication
SoftMAC: Sent Authentication Request to 00:13:10:f2:63:30.
SoftMAC: Scanning finished
SoftMAC: cannot associate without being authenticated, requested authentication
SoftMAC: Sent Authentication Request to 00:13:10:f2:63:30.
SoftMAC: Open Authentication completed with 00:13:10:f2:63:30
SoftMAC: sent association request!
SoftMAC: sent association request!
SoftMAC: associated!


2.lsmod (ieee80211 is included in kernel - no difference in work being as module)
Code:
ieee80211_crypt_ccmp     8512  0
ieee80211_crypt_tkip    12704  0
ieee80211_crypt_wep     6464  0
bcm43xx               434900  0
ieee80211softmac       32768  1 bcm43xx
firmware_class         12128  1 bcm43xx


3.cat /proc/wireless
Code:

Inter-| sta-|   Quality        |   Discarded packets               | Missed | WE
 face | tus | link level noise |  nwid  crypt   frag  retry   misc | beacon | 20
  eth1: 0000  100.    2.  191.       0     61      0      0      0        0


4. cat /etc/conf.d/net
Code:

essid_eth1="linksys"
channel_eth1=11
rate_eth1=54M
dhcpcd_eth1="-D -d -o -p"


5. iwlist scan
Code:
eth1      Scan completed :
          Cell 01 - Address: 00:13:10:F2:63:30
                    ESSID:"linksys"
                    Protocol:IEEE 802.11bg
                    Mode:Master
                    Channel:11
                    Encryption key:off
                    Bit Rates:54 Mb/s
                    Extra: Rates (Mb/s): 1 2 5.5 6 9 11 12 18 22 24 36 48 54
                    Quality=100/100  Signal level=-177 dBm 
                    Extra: Last beacon: 396ms ago
          Cell 02 - Address: 00:04:0E:EC:7D:45
                    ESSID:"FRITZ!Box Fon WLAN 7141a"
                    Protocol:IEEE 802.11bg
                    Mode:Master
                    Channel:10
                    Encryption key:on
                    Bit Rates:54 Mb/s
                    Extra: Rates (Mb/s): 1 2 5.5 6 9 11 12 18 22 24 36 48 54
                    Quality=100/100  Signal level=-209 dBm

In other kernels it shows usually about -70 dBm and connection is very unstable. This issue have also other people (I'v checked this forum), reporting about poor connection and constant needs to reconnect (broken connection in some minutes).

I did try a lot of different modes, rates, and configuratioins. I run my wireless usually with "/etc/init.d/net.eth1 start" command.If I try to connect with any WEP access point, dhcpcd just freezes.
iwconfig also works, it makes connection but I have no idea how to get IP after - dhcpcd freezes.
And yes, I use wl_apsta.o

Maybe you have an idea - what's wrong.
Thank you in advance.
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Fri Jan 05, 2007 12:29 am    Post subject: Reply with quote

Well, for starters, a rate of 54M is extremely optimistic. Try 11M and see if it makes a difference. Most of the people reporting dropped connections are using 4318 cards which aren't really supported all that well. If dhcpcd is freezing, try enabling verbose output from it. If you're using a 2.0.x dhcpcd, try the new 3.x version which is much better on ppc.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
psihodelia
n00b
n00b


Joined: 27 Dec 2006
Posts: 15

PostPosted: Fri Jan 05, 2007 1:39 am    Post subject: Reply with quote

Jose:

as I said -
1)I did try MANY RATES - no difference
2)dhcpcd is running with verbose output - bcm just doesn't see any reply from access point
3)I have dhcpcd-2.0.5 installed - there is no new version in /usr/portage/...../dhcpcd/

Have you an opinion about "why only this kernel has better signal level than others?"
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Fri Jan 05, 2007 2:32 am    Post subject: Reply with quote

No, because I don't know which patch is making the difference. If you would please try to at least identify the patchset that reduced your signal strength, I could tell which part of the driver was changed and check the specification against the original driver code. The driver has changed quite a bit with each kernel release, so just saying, that -rc4 works doesn't really narrow down which kernel the change occurred in. Please note also that the signal level #'s were not actually showing real values in many kernels, it is only recently (2.6.19) that more accurate numbers are displayed (we figured out how this was calculated).

Please realize, this driver is written from specifications that we wrote by decompiling the driver and observing the behaviour of the card while running under MacOSX. It's *not* something that I can just look up in Broadcom's specs and say "oh, this is the change that broke your card." because we do not have any specifications from Broadcom.

As for dhcpcd, versions 3.0.6 and 3.0.8 are both in the portage tree. They may be masked for you, but they are certainly in the tree.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
vst
n00b
n00b


Joined: 19 May 2005
Posts: 7

PostPosted: Sun Jan 07, 2007 6:43 am    Post subject: Reply with quote

JoseJX:
I don't suppose there is a site that shows how to use the devicescape stack is there?

Thanks,
vst
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 Previous  1, 2, 3 ... 36, 37, 38 ... 40, 41, 42  Next
Page 37 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