Posts: 1,047
Threads: 42
Joined: Mar 2012
Reputation:
25
How interesting. Are you using some kind of dongle for networking or something?
What does this output: sudo nems-info nic
Robbie Ferguson // The Bald Nerd
Did I help you out? Appreciate what I do? Please consider saying thanks:
Posts: 1,047
Threads: 42
Joined: Mar 2012
Reputation:
25
Thanks.
What is the full output of this command? ip route get "172.217.10.142"
Robbie Ferguson // The Bald Nerd
Did I help you out? Appreciate what I do? Please consider saying thanks:
Posts: 1,047
Threads: 42
Joined: Mar 2012
Reputation:
25
Thanks. So you have the latest software, and all should work correctly. It makes no sense that your nems-info nic is outputting "eth0 proto ra" since your nems-info script contains grep -Po '(?<=(dev )).*(?= src| proto)'`... the return from that would be eth0 in your case as per (dev )).*(?= src| proto). Even manually echoing your result I still get eth0.
echo "172.217.10.142 via 192.168.0.1 dev eth0 src 192.168.0.28" | grep -Po '(?<=(dev )).*(?= src| proto)'
You are experiencing the issue on NEMS 1.4.1 on a Pi?
Robbie Ferguson // The Bald Nerd
Did I help you out? Appreciate what I do? Please consider saying thanks:
Posts: 1,047
Threads: 42
Joined: Mar 2012
Reputation:
25
Oh okay - the result you had posted was IPv4. I'll do some testing with the IPv6 result - thanks.
grep -Po '(?<=(dev )).*(?= src| proto)' -- this selects the text between "dev " and either " src" or " proto". By deleting the second part, you'd break the result on most board, resulting in a result like you are reporting.
This is why I'm confused by your result of 172.217.10.142 via 192.168.0.1 dev eth0 src 192.168.0.28.
As you can see, eth0 is between "dev " and " src" - so the result would be eth0.
I think you tested and gave me answers from the wrong system :)
I'll fix it based on the new info. I see the problem based on your IPv6 result.
Robbie
Robbie Ferguson // The Bald Nerd
Did I help you out? Appreciate what I do? Please consider saying thanks:
Posts: 1,047
Threads: 42
Joined: Mar 2012
Reputation:
25
Please run sudo nems-update
Should be fixed now.
Thanks baggins!
Robbie Ferguson // The Bald Nerd
Did I help you out? Appreciate what I do? Please consider saying thanks: