Hallo again, can you show here your complete config (/etc/owfs.conf)? May it be, that you have not set by the server the specific port and IP address?
Like by me is here: server: usb -> Where is the hardware connected (By you w1) server: port = 127.0.0.1:4304 -> What IP address and port should the server use for connecting from other modules server: pid_file = /var/run/owsever.pid -> you can specific also the place where the .pid file will be stored and must not been seperately been set in the owfs.conf Best regards, Roland -----Ursprüngliche Nachricht----- From: Loren Amelang Sent: Wednesday, October 29, 2014 7:59 PM To: owfs-developers@lists.sourceforge.net Subject: [Owfs-developers] Config owfs to use server? I'm still trying to understand whether I have a possible conflict with both owfs and server trying to read my hardware. Something was updating the filesystem while server and httpd were not running... My config is part of the default Ubuntu distribution for 14.04, with just the "w1" added to point to my hardware. I notice in Roland's config he has set server: usb like I have set server: w1 but he also sets owfs: server = 127.0.0.1:4304 and I have no equivalent line. I don't even see an "owfs" process running: --- root 1151 0.0 0.1 20036 836 ? Ssl Oct19 1:56 /usr/bin/owftpd -c /etc/owfs.conf --pid-file /var/run/owfs/owftpd.pid root 13064 0.0 0.1 11828 1000 ? Ss Oct26 0:00 /usr/bin/owhttpd -c /etc/owfs.conf --pid-file /var/run/owfs/owhttpd.pid root 13605 0.0 0.2 53804 1168 ? Ssl Oct26 0:00 /usr/bin/owserver -c /etc/owfs.conf --pid-file /var/run/owfs/owserver.pid --- It seems "owfs" can be used without the ftp/http/server modules, so it must exist on its own somehow. But where? Should I add that "owfs: server = 127.0.0.1:4304" line to my config? Or does ! server: server = localhost:4304 do the same thing, since it supposedly applies to everything except server? What about "owfs: pid_file = /var/run/owfs.pid"? I don't have an owfs.pid file on my system... Just the ftpd/httpd/server pid files. I see many configs with lines like "owfs: mountpoint = /mnt/1wire". I don't understand why one would mount at /mnt/1wire when everything is already visible at /sys/devices/. Maybe the default Ubuntu install has done some of this for me, in some file I haven't found yet? I tend to assume that whoever made the official Ubuntu distribution knows much more than I do. But I do get occasional bad reads and bogus temperature values, and as I said, the filesystem was getting updated even while server was stopped. Loren | Loren Amelang | lo...@pacific.net | On Wednesday, October 29, 2014 at 9:27 AM, owfs-developers-requ...@lists.sourceforge.net wrote: > From: "Roland Franke" <fl...@franke-prem.de> > Subject: Re: [Owfs-developers] Missing data > To: "Roland Franke" <fl...@franke-prem.de>, "OWFS \(One-wire file > system\) discussion and help" <owfs-developers@lists.sourceforge.net> > Message-ID: <32224CCF5ADA40D38212CB7E0D3E7E8E@rolandAMD64> > Content-Type: text/plain; charset="utf-8" > > Here is my configuration (As i now will be at home ) > owfs.conf is: > error_print = 3 > error_level = 0 > format = f.i > cache_size = 0 > Celsius > foreground > allow_root > owfs: server = 127.0.0.1:4304 > owfs: pid_file = /var/run/owfs.pid > owfs: mountpoint = /mnt/1wire > server: usb > server: port = 127.0.0.1:4304 > server: pid_file = /var/run/owsever.pid > http: server = 127.0.0.1:4304 > http: port = 8080 > http: pid_file = /var/run/owhttpd.pid > ------------------------------------------------------------------------------ _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers ------------------------------------------------------------------------------ _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers