maybe we are talking cross-purpose:
what you describe below is exactly the installation of WSL (exactly
speaking WSL2) under Windows 11.
Also with Win 11 you have to create the connection between the Windows
11 installation and the VM if some application or device in the local
network
wants to connect with an application inside the VM (here weewx).
Ubuntu on WSL2 doesn't contain by default certain services like systemd
or rsyslogd. They need to be installed by you manually.
Again, there is plenty of documentation for this. Especially for
installing systemd under WSL2.
e.g. for the network integration and firewall
https://stackoverflow.com/questions/61002681/connecting-to-wsl2-server-via-local-network
If you use such environments, you need to know their "shortcoming" and
needs. 😎
On 05.11.2022 03:31, Alex Vanuxem wrote:
hey,
It was under wsl.
*but now i installed under windows 11, hyper-v and installed an ubuntu
latest version under a virtual machine, i have the full program;*
now i'm struggling again;
again no syslog, it says its installed, but cant start it
i can invoke ./bin/weewxd , i see a lot of data coming in in my
terminal, but no reports to var/www/html/ weewx,
i guess it something to do with permissions? or am i just dumb
thank you for your time,
Op vr 4 nov. 2022 om 22:24 schreef Rainer Lang <lang.rai...@gmail.com>:
When you want to use weewx under WSL (which works perfectly by the
way - at least with the Interceptor and the Ecowitt Gateway driver),
you need to make sure that the connectivity between the virtual
machine in which WSL is running and the local network the WSL host
computer is running in
has been established.
There are recipes for that - Google is your friend - they describe
Windows Powershell commands to be applied for this to work.
That's not a weewx specific issue - it applies to any application
running in WSL (Windows Subsystem for Linux) and needing to
contact/communicate
with the local network of the host computer.
On 04.11.2022 19:47, vince wrote:
We really need more information on your setup.
It 'seems' like you are trying to run a rather unusual configuration.
I noticed this in your errors.txt file:
* "Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with-glibc2.29"
==> are you trying to run weewx under Windows WSL
perhaps ?
I also see the following:
* Message: 'Socket error while opening port %d to ethernet host
%s.' Arguments: (22222, '192.168.0.248') --- Logging error
--- Traceback (most recent call last): File
"/usr/share/weewx/weewx/drivers/vantage.py", line 338, in
openPort self.socket.connect((self.host, self.port)) OSError:
[Errno 113] No route to host
==> this is a networking issue in your setup
We can't try to duplicate the problem(s) without knowing more
about your setup.
--
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/19a056c8-8f87-4460-b31c-feb78448ccbbn%40googlegroups.com
<https://groups.google.com/d/msgid/weewx-user/19a056c8-8f87-4460-b31c-feb78448ccbbn%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/fef7077b-712b-cc8e-9aa2-02c9e91e260f%40gmail.com
<https://groups.google.com/d/msgid/weewx-user/fef7077b-712b-cc8e-9aa2-02c9e91e260f%40gmail.com?utm_medium=email&utm_source=footer>.
--
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/CAHaYyo%2BUxKKd55E8VixmNnARUgsF-bEzqZvNQbjjD8UGxDNjLA%40mail.gmail.com
<https://groups.google.com/d/msgid/weewx-user/CAHaYyo%2BUxKKd55E8VixmNnARUgsF-bEzqZvNQbjjD8UGxDNjLA%40mail.gmail.com?utm_medium=email&utm_source=footer>.
--
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/e3988bd8-1bed-f6fb-d831-7477153766c5%40gmail.com.