On 24.09.21 07:31, Mathias Homann wrote:
...can networkd do everything NetworkManager can do?
I'm thinking of the
probably yes, but different ways.
But if it works with networkd and does not work with NM, then you have
another data point for your investigation.
I always try to debug such things with busybox tools. If they do not
work, then something is *really* borken.
Unfortunately, openSUSE's busybox does not contain udhcpc, but it can be
tar xf busybox.tar.xz
make allnoconfig O=build
sed -i -e '/CONFIG_UDHCPC /d' \
-e '/CONFIG_BUSYBOX /d' \
-e '/CONFIG_SHOW_USAGE /d' build/.config
echo CONFIG_UDHCPC=y >> build/.config
echo CONFIG_BUSYBOX=y >> build/.config
echo CONFIG_SHOW_USAGE=y >> build/.config
make silentoldconfig O=build
make -j8 O=build
sudo build/busybox udhcpc -s '/bin/true' -i air
udhcpc: started, v1.33.0.git
udhcpc: sending discover
udhcpc: sending select for 192.168.200.12
udhcpc: lease of 192.168.200.12 obtained, lease time 43200
Your interface is probably not named "air" ;-)
Alternatively, without compiling anyhting, you can install "udhcp"
package and just use udhcpc from there the same way as above.
"For a successful technology, reality must take precedence over
public relations, for nature cannot be fooled." -- Richard Feynman