intrig-unicamp / mininet-wifi

Emulator for Software-Defined Wireless Networks
https://mn-wifi.readthedocs.io/
Other
459 stars 245 forks source link

problem in Vanet #139

Closed iamxg closed 6 years ago

iamxg commented 7 years ago

Hi Ramon, Good morning. I modified the codes according to this commit , But I find that car can associate with AP only if it is in AP's range when this program just starts. Car can't associate with AP when it enters an AP's range during running process. I don't know why. For example, car9 in the below figure. image Xian Guo

ramonfontes commented 6 years ago

Could you run it in debug mode and send the output to me?

2017-12-06 14:05 GMT-03:00 Xian Guo notifications@github.com:

Hi Ramon, Good morning. I modified the codes according to this commit https://github.com/intrig-unicamp/mininet-wifi/commit/dd5adfb9b7786bba763f4c091f95466feec4d5d7 , But I find that car can associate with AP only if it is in AP's range when this program just starts. Car can't associate with AP when it enters an AP's range during running process. I don't know why. For example, car9 in the below figure. [image: image] https://user-images.githubusercontent.com/30093996/33673778-60f0d5e2-da73-11e7-8457-f8644aa6a8d3.png 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/139, or mute the thread https://github.com/notifications/unsubscribe-auth/AEnmevIZAOuEKLQxOYO-Ih1zRXmfRr0Kks5s9slBgaJpZM4Q4Q5i .

iamxg commented 6 years ago

Hi Ramon, I am sorry that I am not familiar with debug. I copied part of output and email to you. I still found that V2V and V2I can both work if I set AP's range=50 and car's range=100. Thank you! Xian Guo

ramonfontes commented 6 years ago

What if you don't set the signal range?

2017-12-06 19:54 GMT-03:00 Xian Guo notifications@github.com:

Hi Ramon, I am sorry that I am not familiar with debug. I copied part of output and email to you. I still found that V2V and V2I can both work if I set AP's range=50 and car's range=100. Thank you! 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/139#issuecomment-349802348, or mute the thread https://github.com/notifications/unsubscribe-auth/AEnmeotrd0EK7F0PVt4jUkQEMQ9EbkAnks5s9xs9gaJpZM4Q4Q5i .

iamxg commented 6 years ago

It seam that it can work if don't set the signal range. image

iamxg commented 6 years ago

Besides, I hope that V2V communication can achieve by using carxSTA's wlan0 interface. It will occur the following error when I added function addHoc() on carsta. I check wlan=1 not 0. Could you let me know how to modify codes so that I can use ad hoc mode? Thanks a lot! Xian Guo image

ramonfontes commented 6 years ago

It's already implemented https://github.com/intrig-unicamp/mininet-wifi/blob/master/mininet/wifiNet.py#L1095

2017-12-07 0:58 GMT-03:00 Xian Guo notifications@github.com:

Besides, I hope that V2V communication can achieve by using carxSTA's wlan0 interface. It will occur the following error when I added function addHoc() on carsta. I check wlan=1 not 0. Could you let me know how to modify codes so that I can use ad hoc mode? Thanks a lot! Xian Guo [image: image] https://user-images.githubusercontent.com/30093996/33698195-95c08c9c-dad0-11e7-8a24-9ff1ecaf6504.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/139#issuecomment-349856115, or mute the thread https://github.com/notifications/unsubscribe-auth/AEnmepBLv7m3FjPKwwPD6lMsPqqbU6gvks5s92JkgaJpZM4Q4Q5i .

iamxg commented 6 years ago

Ok, Thank you very much. Just In this afternoon, I found that you update many codes. I download and compile it. But now, some codes before I tested can't run. I will test it further. Best Regards, Xian Guo

ramonfontes commented 6 years ago

Dear, was the problem resolved?

iamxg commented 6 years ago

Hi Ramon, Sorry, I just saw your message. It still can't be resolved now. So, I set car's range=100 and AP's range=50. Such V2V and V2I both can work. Best Regards, Xian

iamxg commented 6 years ago

Hi Ramon, I'd like to test my codes. So I install my codes on another computer. System environment: Virtual Box, 16.4. But my modules always occur the following error. I don't know why. Could you help me? Best Regards, Xian Guo. image

ramonfontes commented 6 years ago

Doesn't sudo mn -c solve the problem?

Sent from my android

On 8 Jan 2018 21:52, "Xian Guo" notifications@github.com wrote:

Hi Ramon, I'd like to test my codes. So I install my codes on another computer. System environment: Virtual Box, 16.4. But my modules always occur the following error. I don't know why. Could you help me? Best Regards, Xian Guo. [image: image] https://user-images.githubusercontent.com/30093996/34699812-132e275a-f4a5-11e7-8011-690760e5f37f.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/139#issuecomment-356144744, or mute the thread https://github.com/notifications/unsubscribe-auth/AEnmel9ampWpjKU-oiaJHe-LRYIvJMLYks5tIrhRgaJpZM4Q4Q5i .

iamxg commented 6 years ago

Hi,

I tried this command but it didn't work.

Xian G

-----Original Message----- From: Ramon Fontes 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: Tue, Jan 9, 2018 6:05 pm Subject: Re: [intrig-unicamp/mininet-wifi] problem in Vanet (#139)

Doesn't sudo mn -c solve the problem?

Sent from my android

On 8 Jan 2018 21:52, "Xian Guo" notifications@github.com wrote:

Hi Ramon, I'd like to test my codes. So I install my codes on another computer. System environment: Virtual Box, 16.4. But my modules always occur the following error. I don't know why. Could you help me? Best Regards, Xian Guo. [image: image] https://user-images.githubusercontent.com/30093996/34699812-132e275a-f4a5-11e7-8011-690760e5f37f.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/139#issuecomment-356144744, or mute the thread https://github.com/notifications/unsubscribe-auth/AEnmel9ampWpjKU-oiaJHe-LRYIvJMLYks5tIrhRgaJpZM4Q4Q5i; .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

ramonfontes commented 6 years ago

Guo,

Are you using mininet-wifi?

Sent from my android

On 9 Jan 2018 12:35, "Xian Guo" notifications@github.com wrote:

Hi,

I tried this command but it didn't work.

Xian G

-----Original Message----- From: Ramon Fontes 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: Tue, Jan 9, 2018 6:05 pm Subject: Re: [intrig-unicamp/mininet-wifi] problem in Vanet (#139)

Doesn't sudo mn -c solve the problem?

Sent from my android

On 8 Jan 2018 21:52, "Xian Guo" notifications@github.com wrote:

Hi Ramon, I'd like to test my codes. So I install my codes on another computer. System environment: Virtual Box, 16.4. But my modules always occur the following error. I don't know why. Could you help me? Best Regards, Xian Guo. [image: image] https://user-images.githubusercontent.com/30093996/34699812-132e275a- f4a5-11e7-8011-690760e5f37f.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/ 139#issuecomment-356144744, or mute the thread https://github.com/notifications/unsubscribe- auth/AEnmel9ampWpjKU-oiaJHe-LRYIvJMLYks5tIrhRgaJpZM4Q4Q5i; .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/intrig-unicamp/mininet-wifi/issues/139#issuecomment-356319341, or mute the thread https://github.com/notifications/unsubscribe-auth/AEnmeoZakDjE_9s2L60v6R6P4AUEMRCsks5tI4dPgaJpZM4Q4Q5i .