Closed whoabuddy closed 3 years ago
Good article on networking config in newer versions of Ubuntu, ifconfig
is now deprecated, and change is hard.
Closing in favor of Daemon-Technologies/Mining-Bot, but happy to resurrect if someone is really familiar on the subject.
Using net-tools we can run ifconfig, which will show the local IP address of the server. It could be added to the output during startup, or possibly used with something else.
I would love to see a status bar at the bottom with relevant info, but have not tested the
screen
utility nor do I think the extra complexity is worth it.I'd like an easy way to:
curl -sS 192.168.0.102:20443/v2/info | jq
which results in:
If I do decide to use
screen
, here are some good resources: https://linuxize.com/post/how-to-use-linux-screen/ http://aperiodic.net/screen/appearance https://genericnerd.blogspot.com/2015/01/getting-your-local-ip-address-in-gnu.html https://gist.github.com/joaopizani/2718397