Re: Adhoc Connection
Pavel Roskin <[email protected]> Tue, 23 Mar 2010 23:05:00 -0400
| Newsgroups | gmane.linux.drivers.madwifi.user |
|---|---|
| Message-ID | <1269399900.26249.15.camel@mj> |
On Tue, 2010-03-23 at 12:36 +0200, Mohammad Abdelhadi wrote: > Thank you for the reply, I did mark the interface as unmanaged and I > confirmed that, then I repeated the steps and I established two > interfaces using the same cell (checked by iwconfig) but still when I > use (ping) command to test the connection > (https://help.ubuntu.com/community/WifiDocs/Adhoc) the result is > "Destination Host Unreachable"... Any suggestions? It worked for me. That's how you can troubleshoot the problem: Make sure both interfaces are in ad-hoc mode, using the same channel and ESSID, and the cell number is indeed the same. Make sure both cards see each other in the scan results. The MAC address shown by iwlist is the cell address of the other card. Use ifconfig to check that both cards have different IP addresses. Use route to see if the remote IP address is routed via the wireless card. Run ping on one side and use tshark on both sides on the wireless interface to make see if the packets are going in both directions. Use iptables to see if there are any firewall rules that would prevent sending or receiving packets. Use a separate interface in monitor mode to see what is happening on the air. -- Regards, Pavel Roskin ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev