using customized sumo files

34 views
Skip to first unread message

daniel crown

unread,
Apr 17, 2025, 12:01:29 PMApr 17
to mininet-wifi-discuss

hi,

I want to use my sumo net, rou and config files where I have simple 3 lane road with 500m. I have saved the corresponded these files to mininet-wifi/mn_wifi/sumo/data where newyork files are also exist. however the simulation does not run, I see no error but the neither sumo gui runs any vehicles nor mininet wifi nodes are moving. I see my customized network and new york network are visible in sumo-gui. Although as I told I updated the path in mininet-wifi sumo-vanet.py script with my network.

I have tested the sumo configuration without mininet the network runs individually without an issue.

thank you.
Screenshot from 2025-04-17 16-20-09.png

Ramon Fontes

unread,
Apr 17, 2025, 7:51:51 PMApr 17
to daniel crown, mininet-wifi-discuss
It’s a bit difficult to follow what’s going on, especially since there’s no error message being emitted. Could you please share your SUMO files and explain the steps to reproduce the behavior you mentioned is working? That would help a lot in understanding the issue.

daniel crown

unread,
Apr 18, 2025, 5:18:45 AMApr 18
to Ramon Fontes, mininet-wifi-discuss
Hi, PLease find the attached sumo files.

I have 3 lane 500m road for lane change prediction setup. I want to test with first simple test environment like this, normally I will extend it.

I have stored these file in mininet-wifi/mn_wifi/sumo/data where newyork default files exist.

I first did not change anything in vanet-sumo.py but I will change the AP numbers where I test with newyork file without any issue when I change to access point to 1.  But again when I use my costumized sumo files the simulations does not work here as well.

Thank you. Regards.

Ramon Fontes <ramonre...@gmail.com>, 18 Nis 2025 Cum, 00:46 tarihinde şunu yazdı:
3lane.sumocfg
3lane.rou.xml
3lane.net.xml

Ramon Fontes

unread,
Apr 18, 2025, 5:26:59 AMApr 18
to daniel crown, mininet-wifi-discuss
There is no definition for TraCI (Traffic Control Interface) in your sumocfg. Please try to replicate the definitions of our sumocfg.

daniel crown

unread,
Apr 18, 2025, 5:38:41 AMApr 18
to Ramon Fontes, mininet-wifi-discuss

***Starting server on port 8813 ***

when I update the sumocfg like your I see in sumo-gui above only nothing comes.

Ramon Fontes <ramonre...@gmail.com>, 18 Nis 2025 Cum, 10:26 tarihinde şunu yazdı:
3lane.sumocfg

Ramon Fontes

unread,
Apr 18, 2025, 6:18:22 AMApr 18
to daniel crown, mininet-wifi-discuss
Your code works. The problem was that you created vehicles with non-integer IDs. You have to rename them to

<vehicle id="1" type="autonomous" route="r0" depart="0" departLane="1" departPos="0"/>
<vehicle id="2" type="human" route="r0" depart="1" departLane="1" departPos="20"/>
<vehicle id="3" type="autonomous" route="r0" depart="2" departLane="1" departPos="40"/>

Ramon Fontes

unread,
Apr 18, 2025, 6:23:01 AMApr 18
to daniel crown, mininet-wifi-discuss
By the way, if I were you I'd use config_file param (https://github.com/intrig-unicamp/mininet-wifi/blob/master/examples/vanet-sumo.py#L65) instead of moving sumo files to /data.

daniel crown

unread,
Apr 18, 2025, 7:28:24 AMApr 18
to Ramon Fontes, mininet-wifi-discuss
I have updated sumocfg and net file with id integer values as well. but simulation from command does not work.

but when I upload manually net file to sumo-gui it shows attached file notification.

about the config_file parametes, I did not understand what should I do here. because I do following config_file='/home/ubuntu20/mininet-wifi/mn_wifi/sumo/data/test1.sumocfg', It is weird now that with vanet-sumo.py with this files sumo vehicles moves but mininet wifi nodes does not appears and I dont see any move as attached.




Ramon Fontes <ramonre...@gmail.com>, 18 Nis 2025 Cum, 11:22 tarihinde şunu yazdı:
Screenshot from 2025-04-18 11-22-45.png
Screenshot from 2025-04-18 11-23-06.png
test1.rou.xml
test1.sumocfg
test1.net.xml
Screenshot from 2025-04-18 11-32-19.png

Ramon Fontes

unread,
Apr 18, 2025, 7:40:05 AMApr 18
to daniel crown, mininet-wifi-discuss
Please see attached screencast. As I said your code works - Honestly, I don't know what is going wrong there.

ps. your recent sumocfg file had a definition for poly file but you don't have one. ;/
Screencast from 2025-04-18 08-34-53.mp4

daniel crown

unread,
Apr 18, 2025, 7:57:54 AMApr 18
to Ramon Fontes, mininet-wifi-discuss
thank you for your share, I do same and attached it seems it is working, but the nodes in mininet wifi are not moving? I see 6 AP that are statics but the nodes (vehicles) are not showing. i want to ping and chech the v2v and v2i is working fine or not.

about poly, I wonder do I need that or not, I try to not include that, that is why I removed in sumo.cfg file now as well. because when I add that I see on top of 3 lane  my costumized road the new-york net setup as well.



Screenshot from 2025-04-18 12-45-23.png

also when I do config_file= 'test1.sumocfg' like you I see below error in sumo

Error: Could not access configuration 'test1.sumocfg'.
Quitting (on error).

However I added full path config_file='/home/ubuntu20/mininet-wifi/mn_wifi/sumo/data/test1.sumocfg' and it worked like your test. It is weird.


Ramon Fontes <ramonre...@gmail.com>, 18 Nis 2025 Cum, 12:39 tarihinde şunu yazdı:

Ramon Fontes

unread,
Apr 18, 2025, 8:04:50 AMApr 18
to daniel crown, mininet-wifi-discuss
Your code answers both the questions:

but the nodes in mininet wifi are not moving?

They are moving. The min_x of the graph is set to >2000 while vehicles are located ~200.

Error: Could not access configuration 'test1.sumocfg'.

Is there a test1.sumocfg in the same directory of your code?

daniel crown

unread,
Apr 18, 2025, 8:24:08 AMApr 18
to Ramon Fontes, mininet-wifi-discuss
 there is a 1 test1.sumocfg in the directory of the code.

for node moves: I wonder how you say the vehicles are located ~200? it is from net files or what? I am curious how you identify that? so  when I reduce the value min_x of the graph to around 200. Should I change from python script is better or in sumo files to these values if it is in sumo files?

Is that ok to do:

 net.telemetry(nodes=nodes, data_type='position',
                  min_x=220, min_y=280,
                  max_x=320, max_y=390)

 and   

    kwargs = {'ssid': 'vanet-ssid', 'mode': 'g', 'passwd': '123456789a',
              'encrypt': 'wpa2', 'failMode': 'standalone', 'datapath': 'user'}
    e1 = net.addAccessPoint('e1', mac='00:00:00:11:00:01', channel='1',
                            position='260,350,0', **kwargs)
    e2 = net.addAccessPoint('e2', mac='00:00:00:11:00:02', channel='6',
                            position='280,350,0', **kwargs)
    e3 = net.addAccessPoint('e3', mac='00:00:00:11:00:03', channel='11',
                            position='300,350,0', **kwargs)
    e4 = net.addAccessPoint('e4', mac='00:00:00:11:00:04', channel='1',
                            position='260,330,0', **kwargs)
    e5 = net.addAccessPoint('e5', mac='00:00:00:11:00:05', channel='6',
                            position='280,330,0', **kwargs)
    e6 = net.addAccessPoint('e6', mac='00:00:00:11:00:06', channel='11',
                            position='300,330,0', **kwargs)




Ramon Fontes <ramonre...@gmail.com>, 18 Nis 2025 Cum, 13:04 tarihinde şunu yazdı:

Ramon Fontes

unread,
Apr 18, 2025, 8:24:41 AMApr 18
to daniel crown, mininet-wifi-discuss
> there is a 1 test1.sumocfg in the directory of the code.

If there is a sumocfg file you don't have some permission to read it. Please double check your environment. 


>  I wonder how you say the vehicles are located ~200? it is from net files or what? 

From net and you can confirm the position in mn-wifi with node.position.

daniel crown

unread,
Apr 18, 2025, 8:47:46 AMApr 18
to Ramon Fontes, mininet-wifi-discuss
thank you, now I suppose after adjusting net file it seems that is visible as well as attached. 



Screenshot from 2025-04-18 13-36-36.png

About permissions I think thats look OK, is it not?

Screenshot from 2025-04-18 13-40-02.png







Ramon Fontes <ramonre...@gmail.com>, 18 Nis 2025 Cum, 13:24 tarihinde şunu yazdı:

Ramon Fontes

unread,
Apr 18, 2025, 8:59:27 AMApr 18
to daniel crown, mininet-wifi-discuss
Dear,

The error message says: "Error: Could not access configuration 'test1.sumocfg'." This means that the file doesn't exist or there is no permission to access it.

By the way, please close the issue on github with the solution you have adopted.

daniel crown

unread,
Apr 18, 2025, 9:32:07 AMApr 18
to Ramon Fontes, mininet-wifi-discuss
okay thank but I wonder if we config_file='test1.sumocfg', directly, instead    config_file='/home/ubuntu20/mininet-wifi/mn_wifi/sumo/data/test1.sumocfg', where my config file exist, what is the difference?
how config_file='test1.sumocfg' understands the file path exactly?

I set permission as following: sudo chmod 666 /home/ubuntu20/mininet-wifi/mn_wifi/sumo/data/test1.sumocfg is that ok?


Ramon Fontes <ramonre...@gmail.com>, 18 Nis 2025 Cum, 13:59 tarihinde şunu yazdı:

Ramon Fontes

unread,
Apr 18, 2025, 9:32:10 AMApr 18
to daniel crown, mininet-wifi-discuss
how config_file='test1.sumocfg' understands the file path exactly?

The code will search for sumocfg in the current working directory.

daniel crown

unread,
Apr 18, 2025, 9:51:24 AMApr 18
to Ramon Fontes, mininet-wifi-discuss
Thank you!
best regards

Ramon Fontes <ramonre...@gmail.com>, 18 Nis 2025 Cum, 14:31 tarihinde şunu yazdı:

daniel crown

unread,
Apr 21, 2025, 6:02:40 AMApr 21
to Ramon Fontes, mininet-wifi-discuss
Hi,

I have a question about sumo (vehicles) and mininet wifi (nodes) are matched or not? I mean their positions are identical map right? what is the exact relation between sumo and mininet?

Best

daniel crown <daniel...@gmail.com>, 18 Nis 2025 Cum, 14:47 tarihinde şunu yazdı:

Ramon Fontes

unread,
Apr 21, 2025, 6:06:02 AMApr 21
to daniel crown, mininet-wifi-discuss

daniel crown

unread,
Apr 23, 2025, 3:52:50 PMApr 23
to Ramon Fontes, mininet-wifi-discuss

Hi ,

Here is my topology setup, I also attached full script: I want to have 1 access point without link each access point like you.  the script works with sumo, but the connectivity tests are not working. do you have any recommendations?  Also I want to be sure that for V2V and V2I which one is used for which IEEE 802.11p and IEEE.802.11g?
 
    info("*** Creating nodes\n")
    # Add vehicles (cars)
    cars = []
    for id in range(0, 9):  # Adjust number of vehicles
        net.addCar(f'car{id+1}', wlans=2, encrypt=['wpa2', ''])

    # Add RSUs (access points)

    kwargs = {'ssid': 'vanet-ssid', 'mode': 'g', 'passwd': '123456789a',
              'encrypt': 'wpa2', 'failMode': 'standalone', 'datapath': 'user'}
    e1 = net.addAccessPoint('e1', mac='00:00:00:11:00:01', channel='1',
                            position='2600,3300,0', **kwargs) 

Best regards

Ramon Fontes <ramonre...@gmail.com>, 21 Nis 2025 Pzt, 11:05 tarihinde şunu yazdı:
sumo_mn.py

Ramon Fontes

unread,
Apr 23, 2025, 3:56:54 PMApr 23
to daniel crown, mininet-wifi-discuss
> I want to have 1 access point without link each access point like you

Honestly, I didn't get your point.

> the script works with sumo, but the connectivity tests are not working

I didn't get this either. What do you mean with connectivity tests?

>  Also I want to be sure that for V2V and V2I which one is used for which IEEE 802.11p and IEEE.802.11g?

Which ones did you set as master and ITS modes?

daniel crown

unread,
Apr 23, 2025, 4:11:59 PMApr 23
to Ramon Fontes, mininet-wifi-discuss
the default script has 6 AP and linked each other, my point is I want to have 1 AP.

the default script have from loop for car in net.cars ITSLINK and from loop of AP 'mode': 'g'.

I am confused with these? this means V2V is itslink and V2I is ieee802.11g connected right?


The connectivity test means I try to follow this link you provided earlier https://github.com/ramonfontes/mn-wifi-ebook/blob/main/expert.md#vehicular-ad-hoc-networks    (e.g car4 ping -c1 192.168.1.6 which use one of its interface for V2V it this over its link?)

if car4 ping -c1 192.168.0.6 we do this which means another interface is used for V2I and it is through itslink?

best

Ramon Fontes <ramonre...@gmail.com>, 23 Nis 2025 Çar, 20:56 tarihinde şunu yazdı:

Ramon Fontes

unread,
Apr 23, 2025, 4:17:56 PMApr 23
to daniel crown, mininet-wifi-discuss
The interface a node uses to transmit packets depends on the destination address, the default gateway, and the subnet configuration. You can easily track this by analyzing the packets.

daniel crown

unread,
Apr 24, 2025, 5:30:49 AMApr 24
to Ramon Fontes, mininet-wifi-discuss

Hi,

in vanet-sumo.py there is and car linked with ITSLINK which is channel 181  (DSRC) communication protocol is used. and  you are pinging vehicle number 3 and 5 (v2v) using car4 ping 192.168.1.6

my point is for the V2I how we do test it is working or not?

and each access point has mode g is this IEEE 802.11g? this part is mesh mode network right? the 802.11g is used to communicate for access point each other not for with vehicle to access point (V2I) ?

lastly, since you have 6 access point linked each other, I want to use only 1 AP to communicate with vehicles. how to configure that (Reduce AP to 1) ?

Best

Ramon Fontes <ramonre...@gmail.com>, 23 Nis 2025 Çar, 21:17 tarihinde şunu yazdı:

Ramon Fontes

unread,
Apr 24, 2025, 6:02:43 AMApr 24
to daniel crown, mininet-wifi-discuss
> my point is for the V2I how we do test it is working or not

Try connecting two or more vehicles to the base station (BS) and run a ping between them ;/


> and each access point has mode g is this IEEE 802.11g

Yes, and I recommend reading the Mininet-WiFi book for a deeper understanding of how Mininet-WiFi works.

> the 802.11g is used to communicate for access point each other not for with vehicle to access point (V2I) ?

Which protocol can be used for AP-AP wireless communication? This will answer your question. There is no wireless communication among APs in vanet-sumo.py.

> lastly, since you have 6 access point linked each other, I want to use only 1 AP to communicate with vehicles. how to configure that (Reduce AP to 1) ?

If you want to use 1 you have to reduce to 1. Is this really a question?

Sent from my android

daniel crown

unread,
May 1, 2025, 6:12:00 AMMay 1
to Ramon Fontes, mininet-wifi-discuss
Hi Ramon,

Thank you for your all returns and recommendations like book reading. But I have still little bit unclearity about the setup and communication protocol use in default 6 AP setup. I am unclear with communication of V2V and V2I.
There is 2 interface that each assigned for v2v or v2i respectively. 

(V2V) car1 ping -c1 192.168.1.2 (Car1-car2) is direct communication between vehicle is done through IEEE 802.11p right?

(V2I) car1 ping -c1 192.168.0.2 which is vehicles (Car1-car2) are communicating through AP with IEEE 802.11g right?


I used my personalized setup as 1 AP and multiple cars as node. I see packets are %100 lost (destination is unreachable) in  car1 ping -c1 192.168.1.2 but in case car1 ping -c1 192.168.0.2 packets are transmitted and received without loss. 

also can we say that when the mininet wifi plot circles are in range of vehicles with color that is validation of the vehicles are in range of AP?

Best




Ramon Fontes <ramonre...@gmail.com>, 24 Nis 2025 Per, 11:02 tarihinde şunu yazdı:

Ramon Fontes

unread,
May 1, 2025, 6:24:41 AMMay 1
to daniel crown, mininet-wifi-discuss
Did you enable IEEE 802.11p in your system??

daniel crown

unread,
May 1, 2025, 6:42:52 AMMay 1
to Ramon Fontes, mininet-wifi-discuss
I assume it is enabled from attachments.

Best

Ramon Fontes <ramonre...@gmail.com>, 1 May 2025 Per, 11:19 tarihinde şunu yazdı:
Screenshot from 2025-05-01 11-11-42.png
Screenshot from 2025-05-01 11-31-53.png

Ramon Fontes

unread,
May 1, 2025, 6:47:00 AMMay 1
to daniel crown, mininet-wifi-discuss
Based on which information are you assuming that IEEE 802.11p is operational?

daniel crown

unread,
May 1, 2025, 6:56:02 AMMay 1
to Ramon Fontes, mininet-wifi-discuss
at first I thought when it says car1-wlan1 <--> ITS  ( ITS OK link) it is operating. However,  I realized that I did not  https://mininet-wifi.github.io/80211p/ follow here, I need to do so here at first right? 


Ramon Fontes <ramonre...@gmail.com>, 1 May 2025 Per, 11:45 tarihinde şunu yazdı:

Ramon Fontes

unread,
May 1, 2025, 6:56:08 AMMay 1
to daniel crown, mininet-wifi-discuss

Again, please consider reading about mn-wifi and the code you are referring to. Otherwise you might overlook important and relevant aspects.

daniel crown

unread,
May 1, 2025, 8:47:59 AMMay 1
to Ramon Fontes, mininet-wifi-discuss
unfortunately I face issue like attached, I remove Werror from the Makefile of crda. as link says incase there is an issue.

Ramon Fontes <ramonre...@gmail.com>, 1 May 2025 Per, 11:55 tarihinde şunu yazdı:
Screenshot from 2025-05-01 13-42-05.png
Screenshot from 2025-05-01 13-42-01.png

Ramon Fontes

unread,
May 1, 2025, 8:48:05 AMMay 1
to daniel crown, mininet-wifi-discuss
Daniel,

We've previously discussed similar topics on this mailing list, and you can find additional support through various related discussions available online.

daniel crown

unread,
May 1, 2025, 9:09:59 AMMay 1
to Ramon Fontes, mininet-wifi-discuss
Dear, I see it look like python version issue since the db2pin.py is python2. I have python 3.  and i used
 sudo apt install python3-m2crypto 
 due to  sudo apt install python2-m2crypto did not work.

I am actually I always confused with this python versions support of mininet wifi.

daniel crown <daniel...@gmail.com>, 1 May 2025 Per, 13:45 tarihinde şunu yazdı:
Screenshot from 2025-05-01 14-02-56.png

Ramon Fontes

unread,
May 1, 2025, 9:10:58 AMMay 1
to daniel crown, mininet-wifi-discuss
Mininet-wifi supports both: python 2 and 3.

daniel crown

unread,
May 1, 2025, 9:55:32 AMMay 1
to Ramon Fontes, mininet-wifi-discuss
error encounters about   File "./db2bin.py", line 13 as I attached due it it is using python2. so I do not know what to do and properly do IEEE 802.11p setup.


Ramon Fontes <ramonre...@gmail.com>, 1 May 2025 Per, 14:10 tarihinde şunu yazdı:

daniel crown

unread,
May 1, 2025, 9:55:37 AMMay 1
to Ramon Fontes, mininet-wifi-discuss
for both intalllation regdb and crda it look like all about python version issue.
Screenshot from 2025-05-01 14-16-08.png
(377K)
Screenshot from 2025-05-01 14-15-51.png
(390K)


daniel crown <daniel...@gmail.com>, 1 May 2025 Per, 14:13 tarihinde şunu yazdı:

daniel crown

unread,
May 1, 2025, 9:55:42 AMMay 1
to Ramon Fontes, mininet-wifi-discuss
for both intalllation regdb and crda it look like all about python version issue, attached.

daniel crown <daniel...@gmail.com>, 1 May 2025 Per, 14:17 tarihinde şunu yazdı:
Screenshot from 2025-05-01 14-15-51.png
Screenshot from 2025-05-01 14-16-08.png

Ramon Fontes

unread,
May 1, 2025, 10:00:06 AMMay 1
to daniel crown, mininet-wifi-discuss
Dear,

CRDA and regdb are independent components, and their configuration is not related to Mininet-WiFi.

daniel crown

unread,
May 1, 2025, 10:07:23 AMMay 1
to Ramon Fontes, mininet-wifi-discuss
Okay how about the attachments that indicates python issue?

Ramon Fontes

unread,
May 1, 2025, 10:07:30 AMMay 1
to daniel crown, mininet-wifi-discuss
> Okay how about the attachments that indicates python issue?

This is about your system.

daniel crown

unread,
May 1, 2025, 10:50:43 AMMay 1
to Ramon Fontes, mininet-wifi-discuss
Dear, Can you make it more clear for me (what you mean by system) what should I do?, I am new and facing difficulties as you on this works.

Best 

Ramon Fontes

unread,
May 1, 2025, 10:55:22 AMMay 1
to daniel crown, mininet-wifi-discuss
> Can you make it more clear for me (what you mean by system) what should I do?, I am new and facing difficulties as you on this works.

You should check the python version or even CRDA and REGDB you have. Unfortunately, I'm unable to provide instructions on how to compile CRDA and REGDB.

daniel crown

unread,
May 1, 2025, 11:13:00 AMMay 1
to Ramon Fontes, mininet-wifi-discuss
I have python 3 version. that is why I ask you actually because when I compile the  CRDA and REGDB I see that the python scripts as python2 version although I have start with using sudo apt install python3-m2crypto # python3
so I am not sure what is the issue fully.
best

Ramon Fontes <ramonre...@gmail.com>, 1 May 2025 Per, 15:54 tarihinde şunu yazdı:

daniel crown

unread,
May 1, 2025, 11:17:16 AMMay 1
to Ramon Fontes, mininet-wifi-discuss
do I need to go to db2bin.py file and fix syntax issues from python2 version to python3 format script update?

daniel crown <daniel...@gmail.com>, 1 May 2025 Per, 16:15 tarihinde şunu yazdı:
as you see even I use
sudo apt install python3-m2crypto
and then follow the instruction "make"
make
Generating regulatory.bin digitally signed by ubuntu20...
./db2bin.py regulatory.bin db.txt ~/.wireless-regdb-ubuntu20.key.priv.pem
  File "./db2bin.py", line 13
    print 'Usage: %s output-file input-file [key-file]' % sys.argv[0]
          ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print('Usage: %s output-file input-file [key-file]' % sys.argv[0])?

make: *** [Makefile:58: regulatory.bin] Error 1

from above it is python2 using I do not know details of this script, which suppose to be python3 format is it not?

daniel crown <daniel...@gmail.com>, 1 May 2025 Per, 16:11 tarihinde şunu yazdı:

daniel crown

unread,
May 1, 2025, 11:17:18 AMMay 1
to Ramon Fontes, mininet-wifi-discuss
as you see even I use
sudo apt install python3-m2crypto
and then follow the instruction "make"
make
Generating regulatory.bin digitally signed by ubuntu20...
./db2bin.py regulatory.bin db.txt ~/.wireless-regdb-ubuntu20.key.priv.pem
  File "./db2bin.py", line 13
    print 'Usage: %s output-file input-file [key-file]' % sys.argv[0]
          ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print('Usage: %s output-file input-file [key-file]' % sys.argv[0])?

make: *** [Makefile:58: regulatory.bin] Error 1

from above it is python2 using I do not know details of this script, which suppose to be python3 format is it not?
daniel crown <daniel...@gmail.com>, 1 May 2025 Per, 16:11 tarihinde şunu yazdı:
I have python 3 version. that is why I ask you actually because when I compile the  CRDA and REGDB I see that the python scripts as python2 version although I have start with using sudo apt install python3-m2crypto # python3

daniel crown

unread,
May 1, 2025, 12:00:22 PMMay 1
to Ramon Fontes, mininet-wifi-discuss
Installing python3-m2crypto and future for Python 3 doesn't resolve these issues because the scripts are written for Python 2, leading to syntax and function errors when run with Python 3. I assume the problem this but I donot know how to fix it?


daniel crown <daniel...@gmail.com>, 1 May 2025 Per, 16:16 tarihinde şunu yazdı:

daniel crown

unread,
May 1, 2025, 12:00:28 PMMay 1
to Ramon Fontes, mininet-wifi-discuss
and because  python-m2crypto not being available in Ubuntu 20.04. if I change something again like downgrading ubuntu version or something is worrying me that I will have different issues due to lack of instructions. :(

daniel crown <daniel...@gmail.com>, 1 May 2025 Per, 16:49 tarihinde şunu yazdı:

daniel crown

unread,
May 2, 2025, 5:13:38 AMMay 2
to Ramon Fontes, mininet-wifi-discuss

Dear, The error occurs because the db2bin.py script hasn't been updated for Python 3, and the print statement is causing a SyntaxError. any recommendations? Thanks


daniel crown <daniel...@gmail.com>, 1 May 2025 Per, 16:51 tarihinde şunu yazdı:

Ramon Fontes

unread,
May 2, 2025, 5:51:03 AMMay 2
to daniel crown, mininet-wifi-discuss
If the Python version is causing issues, why not simply use the supported version? Please keep in mind that this mailing list is intended for Mininet-WiFi-related questions ONLY!

It appears that more time should be dedicated to understanding the tools and technologies you're working with. For instance, initially you didn't follow the instructions in vanet-sumo.py and spent two weeks trying to set up a communication that wasn't possible.

Now, you're repeatedly messaging about Python version compatibility. I’ve already clarified that Mininet-WiFi supports both Python 2 and 3. However, it’s not my responsibility to tell you which version to use to make third-party tools work. That's something you need to determine based on the requirements of those tools.

daniel crown

unread,
May 2, 2025, 6:13:48 AMMay 2
to Ramon Fontes, mininet-wifi-discuss
hi,

thank you for your reply. I actually spend much time to understand this tools but I face difficulties about them sorry for reaching you many times. 
I do not know it was correct way to do so since  python-m2crypto did not work and I tried
python3-m2crypto and that brings python2 written issue of some files as db2pin.py and dbparse.py. 
I could not figure out the issue that is why want to know there is similar problem or not. now i updated these files manually to python4 and I reach some point.

as I see in crda werror issue I did "remove Werror from the Makefile of crda if you have problems with keys-gcrypt.c." now. do you think it is okay that the setup is fine based on attachement? 



Ramon Fontes <ramonre...@gmail.com>, 2 May 2025 Cum, 10:45 tarihinde şunu yazdı:
Screenshot from 2025-05-02 11-04-59.png

daniel crown

unread,
May 2, 2025, 10:11:21 AMMay 2
to Ramon Fontes, mininet-wifi-discuss
i use ubuntu 16.04 with python2 now it seems the 802.11p setup is ok but i dont understand why mininet wifi setup is now not properly setted although i use your book and there is only 4 command to setup. https://github.com/intrig-unicamp/mininet-wifi

step 1: $ sudo apt-get install git
step 2: $ git clone https://github.com/intrig-unicamp/mininet-wifi
step 3: $ cd mininet-wifi
step 4: $ sudo util/install.sh -Wlnfv


because i want to test the https://github.com/intrig-unicamp/mininet-wifi/blob/master/examples/ieee80211p.py is working or not, i receive mininet wifi environment error i suppose, because IMPORT ERROR no module named mn_wifi.link is written. i see same issues in group asked but no answer is show about this issue.


daniel crown <daniel...@gmail.com>, 2 May 2025 Cum, 11:11 tarihinde şunu yazdı:

Ramon Fontes

unread,
May 2, 2025, 10:16:22 AMMay 2
to daniel crown, mininet-wifi-discuss
> IMPORT ERROR no module named mn_wifi.link

This occurs in only two situations:

1. Mininet-WiFi has not been installed successfully. 
2. Mininet-WiFi is not installed in the Python version you are currently using.

Come on, the mn_wifi.link module exists: https://github.com/intrig-unicamp/mininet-wifi/blob/master/mn_wifi/link.py. :( If it exists and your system cannot find it you have to guarantee that it is correctly installed.

daniel crown

unread,
May 2, 2025, 11:12:11 AMMay 2
to Ramon Fontes, mininet-wifi-discuss
By saying “Mininet-WiFi has not been installed successfully” is weird that the installation instructions has only 4 line commands straight forward I copy and paste and run from the instructions ebook. 

“Mininet-WiFi is not installed in the Python” means what I don’t understand? Ubuntu 16.04 with python 2 is using as system.

Best




daniel crown

unread,
May 5, 2025, 5:11:47 AMMay 5
to Ramon Fontes, mininet-wifi-discuss
no, I mean that I check the link since there error is about missing module called " mn_wifi.link module". I could not see in the link.py this module that is why I want to be sure.

also why after installation i have issue mn: error: no such option: --wifi ? why download process is not working properly I do not understand since I told you that I use same above command?

Ramon Fontes <ramonre...@gmail.com>, 5 May 2025 Pzt, 09:59 tarihinde şunu yazdı:
Are you new to Python too?? mn_wifi/link.py is there: https://github.com/intrig-unicamp/mininet-wifi/blob/master/mn_wifi/link.py

On Mon, May 5, 2025, 05:39 daniel crown <daniel...@gmail.com> wrote:
dear, do we confirm in link.py from mininet.link import Intf, TCIntf, Link means  mn_wifi.link module exist? Because I can not find exactly  mn_wifi.link

I used https://github.com/intrig-unicamp/mininet-wifi to install mininet wifi exactly. I use ubuntu 16.04. Due to in ubuntu 22.04 I face 802.11p setup issue. I just want to test in ubuntu 16.04 will work for 802.11p or not?

mn: error: no such option: --wifi

sudo mn also says can not find required executable ovs-vsctl.

However I use sudo util/install.sh -Wlnfv for installation to install dependencies.


best

Ramon Fontes <ramonre...@gmail.com>, 2 May 2025 Cum, 15:15 tarihinde şunu yazdı:

Ramon Fontes

unread,
May 5, 2025, 5:16:40 AMMay 5
to daniel crown, mininet-wifi-discuss
Do you meant that mn_wifi/link.py does not exist?? What is https://github.com/intrig-unicamp/mininet-wifi/blob/master/mn_wifi/link.py ??

> also why after installation i have issue mn: error: no such option: --wifi ? 

Already  answered  this question. You don't  have mn-wifi installed in your system!

daniel crown

unread,
May 5, 2025, 5:24:06 AMMay 5
to Ramon Fontes, mininet-wifi-discuss
I follow this https://github.com/ramonfontes/mn-wifi-ebook/blob/main/beginner.md to download mininet wifi and there is only 2 command to download, and I told you I use them. nothing else. so what might be the problem I am curious?

daniel crown

unread,
May 5, 2025, 5:24:09 AMMay 5
to Ramon Fontes, mininet-wifi-discuss
I see: mininet wifi is already exist 

daniel crown <daniel...@gmail.com>, 5 May 2025 Pzt, 10:18 tarihinde şunu yazdı:

Ramon Fontes

unread,
May 5, 2025, 5:32:22 AMMay 5
to daniel crown, mininet-wifi-discuss
It seems you're still getting started with Python and Ubuntu/Linux. I'm sorry, but I'm not able to assist you with those questions and I will not accept new questions from you if you don't provide any new relevant information.

daniel crown

unread,
May 5, 2025, 6:04:03 AMMay 5
to Ramon Fontes, mininet-wifi-discuss
as I actually use ubuntu 20.04 for vanet-sumo.py test before, we face issue with 802.11p setup, therefore I want to recheck the https://mininet-wifi.github.io/80211p/ will be working in lower version of ubuntu since the team of  CTU-IIG/802.11p-wireless-regdb recommend me to use lower linux-ubuntu version due to that is  quite old project and making it run on newer Linux might be challenging. I just want to understand the issues simply. because in ubuntu 16.04 the  80211p setup is download without an issue, but for 20.04 it is not working. do you get my point? if at least I can use mininet in 16.04, I can test vanet-sumo.py.   I just want to learn this tools for my project.

Ramon Fontes <ramonre...@gmail.com>, 5 May 2025 Pzt, 10:32 tarihinde şunu yazdı:

Ramon Fontes

unread,
May 5, 2025, 6:07:35 AMMay 5
to daniel crown, mininet-wifi-discuss
Mininet-WiFi works since Ubuntu 16.04 and 802.11p up to Ubuntu 24.04, at least. 

UDIT V. PATEL

unread,
May 6, 2025, 4:56:24 AMMay 6
to Ramon Fontes, daniel crown, mininet-wifi-discuss

It is your luck Daniel that Ramon is answering your level 0 answers. 80211 works when i was in my Master's degree in 2019. Please check your VM or change it.

If you need more assistance please send me Meet invite


--
You received this message because you are subscribed to the Google Groups "mininet-wifi-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mininet-wifi-dis...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/mininet-wifi-discuss/CAK8U23Y6jogHmg8WVmip8-5s2eRphrj8F7DNmihPXf-eREG9KA%40mail.gmail.com.

daniel crown

unread,
May 6, 2025, 4:56:35 AMMay 6
to UDIT V. PATEL, Ramon Fontes, mininet-wifi-discuss
Thank you for your answer. I surely appreciate Ramon’s answer. I will send private message you.
Best 
Reply all
Reply to author
Forward
0 new messages