On Friday, January 24, 2020 at 6:47:03 PM UTC-8, Bill Butler wrote:
>
> I’ve tried the following experiments.
>
> The install process seems to go thru OK up to the last prompt which is the 
> IPv4 address.
>
> I’ve tried running the whole process using:
> 1)  The default 192.168.0.10   (Which doesn’t seem to match anything)
> 2) 192.168.0.143        (Which is what the network info gives me on my 
> Linux computer)
> 3) 192.168.0.1            (Which is what is on my Centurylink router)
> 4) 192.168.0.219        (The network info on my old Windows 7 computer)
>
> All of the above produce the same “No route to host” sequence of messages.
>
> I have just tried all 4 of the above experiments with the firewall set to 
> “off” which seems to have made “slight” progress. I now get a “refused” 
> message using the address 192.168.0.143 (Please see picture at 
> http://durangobill.com/TempPictures/WeeWXerrorRefused.jpg or the attached 
> file.) Note that this is different from the first picture.
>
> If other additional documentation would help, please let me know what 
> might be relevant.
>

At this point you're basically firing a shotgun multiple times and praying 
you hit something.   You're just firing away blindly. 

You have no chance of success taking that approach. You need to slow down 
and do things in an orderly fashion.

So lets see where you're at...

   - Your windows computer is 192.168.0.219 (fine but totally irrelevant to 
   weewx on your linux box)
   - Your linux computer is 192.168.0.143
   - Your router is 192.168.0.1
   - What is the ip address of the Weatherlink IP device you want weewx to 
   connect to ?

Look at your weewx.conf file.  You will see a stanza that looks something 
like the following:

[Vantage]
    # This section is for the Davis Vantage series of weather stations.

    # Connection type: serial or ethernet
    #  serial (the classic VantagePro)
    #  ethernet (the WeatherLinkIP)
    type = serial

    # If the connection type is serial, a port must be specified:
    #   Debian, Ubuntu, Redhat, Fedora, and SuSE:
    #     /dev/ttyUSB0 is a common USB port name
    #     /dev/ttyS0   is a common serial port name
    #   BSD:
    #     /dev/cuaU0   is a common serial port name
    port = /dev/ttyUSB0

    # If the connection type is ethernet, an IP Address/hostname is 
required:
    host = 1.2.3.4

Yours probably sets connection_type = ethernet which is fine.   I 'think' 
you need to change the 'host = n.n.n.n' line to have the ip address of your 
Weatherlink IP device, then weewx should likely work unless your 
firewalling blocks it from working or you have something pretty obscure in 
your network.

Start slowly.  Don't change more than one thing at a time.  Breathe.

   - what is the ip address of the Weatherlink IP device ?
   - from the Windows box, can you ping that address ?
   - from the Linux box, can you ping that address ?
   - (if so, your network is ok and your computers are ok....probably...)


If your Linux box can ping the Weatherlink IP device, make sure you have 
connection_type = ethernet, and the 'host = n.n.n.n' line should have the 
'target' device IP address in it....not the weewx host address.  That's 
probably where you're getting all wrapped around the axle.

Give it a try.

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/0c9990b2-eabe-4afc-9d63-a12989ad69a2%40googlegroups.com.

Reply via email to