DNS-323 Network Storage

shadowandy

Supremacy Member
Joined
Nov 30, 2000
Messages
7,288
Reaction score
0
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.
 

krazyman

Supremacy Member
Joined
Feb 14, 2001
Messages
8,868
Reaction score
0
Try editing the files using textpad or notepad++. Windows based editors inserts additional control codes after each line break.

I re-edit from the original /ffp/share/ezipupdate.sh using notepad but still not working. IP doesn't update.

try using the vi, but pressing ESC to command mode and enter :a or :c or :i all tell me "not implemented". Is this msg normal?

If I want to try from scratch, how to I remove this ezipupdate? Without removing it, it tell me already install when I did another upack of the x.tgz file.
 

quekky

Arch-Supremacy Member
Joined
Nov 12, 2000
Messages
18,440
Reaction score
0
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>
 

krazyman

Supremacy Member
Joined
Feb 14, 2001
Messages
8,868
Reaction score
0
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>

Thanks quekky.

I uninstalled and reinstalled. This time I used vi to edit the /ffp/etc/ezipupdate.conf to specify my dyndns account/password and the host (test with 1 host first). Edit /ffp/share/ezipupdate/ezipupdate.sh to change the url for IP checking to http://checkip.dyndns.com:8245.

This time the IP is updated but with the starhub proxy IP instead. What's could be wrong?


Updates:
Cloned router mac address to force an IP change. Check my host IP and it remained unchanged as the last SH proxy IP. Running out of idea what to try.:(
Checked /ffp/tmp/ez-ipupdate.cache and noticed the IP shown as the SH proxy IP and doesn't change even after a force IP renewal.
 
Last edited:

krazyman

Supremacy Member
Joined
Feb 14, 2001
Messages
8,868
Reaction score
0
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?
 
Last edited:

dante-z

Master Member
Joined
May 19, 2008
Messages
4,891
Reaction score
0
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.
 

krazyman

Supremacy Member
Joined
Feb 14, 2001
Messages
8,868
Reaction score
0
i am using a linksys router , i hot my dyndns on linksys, since linksys sure have the corrcet ip.

I guess you've not been following my problem. I'm running a few virtual hosts, so need to update more than 1 dyndns host.;)
 

shadowandy

Supremacy Member
Joined
Nov 30, 2000
Messages
7,288
Reaction score
0
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. :)
 

krazyman

Supremacy Member
Joined
Feb 14, 2001
Messages
8,868
Reaction score
0

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?


/ffp/share/ezipupdate/ezipupdate.sh
ezipupdate.sh.jpg



/ffp/etc/ezipupdate.conf
ezipupdate.conf.jpg




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?



checkip.jpg
 
Last edited:

ccjong

Junior Member
Joined
Dec 5, 2002
Messages
3
Reaction score
0
Send mail from PHP with esmtp

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


Trying to send mail from PHP with esmtp... and after almost a week trying, but still no luck.

Anyone managed to send mail from PHP with esmtp?

Please help.

Jong
 

shadowandy

Supremacy Member
Joined
Nov 30, 2000
Messages
7,288
Reaction score
0
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"

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?



ezipupdate.sh.jpg




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?



checkip.jpg
 

krazyman

Supremacy Member
Joined
Feb 14, 2001
Messages
8,868
Reaction score
0
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.conf.jpg
 
Last edited:

shadowandy

Supremacy Member
Joined
Nov 30, 2000
Messages
7,288
Reaction score
0
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.conf.jpg

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
 

krazyman

Supremacy Member
Joined
Feb 14, 2001
Messages
8,868
Reaction score
0
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 andy,

Programming is alien to me. Appreciate if you can be more specific like where or which file to insert what lines.:)



UPDATE
Successfully updated multiple hosts for 1 account by separating each domain with a comma.:)

Now to try updating more than 1 account.
 
Last edited:

kababoom

Arch-Supremacy Member
Joined
Sep 18, 2000
Messages
13,532
Reaction score
0
anytools which can be used to check the health status of the hdd installed on this nas?
 

rexkay

Junior Member
Joined
Dec 5, 2000
Messages
97
Reaction score
0
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.
 

jingwei

Member
Joined
Jul 17, 2000
Messages
492
Reaction score
6
I am currently using the torrent client by dlink, did the necessary port forwarding, but the torrent download speed is still slow, any other thing I can do to speed up the connection or other recommended torrent client for dns-323? Thanks.
 

absoluthk

Member
Joined
Nov 6, 2003
Messages
247
Reaction score
19
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.

the simplest method is to connect using cable between ur pc and router and try again.
 

Jack_Chen

High Supremacy Member
Joined
Mar 22, 2005
Messages
26,787
Reaction score
1,099
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.

I am assuming here you are using a Windows XP or Windows Vista OS.

The wireless route is a little wonky.

If using Vista you need to turn on 'Network discovery and file sharing' to enable detection of your DNS-323.

In 'Network' you can find your NAS and then if you click it, it will open up to show the volumes in your NAS. You can then connect to the volume by mapping to it.

the most common issue with wireless is sometimes you can't see the device nor the volumes, making the connection difficult. and also sometimes you set it up already but detection is not there, making connection useless too.

I have tested the connection using a D-Link G router with custom firmware, Good enough to watch HK dramas in the toilet on laptop. Which also mean, I can take a long hot bath and watch a movie at the same time.
 
Important Forum Advisory Note
This forum is moderated by volunteer moderators who will react only to members' feedback on posts. Moderators are not employees or representatives of HWZ Forums. Forum members and moderators are responsible for their own posts. Please refer to our Community Guidelines and Standards and Terms and Conditions for more information.
Top