'm now on Linux 24.04.1 LTS, which is, I think, jammy. Should I have a different repository list?
Re the port problem, I've changed the wifilogger port to 2222 (instead of 22222), and set debug to 1 and port 2222 in weewx.conf. Still no joy. Here's the log with debug. 2024-10-14T18:25:40.108787-07:00 ubu-mini-weather weewxd[941]: INFO __main__: Initializing weewxd version 5.0.1 2024-10-14T18:25:40.110003-07:00 ubu-mini-weather weewxd[941]: INFO __main__: Command line: /usr/share/weewx/weewxd.py /etc/weewx/weewx.conf 2024-10-14T18:25:40.121078-07:00 ubu-mini-weather weewxd[941]: INFO __main__: Using Python 3.10.12 (main, Sep 11 2024, 15:47:36) [GCC 11.4.0] 2024-10-14T18:25:40.121308-07:00 ubu-mini-weather weewxd[941]: INFO __main__: Located at /usr/bin/python3 2024-10-14T18:25:40.122800-07:00 ubu-mini-weather weewxd[941]: INFO __main__: Platform Linux-5.15.0-122-generic-x86_64-with-glibc2.39 2024-10-14T18:25:40.123611-07:00 ubu-mini-weather weewxd[941]: INFO __main__: Locale: 'en_US.UTF-8' 2024-10-14T18:25:40.124478-07:00 ubu-mini-weather weewxd[941]: INFO __main__: Entry path: /usr/share/weewx/weewxd.py 2024-10-14T18:25:40.125329-07:00 ubu-mini-weather weewxd[941]: INFO __main__: WEEWX_ROOT: /etc/weewx 2024-10-14T18:25:40.126199-07:00 ubu-mini-weather weewxd[941]: INFO __main__: Configuration file: /etc/weewx/weewx.conf 2024-10-14T18:25:40.127036-07:00 ubu-mini-weather weewxd[941]: INFO __main__: User module: /etc/weewx/bin/user 2024-10-14T18:25:40.127989-07:00 ubu-mini-weather weewxd[941]: INFO __main__: Debug: 1 2024-10-14T18:25:40.128951-07:00 ubu-mini-weather weewxd[941]: DEBUG __main__: Initializing engine 2024-10-14T18:25:40.136337-07:00 ubu-mini-weather weewxd[941]: INFO weewx.engine: Loading station type Vantage (weewx.drivers.vantage) 2024-10-14T18:25:40.291519-07:00 ubu-mini-weather weewxd[941]: DEBUG weewx.drivers.vantage: Driver version is 3.6.2 2024-10-14T18:25:40.300207-07:00 ubu-mini-weather weewxd[941]: DEBUG weewx.drivers.vantage: Option loop_request=2 2024-10-14T18:25:40.301295-07:00 ubu-mini-weather weewxd[941]: ERROR weewx.drivers.vantage: Socket error while opening port 2222 to ethernet host 192.168.198.91. 2024-10-14T18:25:40.302074-07:00 ubu-mini-weather weewxd[941]: ERROR weewx.engine: Import of driver failed: [Errno 101] Network is unreachable (<class 'weewx.WeeWxIOError'>) 2024-10-14T18:25:40.309610-07:00 ubu-mini-weather weewxd[941]: CRITICAL weewx.engine: **** Traceback (most recent call last): 2024-10-14T18:25:40.310587-07:00 ubu-mini-weather weewxd[941]: CRITICAL weewx.engine: **** File "/usr/share/weewx/weewx/drivers/vantage.py", line 354, in openPort 2024-10-14T18:25:40.311404-07:00 ubu-mini-weather weewxd[941]: CRITICAL weewx.engine: **** self.socket.connect((self.host, self.port)) 2024-10-14T18:25:40.312183-07:00 ubu-mini-weather weewxd[941]: CRITICAL weewx.engine: **** OSError: [Errno 101] Network is unreachable 2024-10-14T18:25:40.312794-07:00 ubu-mini-weather weewxd[941]: CRITICAL weewx.engine: **** 2024-10-14T18:25:40.313291-07:00 ubu-mini-weather weewxd[941]: CRITICAL weewx.engine: **** During handling of the above exception, another exception occurred: 2024-10-14T18:25:40.313738-07:00 ubu-mini-weather weewxd[941]: CRITICAL weewx.engine: **** 2024-10-14T18:25:40.314173-07:00 ubu-mini-weather weewxd[941]: CRITICAL weewx.engine: **** Traceback (most recent call last): 2024-10-14T18:25:40.314724-07:00 ubu-mini-weather weewxd[941]: CRITICAL weewx.engine: **** File "/usr/share/weewx/weewx/engine.py", line 115, in setupStation 2024-10-14T18:25:40.316118-07:00 ubu-mini-weather weewxd[941]: CRITICAL weewx.engine: **** self.console = loader_function(config_dict, self) I tried to telnet to the new port, and get the following: $ telnet 192.168.198.91 2222 Trying 192.168.198.91... telnet: Unable to connect to remote host: Connection refused I tried the following, which worked, much to my surprise: $ telnet 192.168.198.91 22222 Trying 192.168.198.91... Connected to 192.168.198.91. Escape character is '^]'. This worked even though I'd changed wifilogger's TCP port to 2222 (instead of 22222). 22222 is it's default, so maybe it always stays open? Or maybe telnet uses a UDP port instead of TCP? And if this works, why didn't weewx work before I changed the config file? This worked fine before updating OS and weewx, so I'm mystified. -- 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/2c84ef79-3ff2-40cb-8b5c-db3effeae6f5n%40googlegroups.com.
