Hi Chris,
Sorry to be a PITA again, but I am still working through the RedHat based controller issues and have encountered an intermittent behavior on the client (Raspbian Bullseye), probably based on timing. I have manually set up the bridged connection on the controller, which I will automate and document later.
The client WAS not picking up the IP address via DHCP from the bridge, so I looked up how to configure this in the Debian documentation. I found this, and put it in place. On boot it is picking up the "default" address and I can't see any errors logged.
[ A reboot of the controller was what brought the failed DHCP configuration problem back. ]
Anyhow:
bracka@p99:~ $ cat /etc/systemd/network/dhcp.network
[Match]
Name=usb*
[Network]
DHCP=yesThe I rebooted and got this behavior:
bracka@p99:~ $ ifconfig -a
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 25 bytes 3458 (3.3 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 25 bytes 3458 (3.3 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
usb0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 172.19.181.99 netmask 255.255.255.0 broadcast 172.19.181.255
inet6 fe80::4cf2:15b6:ff74:1232 prefixlen 64 scopeid 0x20<link>
ether 00:22:82:ff:ff:63 txqueuelen 1000 (Ethernet)
RX packets 216 bytes 58034 (56.6 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 51 bytes 11740 (11.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.199 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::bb6f:a3ea:b066:cec6 prefixlen 64 scopeid 0x20<link>
ether b8:27:eb:cf:a5:ec txqueuelen 1000 (Ethernet)
RX packets 177 bytes 52144 (50.9 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 101 bytes 14901 (14.5 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
bracka@p99:~ $ sudo ifconfig usb0 down
bracka@p99:~ $ sudo ifconfig usb0 up
bracka@p99:~ $ ifconfig -a usb0
usb0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.99 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::4cf2:15b6:ff74:1232 prefixlen 64 scopeid 0x20<link>
ether 00:22:82:ff:ff:63 txqueuelen 1000 (Ethernet)
RX packets 820 bytes 205473 (200.6 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 132 bytes 26609 (25.9 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0The last 3 times I have tried to reboot and repeat the error by getting the defaulted address, DHCP is able to provide the correct address, so I am guessing that there is an intermittent timing issue with the DHCP client. This is a relatively vanilla Pi Zero image going to a DHCP server on the net. The same sort of thing works fine with a Raspbian controller (obviously).
Console log is pretty clean:
[ 33.044454] NFSD: Using UMH upcall client tracking operations.
[ 33.044497] NFSD: starting 90-second grace period (net f0000000)
[ 33.137500] usb0: HOST MAC 00:22:82:ff:fe:63
[ 33.137548] usb0: MAC 00:22:82:ff:ff:63
[ 33.138062] dwc2 20980000.usb: bound driver configfs-gadget.ClusterCTRL
[ 33.170520] dwc2 20980000.usb: new device is high-speed
[ 33.438496] dwc2 20980000.usb: new device is high-speed
[ 33.528495] dwc2 20980000.usb: new device is high-speed
[ 33.594911] dwc2 20980000.usb: new address 13
[ 34.471825] brcmfmac: F1 signature read @0x18000000=0x1541a9a6
[ 34.868022] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[ 34.869672] usbcore: registered new interface driver brcmfmac
[ 35.026940] Console: switching to colour dummy device 80x30
[ 35.095069] vc4-drm soc:gpu: bound 20400000.hvs (ops vc4_hvs_ops [vc4])
[ 35.153214] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: Jul 19 2021 03:24:18 version 7.45.98 (TOB) (56df937 CY) FWID 01-8e14b897
[ 35.165751] Registered IR keymap rc-cec
[ 35.166618] rc rc0: vc4-hdmi as /devices/platform/soc/20902000.hdmi/rc/rc0
[ 35.166939] input: vc4-hdmi as /devices/platform/soc/20902000.hdmi/rc/rc0/input0
[ 35.258987] vc4-drm soc:gpu: bound 20902000.hdmi (ops vc4_hdmi_ops [vc4])
[ 35.266363] vc4-drm soc:gpu: bound 20004000.txp (ops vc4_txp_ops [vc4])
[ 35.271095] vc4-drm soc:gpu: bound 20206000.pixelvalve (ops vc4_crtc_ops [vc4])
[ 35.282137] vc4-drm soc:gpu: bound 20207000.pixelvalve (ops vc4_crtc_ops [vc4])
[ 35.288100] vc4-drm soc:gpu: bound 20807000.pixelvalve (ops vc4_crtc_ops [vc4])
[ 35.305363] vc4-drm soc:gpu: bound 20c00000.v3d (ops vc4_v3d_ops [vc4])
[ 35.392506] [drm] Initialized vc4 0.0.0 20140616 for soc:gpu on minor 0
[ 35.394227] vc4-drm soc:gpu: [drm] Cannot find any crtc or sizes
[ 37.445400] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 37.445442] Bluetooth: BNEP filters: protocol multicast
[ 37.445475] Bluetooth: BNEP socket layer initialized
[ 37.496215] Bluetooth: MGMT ver 1.22
[ 37.590244] NET: Registered PF_ALG protocol family
[ 39.206091] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[ 40.683876] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 42.715340] ICMPv6: process `dhcpcd' is using deprecated sysctl (syscall) net.ipv6.neigh.wlan0.retrans_time - use net.ipv6.neigh.wlan0.retrans_time_ms instead
bracka@p99:~$
Controller Interfaces (seem to be working):
[bracka@coruscant ~]$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
link/ether 32:cf:2b:6d:e8:e8 brd ff:ff:ff:ff:ff:ff permaddr b8:27:eb:ba:96:50
4: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 00:22:82:ff:fe:63 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.198/24 brd 192.168.1.255 scope global dynamic noprefixroute br0
valid_lft 6023sec preferred_lft 6023sec
inet6 fe80::33d7:cac7:b14e:bd1f/64 scope link noprefixroute
valid_lft forever preferred_lft forever
5: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel master br0 state UP group default qlen 1000
link/ether 00:e0:4c:68:05:9e brd ff:ff:ff:ff:ff:ff
6: ethpi99: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel master br0 state UNKNOWN group default qlen 1000
link/ether 00:22:82:ff:fe:63 brd ff:ff:ff:ff:ff:ff
Thanks,
Tony