udhcpc default.script errors
|Status:||Closed||Start date:||02 Feb 2014|
|Category:||04 - Root File System|
|Severity:||01 - Critical|
On boot with latest 2013.11 rootfs, I get these messages:
/usr/share/udhcpc/default.script: line 64: mktemp: not found /usr/share/udhcpc/default.script: line 64: can't create : nonexistent directory
The system hangs after this. The error seems to occur after I've manually configured the network through bui-network-config.
mktemp (under Debian Utilities) is not configured in Busybox 1.21.1. It was also not configured in 1.20.1 (the previous config used with Buildroot 2013.02). I don't know if I had this problem before the switch to the latest Busybox or not. The fix is to compile busybox with mktemp and replace it on the target, then see what happens.
#1 Updated by Hammel almost 7 years ago
- % Done changed from 0 to 50
Enabling mktemp in the Busybox config seems to fix the problem. A symlink must be created from busybox to /bin/mktemp, but the busybox build does this so it should just happen automatically in the buildroot rebuild.
Need to update the config and rebuild the rootfs, then test it once more before pushing upstream.