Just followed your instructions....
I'm loving it! Thanks a lot!
Printable View
Just followed your instructions....
I'm loving it! Thanks a lot!
d3viant and KC, thanks for the clarification.
Another question: Is it possible to have debugging info sent to the syslog in http://192.168.1.1/log.asp (i.e. to confirm that every line of rc.local is working correctly)
Thanks,
LK.
I think that the log active script looks in the wrong place for messages by default (at least, I've never seen anything in that log!) - this may have to be changed at the source code level.
Kfurge - can you confirm this?
Hello
I have just intalled the custom firmware but i have a problem !
The internal HDD (Seagate Barracuda 7200.10 500Gb) never spindown :confused:
In the tutorial i carried out all the steps until 3.2 included...
Enyone have a solution ? It's very important because my hard disk heats much
Thanx in advance.
Jerome
First of all, thanks Kfurge and others for the excellent work on replacement SW for WL700, it is really a great improvent over the Asus firmware.
I have installed the Kfurge 02a firmware, primarily to get the HD spin down feature, and it worked just great... ..for a while.
I am an embedded programmer, but this my first encounter with the Linux environment, so I have a few things to learn :) After I have been playing around with the little beast for a while, it now keeps accessing the HD every other second :(
I tried to start all over, resetted the box using the reset button, reinstalled the 02a SW, but it still keeps on accessing the HD. The rc.local is in place, and I can log in using Telnet, so I can not really see what could be the problem. Also, using the "ps" command, I can see that the Watchdog prosess is terminated:
# ps
PID Uid VmSize Stat Command
1 root 1268 S init
2 root SW< [keventd]
3 root RWN [ksoftirqd_CPU0]
4 root SW [kswapd]
5 root SW [bdflush]
6 root SW [kupdated]
7 root SW [mtdblockd]
8 root SW [khubd]
13 root SW< [mdrecoveryd]
80 root SW [gpio_out_pulse]
81 root SW [button_notify_u]
84 root SW< [ksed]
85 root SW [ksechanged]
100 root SW< [raid1d]
105 root SW< [raid1d]
108 root SW [kreiserfsd]
173 root 644 S syslogd -R 255.255.255.255
175 root 396 S klogd
177 root 784 S httpd 80 y
179 root 680 S httpd 8080 share_browsing
185 root 832 S upnp -D -L br0 -W eth0
197 root 508 S udhcpd /tmp/udhcpd_lan.conf
202 root 720 S dnsmasq -i br0 -r /tmp/resolv.conf
210 root 1284 S /usr/local/samba/sbin/smbd
219 root 1232 S /usr/local/samba/sbin/nmbd
221 root 688 S vsftpd /etc/vsftpd.conf
239 root 488 S udhcpc -i eth0 -p /var/run/udhcpc.pid -s /tmp/udhcpc
268 root 828 S waveservermain
270 root 836 S rcamdmain
271 root 676 S infosvr br0
282 root 816 S usbcopymain
489 root 892 S dms /shares/DMSRoot WL700gE 00:17:31:A4:53:27
495 root 892 S dms /shares/DMSRoot WL700gE 00:17:31:A4:53:27
496 root 892 S dms /shares/DMSRoot WL700gE 00:17:31:A4:53:27
499 root 892 S dms /shares/DMSRoot WL700gE 00:17:31:A4:53:27
512 root 228 S ./dmathined /shares/MYVOLUME1/MYSHARE1 2
514 root 976 S mt-daapd -c /tmp/mt-daapd.conf -s WL700gE
515 root 1628 R mt-daapd -c /tmp/mt-daapd.conf -s WL700gE
518 root 1628 S mt-daapd -c /tmp/mt-daapd.conf -s WL700gE
519 root 1628 S mt-daapd -c /tmp/mt-daapd.conf -s WL700gE
522 root 2180 S giftd --home-dir=/shares/MYVOLUME1/MYSHARE1/Download
526 root 868 S asus_gift /shares/MYVOLUME1/MYSHARE1/Download
545 root 336 S /apps/bin/utelnetd -i br0
556 root 656 S -sh
557 root 724 R ps
#
Is there a way to find out what process is accessing the HD?
Can I verify somehow that Hdparm and the other rc.local instructions have been performed correctly?
/Martin
Hello
I have found my problem, the HDD never spin down because there was a friend connected to my FTP :p
Now it works very fine but i have an other question :
After aproximatly 15 min the HDD spin down but after when i want to access it, it don't spin up (maybe it's normal :(). I have an error message "Z:/ is not accessible".
I must always restart the WL700gE to access the HDD ?
There is a solution to spin up it automatically when i want to access it ?
It's very important because when i'm not at home the HDD spin down and i can't access my FTP from my work... the HDD don't spin up automatically
Thanks for help
Jerome
It should spin up again when a request is sent to the router to access the drive - mine still has the original 160GB drive in it, and it does spin up, but the first request is usually denied as the hard drive hasn't spun up properly yet - the second request usually goes through OK...
Right.. I'm having some trouble now :P
I installed kfurge's custom firmware and followed the instructions he wrote with it. All good and I first had Telnet and after that SSH access.. great!
However, after rebooting the server, I can no longer login to the router. Using SSH I always get "Access denied" even after I recreated the user using the Web-Gui.
So I tried to place the rc.local again in /MYSHARE1/web, which would start telnet after a reboot.. However, Telnet doesn't seem to get started anymore.. This is maybe because there is another rc.local file (the one that starts SSH?)
I also replaced kfurge's firmware again with one from Asus. All works good then.. But after putting kfurge's firmware again on the router, I get the same problems.. apparently all settings are still stored... (probably in /opt, I guess.. would a rc.local file in /MYSHARE1/web that does not mount /opt solve anything?)
So ideas on howto get on the router again?
Set the HDD to spin down in 10 seconds, then start killing processes one at a time waiting 10 seconds between kills. Eventually the HDD will stay spun down. You may have to repeat the process since you've got a lot more stuff running than I do so it's possible that more than one process is touching the HDD.
One other thing, make absolutely sure you've remounted the HDD with the "noatime" option. Not doing so will keep it spun up.
Look for /tmp/rc.local.done. If it exists, the script executed. If you need more debug, just work it into your script.
- K.C.
No, it's not normal. Your HDD should automatically spin up when accessed. Try experimenting around with different hdparm settings.
http://www.die.net/doc/linux/man/man8/hdparm.8.html
For me, other than a syslog message, the spin-up / spind-down is completely transparent. Perhaps your HDD is going into sleep mode instead of standby when the timer expires?
- K.C.
Yes, I figured ;) However, my problem is... I cannot get to /opt ;)
My problem is probably in this:
This little addition is skipping the web-rc.local if it finds a rc.local in /shares/MYVOUME1/ (which I created). So my only option is to edit the little if-statement and cut away the first if statement.. and force web-rc.local to load.Code:# Run rc.local. Prefer the one out of reach by the file
# sharing applications. If not available, look in the web
# folder on the internal HDD.
if [ -x /shares/${pool}/rc.local ]; then
/shares/${pool}/rc.local $1 &
else
if [ -e /shares/${pool}/${share}/web/rc.local ]; then
/bin/sh /shares/${pool}/${share}/web/rc.local $1 &
else
echo Found no rc.local to run!
fi
fi
My biggest problem now however is the F*#%$*cking Asus-site, which is sooooo slow.. and I need the 400MB source-packages :(
Maybe it is a good idea to switch the if-statement.. This will allow you to edit the startup procedure at any time by adding a web-rc.local file?
The reason I put the if statement in that order is due to security. The ability to break into the stock Asus firmware in the first place underscores the fundamental problem of putting the rc.local file within reach of the file sharing utilities.
Put the stock Asus firmware back on then follow the directions for gaining telnet access to the box with the stock firmware:
http://www.wl700g.info/showthread.php?t=7434
Once you're in, remove rc.local and /opt. Then reload my firmware and try again.
- K.C.
Thanks for all K.C. it seems to work now !
Thanks for your active contribution and support !!!
I have a question too :
http://wl500g.info/showthread.php?t=7700
Is it possible to install in the WL-700gE a CMS website like Xoops or PHPNuke which use PHP and MYSQL?
If it possible, what i must do to make it works?
Regards
Jerome