VMC Network Script Error

What could be causing this error
Traceback (most recent call last):
File “./scripts/wifi.py”, line 112, in
File “./scripts/wifi.py”, line 66, in create
with open(“/sys/class/net/wlan0/address”, “r”) as fp:
FileNotFoundError: [Errno 2] No such file or directory: ‘/sys/class/net/wlan0/address’

1 Like

My best guess for this, is that your WiFi card is not connected properly.

The WiFi creation script uses a unique ID built in to every WiFi card to help name your WiFi network (so that everyone at competition don’t all have “AVR Drone”). The script is unable to retrieve this ID.

Make sure the WiFi card is plugged in all of the way. Additionally, you can run the command ifconfig (which lists all of the network devices) and make sure you see a wlan0 device. There should already be an eth0 for the ethernet port, and a docker0.