What the console messages mean #4
BrucePerens
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I need to see the console messages from your system. Here are the ones from mine, and what they mean:
About 20 lines are printed by the OS before you see my application start. Here's the start of what I am interested in seeing:
*** K6BP RigControl ***
Here are some hints the software prints about the command-line environment of the console. These should always be the same, so aren't interesting.
The device identifies itself. Every board has a unique WiFi MAC address burned into an eFuse
Device name: rigcontrol-a4:e5:7c:e8:bf:20
This is a message from the Port Control Protocol, in which the Rigcontrol board requests that your router open ports to the outside. In this case, we requested port 8080, to the web server on the rigcontrol board, and the router gives us that and tells us the public IP address it's mapped it to. There's nothing there on the Rigcontrol side yet. We don't use port 80, the usual web port, because your router, or something else of yours, might have an external port there. If port 8080 is already in use, your router will assign us another port.
After your IPv4 LAN address has been set up by the router, the software uses STUN to find your public IPv4 address:
Public address 24.130.55.121.
The OS chooses a random link-local IPv6 address, multicasts a message to make sure nobody else on the link is using it, and then goes ahead if there are no replies. Now that we have an IPv6 address, we can do more configuration with IPv6, which you'll see below.
Got IPv6: interface sta, address, type FE80::A6E5:7CFF:FEE8:BF20
The Rigcontrol board requests another port mapping, this time using IPv6. Oops, the mapping we got, at least on my router, is to the link-local address on the outside of the router! That's useless, we wanted a global address. This may be a bug in the MiniUPnP software in the router, I'm still looking at it.
The router now sets the Rigcontrol board up with two more IPv6 addresses. The first is public, the second site-local:
The clock is set via SNTP:
Time was synchronized.
We use STUN again to find the public IPv6 address:
Public address 2603:3024:ACAB:FCD9:FEE4:8A52:5106:5DEF.
Beta Was this translation helpful? Give feedback.
All reactions