Hi all,
here is another "remote 1wire" or 1wire over Ethernet setup. I'm using it
to remote control a heated water-pipe (the first winter snow has just
fallen here in Denmark :-) ).
At the remote place I have a Linksys WRT54GL router connected to the
internet. In the router I have mounted a LinkOEM 1wire-adapter (which is
equal to the Link45 1wire adapter). The remote router is running OpenWRT.
The data path (not the orders of commands) is:
owhttpd (or owfs, ownet.php etc.) -s 1234 -p 3001
|
ssh -L 1234:localhost:4304 [EMAIL PROTECTED] -N
|
internet
|
dropbear (ssh server)
|
owserver -p 4304 -d /dev/tts/1
|
LinkOEM
|
1wire
The setup is at time beeing a little unstable and I have to reestablish
the ssh-link from time to time. I don't know (yet) if the problem lies in
the internet connection, the router or elsewhere.
While I'm at it: OWFS and OpenWRT (and the web-interface x-wrt) are
running straight out of the box - you just upload x-wrt (which includes
openWRT) to your router, install the OWFS modules and you are up - thank
you guys, well done!!
Best regards,
Jan B.
On Tue, November 25, 2008 19:22, Paul Alfille wrote:
> ---------- Forwarded message ----------
> From: tiscali <[EMAIL PROTECTED]>
> Date: Tue, Nov 25, 2008 at 8:13 AM
> Subject: owserver, owhttpd - 1wire over ethernet problem
> To: [EMAIL PROTECTED]
>
>
> hi Paul,
>
> since some days I am trying to get my setup working on linux.
>
> the intitial setup was on windows and worked well:
>
> 1-wire viewer with TMEX-driver 1), 2)
> |
> lantronix comport-redirector 3)
> |
> ethernet
> |
> xport module wired to DS2480 (home-brew)
> |
> 1wire-bus
>
> as windows was not reliable enough I changed to linux debian on NSLU2
where
> I had problems with libusb (arm) - libusb is present as module but owfs
./configure insists in having full libusb. Therefore I tried it on a regular
> linux-pc with debian. I tested the
> USB with the USB-1wire-adapter This worked as expected when using
owhttpd
> (or owserver)
>
> As I intended to reuse the first concept, 1wire over ethernet I didnt go
further on usb
>
> my actual linux setup:
>
> owhttpd (or owserver) -p 3001 -d /$home/dev/xport
> |
> socat PTY, link=/$home/dev/xport TCP:192.168.1.41:10001
> |
> ethernet
> |
> xport-module/DS2480 (home-brew)
> |
> 1-wire bus
>
> do yo see any conceptional error with this?
> I can see that there is traffic on Ethernet as soon as I connect to
owhttpd
> but the devices on the 1wire bus are not shown.
>
> To my opinion this is a very interesting concept, because a nearly
unlimited
> number of 1-wire buses can be used all over the house without distance
restrictions.
>
> I hope you can find spare time to help me with this issue. I have to
point
> out that this is non-profit use only. (remote control of my summerhouse
in
> Sweden).
>
> best regards
> Beat Horn, Basel, Switzerland
>
>
>
>
> 1)tmex driver
> http://www.maxim-ic.com/products/ibutton/software/tmex/
>
> 2)viewer
> http://www.maxim-ic.com/products/ibutton/software/1wire/OneWireViewer.cfm
>
> 3) comport redirector
> http://www.lantronix.com/device-networking/utilities-tools/com-port-redirect
or.html<http://www.lantronix.com/device-networking/utilities-tools/com-port-redirector.html>
>
> 4) socat
> www.dest-unreach.org/socat/
>
> xport datasheet
> http://www.lantronix.com/pdf/XPort-Direct-Plus_UG.pdf
>
> attached: schematics ethernet-1wire adapter
> -------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great
prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________
Owfs-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers