On Sun, Jan 8, 2012 at 6:02 PM, Peter Hollenbeck <[email protected]> wrote:
> Don't know why that didn't dawn on me. Plain as day. I have browsed all the
> pages dealing with adding serial connectors.
> Thank very much.
> Peter
>
> On Sun, Jan 8, 2012 at 12:48 PM, Gregg Levine <[email protected]>
> wrote:
>>
>> On Sun, Jan 8, 2012 at 3:41 PM, Peter Hollenbeck <[email protected]>
>> wrote:
>> > Thanks very, very much.
>> > But I still don't understand why the serial port is needed.
>> > Peter
>> >
>> > On Sun, Jan 8, 2012 at 10:34 AM, p4trykx <[email protected]> wrote:
>> >>
>> >> Dnia 08-01-2012 o 01:35:09 Peter Hollenbeck <[email protected]>
>> >> napisał(a):
>> >>
>> >>
>> >>> Ah. I am beginning to get it. I could run owserver and owhttp on the
>> >>> WRT
>> >>> and access the data from 192.168.1.xxx:nnnn. Correct?
>> >>
>> >> Yes owserver talks directly to the hardware and then you can use many
>> >> clients to get/present data from it.
>> >> You can mount 1-wire like a file system to get
>> >> /mnt/owfs/ds18b20_id/temperature using owfs
>> >> also you can read it with shell command owread. The owhttp can also get
>> >> data from owserver
>> >>
>> >> this is my /etc/rc.local script on wrt54g
>> >>
>> >>
>> >> mknod /dev/fuse c 10 229 #it's needed if you want to mount 1-wire on
>> >> 2.4
>> >> kernels
>> >> #kill and umount all in case it's already running
>> >> killall owserver
>> >> umount /mnt/owfs
>> >> sleep 1
>> >>
>> >> owserver -d /dev/tts/1 -p 2485 -a /etc/owfsalias
>> >> owfs  -s 127.0.0.1:2485 -a /etc/owfsalias /mnt/owfs
>> >>
>> >> #owfsalias is a file which translates slaves ids to human readable
>> >> numbers
>> >> it's optional
>> >>
>> >> Now you can log in to the router using ssh and see the 1-wire sensors
>> >> in
>> >> /mnt/owfs also the owsever is running so you can also mount owfs on
>> >> your
>> >> computer.
>> >>
>> >> RRD is a separate project it stands for Round Robin Database it can
>> >> store
>> >> all kinds of readings e.g. temperatures. RRD can also create charts.
>> >> http://oss.oetiker.ch/rrdtool/
>> >>
>> >> I attaches also a script that runs every 2 minutes and gets readings.
>> >> The
>> >> comments are in Polish so ask if something is unclear.
>> >>
>> >>
>> >>> I think, Poland. I apologize if I'm wrong.
>> >>
>> >> Yes I'm half way around the world. And I even remember the world how it
>> >> was without the internet ;-)
>> >>
>> >>
>> >> --
>> >> p4trykx
>> >>
>>
>> Hello!
>> On these routers, the only capable method of attaching the devices
>> that we use to access the One-Wire devices is the serial port that the
>> routers wear. Originally they were used (or were supposed to have been
>> used) by the designers for debugging and other methods.
>>
>> On a website that explains in slightly greater detail the methods for
>> attaching a serial port to them, there are better photographs and a
>> completely more involved discussion then anything we've explored here.
>> -----
>> Gregg C Levine [email protected]
>> "This signature fought the Time Wars, time and again."
> _______________________________________________

Hello!
I realized after I sent that one off to the list, that I did not
bother to explain which site this is that presents the easier methods
of how to install those serial connections. Here is the site:
http://www.rwhitby.net/projects/wrt54gs

He explains in much better detail as to the methods behind and
everything else, but of course not why those ports are there.

-----
Gregg C Levine [email protected]
"This signature fought the Time Wars, time and again."

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to