I've been running my bubba for many, many days. But was forced to reboot it because of external circumstances.
I've been using a script to update my IP address at Loopia (a swedish ISP) to solve the dynamic IP with a domain.
I'm using the following script at:
https://loopiadns.loopia.se/index.php?tmid=2&lcid=212
#!/bin/sh
curl -s --user 'användarnamn:lösenord'
"http://dns.loopia.se/XDynDNSServer/XDynDNS.php?
hostname=dindomän.se&
myip="`curl -s dns.loopia.se/checkip/checkip.php |
sed 's/^.*: \([^<]*\).*$/\1/'` ; echo
After running the script after the reboot I get the following error:
# ./loopiadns.sh
: bad interpreter: No such file or directory
What's wrong?
Please note the new address for this forum : forum.excito.org. The old address redirects here but I don't know for how long. Thanks !
New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !
bad interpreter when trying to run a shell file after reboot
I don't really see exact what is causing the problem, so I can't help you there. I also use Loopia with dynamic dns though. Thought maybe it could help if I shared my conf. I use ddclient with the following configuration:
/Daniel
Code: Select all
# /etc/ddclient.conf
daemon=7200
#ssl=yes
pid=/var/run/ddclient.pid
protocol=dyndns2
custom=yes
use=web, web=dns.loopia.se/checkip/checkip.php,
web-skip='Current IP Address:'
server=dns.loopia.se/XDynDNSServer/XDynDNS.php
noforce
login=xyz
password=xyz
wildcard=yes
myfirstdomain.se
myseconddomain.se