Replies: 4 comments 1 reply
-
uhm type this command and see output.... sudo nmcli connection ...name "eth0" is strange for a wired lan...in all my debian based is "Wired connection 1" like the pic... so, basically, the command is: sudo nmcli connection modify 'Wired connection 1' ipv4.address your-static-ip/24 replace "your-static-ip" with your ip and "ip-of-your-gateway/router" with router/gateway ip.... |
Beta Was this translation helpful? Give feedback.
-
Hi, thanks for your reply. I tried your suggestion, but is didn't work.
The IP remains 192.168.0.137 when it starts.
BTY, when I tried the original commands (using eth0), I lost ssh connection and a network scanner app shows the updated IP, but I reboot, the ip 137 returns. NOTE: I'm using a tv box Tanix TX3 Mini+
|
Beta Was this translation helpful? Give feedback.
-
No problem. 👍 |
Beta Was this translation helpful? Give feedback.
-
In my case, this debian 12 image uses Systemd-Networkd as network manager. Check this documentation, it worked to me: https://wiki.debian.org/SystemdNetworkd |
Beta Was this translation helpful? Give feedback.
-
Hi folks,
My newest router is locked by provider and there's no option for lock ip by MAC.
I have TX3 Mini+ with my docker server and I need change IP for a fixed.
At first, I tried install Cockpit for change IP using a GUI. But when I reboot, the ip number come back to provided by DHCP
I tried to use nmcli commands:
The IP is changed, but when I reboot, the older IP backs.
After reboot, it is a "nmcli c show" command:
Any idea?
Beta Was this translation helpful? Give feedback.
All reactions