Foreground seems to mean when running in daemon mode it will echo output 
it has to stdout but nothing much happens..

Have tried the run-as-root switch and also run-as-euser=root but no luck..

Bruce


> Out of the blue, did you try without the run-as-user=root switch. This is normaly to 
> reduce privileges.
> What is the "foreground" option ???
> 
> Cheers,
> Livio
> 
> 
> Hi
> 
> I am using Bering uClib V2.2 and the ez-ipupdate module V3.0.11b8-5
> Config as follows:
> 
> 
> ADSL ROUTER
>       Ext Dynamic IP Address eg: 202.27.43.2
>       Internal IP Address 192.168.42.1
>                 |
>                 |
>                 |
> Bering uClib V2.2 Firewall
>       External IP Address 192.168.42.7
>       Internal IP Address 192.168.1.1
> 
> My problem is I want ez-ipupdate to check my IP address every 10 minutes 
> and if it changes, it then updates dyndns with the new IP address.
> 
> I have a script that does a wget to http://checkip.dyndns.org:8245/
> it then checks to see what my last IP was and if there was a change it 
> calls /usr/bin/ez-ipupdate to set it with eithe the one we got using wget 
> or it uses -a 0.0.0.0 which tells dyndns to workout what my IP address is.
> 
> This script works great if I run it from the command line.
> If I run it as a cron job configured as follows:
> 
> */5   * * * * root    /usr/sbin/check_ip
> 
> it runs my script but fails with NO messages whatsoever when it goes to 
> run /usr/bin/ez-ipupdate 
> 
> I have tried running /usr/bin/ez-ipupdate as a daemon but get a message 
> saying you must give it an interface when running in daemon mode.
> My /etc/ez-ipupd.conf  file has these settings: (I have tried most 
> combinations...)
> 
>       service-type=dyndns
>       user=myaccount:mypassword
>       #interface=eth0
>       address=0.0.0.0
>       server=members.dyndns.org:8245
>       host=mydomain
>       cache-file=/tmp/ez-ipup
>       execute="cp -f /tmp/new_ip /tmp/old_ip"
>       foreground
>       run-as-user=root
>  
> If I supply the interface parameter it takes its IP address and updates 
> DYNDNS with it. Problem is its the internal IP between the ADSL router NOT 
> the ADSL routers external IP..
> 
> Has anyone found a way to do this?
> 
> Thanks
> 
> Bruce
> 
> 
> 
> ================================================
> Email: bruce at help dot co dot nz
> ================================================
>          
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by BEA Weblogic Workshop
> FREE Java Enterprise J2EE developer tools!
> Get your free copy of BEA WebLogic Workshop 8.1 today.
> http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
> ------------------------------------------------------------------------
> leaf-user mailing list: [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/leaf-user
> SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
> 




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to