BLL
Posts: 230
Joined: Fri Jun 07, 2013 2:30 pm

rc.local

Sat Jul 23, 2016 9:16 pm

Hi, I have recently moved to a RasPi 3 and I noticed that I was not seeing the Pi's ip address displayed. In rc.local, it says that the file does nothing by default and to change the execution bits. What are these and how does one change them please?
Thanks
Brian

User avatar
DougieLawson
Posts: 39121
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: rc.local

Sat Jul 23, 2016 11:37 pm

sudo chmod 755 /etc/rc.local
ls -la /etc/rc.local
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

BLL
Posts: 230
Joined: Fri Jun 07, 2013 2:30 pm

Re: rc.local

Sun Jul 24, 2016 9:21 am

Hi, Thanks for the reply.
I have done your commands and it has made no difference. I am still not seeing the results of the printf statement of the ip address on the screen.

Brian

User avatar
bensimmo
Posts: 4622
Joined: Sun Dec 28, 2014 3:02 pm
Location: East Yorkshire

Re: rc.local

Sun Jul 24, 2016 11:21 am

By default it should run anyway, it always has on all mine.
I assume you have a network connection?

Return to “Beginners”