I found that option -c in udhcpc no longer works. This is a little
workaround. Though with this patch applied, you shouldn't write colons
in /etc/config/network in clientid option.
Signed-off-by: Peter Mukhachev <[email protected]>
Index: package/base-files-network/files/lib/network/config.sh
===================================================================
--- package/base-files-network/files/lib/network/config.sh (revision 29976)
+++ package/base-files-network/files/lib/network/config.sh (working copy)
@@ -405,7 +405,7 @@
service_start /sbin/udhcpc -t 0 -i "$iface" \
${ipaddr:+-r $ipaddr} \
${hostname:+-H $hostname} \
- ${clientid:+-c $clientid} \
+ ${clientid:+-x 0x3d:$clientid} \
${vendorid:+-V $vendorid} \
-b -p "$pidfile" $broadcast \
${dhcpopts}
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel