Skip to content

Get and set my ipv6 - strato.com #487

Answered by freprec
freprec asked this question in Q&A
Discussion options

You must be logged in to vote

I found some solution, I guess.
After trying so much other stuff for hours, I noticed that when executing the command directly without shell script it seemed to miss some characters in the inadyn output.
Seems like I should have added more escape characters like this:
checkip-command = "ip -6 addr list scope global $device | grep -v \" fd\" | sed -n 's/.*inet6 \\([0-9a-f:]\\+\\).*/\\1/p' | head -n 1"

BUT it still won't work with the docker container, only with a native instance. The command looks ok:

inadyn[1]: Starting command to get my public IP#: INADYN_PROVIDER="default@strato.com" INADYN_USER="user" ip -6 addr list scope global $device | grep -v " fd" | sed -n 's/.*inet6 \([0-9a-f:]\…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by freprec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant