WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: no-ip autostart how to  (Read 2522 times)

Offline aris

  • Newbie
  • *
  • Posts: 49
no-ip autostart how to
« on: October 04, 2016, 12:36:43 PM »
Hi, it seems that I messed up my bootlocal sh for noip service (noip2.tcz)
I think it was working before but I notice that today it is not.
Any clue for me..here it is..
I reinstall no-ip.tcz,
I do noip2 -C and chmod the /usr/local/etc/no-ip2.conf to 600
I do noip2 >> work just fine noip2 -S show the running process and load from intended config file

I want to load noip on every boot and scheduled 10 min ( as the config file)
here is my bootlocal.sh stanza that I have tried
noip2
/usr/local/bin/noip2
noip2 -c /mnt/sda4/config/no-ip2.conf ( I moved config somewhere else)
/usr/local/etc/init.d/no-ip start

but on every boot I check that noip2 -S
No noip2 processes active.
I check on config file cat /usr/local/etc/no-ip2.conf ..no change on IP address, and I cant ping noip host
Am I doing typo on my bootlocal.sh or I missing something else ?

the other client load noip just fine, so I m guessing nothing is change on my network

Thanks

Offline aris

  • Newbie
  • *
  • Posts: 49
Re: no-ip autostart how to
« Reply #1 on: October 04, 2016, 11:57:43 PM »
I do noip2 -C and chmod the /usr/local/etc/no-ip2.conf to 600 >> I also try to change it t0 700,777
-
I tried on tcl on virtual box, process is running using bootlocal.sh stanza
noip2
but IP still not updated.
last ip shows 0.0.0.0
---
I will try remove and reinstall on real one

Offline aris

  • Newbie
  • *
  • Posts: 49
Re: no-ip autostart how to
« Reply #2 on: October 08, 2016, 01:43:23 AM »
I'm stuck..
Already tried to remove and resinstall no-ip.tcz, reconfigure it, chmod it to 644,700,777, put the config on /opt/.filetools.lst
tried bootlocal.sh stanzas as my first post, I still cant run it as service.
I had to do it manually on every boot.

I 'm open to any comment
Thanks

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: no-ip autostart how to
« Reply #3 on: October 08, 2016, 05:07:57 AM »
In those cases, you'd read the program's log files to see why it failed. If it has no logs, tell it to create them, or redirect its output.
The only barriers that can stop you are the ones you create yourself.