I have problems getting noip to start automatically at startup. I'm a beginner at FreeBSD and Unix and I need help with this. I added some info from my system that I hope will be usefull. noip works fine when manually started.

FreeBSD anderssons.no-ip.com 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Mon Feb 23 20:45:55 GMT 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386

In /usr/local/etc/rc.d I have a file called noip.sh with the following content:


case "$1" in
if [ -x /usr/local/bin/noip2 -a -f /usr/local/etc/no-ip2.conf ]; then
echo -n ' noip';
su -m noip -c '/usr/local/bin/noip2' 2> /dev/null > /dev/null
echo -n ' noip';
killall noip2
echo "Usage: `basename $0` {start|stop}" >&2
exit 1
exit 0

My noip2 file is located in:

anderssons# ls -al /usr/local/bin/noip2
-rwx------  1 root  wheel  32716 Dec  5  2003 /usr/local/bin/noip2

And status is:

anderssons# /usr/local/bin/noip2 -S
No noip2 processes active.

Configuration data from /usr/local/etc/no-ip2.conf.
configured for:
        host  anderssons.no-ip.com
Address check every 1 minute, directly connected via /dev/fxp0.

My no-ip2.conf is located in:

anderssons# ls -al /usr/local/etc/no-ip2.conf
-rw-------  1 root  wheel  132 Aug 25 20:09 /usr/local/etc/no-ip2.conf

Best regards and thanks in advance

/Olof Andersson

[EMAIL PROTECTED] mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to