8000 Switch network management to networkmanager on Linux by mcm001 · Pull Request #738 · PhotonVision/photonvision · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Switch network management to networkmanager on Linux #738

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

Merged
merged 10 commits into from
Jan 18, 2023

Conversation

mcm001
Copy link
Contributor
@mcm001 mcm001 commented Jan 14, 2023

No description provided.

@mcm001 mcm001 marked this pull request as ready for review January 14, 2023 17:36
@mcm001 mcm001 requested a review from a team as a code owner January 14, 2023 17:36
@mcm001
Copy link
Contributor Author
mcm001 commented Jan 17, 2023

Tested Pi and Linux laptop; changed IP and hostname on both. Hostname resolution was 50/50 (yay MDNS), but static works great. Laptop and Pi are both reachable at the new static IP right after assignment, and Pi warns when static IP changed like it should.

@mcm001
Copy link
Contributor Author
mcm001 commented Jan 17, 2023

We can also use this bash command instead of adding the physicalInterface field:

nmcli -g GENERAL.DEVICES con show Wired\ connection\ 1 | while read dev; do nmcli -g GENERAL.IP-IFACE device show "$dev"; done

@Bankst Bankst merged commit d0162b0 into PhotonVision:master Jan 18, 2023
MrRedness pushed a commit to MrRedness/photonvision that referenced this pull request Feb 8, 2023
* Switch network management to networkmanager

* Run style

* Fix command formatting

* Add curst Pi 5 second sleep

* Run formatter

* Also bring up/down on other linux

* Switch to nmcli down/up

* Remove sleep in nmcli down/up

* Address review
@mcm001 mcm001 deleted the linux-networkmanager branch February 10, 2023 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0