adhoc mode doesn't work

This is a discussion on adhoc mode doesn't work within the Linux Networking forums, part of the Linux Forums category; Hi all, i'm in trouble with two laptops equipped with a wireless NIC (a broadcom and a Intel). I ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2008
DeepBlue
 
Posts: n/a
Default adhoc mode doesn't work

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
  #2 (permalink)  
Old 02-20-2008
jayjwa
 
Posts: n/a
Default Re: adhoc mode doesn't work



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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:29 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0