Thanks for all the helps rendered so far but hope you can assist further.
Did the following but not working:
PS - I use wordpad to edit lighttpd.conf and myvirtualhost.conf too and they worked.
Try editing the files using textpad or notepad++. Windows based editors inserts additional control codes after each line break.
to remove,
funpkg -r <packages...>
because you used notepad/wordpad to edit the files, it is stored as "DOS (CR/LF) format"
Linux most of the time uses LF as next line, and do not understand the CR/LF
to convert the file to "UNIX format (LF)", type
dos2unix <file>
UPDATES
1. After editing with vi command on /ffp/share/ezipupdate/ezipupdate.sh to use http://whatismyip.org to check IP, it works and update the dyndns host. Checked the /ffp/tmp/ez-ipupdate.cache and its file date changes every 15 minutes showing that it had been updated (I forced an IP change with mac cloning to confirm if it update). However, http://whatismyip.org detect only the SH's proxy IP.
2. Tried with other urls like http://checkip.dyndns.com, http://checkip.dyndns.com:8245 and http://whatismyip.com (these urls detect correct IP in IE) in /ffp/share/ezipupdate/ezipupdate.sh but failed. Dyndns host is not updated and neither is /ffp/tmp/ez-ipupdate.cache.
3. On the DNS-323 ddns page, it shows "Updated successfully" for step 1 above but shows failed for step 2 above.
Anyone has any idea or suggestion? Thanks.
i am using a linksys router , i hot my dyndns on linksys, since linksys sure have the corrcet ip.
UPDATES
1. After editing with vi command on /ffp/share/ezipupdate/ezipupdate.sh to use http://whatismyip.org to check IP, it works and update the dyndns host. Checked the /ffp/tmp/ez-ipupdate.cache and its file date changes every 15 minutes showing that it had been updated (I forced an IP change with mac cloning to confirm if it update). However, http://whatismyip.org detect only the SH's proxy IP.
2. Tried with other urls like http://checkip.dyndns.com, http://checkip.dyndns.com:8245 and http://whatismyip.com (these urls detect correct IP in IE) in /ffp/share/ezipupdate/ezipupdate.sh but failed. Dyndns host is not updated and neither is /ffp/tmp/ez-ipupdate.cache.
3. On the DNS-323 ddns page, it shows "Updated successfully" for step 1 above but shows failed for step 2 above.
Anyone has any idea or suggestion? Thanks.
Wild Guess
Could it be because http://whatismyip.org works as it displays the IP address only, whereas the other sites display a string of words in front of the IP address like "Current IP address: xxx.xxx.xxx.xxx". If so, how to work around it?
I am using http://checkip.dyndns.com:8245. It does work.![]()
Help me.....
I just installed funplug 0.5, PHP and mysql. Tested lighttpd and it worked fine with PHP and mysql. But, mail() in PHP did not work.
Installed esmtp with esmtprc as configuration file, linked esmtp as sendmail. Used sendmail command to send email and it worked fine.
Configured php.ini with sendmail path = "/ffp/bin/esmtp -C /ffp/etc/esmtprc", restarted lighttpd. But mail() in PHP just declined to work.
Please help....
Any other way to make PHP mail() work instead of esmtp?
Thanks.
Jong
DNS-323
#!/ffp/bin/sh
PATH=/ffp/sbin:/ffp/bin:/usr/sbin:/sbin:/usr/bin:/bin
datenow=`date`
tmp_ip="/tmp/ip.tmp"
ip_tmp=`wget http://checkip.dyndns.com:8245/ -q -O /ffp/tmp/ip1.tmp`
ip_add=`cat /ffp/tmp/ip1.tmp | grep "IP Address" | sed -e 's/</ /g' | awk '{ print $11 }' `
ip_command="echo $ip_add"
config_file="/ffp/etc/ezipupdate.conf"
I've tried http://checkip.dyndns.com with both default port and 8245, doesn't update the ffp/tmp/ez-ipupdate.cache file at all. However, using whatismyip.org as shown in pic below works but this site detects the proxy IP only. I'm clueless on all these syntax and appreciate if anyone can help check where the problem is?
![]()
The difference between http://whatismyip.org and http://checkip.dyndns.com is as shown circled in red in the pic below. Could this be the cause?
![]()
Yes you would need to change the file slightly.
I will be pasting the contents up until your config_file line. Hope it helps.
Code:#!/ffp/bin/sh PATH=/ffp/sbin:/ffp/bin:/usr/sbin:/sbin:/usr/bin:/bin datenow=`date` tmp_ip="/tmp/ip.tmp" ip_tmp=`wget http://checkip.dyndns.com:8245/ -q -O /ffp/tmp/ip1.tmp` ip_add=`cat /ffp/tmp/ip1.tmp | grep "IP Address" | sed -e 's/</ /g' | awk '{ print $11 }' ` ip_command="echo $ip_add" config_file="/ffp/etc/ezipupdate.conf"
Thank you very much andy. It works.
Now I'm editing the ezipupdate.conf to support 2 dyndns accounts and few hosts. may need your help still.
Any suggestion on the syntax will greatly reduce my trial an error method which need to wait 15 minutes for every test.
![]()
$ezipupdate_exe_file -a `$ip_command` -c $config_file
Hope you are familiar with programming especially with loops (for loops).
There is a line which updates the hostname with your ip.
Code:$ezipupdate_exe_file -a `$ip_command` -c $config_file
You can use a loop can call this line several times, each time passing in a different config file. Hope it helps. Soon you will be the subject matter expert in this ezipupdate. haha
Hi,
Need advice on how to map dns-323 to my pc.
NAS is connected via ethernet cable to my wireless router. My PC is connected to router wirelessly. How to map the dns-323 to my pc? The easy search utility cant detect the dns-323.
Please advice.
Thanks.
Hi,
Need advice on how to map dns-323 to my pc.
NAS is connected via ethernet cable to my wireless router. My PC is connected to router wirelessly. How to map the dns-323 to my pc? The easy search utility cant detect the dns-323.
Please advice.
Thanks.