Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

MadWifi-NG Issues:Default Settings Get Network/SSID, No DHCP

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
Kenji Miyamoto
Veteran
Veteran
User avatar
Posts: 1452
Joined: Sat May 28, 2005 6:11 pm
Location: Looking over your shoulder.
Contact:
Contact Kenji Miyamoto
Website

MadWifi-NG Issues:Default Settings Get Network/SSID, No DHCP

  • Quote

Post by Kenji Miyamoto » Wed Jul 04, 2007 6:03 am

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.
Top
jhohwie
n00b
n00b
User avatar
Posts: 18
Joined: Mon Jul 10, 2006 5:43 pm
Location: germany

  • Quote

Post by jhohwie » Fri Jul 06, 2007 9:09 pm

had a similar problem with madwifi...

after starting wpa_supplicant try:

Code: Select all

ifconfig ath0 down
ifconfig ath0 up
and then

Code: Select all

dhcpcd ath0
hth

-joe
Top
pdr
l33t
l33t
User avatar
Posts: 618
Joined: Sat Mar 20, 2004 10:28 pm

  • Quote

Post by pdr » Sat Jul 07, 2007 12:02 am

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: Select all

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..
Top
yuwy
n00b
n00b
Posts: 38
Joined: Mon May 22, 2006 5:47 pm

  • Quote

Post by yuwy » Sat Jul 07, 2007 11:37 am

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
Top
Post Reply

4 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic