Answer the question
In order to leave comments, you need to log in
How to configure networkmanager to work behind a router?
question on networks: there is a single-board orange pi (armbian) with one lan and wifi.
you need to connect to a wifi network, and connect lan to another router (or computer) that will receive traffic from wifi.
scheme is like this:
вендорный wifi --(wifi)-> orange pi --(lan)-> мой роутер --(lan/wifi)-> клиенты
nmcli c add type ethernet ifname eth0 con-name wired-getaway;
nmcli c modify wired-getaway ethernet.auto-negotiate true;
nmcli c modify wired-getaway ipv6.method ignore;
nmcli c modify wired-getaway ipv4.dns 8.8.8.8,8.8.4.4;
nmcli c modify wired-getaway ipv4.addresses 192.10.0.1/24; # ранее было /32, поправлено по комментарию
nmcli c modify wired-getaway ipv4.gateway 192.10.0.1;
nmcli c modify wired-getaway ipv4.method manual;
nmcli c modify wired-getaway ipv4.route-metric 2048;
nmcli c up wired-getaway;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question