|
Edited by Bazmundi at 2017-6-15 22:14
So, on another thread I explain I can no longer use nmtui to set my static IP using Armbian distro of Debian server.
This is a weird side effect of installing an expansion board onto my Orange Pi Zero while working with Orange Pi org Debian server distro for OPiZ. Something broke on the main board after expansion board was inserted. So, for some reason OPiZ does not boot anymore from Orange Pi org distro of Debian server (with or without expansion board).
I am stuck with Armbian direct from Armbian org, because (weirdly) it boots, but even weider again is the nmtui now hangs on the connection window. I can still set host name using nmtui, but the board locks up if I select the connection option.
I was at my wits end to sort this as I need the OPiZ set to a static IP for the use to which it will be put.
So, what I found was that nmcli did not hang the OPiZ.
Bonus right!
So I set the static IP!
Great yes?
No.
As usual the internet is full of crap and versions of versions of stuff.
To set the gateway using nmcli some site suggest you type the following at the nmcli console:
- nmcli con edit 'Wired connection 1' # being the ethernet connection eth0 on the OPiZ
- nmcli> set ipv4.gateway 192.168.0.1
- nmcli> save
- nmcli> quit
Copy code
and voila!
BUT
guess what?
Armbian version of nmcli does not have "gateway" as a property under "ipv4"
How do you therefore set the gateway please using nmcli in ARMBIAN 5.25 stable Debian GNU/Linux 8 (jessie) 3.4.113-sun8i?
Cheers,
B
|
|