From 5dd13b6f00dbf604c47d6611d50440084e39c7dd Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Tue, 19 Sep 2023 22:03:07 -0500 Subject: [PATCH] network: nmcli only has one good thing, looking at iwd Signed-off-by: Robert Nelson --- 06_generate_debian_console_root.sh | 2 ++ 06_generate_ubuntu_console_root.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/06_generate_debian_console_root.sh b/06_generate_debian_console_root.sh index e168bbd..35c4129 100755 --- a/06_generate_debian_console_root.sh +++ b/06_generate_debian_console_root.sh @@ -62,6 +62,8 @@ echo 'debugfs /sys/kernel/debug debugfs mode=755,uid=root,gid=gpio,defaults #Network-Manager, ignore eth1 cp -v ./rootfs/etc/NetworkManager/conf.d/*.conf ./ignore/.root/etc/NetworkManager/conf.d/ +cp -v ./ignore/.root/etc/bbb.io/templates/eth0-DHCP.network ./ignore/.root/etc/systemd/network/eth0.network || true + # setuid root ping+ping6 chmod u+s ./ignore/.root/usr/bin/ping ./ignore/.root/usr/bin/ping6 diff --git a/06_generate_ubuntu_console_root.sh b/06_generate_ubuntu_console_root.sh index bd658ab..005ac66 100755 --- a/06_generate_ubuntu_console_root.sh +++ b/06_generate_ubuntu_console_root.sh @@ -62,6 +62,8 @@ echo 'debugfs /sys/kernel/debug debugfs mode=755,uid=root,gid=gpio,defaults #Network-Manager, ignore eth1 cp -v ./rootfs/etc/NetworkManager/conf.d/*.conf ./ignore/.root/etc/NetworkManager/conf.d/ +cp -v ./ignore/.root/etc/bbb.io/templates/eth0-DHCP.network ./ignore/.root/etc/systemd/network/eth0.network || true + # setuid root ping+ping6 chmod u+s ./ignore/.root/usr/bin/ping ./ignore/.root/usr/bin/ping6