Hi all, I want to report this bug: 1. if I run: openvpn --cd /etc/openvpn/ --script-security 2 --up "/etc/init.d/udhcpc start" \ --config $CONFIG_DIR/$NAME.conf udhcp doesnt set dhcp as it should even if you add -up-delay --down-pre
here is the openvpn log: Tue Mar 23 10:03:11 2010 TUN/TAP device tap0 opened Tue Mar 23 10:03:11 2010 TUN/TAP TX queue length set to 100 Tue Mar 23 10:03:11 2010 /etc/init.d/udhcpc start tap0 1500 1574 init Starting Openvpn dhcp client for tap0: params: --now --no-zeroconf -i tap0 -s /etc/openvpn/udhcp.script --pidfile=/var/run/udhcpc..pid tap0 Link encap:Ethernet HWaddr FE:3D:5B:EB:B1:7B BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) going to req dhcp for fe:3d:5b:eb:b1:7b udhcpc (v0.9.9-pre) started Sending discover... Sending discover... Sending discover... Sending discover... No lease, failing. sleepnow udhcpc (v0.9.9-pre) started Sending discover... Sending discover... Sending discover... Sending discover... No lease, failing. sleepnow 2. If I run: openvpn --cd /etc/openvpn/ --config $CONFIG_DIR/$NAME.conf then run /etc/init.d/udhcpc start I get udhcp to setup dhcp. so this bug report means that one can't use the --up argument to launch udhcpc as described in the official docs of openvpn I am using openvpn on maemo linux on the N900 in layer 2 connection , so after establishing connection I need to issue a dhcp request. Regards, Niv