Last active
September 22, 2021 13:57
-
-
Save RobertCNelson/a62af1fa83ab51cb722c501080bb9e95 to your computer and use it in GitHub Desktop.
Bullseye OOB systemd-networkd : https://rcn-ee.net/rootfs/debian-armhf/2021-09-22/bone-debian-11-iot-armhf-2021-09-22-4gb.img.xz
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File Locations: | |
root@BeagleBone:~# cat /etc/systemd/network/ | |
eth0.network usb0.network usb1.network wlan0.network | |
root@BeagleBone:~# cat /etc/wpa_supplicant/wpa_supplicant-wlan0.conf | |
root@BeagleBone:~# ls /etc/bbb.io/templates/ | |
eth0-DHCP.network usb1-DHCP.network wpa_supplicant-wlan0.conf | |
usb0-DHCP.network usb1-DHCPServer.network | |
usb0-DHCPServer.network wlan0-DHCP.network | |
Windows ICS: | |
cp -v /etc/bbb.io/templates/usb0-DHCP.network /etc/systemd/network/usb0.network |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Match] | |
Name=eth0 | |
Type=ether | |
[Link] | |
RequiredForOnline=no | |
[Network] | |
DHCP=ipv4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Crazy MAC addressing based on mac0 | |
Something to call: when wifi module detecte.. | |
sudo systemctl enable wpa_supplicant@wlan0 | |
sudo systemctl start wpa_supplicant@wlan0 | |
* When microSD goes from Non-WiFi -> WiFi (enable it) -> Non-Wifi (auto disable it) otheriwse systemd waits for wlan0 to fail on non-wifi board.. | |
udev rule to start wl1835 tether.. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Match] | |
Name=usb0 | |
[Link] | |
RequiredForOnline=no | |
#MACAddress= | |
[Network] | |
DHCP=ipv4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Match] | |
Name=usb0 | |
[Link] | |
RequiredForOnline=no | |
#MACAddress= | |
[Network] | |
DHCP=no | |
Address=192.168.7.2/24 | |
DHCPServer=on | |
[DHCPServer] | |
EmitDNS=no | |
EmitRouter=no | |
EmitTimezone=no | |
MaxLeaseTimeSec=20min | |
PoolSize=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Match] | |
Name=usb1 | |
[Link] | |
RequiredForOnline=no | |
#MACAddress= | |
[Network] | |
DHCP=no | |
Address=192.168.6.2/24 | |
DHCPServer=on | |
[DHCPServer] | |
EmitDNS=no | |
EmitRouter=no | |
EmitTimezone=no | |
MaxLeaseTimeSec=20min | |
PoolSize=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Match] | |
Name=wlan0 | |
Type=wlan | |
[Link] | |
RequiredForOnline=no | |
[Network] | |
DHCP=ipv4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ctrl_interface=DIR=/run/wpa_supplicant GROUP=netdev | |
update_config=0 | |
country=US | |
network={ | |
ssid="BeagleBone" | |
psk="BeagleBone" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment