Re: Trouble getting bcm43xx driver to work

2006-01-11 Thread Ruben

At Wed, 11 Jan 2006 09:39:01 +1100, Aaron Kerr wrote:
> 
> Thanks. I will try waiting a few minutes after setting up the connection.

I timed it this morning, and it only worked after 4 minutes.  It's
possible this has something to do with my access point.
Authentication and association with the AP happens almost immediately.

> Your delays when running route or netstat could be a DNS lookup failure.
> Try "netstat -rn" which will not try to translate IP addresses to names.

Thanks (and thanks to Michael)... that was indeed the reason.

Ruben

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Trouble getting bcm43xx driver to work

2006-01-10 Thread Shreyas Ananthan
Hi,

I tried the bcm43xx-dscape driver with a patched 2.6.15 kernel on my
iBook G4 12" and I cannot get it to work. Some relevant information...

CPU information

processor   : 0
cpu : 7447A, altivec supported
clock   : 1333MHz
revision: 0.5 (pvr 8003 0105)
bogomips: 1327.10
machine : PowerBook6,7
motherboard : PowerBook6,7 MacRISC3 Power Macintosh
detected as : 287 (iBook G4)
pmac flags  : 001b
L2 cache: 512K unified
memory  : 1024MB
pmac-generation : NewWorld


Output from lspci -vv

0001:10:12.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 
54g] 802.11g Wireless LAN Controller (rev 02)
Subsystem: Apple Computer Inc.: Unknown device 4318
Control: I/O- Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR-  0006)
"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
wlan0: Selected rate control algorithm 'simple'


However, the script sta_up.sh caused the kernel to crash (can someone
tell me what to dump from xmon. I am not sure what information in
there is relevant). I traced the crash to the following command in the
script sta_up.sh

ifconfig wlan0.11 up

Instead I tried

ifconfig wlan0 up and then proceeded with the remaining steps in
sta_up.sh manually and dmesg output shows...


sta0: using STA entry 0
sta0: MAC address 00:14:51:82:b1:3c
"bcm43xx": PHY connected
"bcm43xx": Radio turned on
"bcm43xx": ASSERTION FAILED (radio_attenuation < 10) at: 
/home/shreyas/src/bcm43xx-dscape-20060110/bcm43xx_phy.c:1257:bcm43xx_find_lopair()
"bcm43xx": Chip initialized
"bcm43xx": ASSERTION FAILED (0) at: 
/home/shreyas/src/bcm43xx-dscape-20060110/bcm43xx_main.c:2996:bcm43xx_gen_bssid()
"bcm43xx": DMA initialized
"bcm43xx": 80211 cores initialized
"bcm43xx": Keys cleared
wlan0.11: Does not support passive scan, disabled
wlan0: no IPv6 routers present
"bcm43xx": TODO: Incomplete code in bcm43xx_set_iwmode() at 
/home/shreyas/src/bcm43xx-dscape-20060110/bcm43xx_main.c:2540


However, wpa_supplicant doesn't connect and I get the following
message repeated indefinitely in dmesg

sta0: no IPv6 routers present
sta0: starting scan
sta0: scan completed
sta0: Initial auth_alg=0
sta0: authenticate with AP 00:0c:41:f3:56:eb
sta0: authenticate with AP 00:0c:41:f3:56:eb
sta0: authenticate with AP 00:0c:41:f3:56:eb
sta0: authentication with AP 00:0c:41:f3:56:eb timed out


iwconfig shows


wlan0 IEEE 802.11g  ESSID:off/any 
  Mode:Managed  Frequency:2.462 GHz 
  RTS thr:off   Fragment thr=2346 B   
 
wlan0.11  IEEE 802.11g  ESSID:off/any  Nickname:"Broadcom 4318"
  Mode:Managed  Frequency:2.462 GHz 
  RTS thr:off   Fragment thr=2346 B   
 
sta0  IEEE 802.11g  ESSID:off/any 
  Mode:Managed  Frequency:2.462 GHz  Access Point: 00:0C:41:F3:56:EB   
  RTS thr:off   Fragment thr=2346 B   


and ifconfig shows


sta0  Link encap:Ethernet  HWaddr 00:14:51:82:B1:3C 
  inet addr:192.168.1.5  Bcast:192.168.1.255  Mask:255.255.255.0
  inet6 addr: fe80::214:51ff:fe82:b13c/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:0 (0.0 b)  TX bytes:576 (576.0 b)

wlan0 Link encap:Ethernet  HWaddr 00:14:51:82:B1:3C 
  inet6 addr: fe80::214:51ff:fe82:b13c/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:6 errors:0 dropped:0 overruns:0 carrier:0


I have to use WEP and I don't have any open routers or WPA routers to
test these options. The router is a Linksys WRT54G model. So my
questions are...

1. Any suggestions on how I can avoid the kernel panic when I do
"ifconfig wlan0.11 up"? What information should I provide so that
someone can help me with that? I have xmon enabled in my kernel and I
can post the relevant information.

2. Is my wireless card really working if I replace "ifconfig wlan0.11
up" with "ifconfig wlan0 up"?


I have also tried the softmac-bcm43xx approach, but without
success. The softmac spews out errors complaining that it cannot
associate without authenticating and forever tries to authenticate
with the router.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECT

Re: Trouble getting bcm43xx driver to work

2006-01-10 Thread Aaron Kerr

Thanks. I will try waiting a few minutes after setting up the connection.

Your delays when running route or netstat could be a DNS lookup failure.
Try "netstat -rn" which will not try to translate IP addresses to names.


Ruben wrote:
> At Tue, 10 Jan 2006 21:51:36 +1100, Aaron wrote:
> 
>>Still no joy. With the last two days snapshots I get a new error using 
>>iwconfig:
>>[EMAIL PROTECTED]:~$ iwconfig
>>lono wireless extensions.
>>
>>eth3  IEEE 802.11b/g  ESSID:"EucalyptusMarginata"  Nickname:"Broadcom 
>>4318"
>>iwconfig: symbol lookup error: iwconfig: undefined symbol: iw_sawap_ntop
>>[EMAIL PROTECTED]:~$ 
> 
> 
> I tested both the devicescape branch and the softmac branch, both with
> WEP, two days ago. I didn't get any errors like this though.
> 
> 
>>[...]
>># Check routing for local wireless network traffic is there
>>[EMAIL PROTECTED]:~# netstat -r
>>Kernel IP routing table
>>Destination Gateway Genmask Flags   MSS Window  irtt Iface
>>192.168.73.0*   255.255.255.0   U 0 0  0 eth3
> 
> 
> I did not get "dhcp" to work either.  I could see on my AP that it
> receives the dhcp request and it seems to hand out an IP address for
> 60 seconds. I assume it then waits for a confirmation from my iBook
> before handing out a 'real' lease. But it doesn't seem to get that
> confirmation.
> 
> I do get it working with a fixed IP address, like what you tried.  I
> did add the default route to the gateway, though.  And more
> importantly, I always have to wait some time before it works.  Right
> after configuring the interface and adding the route, all connections
> will fail. But after trying new connections for 2-3 minutes (trying to
> load some websites and pinging), it suddenly works.  From then on the
> connection works just fine.  I also noticed that right after adding
> the default route, the command "route" will print out the route for
> local connections and then pause a while before printing out the
> default route.  I have no idea why this is or what I can do about it,
> but at least I have a wireless connection now.
> 
> 
>># I think it may be time to but a USB wireless device until bcm43xx
>># is easier!
> 
> 
> There's definitely still some hassle with the bcm43xx driver... but
> for me it's good enough for now.
> 
> Ruben
> 
> Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
> 
> 


-- 

Aaron Kerr
-
Engagement Architect
Sun Microsystems


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Trouble getting bcm43xx driver to work

2006-01-10 Thread Michael Schmitz
> connection works just fine.  I also noticed that right after adding
> the default route, the command "route" will print out the route for
> local connections and then pause a while before printing out the
> default route.  I have no idea why this is or what I can do about it,
> but at least I have a wireless connection now.

That's the DNS lookup timeout for your default route - use route -n or
make sure the AP IP address resolves (add it to your local DNS cache or
/etc/hosts).

Overall it seems you guys even got WEP working now? I need to try this
again ...

Michael


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Trouble getting bcm43xx driver to work

2006-01-10 Thread Ruben

At Tue, 10 Jan 2006 21:51:36 +1100, Aaron wrote:
> 
> Still no joy. With the last two days snapshots I get a new error using 
> iwconfig:
> [EMAIL PROTECTED]:~$ iwconfig
> lono wireless extensions.
> 
> eth3  IEEE 802.11b/g  ESSID:"EucalyptusMarginata"  Nickname:"Broadcom 
> 4318"
> iwconfig: symbol lookup error: iwconfig: undefined symbol: iw_sawap_ntop
> [EMAIL PROTECTED]:~$ 

I tested both the devicescape branch and the softmac branch, both with
WEP, two days ago. I didn't get any errors like this though.

> [...]
> # Check routing for local wireless network traffic is there
> [EMAIL PROTECTED]:~# netstat -r
> Kernel IP routing table
> Destination Gateway Genmask Flags   MSS Window  irtt Iface
> 192.168.73.0*   255.255.255.0   U 0 0  0 eth3

I did not get "dhcp" to work either.  I could see on my AP that it
receives the dhcp request and it seems to hand out an IP address for
60 seconds. I assume it then waits for a confirmation from my iBook
before handing out a 'real' lease. But it doesn't seem to get that
confirmation.

I do get it working with a fixed IP address, like what you tried.  I
did add the default route to the gateway, though.  And more
importantly, I always have to wait some time before it works.  Right
after configuring the interface and adding the route, all connections
will fail. But after trying new connections for 2-3 minutes (trying to
load some websites and pinging), it suddenly works.  From then on the
connection works just fine.  I also noticed that right after adding
the default route, the command "route" will print out the route for
local connections and then pause a while before printing out the
default route.  I have no idea why this is or what I can do about it,
but at least I have a wireless connection now.

> # I think it may be time to but a USB wireless device until bcm43xx
> # is easier!

There's definitely still some hassle with the bcm43xx driver... but
for me it's good enough for now.

Ruben

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Trouble getting bcm43xx driver to work

2006-01-10 Thread Aaron

Still no joy. With the last two days snapshots I get a new error using 
iwconfig:
[EMAIL PROTECTED]:~$ iwconfig
lono wireless extensions.

eth3  IEEE 802.11b/g  ESSID:"EucalyptusMarginata"  Nickname:"Broadcom 
4318"
iwconfig: symbol lookup error: iwconfig: undefined symbol: iw_sawap_ntop
[EMAIL PROTECTED]:~$ 


As requested here are the steps I take (with comments) and the dmesg output is 
attached.

# Determine which interface is the wireless (it changes)
[EMAIL PROTECTED]:~# iwconfig
lono wireless extensions.

eth3  IEEE 802.11b/g  ESSID:off/any  Nickname:"Broadcom 4318"
iwconfig: symbol lookup error: iwconfig: undefined symbol: iw_sawap_ntop

# Bring it up without IP so "iwlist ethx scan" will work 
[EMAIL PROTECTED]:~# ifconfig eth3 up

# Scan to make sure we can see the wireless network
[EMAIL PROTECTED]:~# iwlist eth3 scan
eth3  No scan results
[EMAIL PROTECTED]:~# iwlist eth3 scan
eth3  No scan results
[EMAIL PROTECTED]:~# iwlist eth3 scan
eth3  Scan completed :
  Cell 01 - Address: 00:90:4C:7E:00:64
ESSID:"EucalyptusMarginata"
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 24 36 48 54
Quality=100/100  Signal level=-74 dBm
Extra: Last beacon: 316ms ago

# Set the wireless network settings
[EMAIL PROTECTED]:~# iwconfig eth3 essid EucalyptusMarginata channel 11

# Can we still see the network?
[EMAIL PROTECTED]:~# iwlist eth3 scan
eth3  Scan completed :
  Cell 01 - Address: 00:90:4C:7E:00:64
ESSID:"EucalyptusMarginata"
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 24 36 48 54
Quality=100/100  Signal level=-38 dBm
Extra: Last beacon: 276ms ago

# Lets try to get a DHCP IP address
[EMAIL PROTECTED]:~# dhclient eth3
Internet Systems Consortium DHCP Client V3.0.3
Copyright 2004-2005 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

Listening on LPF/eth3/00:14:51:81:ae:f2
Sending on   LPF/eth3/00:14:51:81:ae:f2
Sending on   Socket/fallback
DHCPDISCOVER on eth3 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on eth3 to 255.255.255.255 port 67 interval 9
^C

# Now try to set IP Manually and check netmask
[EMAIL PROTECTED]:~# ifconfig eth3 down
[EMAIL PROTECTED]:~# ifconfig eth3 192.168.73.69 up
[EMAIL PROTECTED]:~# ifconfig eth3
eth3  Link encap:Ethernet  HWaddr 00:14:51:81:AE:F2
  inet addr:192.168.73.69  Bcast:192.168.73.255  Mask:255.255.255.0
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:46 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:0 (0.0 b)  TX bytes:2707 (2.6 KiB)
  Interrupt:52

# Check routing for local wireless network traffic is there
[EMAIL PROTECTED]:~# netstat -r
Kernel IP routing table
Destination Gateway Genmask Flags   MSS Window  irtt Iface
192.168.73.0*   255.255.255.0   U 0 0  0 eth3

# The big test - can we ping the AP/router?
[EMAIL PROTECTED]:~# ping 192.168.73.1
PING 192.168.73.1 (192.168.73.1) 56(84) bytes of data.
From 192.168.73.69 icmp_seq=2 Destination Host Unreachable
From 192.168.73.69 icmp_seq=3 Destination Host Unreachable
From 192.168.73.69 icmp_seq=4 Destination Host Unreachable
From 192.168.73.69 icmp_seq=6 Destination Host Unreachable
From 192.168.73.69 icmp_seq=7 Destination Host Unreachable
From 192.168.73.69 icmp_seq=8 Destination Host Unreachable
From 192.168.73.69 icmp_seq=10 Destination Host Unreachable
From 192.168.73.69 icmp_seq=11 Destination Host Unreachable
From 192.168.73.69 icmp_seq=12 Destination Host Unreachable
From 192.168.73.69 icmp_seq=14 Destination Host Unreachable
From 192.168.73.69 icmp_seq=15 Destination Host Unreachable
From 192.168.73.69 icmp_seq=16 Destination Host Unreachable

--- 192.168.73.1 ping statistics ---
18 packets transmitted, 0 received, +12 errors, 100% packet loss, time 17019ms
, pipe 3

# No joy - is the wireless still up?
[EMAIL PROTECTED]:~# iwlist eth3 scan
eth3  Scan completed :
  Cell 01 - Address: 00:90:4C:7E:00:64
ESSID:"EucalyptusMarginata"
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 24 36 48 54
Quality=10

Re: Trouble getting bcm43xx driver to work

2006-01-08 Thread Aaron Kerr

I have been trying to compile more recent snapshots with a fresh 2.6.15
kernel. I have been side-tracked by a driver compile problem around an
declared value:

include/linux/skbuff.h:1209: error: ‘KM_SKB_DATA_SOFTIRQ’ undeclared
(first use in this function)

KM_SKB_DATA_SOFTIRQ is in a linux header for powerpc but not ppc.

After adding a sprinkling of arch=powerpc (to my kernel builds) this
error has gone away although I am not sure exactly how I fixed it (too
many changes and not testing often enough).

I have successfully compiled the 20060107 snapshots of ieeesoftmac and
bcm43xx and will test after work tonight (about 6 hours from now) as I
do not have an open wireless network at my place of work.

Michael Tautschnig wrote:
>>No such logs on the AP. It just shows me attached dhcp clients and websites 
>>accessed. My iBook is not listed as an attached DHCP client.
>>
> 
> 
> What about the current source revisions/snapshots? Do they work any better?
> Could you please post your current dmesg and the exact steps you performed
> (ifconfig, iwconfig ...)
> 
> Thanks,
> Michael




Re: Trouble getting bcm43xx driver to work

2006-01-08 Thread Michael Tautschnig
> 
> No such logs on the AP. It just shows me attached dhcp clients and websites 
> accessed. My iBook is not listed as an attached DHCP client.
>

What about the current source revisions/snapshots? Do they work any better?
Could you please post your current dmesg and the exact steps you performed
(ifconfig, iwconfig ...)

Thanks,
Michael


signature.asc
Description: Digital signature


Re: Trouble getting bcm43xx driver to work

2006-01-03 Thread Aaron

No such logs on the AP. It just shows me attached dhcp clients and websites 
accessed. My iBook is not listed as an attached DHCP client.

My other debian laptop (x86) and my wifes laptop (Wintel abomination) both use 
the AP via DHCP so I am pretty sure there is not a problem there.

The Access Point is configured to broadcast ESSID and not support WEP or WPA.

Thanks for trying to help,

Aaron.


On Tuesday 03 January 2006 22:12, Michael Tautschnig wrote:
> [...]
>
> > At first I suspected that I had missed something basic but now I fear
> > that have found a more difficlut to find problem. If someone doesn't
> > point out where I have stuffed up I will resort to systematic
> > trail-and-error with all settings (wireless channel, essid, etc.) just in
> > case there is an obscure bug I can identify.
>
> Does your AP provide any logs? As DHCP failed at your site I'd suspect some
> authentication/association problem...
>
> HTH,
> Michael


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Trouble getting bcm43xx driver to work

2006-01-03 Thread Matthias Jordan
Hi, folks.

Milan Toth schrieb:

> can you please point me how to do this? i have hotplug installed  
>   
>  
> i look at /etc/defaults/hotplug but i can't see anything  
>   
>  
> interesting in it 
>   
>  

Copy the *.fw files to /lib/hotplug/firmware. Do it by hand and do
not make installfw because it assumes the hotplug files to reside in
a different directory.

Bye!

Matthias


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Trouble getting bcm43xx driver to work

2006-01-03 Thread Michael Tautschnig
> Johannes Berg at Tue, Jan 03, 2006 at 02:44:07PM CET wrote:
> > On Tue, 2006-01-03 at 14:41 +0100, Milan Toth wrote:
> > 
> > > bcm43xx: Error: Microcode "bcm43xx_microcode5.fw" not available or load 
> > > failed.
> > 
> > fix your hotplug setup.
> 
> can you please point me how to do this? i have hotplug installed  
>   
>  
> i look at /etc/defaults/hotplug but i can't see anything  
>   
>  
> interesting in it 
>   
>  
Are you using testing or unstable? Then you should not have hotplug anymore but
udev running!?

Thanks,
Michael



signature.asc
Description: Digital signature


Re: Trouble getting bcm43xx driver to work

2006-01-03 Thread Milan Toth
Johannes Berg at Tue, Jan 03, 2006 at 02:44:07PM CET wrote:
> On Tue, 2006-01-03 at 14:41 +0100, Milan Toth wrote:
> 
> > bcm43xx: Error: Microcode "bcm43xx_microcode5.fw" not available or load 
> > failed.
> 
> fix your hotplug setup.

can you please point me how to do this? i have hotplug installed

 
i look at /etc/defaults/hotplug but i can't see anything

 
interesting in it   

 


 
thanks in advance ;)

> 
> johannes



-- 
Milan Toth  .''`.
http://milan.toth-online.com   : :'  :
[EMAIL PROTECTED]  `. `'`
 `-
MATH AND ALCOHOL DON'T MIX!
Please don't drink and derive.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Trouble getting bcm43xx driver to work

2006-01-03 Thread Johannes Berg
On Tue, 2006-01-03 at 14:41 +0100, Milan Toth wrote:

> bcm43xx: Error: Microcode "bcm43xx_microcode5.fw" not available or load 
> failed.

fix your hotplug setup.

johannes


signature.asc
Description: This is a digitally signed message part


Re: Trouble getting bcm43xx driver to work

2006-01-03 Thread Milan Toth
Johannes Berg at Tue, Jan 03, 2006 at 02:37:28PM CET wrote:
> On Tue, 2006-01-03 at 14:23 +0100, Milan Toth wrote:
> >  
> >  I have same problem and when I run 
> >  
> >  krachsna:~# ifconfig eth1 up
> >  SIOCSIFFLAGS: No such file or directory
> 
> That's not the same problem, look into dmesg and follow the readme.
> 
> [hint: this usually happens if you didn't extract the firmware
> correctly]

here is output of fwcutter

[EMAIL PROTECTED]/home/data/src/bcm43xx/fwcutter] ./fwcutter 
/macosx//System/Library/Extensions/AppleAirport2.kext/Contents/MacOS/AppleAirPort2
 
fwcutter can cut the firmware out of 
/macosx//System/Library/Extensions/AppleAirport2.kext/Contents/MacOS/AppleAirPort2
  filename :  AppleAirPort2
  version  :  3.90.34.0.p11 (400.17)
  MD5  :  ca0f34df2f0bfb8b5cfd83b5848d2bf5

WARNING! This firmware doesn't include support for 802.11a cards.
WARNING! Use this firmware only for 802.11b/g cards.

extracting bcm43xx_microcode2.fw ...
extracting bcm43xx_microcode4.fw ...
extracting bcm43xx_microcode5.fw ...
*: Sorry, it's not posible to extract "bcm43xx_microcode11.fw".
*: Extracting firmware from an old driver is bad. Choose a more recent one.
*: Luckily bcm43xx driver doesn't include microcode11 uploads at the moment.
*: But this can be added in the future...
extracting bcm43xx_pcm4.fw ...
extracting bcm43xx_pcm5.fw ...
extracting bcm43xx_initval01.fw ...
extracting bcm43xx_initval02.fw ...
extracting bcm43xx_initval03.fw ...
extracting bcm43xx_initval04.fw ...
extracting bcm43xx_initval05.fw ...
extracting bcm43xx_initval06.fw ...
extracting bcm43xx_initval07.fw ...
extracting bcm43xx_initval08.fw ...
extracting bcm43xx_initval09.fw ...
extracting bcm43xx_initval10.fw ...

but dmesg said that there is problem with:

bcm43xx: Error: Microcode "bcm43xx_microcode5.fw" not available or load failed.

and in /lib/firmware there is bcm43xx_microcode5.fw file

-- 
Milan Toth  .''`.
http://milan.toth-online.com   : :'  :
[EMAIL PROTECTED]  `. `'`
 `-
MATH AND ALCOHOL DON'T MIX!
Please don't drink and derive.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Trouble getting bcm43xx driver to work

2006-01-03 Thread Johannes Berg
On Tue, 2006-01-03 at 14:23 +0100, Milan Toth wrote:
>  
>  I have same problem and when I run 
>  
>  krachsna:~# ifconfig eth1 up
>  SIOCSIFFLAGS: No such file or directory

That's not the same problem, look into dmesg and follow the readme.

[hint: this usually happens if you didn't extract the firmware
correctly]

johannes


signature.asc
Description: This is a digitally signed message part


Re: Trouble getting bcm43xx driver to work

2006-01-03 Thread Michael Tautschnig
[...]
>  
>  I have same problem and when I run 
>  
>  krachsna:~# ifconfig eth1 up
>  SIOCSIFFLAGS: No such file or directory
>
Why should that be the same problem!? Nevertheless, what does dmesg tell you?

Thanks,
Michael


signature.asc
Description: Digital signature


Re: Trouble getting bcm43xx driver to work

2006-01-03 Thread Milan Toth
hello experts,
 
 Aaron at Tue, Jan 03, 2006 at 07:28:11AM CET wrote:
 > I am close to having the bcm43xx driver working but I am now stuck and could 
 > really do with some pointers.
 > 
 > THE SHORT VERSION:
 > 1. I have successfully built and installed bcm43xx, ieee80211softmac and 
 > bcm43xx-fwcutter (one error extracting firmware file 
 > bcm43xx_microcode11.fw). 
 > These are the latest daily snapshots (20060102)
 
 I have same problem and when I run 
 
 krachsna:~# ifconfig eth1 up
 SIOCSIFFLAGS: No such file or directory
 
 
 
 here is iwconfig output mebe it can be useful
 
 krachsna:~# iwconfig 
 lono wireless extensions.
 
 eth0  no wireless extensions.
 
 sit0  no wireless extensions.
 
 eth1  IEEE 802.11b/g  ESSID:off/any  Nickname:"Broadcom 4306"
   Mode:Managed  Access Point: Invalid   Bit Rate:1 Mb/s   
   Tx-Power=off   
   RTS thr:off   Fragment thr:off
   Encryption key:off
 
 
 I have the newest softmac a bcm driver sources form today 3.01.2006
 
 thanks in advance
 
 > 2. I can manually "ifconfig ethX up" the wireless interface and see my very 
 > open wireless network with "iwlist ethX scan". 
 > 
 > 3. SoftMac seems to associate (from dmesg output).
 > 
 > 4. dhclient ethX fails to get an IP address but I can manually set an IP 
 > address (in the correct range) with ifconfig.
 > 
 > 5. I can not ping my wireless AP/router. Ping returns "Destination Host 
 > Unreachable" even though my route table looks OK:
 > "Kernel IP routing table
 > Destination Gateway Genmask Flags   MSS Window  irtt 
 > Iface
 > 192.168.73.0*   255.255.255.0   U 0 0  0 
 > eth2"

-- 
Milan Toth  .''`.
http://milan.toth-online.com   : :'  :
[EMAIL PROTECTED]  `. `'`
 `-
MATH AND ALCOHOL DON'T MIX!
Please don't drink and derive.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Trouble getting bcm43xx driver to work

2006-01-03 Thread Johannes Berg
On Tue, 2006-01-03 at 17:28 +1100, Aaron wrote:

[stuff describing that looks like ARP replies not going through]

> Does anyone have any ideas, pointers or RTFMs??

Can you try a new version? We made a number of fixes yesterday. The
softmac source web interface allows you to download a zip or tar.gz
without having mercurial installed, just click on the most recent
changeset.

Have you tried setting the rate to something less, even if it
associates?

johannes


signature.asc
Description: This is a digitally signed message part


Re: Trouble getting bcm43xx driver to work

2006-01-03 Thread Michael Tautschnig
[...]
> 
> At first I suspected that I had missed something basic but now I fear that 
> have found a more difficlut to find problem. If someone doesn't point out 
> where I have stuffed up I will resort to systematic trail-and-error with all 
> settings (wireless channel, essid, etc.) just in case there is an obscure bug 
> I can identify.
>

Does your AP provide any logs? As DHCP failed at your site I'd suspect some
authentication/association problem...

HTH,
Michael



signature.asc
Description: Digital signature


Re: Trouble getting bcm43xx driver to work

2006-01-03 Thread Aaron

The extra line you have is the route for all traffic NOT on the local network 
and so it should not change ping-ing the router on the same network.

Just to be sure I have added a default route (to my AP/router) the same as 
your settings. Alas, this does not seem to have made any difference.

At first I suspected that I had missed something basic but now I fear that 
have found a more difficlut to find problem. If someone doesn't point out 
where I have stuffed up I will resort to systematic trail-and-error with all 
settings (wireless channel, essid, etc.) just in case there is an obscure bug 
I can identify.

Thanks for your help,

Aaron

On Tuesday 03 January 2006 18:27, Bin Zhang wrote:
> On 1/3/06, Aaron <[EMAIL PROTECTED]> wrote:
> > I am close to having the bcm43xx driver working but I am now stuck and
> > could really do with some pointers.
> >
> > THE SHORT VERSION:
> > 1. I have successfully built and installed bcm43xx, ieee80211softmac and
> > bcm43xx-fwcutter (one error extracting firmware file
> > bcm43xx_microcode11.fw). These are the latest daily snapshots (20060102)
> >
> > 2. I can manually "ifconfig ethX up" the wireless interface and see my
> > very open wireless network with "iwlist ethX scan".
> >
> > 3. SoftMac seems to associate (from dmesg output).
> >
> > 4. dhclient ethX fails to get an IP address but I can manually set an IP
> > address (in the correct range) with ifconfig.
> >
> > 5. I can not ping my wireless AP/router. Ping returns "Destination Host
> > Unreachable" even though my route table looks OK:
> > "Kernel IP routing table
> > Destination Gateway Genmask Flags   MSS Window  irtt
> > Iface 192.168.73.0*   255.255.255.0   U 0 0  
> >0 eth2"
>
> It seems to me that you have a problem with your network configuration.
> (because you use ip static)
>
> I have
> 
> # route
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric RefUse
> Iface 192.168.0.0 *   255.255.255.0   U 0  0   
> 0 sta0 default 192.168.0.1 0.0.0.0 UG0  0  
>  0 sta0 
> (192.168.0.1 = ip_of_my_router)
>
> Also check your /etc/resolv.conf
>
> If you use the package resolvconf, you can add two lines
> in your /etc/network/interfaces:
> -
> dns-search tele2.fr  <---my isp
> dns-nameservers 192.168.0.1   <---ip_of_my_router
>
> Regards,
> Bin
>
> > Does anyone have any ideas, pointers or RTFMs??
> >
> >
> > --
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact
> > [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Trouble getting bcm43xx driver to work

2006-01-02 Thread Bin Zhang
On 1/3/06, Aaron <[EMAIL PROTECTED]> wrote:
> I am close to having the bcm43xx driver working but I am now stuck and could
> really do with some pointers.
>
> THE SHORT VERSION:
> 1. I have successfully built and installed bcm43xx, ieee80211softmac and
> bcm43xx-fwcutter (one error extracting firmware file bcm43xx_microcode11.fw).
> These are the latest daily snapshots (20060102)
>
> 2. I can manually "ifconfig ethX up" the wireless interface and see my very
> open wireless network with "iwlist ethX scan".
>
> 3. SoftMac seems to associate (from dmesg output).
>
> 4. dhclient ethX fails to get an IP address but I can manually set an IP
> address (in the correct range) with ifconfig.
>
> 5. I can not ping my wireless AP/router. Ping returns "Destination Host
> Unreachable" even though my route table looks OK:
> "Kernel IP routing table
> Destination Gateway Genmask Flags   MSS Window  irtt Iface
> 192.168.73.0*   255.255.255.0   U 0 0  0 eth2"
>
It seems to me that you have a problem with your network configuration.
(because you use ip static)

I have

# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse Iface
192.168.0.0 *   255.255.255.0   U 0  00 sta0
default 192.168.0.1 0.0.0.0 UG0  00 sta0

(192.168.0.1 = ip_of_my_router)

Also check your /etc/resolv.conf

If you use the package resolvconf, you can add two lines
in your /etc/network/interfaces:
-
dns-search tele2.fr  <---my isp
dns-nameservers 192.168.0.1   <---ip_of_my_router

Regards,
Bin

> Does anyone have any ideas, pointers or RTFMs??
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
>



Trouble getting bcm43xx driver to work

2006-01-02 Thread Aaron
I am close to having the bcm43xx driver working but I am now stuck and could 
really do with some pointers.

THE SHORT VERSION:
1. I have successfully built and installed bcm43xx, ieee80211softmac and 
bcm43xx-fwcutter (one error extracting firmware file bcm43xx_microcode11.fw). 
These are the latest daily snapshots (20060102)

2. I can manually "ifconfig ethX up" the wireless interface and see my very 
open wireless network with "iwlist ethX scan". 

3. SoftMac seems to associate (from dmesg output).

4. dhclient ethX fails to get an IP address but I can manually set an IP 
address (in the correct range) with ifconfig.

5. I can not ping my wireless AP/router. Ping returns "Destination Host 
Unreachable" even though my route table looks OK:
"Kernel IP routing table
Destination Gateway Genmask Flags   MSS Window  irtt Iface
192.168.73.0*   255.255.255.0   U 0 0  0 eth2"

Does anyone have any ideas, pointers or RTFMs??


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]