Hi Paul,

I can look at the mounted directory and it is all there with all the
sensors.  My python program reads all the sensors and logs values to a
database, that is all working, so I assume that owserver and owfs are
working OK.

If I run 'pkill owhttpd' on the server I can no longer see it on my
laptop, which is what I would expect.

What else can I test?  Where can I go from here?

Thanks
Mick

On Wed, 2011-04-06 at 18:26 -0400, Paul Alfille wrote:
> Your setup sounds entirely correct.
> 
> You have owserver on port 3001 and owhttpd serving on 3000.
> 
> I suspect that there is a problem with owserver seeing the bus, or
> owhttpd seeing owserver -- can you test owfs or owdir locally at the
> same time as you test owhttpd remotely?
> 
> Basically seeing bus.0 etc says that you are indeed talking to
> owhttpd, but it seems that owhttpd isn't seeing owserver well. My
> suggestion is to find another way to test owserver function.
> 
> Regarding port choices. Owserver has been assigned 4304 as a default
> port by the IANA. There is no default assignment for owhttpd, which is
> a pure web serving application. Any ports that are open, and
> preferably above the system threshold of 1024 are fair game.
> 
> Paul Alfille
> 
> On Wed, Apr 6, 2011 at 5:23 PM, Mick Sulley <m...@sulley.info> wrote:
> > Hi,
> >
> > My 1-wire network is up and running on an Ubuntu server using owserver
> > and owfs and I access it via python for controlling stuff.  I now want
> > to also access the network using owhttpd but can't get it to work.
> >
> > I start the services with
> > /opt/owfs/bin/owserver -p 3001 -d /dev/ttyS1
> >
> > /opt/owfs/bin/owfs -s localhost:3001 -m
> > -a /home/share/solar/sensor_list4.1 /var/1-wire/mnt
> >
> > That works fine,  I now start owhttpd with
> > /opt/owfs/bin/owhttpd -p 3000 -s localhost:3001
> >
> > That is all on my server called 'solar'.  I now use a browser on my
> > laptop and go to
> > http://solar:3000/
> >
> > I see the owfs web page but there are no devices.  There are the normal
> > 'bus.0', 'ubcached', etc, but no devices.
> >
> > My knowledge of networks is somewhat limited and I suspect I have done
> > something stupid, can anyone enlighten me please?  Also does it matter
> > which ports I use?  Are there any conventions for this.
> >
> > Thanks
> > Mick
> >
> >
> > ------------------------------------------------------------------------------
> > Xperia(TM) PLAY
> > It's a major breakthrough. An authentic gaming
> > smartphone on the nation's most reliable network.
> > And it wants your games.
> > http://p.sf.net/sfu/verizon-sfdev
> > _______________________________________________
> > Owfs-developers mailing list
> > Owfs-developers@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/owfs-developers
> >



------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to