Re: [Owfs-developers] owhttpd in 2.9p0

2013-06-19 Thread foster
I've changed static IP to IP from dhcp, but problem has not been solved. I'm not able to start owserver - I have a fresh installation of raspbian wheezy and only installed necesssary software for owfs. Any idea? Many thanks, I'm really confused and disappointed. -- View this message in context:

Re: [Owfs-developers] owhttpd in 2.9p0

2013-06-13 Thread foster
*sudo /opt/owfs/bin/owserver --i2c=/dev/i2c-1 --server 127.0.0.1:4304 --debug* error is the same. -- View this message in context: http://owfs-developers.1086194.n5.nabble.com/owhttpd-in-2-9p0-tp9556p9712.html Sent from the OWFS Developers mailing list archive at Nabble.com. -

Re: [Owfs-developers] owhttpd in 2.9p0

2013-06-13 Thread Tomasz Torcz
On Thu, Jun 13, 2013 at 12:51:40PM -0700, foster wrote: > *sudo /opt/owfs/bin/owserver --i2c=/dev/i2c-1 --server localhost:4304 > --debug* > result: > CONNECT: owlib.c:(112) Cannot open server at localhost:4304 -- first > attempt. > DEBUG: ow_net_client.c:(85) IP address=[localhost] port=[4304]

Re: [Owfs-developers] owhttpd in 2.9p0

2013-06-13 Thread foster
*sudo /opt/owfs/bin/owserver --i2c=/dev/i2c-1 --server localhost:4304 --debug* result: CONNECT: owlib.c:(112) Cannot open server at localhost:4304 -- first attempt. DEBUG: ow_net_client.c:(85) IP address=[localhost] port=[4304] CONNECT: ow_net_client.c:(147) [Address family not supported by prot

Re: [Owfs-developers] owhttpd in 2.9p0

2013-06-13 Thread Jan Kandziora
Am 13.06.2013 12:33, schrieb foster: > Thx. for help, owfs starts from shell correctly, but I have a problem to > start owserver. > sudo /opt/owfs/bin/owserver --i2c=/dev/i2c-1 -p localhost:4304 it looks ok, > but I don't see anything in running services. > How do you check that? What does $ netst

Re: [Owfs-developers] owhttpd in 2.9p0

2013-06-13 Thread foster
Thx. for help, owfs starts from shell correctly, but I have a problem to start owserver. sudo /opt/owfs/bin/owserver --i2c=/dev/i2c-1 -p localhost:4304 it looks ok, but I don't see anything in running services. -- View this message in context: http://owfs-developers.1086194.n5.nabble.com/owhttp

Re: [Owfs-developers] owhttpd in 2.9p0

2013-06-12 Thread Jan Kandziora
Am 25.05.2013 23:24, schrieb foster: > > error is the same: > > CONNECT: ow_ds2482.c:(399) Found an i2c device at /dev/i2c-1 address 18 > DEBUG: ow_ds2482.c:(516) ok > CONNECT: ow_ds2482.c:(428) i2c device at /dev/i2c-1 address 18 appears to be > DS2482-x00 > DEBUG: ow_ds2482.c:(785) Channel

Re: [Owfs-developers] owhttpd in 2.9p0

2013-06-12 Thread Mick Sulley
If it starts at boot it is run as root I believe. Try - sudo /opt/owfs/bin/owfs --i2c=ALL:ALL --allow_other -m /mnt/1wire On 12/06/13 21:52, foster wrote: > It's all strange for me. > If I start owfs from shell: /opt/owfs/bin/owfs --i2c=ALL:ALL --allow_other > /mnt/1wire > the same error occurs.

Re: [Owfs-developers] owhttpd in 2.9p0

2013-06-12 Thread foster
It's all strange for me. If I start owfs from shell: /opt/owfs/bin/owfs --i2c=ALL:ALL --allow_other /mnt/1wire the same error occurs. But if this command runs from start1wire.sh - http://wiki.temperatur.nu/index.php/OWFS_with_i2c_support_on_Raspberry_Pi_%28English_version%29#Make_sure_OWFS_is_start

Re: [Owfs-developers] owhttpd in 2.9p0

2013-06-12 Thread foster
Could anyone help me with this issue? Thx. -- View this message in context: http://owfs-developers.1086194.n5.nabble.com/owhttpd-in-2-9p0-tp9556p9698.html Sent from the OWFS Developers mailing list archive at Nabble.com. -

Re: [Owfs-developers] owhttpd in 2.9p0

2013-05-25 Thread foster
I killed owfs, but still can't run owhttpd: kill 2134 - (kill owfs) sudo /opt/owfs/bin/owhttpd -p 2121 -d /dev/i2c-1 --debug error is the same: CONNECT: ow_ds2482.c:(399) Found an i2c device at /dev/i2c-1 address 18 DEBUG: ow_ds2482.c:(516) ok CONNECT: ow_ds2482.c:(428) i2c device at /dev/i2c-

Re: [Owfs-developers] owhttpd in 2.9p0

2013-05-13 Thread Paul Alfille
Ahh, you can get lucky, but two programs talking to the same hardware is a recipe for problems. Fortunately owserver can mediate the access. It is set up to talk to the hardware, and the other programs talk to it. As a matter of clarification, owhttpd, the web server, doesn't use the file system.

Re: [Owfs-developers] owhttpd in 2.9p0

2013-05-13 Thread foster
Paul Alfille-2 wrote > Are you running owfs and owhttpd at the same time? They both can't connect > directly to the DS2482 -- you need owserver to coordinate access. Hmm, why can't run both? In version 2.8p15 there was no problem. If I run owserver, i will not be able to use owhttpd. When I use ow

Re: [Owfs-developers] owhttpd in 2.9p0

2013-05-13 Thread Mark Taber
Hi Paul, Many thanks for the help you are offering, it is greatly appreciated as this is driving me mad! I have just booted my pi and these are the processes running - pi@raspberrypi ~ $ ps -el F S UID PID PPID C PRI NI ADDR SZ WCHAN TTY TIME CMD 4 S 0 1 0 0 80 0

Re: [Owfs-developers] owhttpd in 2.9p0

2013-05-13 Thread Paul Alfille
Are you running owfs and owhttpd at the same time? They both can't connect directly to the DS2482 -- you need owserver to coordinate access. On Mon, May 13, 2013 at 7:59 AM, foster wrote: > Thx. Now I understand. > Actually I don't need config file if I run owhttpd with parameters. So now > it's

Re: [Owfs-developers] owhttpd in 2.9p0

2013-05-13 Thread foster
Thx. Now I understand. Actually I don't need config file if I run owhttpd with parameters. So now it's clear, only problem what I have is to start owhttpd. I have DS-2482-100, I'm using this command: sudo /opt/owfs/bin/owhttpd -p 2121 -d /dev/i2c-1 --debug DEBUG MODE libow version: 2.9p0

Re: [Owfs-developers] owhttpd in 2.9p0

2013-05-13 Thread Paul Alfille
Hi Foster, Don't apologize about being new to linux. There's a bit of a learning curve to the command line, and owfs is designed to be easy to use from the command line. 1. No need to ./configure or recompile to use the configuration file A. The ./configure when you build the program is entirel

Re: [Owfs-developers] owhttpd in 2.9p0

2013-05-13 Thread foster
Thx.for answer. I'm new to linux, so I'm not sure that I understand your answer. If I want to have config file for owttpd, I have to compile package again via ./configure? Or I can add config file when running owhttpd. I tried to run owhttpd via /opt/owfs/bin/owfs but nothing happens. And also wha

Re: [Owfs-developers] owhttpd in 2.9p0

2013-05-12 Thread Paul Alfille
Hi Foster, The owfs packages don't set or expect a default configuration file. However, when they get packaged for a particular distribution, the packager often chooses to set a configuration file to match their style. Basically, each of the programs can have a "-c config_file_path_and_name" on t

[Owfs-developers] owhttpd in 2.9p0

2013-05-10 Thread foster
Hi. I've just installed owfs 2.9p0, and I have a problem with setting port of owhttp. In previous versions there was owfs.conf, but in this version this config file is missing. Also there is missing info, where to set temperature/pressure units. Thx. for answer. Btw. bug with duplicate directories