Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.


  Search this Thread
Old 02-23-2004, 08:37 AM   #1
LQ Newbie
Registered: Feb 2004
Location: FRANCE
Distribution: RedHat 9
Posts: 2

Rep: Reputation: 0
Question Madwifi Ad-hoc working only when manually started

Dear all,

Thanks to all the posts here, I finally got my madwifi working with a DWL-G650 PCMCIA card.

However, I am still stuck on one point for which I couldn't find a post.

I'm using ad-hoc mode (to a Win2K station, I have no AP) and it works ONLY if I set the MODE parameter in /etc/sysconfig/network-scripts/ifcfg-ath0 to be empty (ie. MODE=). When booting up, iwconfig ath0 shows me MODE=managed and the card didn't receive an IP address from my ICS DHCP server. I then manually change iwconfig mode ad-hoc and ifup ath0 and receive properly IP and DNS info from my DHCP server.

When I want this to happen automatically, ie. by setting MODE=ad-hoc in ifcfg-ath0, it doesn't work and I never get an IP address, even when trying to manually ifup ath0...

Does anybody have an idea where the error can be ?

Some additional info :

Contents of ifcfg-ath0


Sys = RedHat 9 Kernel 2.4.20-30.9 (latest)

Output of lspci -v re this card gives :

03:00.0 Ethernet controller: Unknown device 168c:0013 (rev 01)
Subsystem: Unknown device 168c:1025
Flags: bus master, medium devsel, latency 168, IRQ 5
Memory at 10800000 (32-bit, non-prefetchable) [size=64K]
Capabilities: [44] Power Management version 2

Thanks for any help.

Old 02-23-2004, 05:02 PM   #2
Registered: Dec 2003
Location: San Jose
Distribution: Redhat WS 3
Posts: 410

Rep: Reputation: 30
from Madwifi FAQ:

4.12 Does ad-hoc mode work?

No. There is a know problem whereby the station becomes desynchronised from the network. Fixing it is very low on Sam's priority list, and there is nothing to stop someone else working on it if it's a problem in the driver.

Hope this helps.
Old 02-28-2004, 07:54 AM   #3
LQ Newbie
Registered: Feb 2004
Location: FRANCE
Distribution: RedHat 9
Posts: 2

Original Poster
Rep: Reputation: 0

Thanks but no that doesn't help. The Madwifi FAQ you refer too is outdated on some points including ad-hoc. I know it works as you long as you keep both cards on 11b rather than 11g because it works for me... it's just the auto-start part that doesn't seem to be working...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Win Xp and FC4 Ad hoc not working Boomba Linux - Wireless Networking 0 10-10-2005 03:49 PM
Madwifi is it working??? Atrocity Linux - Wireless Networking 5 05-03-2005 01:00 PM
Apache 1.3 started but not working ? Devboy *BSD 0 08-16-2004 07:29 AM
dhcp not working with madwifi cincyman12 Linux - Wireless Networking 9 05-02-2004 07:44 PM
D-Link DWL-G650 not working. Help with madwifi install? vxdxbx Linux - Wireless Networking 1 02-27-2004 06:02 PM > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 11:40 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration