LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   peer to peer at AD-HOC mode (https://www.linuxquestions.org/questions/linux-networking-3/peer-to-peer-at-ad-hoc-mode-928252/)

bvdyi 02-08-2012 01:35 AM

peer to peer at AD-HOC mode
 
hello:
i have 3 identical devices, A, B, C, and i want them to communicate peer to peer on AD-HOC mode.

ex: A<->B or A<->C, only 2 devices communicated at the same time.

my configuration is as below:
1.essid: (A,B,C are all the same)
2.channel: 3 (A,B,C are all the same)
3.NetworkType:Ad-hoc (A,B,C are all the same)
4.ip: A:192.168.56.103
B:192.168.56.104
C:192.168.56.105
[command]:
1.iwconfig ra0 essid [ID]
2.iwconfig ra0 channel 3
3.iwconfig ra0 mode Ad-hoc
4.ifconfig ra0 [IP]

first of all, connection between A and B is ok (A and B could ping to each other), and then i tried to connect A and C,... failed!!

my 2nd configuration is [essid and 3rd code of ip] of [B and C] are different, when A will connect to B, set the same essid and class C IP as B, and A successfully connect to B, but A<->C(set the same essid and class C IP as C) failed!!!

my wifi driver is ralink rt3070...
i have no idea to solve this problem...do i miss something???
could any body help~ any advice will be very appreciate and ...
forgive my bad english~
thank you very much~~

dirigeant 02-08-2012 09:11 PM

You can use master mode for one of the devices and connect other machines to it.


All times are GMT -5. The time now is 10:38 AM.