Closed alamfaisal654 closed 2 years ago
Honestly, I think this is not an error about setting up IEEE802.11p in mininet-wifi but an issue with your system. You cannot even make physical devices work with 11p if you don't enable 5.9GH in the regulatory domain. Moreover, it seems that you have Kernel 5.4 and not later ones.
Anyway, if the first step is working I'd suggest you replace all the regulatory.bin
files your system have by that one generated by you. This is the first and simple next step I'd try.. I also suggest you disable Network Manager.
Closing due to inactivity.
I tried setting up the IEEE802.11p with the details given at the home page of mininet-wifi. But it is still not working for me.
These are the steps that I tried:
Troubleshoot steps:
wifi@wifi-virtualbox:~/Desktop/SumoFiles$ sudo /sbin/regdbdump /lib/crda/regulatory.bin | grep -i ocb [sudo] password for wifi: country 00: invalid (5850.000 - 5925.000 @ 20.000), (20.00), NO-CCK, OCB-ONLY The above step was succesful as given on the web page.
iw reg set DE
iw reg get wifi@wifi-virtualbox:~/Desktop/SumoFiles$ iw reg get global
country 00: DFS-UNSET
(2402 - 2472 @ 40), (N/A, 20), (N/A)
(2457 - 2482 @ 40), (N/A, 20), (N/A), NO-IR
(2474 - 2494 @ 20), (N/A, 20), (N/A), NO-IR
(5170 - 5250 @ 80), (N/A, 20), (N/A), NO-IR
(5735 - 5835 @ 80), (N/A, 20), (N/A), NO-IR
(57240 - 63720 @ 2160), (N/A, 0), (N/A)
I had a look at IMPLEMENTATION AND EXPERIMENTAL EVALUATION OF COOPERATIVE AWARENESS BASIC SERVICE FOR V2X COMMUNICATIONS
lshw -C network *-network:6 description: Wireless interface physical id: 7 logical name: ap1-wlan1 serial: 00:00:00:00:00:01 capabilities: ethernet physical wireless configuration: broadcast=yes driver=mac80211_hwsim driverversion=5.4.0-100-generic firmware=N/A link=no multicast=yes wireless=IEEE 802.11 WARNING: output may be incomplete or inaccurate, you should run this program as super-user.
I understand that 5.9GHz is CRDA is not properly enabled here, but how do I enable it. I am using the VM provided on the mininet-wifi web page. I followed all the laid down steps . I also tried to google and find what could be the issue but none seems to be working. I presume someone from your team would have setup IEEE802.11p on this VM. Can you help with troubleshooting steps as to what could have gone wrong. The laid down steps do not work. Attaching the code file
Code.py.txt