Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
MadWifi-NG Issues:Default Settings Get Network/SSID, No DHCP
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Kenji Miyamoto
Veteran
Veteran


Joined: 28 May 2005
Posts: 1452
Location: Looking over your shoulder.

PostPosted: Wed Jul 04, 2007 6:03 am    Post subject: MadWifi-NG Issues:Default Settings Get Network/SSID, No DHCP Reply with quote

I've run into a problem with the MadWifi-NG drivers (0.9.3.1 compiled against Suspend2 2.6.21-r5), where when I use the default net configuration, it returns no error until dhcpcd. dhcpcd returns "Error: ath0 timeout" and I get zero connectivity.

dmesg says nothing other than "No IPv6 routers present" every now and then, and no errors (other than a warning about no WEP encryption) are given by the script.

The chip is an Atheros 5424/2424, also listed under lspci as a "Atheros Communications, Inc. AR5006EG 802.11 b/g Wireless PCI Express Adapter (rev 01)."

What is wrong here?
_________________
[ Kawa-kun, new and improved!! ]

Alex Libman seems to be more of an anarchist than a libertarian.
Back to top
View user's profile Send private message
jhohwie
n00b
n00b


Joined: 10 Jul 2006
Posts: 18
Location: germany

PostPosted: Fri Jul 06, 2007 9:09 pm    Post subject: Reply with quote

had a similar problem with madwifi...

after starting wpa_supplicant try:
Code:

ifconfig ath0 down
ifconfig ath0 up

and then
Code:

dhcpcd ath0


hth

-joe
Back to top
View user's profile Send private message
pdr
l33t
l33t


Joined: 20 Mar 2004
Posts: 618

PostPosted: Sat Jul 07, 2007 12:02 am    Post subject: Reply with quote

I'm waiting for a new driver. When I connect, it does not connect to the correct channel. I manually connect, wait for the light on my laptop (takes a few seconds), then do

Code:
iwconfig ath0 channel 1


where my AP is on channel 1 (on its own it usually is going to channel 11, sometimes 6, ..)

From what I understand the wireless init scripts used to take this into account for madwifi, but was removed relatively recently since it was a hack around a driver bug..

This works for me because I am not doing dhcp; if this is your problem (check the forums - a few people have this problem) then you might have to manually start dhcp after you have gotten the interface to use the correct channel..
Back to top
View user's profile Send private message
yuwy
n00b
n00b


Joined: 22 May 2006
Posts: 38

PostPosted: Sat Jul 07, 2007 11:37 am    Post subject: Reply with quote

rmmod all the relevant madwifi stuff then do this

modprobe ath_rate_sample
modprobe wlan_scan_sta
modprobe wlan_wep
modprobe ath_pci

then try again
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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