Re: busybox udhcpc client
On Wed, Feb 19, 2014 at 2:30 AM, Mike Dean md...@emacinc.com wrote: Thank you for the prompt response on this. I am looking into modifying the code for the busybox version of ifup to add the -s option and will see if I can make it work for my application. -s option has a default. If you install your script in the default location, you need no pass -s SCRIPT to udhcpc. ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox
Re: busybox udhcpc client
Denys, Okay great, thank you. I'll look for that default. Thanks, Mike Dean md...@emacinc.com http://www.emacinc.com/ Engineer EMAC, Inc. 618-529-4525 Ext. 330 618-457-0110 Fax 2390 EMAC Way Carbondale, Il 62901 On Wed, Feb 19, 2014 at 8:34 AM, Denys Vlasenko vda.li...@googlemail.comwrote: On Wed, Feb 19, 2014 at 2:30 AM, Mike Dean md...@emacinc.com wrote: Thank you for the prompt response on this. I am looking into modifying the code for the busybox version of ifup to add the -s option and will see if I can make it work for my application. -s option has a default. If you install your script in the default location, you need no pass -s SCRIPT to udhcpc. ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox
Re: busybox udhcpc client
Rich, Thank you for the prompt response on this. I am looking into modifying the code for the busybox version of ifup to add the -s option and will see if I can make it work for my application. Thank you, Mike Dean md...@emacinc.com http://www.emacinc.com/ Engineer EMAC, Inc. 618-529-4525 Ext. 330 618-457-0110 Fax 2390 EMAC Way Carbondale, Il 62901 On Fri, Feb 14, 2014 at 10:46 PM, Rich Felker dal...@aerifal.cx wrote: On Fri, Feb 14, 2014 at 07:06:50PM -0600, Mike Dean wrote: Hi, Does anyone know if there's a way I can find out when udhcpc gets a new IP address assigned via DHCP? I would like to trigger a script on this event, but I can't find any files to watch or any hooks I can use to trigger my script. Any help with this would be greatly appreciated. See udhcpc --help. There's a script option (-s) which controls what's executed on dhcp state changes. Without any script, udhcpc will not even change the interface ip; it just makes the dhcp requests to the server but leaves alone the local network config. Rich ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox
busybox udhcpc client
Hi, Does anyone know if there's a way I can find out when udhcpc gets a new IP address assigned via DHCP? I would like to trigger a script on this event, but I can't find any files to watch or any hooks I can use to trigger my script. Any help with this would be greatly appreciated. Thanks, Mike Dean md...@emacinc.com http://www.emacinc.com/ Engineer EMAC, Inc. 618-529-4525 Ext. 330 618-457-0110 Fax 2390 EMAC Way Carbondale, Il 62901 ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox
Re: busybox udhcpc client
On Fri, Feb 14, 2014 at 07:06:50PM -0600, Mike Dean wrote: Hi, Does anyone know if there's a way I can find out when udhcpc gets a new IP address assigned via DHCP? I would like to trigger a script on this event, but I can't find any files to watch or any hooks I can use to trigger my script. Any help with this would be greatly appreciated. See udhcpc --help. There's a script option (-s) which controls what's executed on dhcp state changes. Without any script, udhcpc will not even change the interface ip; it just makes the dhcp requests to the server but leaves alone the local network config. Rich ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox