Change default static IP
Posted: Tue Feb 16, 2016 9:12 pm
I am trying to change the static IP address of my RPI. My home network is set up with a different subnet to the defaul RPI of 192.168.0.252.
I can connect using SSH by changing the ip of my laptop, but when I try to enter any sudo command, I get the message
root@raspberry-pi:~# sudo cp /etc/network/interfaces /etc/network/interfaces.backup
-bash: sudo: command not found
Also, because I can't get the network address changed, I can't run an apt-get update command.
I can connect using SSH by changing the ip of my laptop, but when I try to enter any sudo command, I get the message
root@raspberry-pi:~# sudo cp /etc/network/interfaces /etc/network/interfaces.backup
-bash: sudo: command not found
Also, because I can't get the network address changed, I can't run an apt-get update command.