Re: [Owfs-developers] bash restart of process

2012-02-13 Thread Roberto Spadim
nice i found how to killall on this arm linux distro it was at wrong place, now works ok find the problem is a good solution too (the perfect one :) ) but it's running now i think i will not have more problems =) any news about this problem contact the list :) thanks everybody 2012/2/13 William B

Re: [Owfs-developers] bash restart of process

2012-02-13 Thread William Brown
Maybe you can use pidof to get pid and pkill to terminate owhttpd by pid. #!/bin/sh # # is owhttpd running pidof owhttpd >/dev/null if [ $? != 0 ] then pkill (you need to add options here) fi exec /opt/owfs/bin/owhttpd (options here) On 02/13/2012 07:13 AM, Roberto Spa

Re: [Owfs-developers] bash restart of process

2012-02-13 Thread Achim Scheidl
> Or even better, how about if I can figure out how to make the one process work without problems and restarts. Wow, that would be the best thanks for all your effort you already spent. I would also appreciate replacing the 2.8p2 version and stepping 2 years forward ;-) Achim

Re: [Owfs-developers] bash restart of process

2012-02-13 Thread Paul Alfille
How about: while : do killall owhttpd /opt/owfs/bin/owhttpd -p -u sleep 300 done Or even better, how about if I can figure out how to make the one process work without problems and restarts. Paul On Mon, Feb 13, 2012 at 4:07 PM, Roberto Spadim wrote: > yes this is nice, but the prob

Re: [Owfs-developers] bash restart of process

2012-02-13 Thread Roberto Spadim
yes this is nice, but the problem is that i´m restarting it because the long cable problem i must kill it anyway 2012/2/13 Paul Alfille : > You could also just restart owhttpd in a loop. If owhttpd is already > running, the new one will fail since the port will not be available. > > I.e. > > while

Re: [Owfs-developers] bash restart of process

2012-02-13 Thread Paul Alfille
You could also just restart owhttpd in a loop. If owhttpd is already running, the new one will fail since the port will not be available. I.e. while : do /opt/owfs/bin/owhttpd -p -u sleep 300 done On Mon, Feb 13, 2012 at 1:13 PM, Jerry Scharf < sch...@lagunawayconsulting.com> wrote:

Re: [Owfs-developers] bash restart of process

2012-02-13 Thread Jerry Scharf
Roberto, Assuming you are running on some kind of *nix, why not use cron to do this? You would create a crontab entry that looked like: */5 * * * * /path/to/restart/script (if there is only a global crontab file, the entry would look like */5 * * * * owhttpduser /path/to/restart/script) then the

[Owfs-developers] bash restart of process

2012-02-13 Thread Roberto Spadim
hi guys, i´m having to restart my owhttpd each 5 minutes can anyone help me with a bash script to do this job? i was thinking about runnning the bash as a background process /etc/rc.d/rc0.d/owhttpd & inside owhttpd i have: #!/bin/sh real_owhttpd=/opt/bin/owhttpd while true; do $real_owhttp

Re: [Owfs-developers] 0-Wire communication (wireless eg via IQRF)

2012-02-13 Thread Michael Markstaller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 No need to fiddle around and solder serialports etc. Get an TL-MR3420 or TL-MR3020 or WR703N, OpenWRT trunk can be directly flashed via the vendors webif, attach a DS9490 and configure it as wireless-client.. (though currently with 2.8p14 it's not per

Re: [Owfs-developers] 0-Wire communication (wireless eg via IQRF)

2012-02-13 Thread Colin Law
On 13 February 2012 10:25, Mick Sulley wrote: > Yes I recently bought one on eBay and then discovered that the hack only > works up to version 4, mine was a 7 so beware. I think it works on the GL and GS also. I think the openwrt site has some specific info on this. See http://wiki.openwrt.

Re: [Owfs-developers] 0-Wire communication (wireless eg via IQRF)

2012-02-13 Thread Mick Sulley
Yes I recently bought one on eBay and then discovered that the hack only works up to version 4, mine was a 7 so beware. On 13/02/12 10:18, Colin Law wrote: > On 13 February 2012 09:56, ekgnkb3d wrote: >> Hi all, >> did anybody already tried to extend a 1-Wire connection wireless? >> I've jus

Re: [Owfs-developers] 0-Wire communication (wireless eg via IQRF)

2012-02-13 Thread Colin Law
On 13 February 2012 09:56, ekgnkb3d wrote: > > Hi all, > did anybody already tried to extend a 1-Wire connection wireless? > I've just found an (very much simplified) example of accessing a DS18B20 vie > IQRF devices, see > http://www.iqrf.org/contest/index.php?sekce=examples&id=exampl10 here . >

[Owfs-developers] 0-Wire communication (wireless eg via IQRF)

2012-02-13 Thread ekgnkb3d
Hi all, did anybody already tried to extend a 1-Wire connection wireless? I've just found an (very much simplified) example of accessing a DS18B20 vie IQRF devices, see http://www.iqrf.org/contest/index.php?sekce=examples&id=exampl10 here . Guessing this is strongly limited to only DS18B20, not