- After the OS image is installed on the SD card, open it.
- Create an empty file named ssh
- Create a file named wpa_supplicant.conf with the following content.
country=AU
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
| import sys | |
| import os | |
| # todo: add main entry | |
| # todo: check arg length | |
| # todo: dd readme comment | |
| ''' | |
| Pattern |
| import subprocess | |
| def runcmd(cmd, verbose = False, *args, **kwargs): | |
| process = subprocess.Popen( | |
| cmd, | |
| stdout = subprocess.PIPE, | |
| stderr = subprocess.PIPE, | |
| text = True, | |
| shell = True |