Bug 271 - under ad-hoc mode,can still communicate after setting essid to another value
: under ad-hoc mode,can still communicate after setting essid to another value
Status: VERIFIED FIXED
: IPW2200
IBSS
: 0.11
: HP/Compaq Fedora Core 2
: P1 normal
Assigned To:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2004-10-08 20:14 by
Modified: 2005-10-02 14:39 (History)


Attachments
sometimes the two laptops can't communicate with each other. (15.25 KB, text/plain)
2004-11-18 00:17, Yan Nan
Details


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2004-10-08 20:14:40
We did this testing on ibm t40 and compaq x1000,both of which have FC2,2.6.8.1 
kernel.
steps:
1, On ibm t40:
   % modprobe ipw2200
   % iwconfig eth1 mode ad-hoc essid testing channel 2
   % ifconfig eth1 192.168.2.20 up
2, On compaq x1000:
   % modprobe ipw2200
   % iwconfig eth1 mode ad-hoc essid testing channel 2
   % ifconfig eth1 192.168.2.21 up
   % ping 192.168.2.20
   we can see ping comes back with data.
3, then on compaq x1000, we change the essid:
   % iwconfig eth1 essid testing2
   % iwconfig 
   we can see that the essid has been changed.
   % ping 192.168.2.20
   the x1000 can still communicate with t40.
------- Comment #1 From 2004-11-17 07:19:37 -------
Note from scrub: Please provide dmesg output at 0x3fff capturing the command 
that sets the ESSID to the new essid.
------- Comment #2 From 2004-11-18 00:17:35 -------
Created an attachment (id=98) [details]
 sometimes the two laptops can't communicate with each other.

test it again in 0.13, but chances are good that after the association is
established and the static IP is assigned, the two laptop can't communicate
with each other.
the PING gives message: Destination Host Unreachable.
attached is the dmesg output when debug is set to 0x3fff.
------- Comment #3 From 2004-11-18 17:34:58 -------
Yan, was the above comment for the dell adhoc bug?

Our bug is actually with pattern matching essid's.  "testing" and "testing2" 
are incorrectly seen as the same essid, so you end up joining
the old ad-hoc network, and hence can ping the machines in the original network.
------- Comment #4 From 2004-11-18 21:00:13 -------
No, the comment is for this bug. Following Salwan's advice above, we set the 
debug to 0x3fff and got the attached dmesg output.

this time, we didn't set channel on the second laptop to avoid creating two ad-
hoc networks:
1, On Compaq X1000:
   % modprobe ipw2200
   % iwconfig eth1 mode ad-hoc 
   % iwconfig eth1 essid hello channel 2
   % ifconfig eth1 192.168.2.20 up
2, On Dell D505:
   % modprobe ipw2200
   % iwconfig eth1 mode ad-hoc
   % iwconfig eth1 essid testing
   % ifconfig eth1 192.168.2.21 up
   % ping 192.168.2.20
   we can see ping comes back with data.
3, then on Dell D505, we change the essid:
   % iwconfig eth1 essid hello2
   % iwconfig 
   we can see that the essid has been changed.
   % ping 192.168.2.21
   the x1000 can still communicate with D505.
 
so, as you said above, this problem still exists in 0.13.
------- Comment #5 From 2004-11-18 21:22:14 -------
sorry, i made a typing mistake.

s/testing/hello
so the 2nd step should be:
2, On Dell D505:
   % modprobe ipw2200
   % iwconfig eth1 mode ad-hoc
   % iwconfig eth1 essid hello
   % ifconfig eth1 192.168.2.21 up
   % ping 192.168.2.20
------- Comment #6 From 2004-11-20 09:27:14 -------
Fixed in v0.14
------- Comment #7 From 2004-11-22 18:14:45 -------
can't verify the fix now,will verify this when bug 413 is fixed.
------- Comment #8 From 2004-11-23 02:00:38 -------
To this bug, after setting essid to different value, the two laptops can not 
communicate. Mark this bug as fixed.  

To bug #413, maybe it doesn't happen everytime, I didn't see it during the 
testing. 
------- Comment #9 From 2004-11-24 20:16:28 -------
the bug still exist in 0.15.
steps:
1, On ibm t40:
   % modprobe ipw2200
   % iwconfig eth1 mode ad-hoc essid testing channel 2
   % ifconfig eth1 192.168.2.20 up
2, On compaq x1000:
   % modprobe ipw2200
   % iwconfig eth1 mode ad-hoc essid testing
   % ifconfig eth1 192.168.2.21 up
   % ping 192.168.2.20
   we can see ping comes back with data.
3, then on compaq x1000, we change the essid:
   % iwconfig eth1 essid testing2
   % iwconfig 
   we can see that the essid has been changed.
   % ping 192.168.2.20
   the x1000 can still communicate with t40.
------- Comment #10 From 2004-11-29 09:33:49 -------
Yan, Nan. Is the ethernet interface down? or is ethernet cable unplugged from 
the machine? ie. Please confirm that the pings aren't being routed through the 
ethernet cable.
------- Comment #11 From 2004-12-01 00:19:11 -------
i did this test again, our ethernet cable is unplugged from the machine,and 
the bug still exist in 0.15.
------- Comment #12 From 2004-12-02 13:52:54 -------
Fixed in version 0.16
------- Comment #13 From 2004-12-02 14:22:40 -------
Yan, Nan: if verification fails in 0.16, please provide debug=0x3fff debug log.
------- Comment #14 From 2004-12-02 14:24:41 -------
An addition to the previous comment. The debug log of interest is the one from 
the machine that changes its essid.
------- Comment #15 From 2004-12-05 18:12:49 -------
verified in 0.16.