(Werner, this is what I reported in the beta section)
After doing the firmware upgrade (beta and official), I install Lundman's telnet and the start.cgi index replacement.
So far no problem, all as expected.
Contents of /tmp include files like:
Code:
# ls -al /tmp
drwxr-xr-x 3 root root 0 Jan 22 00:15 .
drwxr-xr-x 19 root root 0 Jan 22 00:15 ..
-rw-r--r-- 1 root root 8490 Jan 21 23:54 0
-rw-r--r-- 1 root root 181 Jan 21 23:18 browselist.htm
-rw-r--r-- 1 root root 18 Dec 31 1999 cam
prw-rw-rw- 1 root root 0 Dec 31 1999 cdpipe
drwxr-xr-x 3 root root 0 Dec 31 1999 cron
-rw-r--r-- 1 root root 3 Jan 21 23:54 current_tv
prw-rw-rw- 1 root root 0 Jan 21 22:44 devicepipe
-rw-r--r-- 1 root root 37 Jan 21 22:45 dns_cache
-rw-r--r-- 1 root root 721 Jan 22 00:15 drivelst.txt
-rw-r--r-- 1 root root 2 Jan 21 23:54 f_hdmi
-rw-r--r-- 1 root root 0 Dec 31 1999 fipd
-rw-r--r-- 1 root root 4 Dec 31 1999 fipd.pid
prw-rw-rw- 1 root root 0 Jan 21 23:25 gaya_bc
prw-rw-rw- 1 root root 0 Jan 21 22:44 gaya_cgi
-rw-r--r-- 1 root root 16 Dec 31 1999 ifstate
prw-r--r-- 1 root root 0 Jan 21 22:44 ipmon_pipe
prw-rw-rw- 1 root root 0 Dec 31 1999 irkey
-rw-r--r-- 1 root root 1472 Dec 31 1999 ld.so.cache
-rw-r--r-- 1 root root 675 Jan 21 23:50 lircd
-rw-r--r-- 1 root root 4 Dec 31 1999 lircd.pid
-rw-r--r-- 1 root root 5 Jan 21 22:45 mDNSResponder.pid
-rw-r--r-- 1 root root 474 Jan 21 23:50 mono_bookmark
-rw-r--r-- 1 root root 106 Jan 21 23:54 mono_settings
-rw-r--r-- 1 root root 382 Jan 21 23:25 netshare
-rw-r--r-- 1 root root 0 Jan 22 00:17 nmt_ftp
-rw-r--r-- 1 root root 0 Jan 22 00:17 nmt_mi
-rw-r--r-- 1 root root 0 Jan 22 00:17 nmt_nfs
-rw-r--r-- 1 root root 0 Jan 22 00:17 nmt_smb
-rw-r--r-- 1 root root 510 Jan 21 23:27 playlist.htm
-rw-r--r-- 1 root root 4 Jan 21 22:44 pure-ftpd.pid
-rw------- 1 root root 512 Dec 31 1999 random-seed
-rw-r--r-- 1 root root 5 Jan 21 22:44 rpc.statd.pid
-rw------- 1 root root 0 Jan 21 22:45 sess_8a33412e45db18cc2f4a9a600f49a997
-rw-r--r-- 1 root root 1360 Jan 21 23:54 setting.txt
-rw-r--r-- 1 root root 476 Jan 21 23:25 setup_cgi_log
-rw-r--r-- 1 root root 183 Jan 21 23:29 start.cgi-crontab.3855
-rw-r--r-- 1 root root 3 Jan 21 23:54 tvmode
-rw-r--r-- 1 root root 2 Jan 21 23:49 tvtype
-rw-r--r-- 1 root root 116 Jan 21 22:45 upnprdr.htm
prw-rw-rw- 1 root root 0 Dec 31 1999 usbkbdpipe
-rw-r--r-- 1 root root 49 Jan 22 00:15 usbstate
-rw-r--r-- 1 root root 2 Jan 21 23:49 zoom_option
The next command I run is my modified start_app.cgi file which will test to see if telnet is running, if not then start it.
I also test for the 2nd PCH unit and my NAS with Ping before I check if they are already mounted.
If servers are up and not mounted, my script (basically) does the following:
Code:
NAME_NAS="Movies1080"
NAME_PCH="NFS-Popcorn"
IP_NAS="192.168.1.99"
IP_PCH="192.168.1.22"
NWS="/opt/sybhttpd/localhost.drives/NETWORK_SHARE"
NAS="$NWS/$NAME_NAS"
PCH="$NWS/$NAME_PCH"
echo "${IP_PCH}:/share $PCH nfs rw,rsize=32768,wsize=32768,timeo=14,intr 0 0" >> /etc/fstab
echo "${IP_NAS}:/${NAME_NAS} $NAS nfs rw,rsize=32768,wsize=32768,soft,nolock 0 0" >> /etc/fstab
mount -a
Now if I look to see if they are mounted...
Code:
# ls -al /opt/sybhttpd/localhost.drives/NETWORK_SHARE
drwxr-xr-x 6 root root 0 Jan 21 23:25 .
drwxr-xr-x 5 531 500 0 Jan 16 01:11 ..
drwxrwxr-x 35 guest nmt 53248 Jan 19 12:02 Movies1080
drwxrwxrwx 2 root root 0 Jan 21 22:44 NETWORK_BROWSER
drwxrwxrwx 15 nmt nmt 4096 Jan 21 20:51 NFS-Popcorn
You can tell by user guest and nmt that they are mounted.
Now if I look at the contents of /tmp again...
Code:
# ls -al /tmp
drwxr-xr-x 2 root root 0 Jan 22 00:20 .
drwxr-xr-x 19 root root 0 Jan 22 00:20 ..
-rw-r--r-- 1 root root 0 Jan 22 00:20 nmt_ftp
-rw-r--r-- 1 root root 0 Jan 22 00:20 nmt_mi
-rw-r--r-- 1 root root 0 Jan 22 00:20 nmt_nfs
-rw-r--r-- 1 root root 0 Jan 22 00:20 nmt_smb
What could have caused the files to disappear -- some program crashed (no core dump file found) ?
To get things back to normal I need to re-install firmware, but what caused the problem?
Suggestions please!