Creat noip2 startup script
Forum rules
Topics in this forum are automatically closed 6 months after creation.
Topics in this forum are automatically closed 6 months after creation.
Creat noip2 startup script
So noip2 drives me crazy... So, I wanted something, a script to start it up...
Something like I write the name of the server, plus password and nick on the file, I click and I just start it up, I click again and it stops... It can be two scripts, one to start it and other to stop it... Is that possible? Thank you!
Something like I write the name of the server, plus password and nick on the file, I click and I just start it up, I click again and it stops... It can be two scripts, one to start it and other to stop it... Is that possible? Thank you!
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
- Pilosopong Tasyo
- Level 6
- Posts: 1432
- Joined: Mon Jun 22, 2009 3:26 am
- Location: Philippines
Re: Creat noip2 startup script
I am not familiar with noip2, but like most commands, if noip2 allows you to pass those parameters from the CLI, or it references a configuration file for information, then certainly it is possible to automate the task you want done.
o Give a man a fish and he will eat for a day. Teach him how to fish and he will eat for a lifetime!
o If an issue has been fixed, please edit your first post and add the word [SOLVED].
o If an issue has been fixed, please edit your first post and add the word [SOLVED].
Re: Creat noip2 startup script
Moved here from Software & Applications
Re: Creat noip2 startup script
Run in a terminal >
and post the output (minus any passwords or other sensitive data)
Basically just need to see the output.
Thanks.
Seen this?
http://www.linuxquestions.org/questions ... up-320901/
Code: Select all
noip2
Basically just need to see the output.
Thanks.
Seen this?
http://www.linuxquestions.org/questions ... up-320901/
Re: Creat noip2 startup script
carlos@carlos:~$ noip2
Can't locate configuration file /usr/local/etc/no-ip2.conf. (Try -c). Ending!
carlos@carlos:~$ sudo noip2
[sudo] password for carlos:
carlos@carlos:~$
No output with sudo...
Can't locate configuration file /usr/local/etc/no-ip2.conf. (Try -c). Ending!
carlos@carlos:~$ sudo noip2
[sudo] password for carlos:
carlos@carlos:~$
No output with sudo...
- Pilosopong Tasyo
- Level 6
- Posts: 1432
- Joined: Mon Jun 22, 2009 3:26 am
- Location: Philippines
Re: Creat noip2 startup script
More relevant output is needed. Post what
says on screen or use
We need to know what parameters/arguments it needs.
Code: Select all
noip2 --help
Code: Select all
man noip2
o Give a man a fish and he will eat for a day. Teach him how to fish and he will eat for a lifetime!
o If an issue has been fixed, please edit your first post and add the word [SOLVED].
o If an issue has been fixed, please edit your first post and add the word [SOLVED].
Re: Creat noip2 startup script
Code: Select all
carlos@carlos:~$ noip2 --help
noip2: invalid option -- '-'
USAGE: noip2 [ -C [ -F][ -Y][ -U #min]
[ -u username][ -p password][ -x progname]]
[ -c file][ -d][ -D pid][ -i addr][ -S][ -M][ -h]
Version Linux-2.1.9
Options: -C create configuration data
-F force NAT off
-Y select all hosts/groups
-U minutes set update interval
-u username use supplied username
-p password use supplied password
-x executable use supplied executable
-c config_file use alternate data path
-d increase debug verbosity
-D processID toggle debug flag for PID
-i IPaddress use supplied address
-I interface use supplied interface
-S show configuration data
-M permit multiple instances
-K processID terminate instance PID
-z activate shm dump code
-h help (this text)
carlos@carlos:~$
Noip comes without no manual... Geez somebody should create a deb for this thing because it is SO useful.
Re: Creat noip2 startup script
Code: Select all
carlos@carlos:~$ sudo noip2 -C
[sudo] password for carlos:
Auto configuration for Linux client of no-ip.com.
Please enter the login/email string for no-ip.com silveringking@hotmail.com
Please enter the password for user 'silveringking@hotmail.com' ********
Only one host [zephirus.no-ip.org] is registered to this account.
It will be used.
Please enter an update interval:[30] 30
Do you wish to run something at successful update?[N] (y/N) n
New configuration file '/usr/local/etc/no-ip2.conf' created.
carlos@carlos:~$