I’ve installed squid on my DietPi Wheezie RPI2B, and i’ve seen these warnings (image attached).
I installed this morning, too, a fresh DietPi Wheezie image, with SSH, VNC and NoIP (that’s all).
The messages:
insserv: warning: script ‘K01noip2’ missing LSB tags and overrides
inssserv: warning: script ‘noip2’ missing LSB tags and overrides
Have I done something wrong?
I have to say that last week I installed DietPi Wheezie on my first RPI, a 1 B 512 MB RAM and everything worked like a charm. Yesterday I tried to install DietPi Jessie on my recently bought RPI 2 B, and I couldn’t go into xxxxx.ddns.org from “the outside” correctly: it just worked for 5 minutes, and I had to reboot the RPI2B calling to my wife, then again it (noIP) worked for 5 minutes, and then another phone calling! For this reason, this morning I went back Wheezie and, although NoIP seems to work perfectly (now SSH connected and with no need to phone call to home), I’ve got these messages.
We pulled the noip service file from the noip website.
Yep this should be fine, the only changes I’ve made are added dietpi-service and moved $syslog to “should”. Syslog is not installed on DietPi systems unless you use “full logging mode”.
chmod +x /etc/init.d/noip2
update-rc.d noip2 defaults
#Disable services so DietPi-services can take control (DietPi will start all services from rc.local during boot)
/DietPi/dietpi/dietpi-services disable
I have to modify /etc/init.d/noip2 with your code (I’ve done this).
I have to write into the terminal the commands you have written into Update-rc.d, the 4 lines (I’ve done this, but not sure if this is correct) → I want to say: the “update-rc.d” code is not any file to be modified as I did on step 1?? Are they just lines to be executed into the terminal (in my case, ssh window on my Mac?
I suppose this is related to the changing of headers we have done before on the file “/etc/init.d/noip2” because the “INIT SECTION” in the file /etc/init.d/noip2.save.1 seems a little messy (image attached):
So, what do I have to do? Taking the “init section” of the file /etc/init.d/noip2 and copy it “as it is” to the files /etc/init.d/noip2.save.1 and /etc/init.d/noip2.save.2?
Note: The file /etc/init.d/noip2.save.2 seems not to be so messy, but neither in a good condition (image attached):
Looks like a formatting issue when you pasted into the terminal. Try clicking “select all” in the code box, copy, then paste directly into the terminal.
Lets download the updated NoIp service from DietPi v102:
chmod +x /etc/init.d/noip2
update-rc.d noip2 defaults
#Disable services so DietPi-services can take control (DietPi will start all services from rc.local during boot)
/DietPi/dietpi/dietpi-services disable
I will make a fresh v102 install, And I will begin again, I’m having some troubles with IceWeasel, when I try to init it, RPI hangs, and maybe it’s SD corrupted (yesterday, a little girl disconnected two times the RPI while working on it).
Hopefully the card isnt damaged beyond repair.
It may be worth formatting the sd card using a full overwrite (to set all cells to 0) and format adjust on: SD Memory Card Formatter for Windows/Mac | SD Association I’ve brought a few corrupt/faulty SD cards back this way.
Thank you for the trick about formatting SD cads, I’m really using SDformatter yet, but all the time simply using “quick format” instead of “Overwrite Format”. Nice to know this.