Closed iamxg closed 6 years ago
Dear Guo,
The new code includes a new method called addCar. https://github.com/intrig-unicamp/mininet-wifi/blob/master/examples/sumo-experimental.py .
Sent from my android
On 15 Nov 2017 15:50, "Xian Guo" notifications@github.com wrote:
Hi Ramon, Good afternoon! I don't understand how to map a car in sumo-experimental.py to a vehicle in sumo. I can't find addVehicle() function in the following video. Can achieve this mapping in the example sumo-experimental.py? I hope to get your suggestion. Thanks a lot! https://www.youtube.com/watch?v=Sui8iTwUva0
Best Regards, Xian Guo
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/intrig-unicamp/mininet-wifi/issues/135, or mute the thread https://github.com/notifications/unsubscribe-auth/AEnmetXWloswFM4uX3Y1i7peWjS5_l7Nks5s2zJ4gaJpZM4QfZXg .
Hi Ramon, Thank you for replying timely. I saw this function in sumo-experimental.py. The mapping between carx in this experiment and vehicleX in SUMO is not created when I test this experiment. Can this mapping be created?
Yes. You can create the map/mapping with https://www.openstreetmap.org and put the new map into https://github.com/intrig-unicamp/mininet-wifi/tree/master/mininet/sumo/data
Sent from my android
On 15 Nov 2017 16:38, "Xian Guo" notifications@github.com wrote:
Hi Ramon, Thank you for replying timely. I saw this function in sumo-experimental.py. The mapping between carx in this experiment and vehicleX in SUMO is not created when I test this experiment. Can this mapping be created?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/intrig-unicamp/mininet-wifi/issues/135#issuecomment-344704619, or mute the thread https://github.com/notifications/unsubscribe-auth/AEnmeqsGheaMXoVisO0xeDWgbQ-sE4Pyks5s2z2ngaJpZM4QfZXg .
Yes. You can confirm it with py carX.params['position'].
Sent from my android
On 15 Nov 2017 17:04, "Xian Guo" notifications@github.com wrote:
Sorry! I mean whether the relationship between carx in mininet-wifi and vehiclex in SUMO can be created. for example, car3 and vehicle3 in the following figure.
[image: image] https://user-images.githubusercontent.com/30093996/32857602-ecdad736-ca0d-11e7-830f-fe390a759af4.png
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/intrig-unicamp/mininet-wifi/issues/135#issuecomment-344712143, or mute the thread https://github.com/notifications/unsubscribe-auth/AEnmekl3l3G3GDCaGwWt5D8XvhwDqRtUks5s20PggaJpZM4QfZXg .
The loopback interface is down. That's why the station cannot ping to itself. BTW, you can find further information about the node car architecture through the mailing list and also in this paper http://ieeexplore.ieee.org/document/7859348/.
2017-11-16 18:36 GMT-03:00 Xian Guo notifications@github.com:
Hi Ramon, Good afternoon! I'd like to test v2v communication in vanet.py. should I use carxSTA-mp0 interface? no response when I use ping command. I don't know how to test it. [image: image] https://user-images.githubusercontent.com/30093996/32917097-b612789a-cae3-11e7-815b-37414b8cde87.png [image: image] https://user-images.githubusercontent.com/30093996/32917169-f3090642-cae3-11e7-9f30-b0b2fa63b671.png
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/intrig-unicamp/mininet-wifi/issues/135#issuecomment-345070472, or mute the thread https://github.com/notifications/unsubscribe-auth/AEnmegQpYmm-V1blECpBeGcaPQ7sfXfaks5s3KrwgaJpZM4QfZXg .
Ok, Thanks a lot! Best Regards, Xian
Hi Ramon,
I can't use staxSTA-mp0 interface. I don't know why. do I need routing for mesh network? I see net.meshRouting('custom'). But no routing is used in example mesh.py.
I'd like to use staxSTA-wlan0 interface. I add the following codes. An problem occurred. I don't know how to modify it. Please you give me suggestion.
Happy weekend!
Xian Guo
Dear Guo,
Please upgrade the version of Mininet-WiFi you have installed. The most recent version is 2.2. net.meshRouting('custom') is obsolete.
Sent from my android
On 17 Nov 2017 22:24, "Xian Guo" notifications@github.com wrote:
Hi Ramon, I can't use staxSTA-mp0 interface. I don't know why. do I need routing for mesh network? I see net.meshRouting('custom'). But no routing is used in example mesh.py. [image: image] https://user-images.githubusercontent.com/30093996/32975318-b91c1486-cbcb-11e7-98c1-40bdbb231175.png [image: image] https://user-images.githubusercontent.com/30093996/32975323-e2d93c4a-cbcb-11e7-89fd-8b545d30f8c5.png
I'd like to use staxSTA-wlan0 interface. I add the following codes. An problem occurred. I don't know how to modify it. Please you give me suggestion. [image: image] https://user-images.githubusercontent.com/30093996/32975433-b1b3c9e0-cbcc-11e7-9f92-0e19c7a10528.png [image: image] https://user-images.githubusercontent.com/30093996/32975456-d25af9c0-cbcc-11e7-8174-bf065bda159f.png
Happy weekend!
Xian Guo
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/intrig-unicamp/mininet-wifi/issues/135#issuecomment-345407115, or mute the thread https://github.com/notifications/unsubscribe-auth/AEnmeslUXNNharSrs_F06L7z_QhmVZNpks5s3jG_gaJpZM4QfZXg .
Dear Guo,
The screenshot you sent before says you have 2.1r4.
Sent from my android
On 18 Nov 2017 12:57, "Xian Guo" notifications@github.com wrote:
Hi Ramon, My mininet-wifi is the latest version. I saw this function in mailing list. v2v doesn't work till now. A problem that I find is carxSTA's lookback interface is disableed. I only can enable it in mininet-wifi prompt. I also can't enable it even if I add the code in example. I don't know why. [image: image] https://user-images.githubusercontent.com/30093996/32982162-a4b77c2c-cc45-11e7-93ee-4e5f98a6da61.png I am so sorry for disturbing you in weekend.
Xian Guo
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/intrig-unicamp/mininet-wifi/issues/135#issuecomment-345451313, or mute the thread https://github.com/notifications/unsubscribe-auth/AEnmei7N4475Ejxw5oPhXGuivZN_m8Dyks5s3v5ygaJpZM4QfZXg .
My mininet-wifi is the latest version. I saw this function in mailing list. v2v doesn't work till now. A problem that I find is carxSTA's lookback interface is disableed. I only can enable it in mininet-wifi prompt. I also can't enable it even if I add the code in example. I don't know why.
I am so sorry for disturbing you in weekend.
Xian Guo
Ok, I am reinstalling and then try it again! Thanks a lot.
Hi Ramon, Thank you very much for your helping me! I reinstall ubuntu16.04TLS and mininet-wifi 2.2. And when I set ap's range=50, car's range=100, v2v and v2i both can work. on the contrary, v2i can't work. Happy weekend! Xian Guo
Have you checked the received signal?
Sent from my android
On 18 Nov 2017 20:16, "Xian Guo" notifications@github.com wrote:
Hi Ramon, Thank you very much for your helping me! I reinstall ubuntu16.04TLS and mininet-wifi 2.2. And when I set ap's range=50, car's range=100, v2v and v2i both can work. on the contrary, v2i can't work. Happy weekend! Xian Guo
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/intrig-unicamp/mininet-wifi/issues/135#issuecomment-345478587, or mute the thread https://github.com/notifications/unsubscribe-auth/AEnmevrO-YecLPX-ho0IQl3pIvix_Mmsks5s32VFgaJpZM4QfZXg .
Hi Ramon, Good morning! I used these functions. But it didn't return rssi value. I didn't modify any code except "range".
Have a great day! Xian Guo
Is wmediumd enabled?? Have you ever tried iw dev and even iwconfig??
Sent from my android
On 20 Nov 2017 11:12, "Xian Guo" notifications@github.com wrote:
Hi Ramon, Good morning! I used these functions. But it didn't return rssi value. I didn't modify any code except "range".
[image: image] https://user-images.githubusercontent.com/30093996/33022291-51c34a7e-cdca-11e7-9100-b2b1b438d32d.png [image: image] https://user-images.githubusercontent.com/30093996/33022338-7870fc2a-cdca-11e7-9647-d83a313c6d54.png
Have a great day! Xian Guo
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/intrig-unicamp/mininet-wifi/issues/135#issuecomment-345706715, or mute the thread https://github.com/notifications/unsubscribe-auth/AEnmemCoX8RuxrDA9pJc28f95kKAP60Mks5s4YjcgaJpZM4QfZXg .
I really would like to get your conclusion. Not only commands and their output. As you can see the nodes aren't associated with any AP. That's why they cannot ping with each other.
Sent from my android
On 20 Nov 2017 11:21, "Xian Guo" notifications@github.com wrote:
[image: image] https://user-images.githubusercontent.com/30093996/33022732-bda2ba62-cdcb-11e7-8cb1-7a5a2614007c.png
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/intrig-unicamp/mininet-wifi/issues/135#issuecomment-345709115, or mute the thread https://github.com/notifications/unsubscribe-auth/AEnmetc-7HYYRKoTtIz-QAcSIhNdjeYnks5s4YrOgaJpZM4QfZXg .
The output for car1sta is correct, since its interface is working in mesh mode. mpX wouldn't exist without its wlan interface (the real world works this way, right?). If you want to get any information about mesh association you should use iw.
Sent from my android
On 20 Nov 2017 11:25, "Ramon Fontes" ramonreisfontes@gmail.com wrote:
I really would like to get your conclusion. Not only commands and their output. As you can see the nodes aren't associated with any AP. That's why they cannot ping with each other.
Sent from my android
On 20 Nov 2017 11:21, "Xian Guo" notifications@github.com wrote:
[image: image] https://user-images.githubusercontent.com/30093996/33022732-bda2ba62-cdcb-11e7-8cb1-7a5a2614007c.png
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/intrig-unicamp/mininet-wifi/issues/135#issuecomment-345709115, or mute the thread https://github.com/notifications/unsubscribe-auth/AEnmetc-7HYYRKoTtIz-QAcSIhNdjeYnks5s4YrOgaJpZM4QfZXg .
sorry, I am testing! please wait a few minutes!
Now, when I modified carx's range=50 and ap's range=100, association between carx and ap can't be created even if they are in ap's range. You are right. But I don't know why.
for example car3 and car8 in figure.
Please try this commit. Unfortunately, iw isn't pushing essid value to the essid field. As a consequence, when the received signal is lower than -92, the station cannot complete the association process.
Dear Ramon, Thanks a lot! Association can be created sometime when I modified codes according to this commit. I will test it further. Have a great day! Xian Guo
Dear Guo, The new code includes a new method called addCar. https://github.com/intrig-unicamp/mininet-wifi/blob/master/examples/sumo-experimental.py . … Sent from my android On 15 Nov 2017 15:50, "Xian Guo" notifications@github.com wrote: Hi Ramon, Good afternoon! I don't understand how to map a car in sumo-experimental.py to a vehicle in sumo. I can't find addVehicle() function in the following video. Can achieve this mapping in the example sumo-experimental.py? I hope to get your suggestion. Thanks a lot! https://www.youtube.com/watch?v=Sui8iTwUva0 Best Regards, Xian Guo — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#135>, or mute the thread https://github.com/notifications/unsubscribe-auth/AEnmetXWloswFM4uX3Y1i7peWjS5_l7Nks5s2zJ4gaJpZM4QfZXg .
hi dear Ramon I have the same problem as Gue but I can't access this link(page not found 404 error ), Can you post this code again?
Hi Ramon, Thanks a lot! Best Regards,Xian
-----Original Message----- From: aynazz notifications@github.com To: intrig-unicamp/mininet-wifi mininet-wifi@noreply.github.com Cc: Xian Guo iamxguo@aol.com; Author author@noreply.github.com Sent: Sun, Jan 27, 2019 3:35 pm Subject: Re: [intrig-unicamp/mininet-wifi] Problem in SUMO experiment (#135)
Dear Guo, The new code includes a new method called addCar. https://github.com/intrig-unicamp/mininet-wifi/blob/master/examples/sumo-experimental.py . … Sent from my android On 15 Nov 2017 15:50, "Xian Guo" notifications@github.com wrote: Hi Ramon, Good afternoon! I don't understand how to map a car in sumo-experimental.py to a vehicle in sumo. I can't find addVehicle() function in the following video. Can achieve this mapping in the example sumo-experimental.py? I hope to get your suggestion. Thanks a lot! https://www.youtube.com/watch?v=Sui8iTwUva0 Best Regards, Xian Guo — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#135>, or mute the thread https://github.com/notifications/unsubscribe-auth/AEnmetXWloswFM4uX3Y1i7peWjS5_l7Nks5s2zJ4gaJpZM4QfZXg . hi dear Ramon I have the same problem as Gue but I can't access this link(page not found 404 error ), Can you post this code again?— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
Hi Ramon, Thank you a lot of your efforts in the area of mininet wifi. I created a simple topology like yours (vanet-sumo.py) and when i attached to ryu controller all cars connect to each other but when i try to see the flow table of each access point (using ovs-ofctl -O OpenFlow13 dump-flows ...)i could not see anything in terminal.
Another question, i want to discover the topology on ryu but after searching i found that there is only get_link, get_switch and get host classes (in case of network uses switches and hosts) otherwise in our case i worked with access points and cars if there is a method to get the different discovery information about access point and cars
I created a simple topology like yours (vanet-sumo.py) and when i attached to ryu controller all cars connect to each other but when i try to see the flow table of each access point (using ovs-ofctl -O OpenFlow13 dump-flows ...)i could not see anything in terminal.
Are you only describing an app behavior? Where is the issue here and why is this related to mn-wifi?
Another question, i want to discover the topology on ryu but after searching i found that there is only get_link, get_switch and get host classes (in case of network uses switches and hosts) otherwise in our case i worked with access points and cars if there is a method to get the different discovery information about access point and cars
APs are OVS switches equipped with wifi interface. I see no issue either.
Thank you for your reply
I'm created a topology with 20 cars and 6 access points and connet it to ryu controller. i can ping between cars
but when i try to see the dump flows of each access points i could not
Cars are certainly associated with the same AP with no client isolation. Same input/output port. Where is the issue?? You are getting expected result, right?
Hi ramon,
what i need is to see the flow table of each AP but when i execute the command (ovs-ofctl -O OpenFlow13 dump-flows bs1) does not appear anything on terminal normally it must show results as this figure
I think that the connection with the controller was failled because when i ping some two cars the controller does not show anything. Sorry, i'm new with mn-wifi and ryu controller
I suggest you read about SDN and how the OF protocol works. I also suggest you read about wifi, hostapd and client isolation.
Thank you very much Mr. Ramon
Hi Ramon, Good afternoon! I don't understand how to map a car in sumo-experimental.py to a vehicle in sumo. I can't find addVehicle() function in the following video. Can achieve this mapping in the example sumo-experimental.py? I hope to get your suggestion. Thanks a lot! https://www.youtube.com/watch?v=Sui8iTwUva0
Best Regards, Xian Guo