Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Airport DHCP Timeout (iBook G4)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
kyle.soule
n00b
n00b


Joined: 12 Jan 2006
Posts: 4

PostPosted: Mon Nov 06, 2006 3:01 am    Post subject: Airport DHCP Timeout (iBook G4) Reply with quote

Followed a few tutorials on the internet, the sticky on the top of this forum, and various other tips and simply, save for one time, have not been able to get my Airport card to work on my iBook G4...stats are as follows --

Code:
uname -r
2.6.17-gentoo-r8

lspci | grep Broadcom
0001:10:12.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)


The kernel is compiled with bcm43xx, I grabbed wl_apsta.o for use with bcm43xx_fwcutter and placed those files in my /lib/firmware directory. Gone through the following steps for the last few hours:

1) ifconfig eth1 up
2) iwlist eth1 scan (turned up a couple results)
3) iwconfig eth1 channel 11
4) iwconfig eth1 essid "homesid"
5) iwconfig eth1 ap any (also, set the actual address of the AP)
6) iwconfig eth1 rate 11M

bcm43xx is loaded and I don't get any results to this point...everything appears to go well. When I run dhcpcd eth1, however, it sits for a while until it says:

"Error, timed out waiting for a valid DHCP server response"

I have also tried to set a static IP, eth1 started up nicely but I didn't have a connection to the internet (or my router, for that matter...it just doesn't fail with any errors). I'm stumped and have, quite literally, spent the entire day reading through tutorials and these forums without many results.

The strange part is this, when I was first going through the tutorials, I ran dhcp and it took about 2 minutes, but it got an IP from my router and the internet worked perfectly. I brought down eth1 and brought it back up and dhcp hasn't worked since. Nothing changed, it just hasn't worked. I've tried it on a couple different kernel compiles, also. 2.6.18.2, 2.6.18.1, 2.6.17, and a couple from portage.


Thanks in advance for any tips.
Back to top
View user's profile Send private message
kyle.soule
n00b
n00b


Joined: 12 Jan 2006
Posts: 4

PostPosted: Sat Nov 11, 2006 6:34 am    Post subject: Reply with quote

The problem turned out to be a distance thing. I am about 20 feet away from my AP (through a few walls) and at this distance, dmesg reports that softmac isn't able to establish authentication and I have NIL communication with my router. This is very strange, at about 2 or 3 times this distance, I have all bars in OS X.

Has anybody else come across anything of this nature? If I sit at my desk and, for example, wget a file, it won't establish a connection with the site until I move directly outside the WAP room.
Back to top
View user's profile Send private message
timotheus25
Apprentice
Apprentice


Joined: 27 Dec 2005
Posts: 162
Location: *upstate* New York, USA

PostPosted: Fri Nov 17, 2006 4:36 am    Post subject: Reply with quote

kyle.soule wrote:

Has anybody else come across anything of this nature? If I sit at my desk and, for example, wget a file, it won't establish a connection with the site until I move directly outside the WAP room.


You must lower the wireless rate for longer distances. This is true for any wireless technology. The Linux bcm43xx driver does not yet support auto-adjustment of the rate, so you must do it manually.

The rate of 54M for 802.11g is a marketing lie, even when your laptop is next to the AP. It probably will always work better at a lower rate. For 20 ft and a few walls, try in order: 18M, 11M, 5.5M, 2M.
For DHCP try 1M first and then raise the rate.

Code:

# man iwconfig
# iwconfig eth1 rate 1M


I most cases you really want 2.6.18.1 or newer.

FYI: probably no one replied because you did not put "Extreme" or "bcm43xx" in your post's title. Airport is an older 802.11b card.

EDIT: if your AP is 802.11b you should keep the rate at 5.5M or lower for reliable performance unless you laptop is only a few feet from the AP.
_________________
http://tstotts.net/linux/gentoopb.html
http://tstotts.net/linux/gentooinsp640m.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum