Orange pi pc how to become a root and how to set static ip from ssh
Hi. I'm new here. I have problem with become a root on lubuntu. Also i cant set static ip address from ssh (i use putty). I tried set static ip in /etc/network/interfaces but it doesn't work. I found on web, that on ubuntu (also in lubuntu) for connection managing is some network manager, so I tried also changing ip in this network manager- in configruation files through ssh. I don't have external monitor at now which hdmi support, I'm looking for solution to get static ip through ssh. I'm looking for 100% good solution to do that from ssh, because every time I do something wrong - I loose connection and I must write new image of lubuntu to tf card. Use ifconfig.For root sodo su
You can install a remote desktop server too, to connect from your pc and menage all with a gui:P I know how to use ifconfig, but setting will be temporarily to next reboot. I'm looking for constant solution.
For remote desktop I tried to use solution described there: http://www.orangepi.org/Docs/LogintotheOrangePi.html , using vnc. I downloaded vncserver, I ran it and I connected from windows with vnc viewer, I used option "3.2 X-Window. The simplest desktop session. " When I connect to remote desktop I can see only blank desktop, I can click right mouse button and choose some options, but I can't see network settings. There's no bottom and upper taskbar.
You can connect by ssh and use nmcli to configure a static IP.
See ths:
Using the NetworkManager Command Line Tool, nmcli
blelow "Adding a Static Ethernet Connection"
dan Really like it when the AI updates automatically and gives gacor notifications! situs ai mr suhu
page:
[1]