Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors with Debian on WSL2 #10

Open
bwolfbarn opened this issue Dec 2, 2020 · 3 comments
Open

Errors with Debian on WSL2 #10

bwolfbarn opened this issue Dec 2, 2020 · 3 comments

Comments

@bwolfbarn
Copy link

Hello,

with Debian default installation on WSL2, last boot info is missing (module System), a wget error is returned (showed in Memory but related to Network) and we get also and we have device name error (module Network)

  System
  ...
  Uptime           0 day(s), 0 hours(s), 10 minute(s)
  Last boot
  Memory
  RAM           6179 Mb free of 6250 Mb
./eZServerMonitor.sh: line 258: wget: command not found
  Network
  IP LAN (lo)    127.0.0.1
  IP LAN (bond0)
  IP LAN (dummy0)
Device "sit0@NONE" does not exist.
  IP LAN (sit0@NONE)
  IP LAN (eth0)  xxx.xxx.xxx.xxx
  IP WAN

I may propose some adaptation if needed (ongoing test localy)

Kind regards,
bwolfbarn

@shevabam
Copy link
Owner

shevabam commented Dec 2, 2020

Hello,
Thank you for the information.

  1. For the "last boot", I don't have a solution with WSL2. The who command returns nothing...

  2. I don't have the error. Please install wget on your distribution.

  3. I corrected the error! You can download the new file from this repo.

Thank you again for your feedback.

Regards,

@bwolfbarn
Copy link
Author

Hello Shevabam,

Thanks for the quick reaction.

  1. Indeed, who return nothing. May be shoud the last boot time be calculated from time since start. What do you think about ?
  2. Indeed, wget is needed to collect external IP. May be should we have a message when not installed (like we have for temperature related applications)
  3. Thank you. I will test it (suppose you limited to active port)
    Have a nice day.
    Kind regards,

@shevabam
Copy link
Owner

Hello,

  1. I will think how to do it, for the moment I do not know!
  2. It's fixed, I improved the detection of curl and wget

Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants