labs/kernel-board-setup-bbb: force disable NetworkManager IPv6 #311
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Two trainees faced issues this week with their NetworkManager not bringing up their interface after the usual
nmcli con add ...command.For the first one, first mistake was to not have removed the Snagboot netns coming from am335x_usb_setup.sh. One that was fixed, with the usual
nmcli con add ..., NM didn't bring the interface up and logs looked like:We get stuck in
ip-configfor 6 seconds, even though we want give it a manual IPv4. The warn log line about IPv6 made us try to force disable IPv6 config (setipv6.methodvalue todisabled). Once that was done, logs looks like above but without the warn line but still no link up. After a reboot it was solved.Second trainee had the same issue (logs as above). We directly tested
ipv6.methodset todisabled&& reboot, which solved it.Technically, the known fix sequence is:
But we hope it is equivalent to the proposed patch. Please give your opinion!
I tried finding a reason in NetworkManager NEWS (ie its changelog) and nothing stood out.