Hard-coding udhcpc startup as below, is working for me.
The only problem is that if busybox-syslogd is already running,
start-stop-daemon refuses to start udhcpc,
because they have the same /proc/.../exe.

I guess that is fixable by refining the start-stop-daemon invocation?

    allow-hotplug lo wlan0
    allow-auto    lo wlan0
    iface lo inet loopback
    iface wlan0 inet manual
      wpa-roam /etc/wpa_supplicant.conf
    iface default inet manual
      # https://bugs.debian.org/741579 https://bugs.debian.org/744167
      post-up    start-stop-daemon --start --exec /sbin/udhcpc -- --pidfile 
/run/udhcpc.wlan0.pid --interface wlan0 --now --syslog --release --fqdn goll
      post-down  start-stop-daemon --stop  --exec /sbin/udhcpc    --pidfile 
/run/udhcpc.wlan0.pid


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to