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

rig_open not recognizing localhost or IPV6 #298

Closed
mdblack98 opened this issue Jun 12, 2020 · 3 comments
Closed

rig_open not recognizing localhost or IPV6 #298

mdblack98 opened this issue Jun 12, 2020 · 3 comments
Labels
Milestone

Comments

@mdblack98
Copy link
Contributor

rig_open will change rigport.type.rig = RIG_PORT_NETWORK; when it detects an IPV4 quad address with port added...e.g. 192.168.1.1:4532
But it fails to change to network with these
localhost:4532
abcd::abcd:abcd:abcd:abcd:4532

@mdblack98 mdblack98 added the bug label Jun 12, 2020
@mdblack98 mdblack98 added this to the 4.0RC1 milestone Jun 12, 2020
@mdblack98
Copy link
Contributor Author

hostnames and localhost now work and an IPV6 address will cause rig type to change to NETWORK but network_open doesn't recognize standard IPV6 addresses yet.

mdblack98 added a commit that referenced this issue Jun 13, 2020
mdblack98 added a commit that referenced this issue Jun 22, 2020
So we change it to 0x0600 and then back to 0x0502
#298
mdblack98 added a commit that referenced this issue Jun 22, 2020
mdblack98 added a commit that referenced this issue Jun 22, 2020
mdblack98 added a commit that referenced this issue Jun 22, 2020
Didn't work with simple "rigctld" and no -T
#298
@mdblack98
Copy link
Contributor Author

What works now on Windows and Linux -- to be added to rigctld man page
rigctld
rigctl -m 2
rigctl -m 2 -r 127.0.0.1
rigctl -m 2 -r localhost
rigctl -m 2 -r 192.168.1.1 (local IP address)
rigctl -m 2 -r ::1 (does not work on Linux as it does not listen on IPV6 by default)

rigctld -T 127.0.0.1
rigctl -m 2
rigctl -m 2 -r 127.0.0.1
Exceptions:
rigctl -m 2 -r localhost (only works if localhost is IPV4 address)

rigctld -T localhost (will set up on IPV4/6 , "ping localhost" tells you which one
rigctl -m 2
rigctl -m 2 -r localhost
rigctl -m 2 ip6-localhost
Exceptions:
rigctl -m 2 -r 127.0.0.1 (only works if localhost is IPV4 address)
rigctl -m 2 -r ::1 (only works localhost is IPV6 address)
On Linux only where ip6-localhost fe00::0
rigctld -T ip6-localhost
rigctl -m 2 -r ip6-localhost

@mdblack98
Copy link
Contributor Author

Enough IP6 stuff for now. May have to do more in the future but not a big demand item right now.

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

No branches or pull requests

1 participant