Networking Forums

Networking Forums > Computer Networking > Linux Networking > adhoc mode doesn't work

Reply
Thread Tools Display Modes

adhoc mode doesn't work

 
 
DeepBlue
Guest
Posts: n/a

 
      01-05-2008, 09:57 AM
Hi all,

i'm in trouble with two laptops equipped with a wireless NIC (a broadcom
and a Intel).

I tried to configure adhoc mode, but they won't communicate.

On both machines, i disabled network manager this way:

/etc/dbus-1/event.d/25NetworkManager stop

then, on the laptop "A" i gave:

iwconfig eth1 essid test mode ad-hoc channel 8 key off
ifconfig eth1 10.0.0.1 netmask 255.255.255.0 up

On the laptop "B":

iwconfig eth1 essid test mode ad-hoc channel 8 key off
ifconfig eth1 10.0.0.2 netmask 255.255.255.0 up

so if i try to make traffic, i can't see a packet!

If from B i try to ping A, i don't get any response
Using tcpdump on A i can't see the incoming ping from B, but sometimes i
can see ARP requests from it (that reamin without a response)...
Same thing if i ping B from A.

I tried to set up encryption or using smaller subnets, but nothing changed.

I'm not a wireless wizard, ok, but i really can't understand what i'm
missing...

Any clue?
 
Reply With Quote
 
 
 
 
jayjwa
Guest
Posts: n/a

 
      02-20-2008, 02:44 AM


Are you setting up route/default route? Also, you might want to dump
ifconfig in favor of 'ip', from iproute2.

http://linux-net.osdl.org/index.php/Iproute2

--
[** America, the police state **]
Whoooose! What's that noise? Why, it's US citizen's
rights, going down the toilet with Bush flushing.
http://www.theregister.co.uk/2008/01..._nsa_internal/
http://www.wired.com/politics/securi...007/08/wiretap
http://www.hermes-press.com/police_state.htm
http://www.privacyinternational.org/...D=x-347-559597
 
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adhoc mode Ramesh Wireless Networks 4 08-21-2006 10:32 PM
ADHOC mode to the network internet sharing kaynine Wireless Internet 2 01-09-2005 08:34 PM
ADHOC mode to the network internet sharing kaynine Wireless Internet 2 01-08-2005 06:18 PM
[info] IBSS (adhoc-mode) does multihop? Taqi Jaffri Wireless Internet 4 04-01-2004 07:23 PM
DLINK DWL-120+ Encryption in ADHOC mode only? Liam Wireless Internet 0 11-17-2003 11:53 PM



1 2 3 4 5 6 7 8 9 10 11