Change default static IP

All the topics related to QLC+ on the Raspberry Pi
Post Reply
apl4
Posts: 7
Joined: Tue Feb 16, 2016 8:58 pm
Real Name: Alan Lowery

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.
janosvitok
Posts: 1330
Joined: Mon Apr 13, 2015 7:05 am
Location: Bratislava, Slovakia
Real Name: Jano Svitok
Contact:

If you are root, there's no point of running sudo.
Just run the command without the sudo prefix
CTM Tom
Posts: 19
Joined: Thu Aug 06, 2015 8:21 am
Real Name: Thomas

As Jan/ said,

You are the 'root' user which means you have all the permissions that you would need. I will also point out that the IP can be changed on the web interface as well under system configuration :)
bodex
Posts: 2
Joined: Thu Jan 21, 2016 3:01 pm
Real Name:

hi,

is there a change to log in as pi ?

I although want to change the IP of my Pi but I´ve no access to the Webinterface 192.168.0.252:9999.


I´m using the newest Release.

Maybe somebody can help me.

bodex
Post Reply