peer-to-peer wireless networking

Have you guys have tried the peer-to-peer wireless (ad-hoc) networking?
I have 2 usb wireless dongle, one is connected to my beagleboard and the other one is connected to my host computer.
I configured both of them as a ad-hoc and able to ping to each other.

But, I was not able to access the beagleboard http server from my host computer.

Any solution?

Thanks,

John

Which HTTP Server you are using,If you are able to ping than you
should be able to access it.
Check Clear any Iptables rules,
If you have python installed simples to check is through
"python -m SimpleHTTPServer " Command runs a webserver on port 8000 so
you should be able to
access through http://ip:8000

or you could also use mongoose webserver (Cross compile it)
http://code.google.com/p/mongoose/

then you can dig into lighttpd or Apache.

If you have ping then you have proved IP connectivity. The rest is
most likely PEBKAC.

I would run tcpdump to get more info.

BTW "it doesn't work" type descriptions are hard to assist. To get
better assistance please provide more details about what "not able to
access" means. Do you get connection refused? Do you get timeouts?
Please describe what you do and what you observe.

I checked it again and it seems the communication between two devices are not consistent. The ping command sometimes get a response back and sometimes not.

On Beagleboard, I issued the following commands:

iwconfig wlan0 mode Ad-Hoc
iwconfig wlan0 essid myadhoc
iwconfig wlan0 channel 8
ifconfig wlan0 10.0.0.1 up

#iwconfig

wlan0 IEEE 802.11bgn ESSID:“myadhoc”
Mode:Ad-Hoc Frequency:2.447 GHz Cell: 0E:33:26:42:AE:09
Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:on

On Host:

iwconfig wlan0 mode Ad-Hoc
iwconfig wlan0 essid myadhoc
iwconfig wlan0 channel 8
ifconfig wlan0 10.0.0.1 up

#iwconfig

wlan1 IEEE 802.11bgn ESSID:“myadhoc”
Mode:Ad-Hoc Frequency:2.447 GHz Cell: 0E:33:26:42:AE:09
Tx-Power=13 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:on

Any idea?

Thanks,

John

additional info: When I pinging each other at the same time, I’ve got a response. But, the response time was a bit longer…

From beagleboard pinging host:

64 bytes from 10.0.0.2: seq=322 ttl=64 time=2184.233 ms
64 bytes from 10.0.0.2: seq=324 ttl=64 time=1977.263 ms
64 bytes from 10.0.0.2: seq=335 ttl=64 time=1119.564 ms
64 bytes from 10.0.0.2: seq=341 ttl=64 time=30.729 ms

From host pinging beagleboard:

64 bytes from 10.0.0.3: icmp_seq=332 ttl=64 time=1248 ms
64 bytes from 10.0.0.3: icmp_seq=333 ttl=64 time=15945 ms
64 bytes from 10.0.0.3: icmp_seq=339 ttl=64 time=14161 ms
64 bytes from 10.0.0.3: icmp_seq=359 ttl=64 time=1425 ms

Thanks,

John