Page 10 of 19 FirstFirst ... 89101112 ... LastLast
Results 136 to 150 of 273

Thread: New 1.0.4.6 based custom firmware

  1. #136
    Just followed your instructions....

    I'm loving it! Thanks a lot!

  2. #137

    Debugging info sent to sys log.

    Quote Originally Posted by kfurge View Post
    At the time I was doing this, there were a number of posts from people who were having trouble with the web upload. I took the conservative path and decided to use the firmware upload tool.

    Perhaps whatever the issue was has since been fixed...

    - K.C.
    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.

  3. #138
    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?

  4. #139

    Unhappy HDD never spindown

    Hello
    I have just intalled the custom firmware but i have a problem !
    The internal HDD (Seagate Barracuda 7200.10 500Gb) never spindown
    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

  5. #140

    HD frequently accessed - what could be causing it?

    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

  6. #141

    HDD never spin up so i must restart my WL700gE to access it

    Hello
    I have found my problem, the HDD never spin down because there was a friend connected to my FTP
    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
    Last edited by jeromv; 26-12-2006 at 20:03.

  7. #142
    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...

  8. #143
    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?

  9. #144
    Quote Originally Posted by Mar74 View Post
    Is there a way to find out what process is accessing the HD?
    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.

    Quote Originally Posted by Mar74 View Post
    Can I verify somehow that Hdparm and the other rc.local instructions have been performed correctly?
    /Martin
    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.

  10. #145
    Quote Originally Posted by jeromv View Post
    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 ?
    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.

  11. #146
    Quote Originally Posted by BarBaar View Post
    So ideas on howto get on the router again?
    To start over, just completely delete everything in /opt (rm -rf /opt) and remove your rc.local script(s). Then try setting things up again, this time take smaller steps between reboots to help narrow down what's going on.

    - K.C.
    Last edited by kfurge; 28-12-2006 at 18:38.

  12. #147
    Quote Originally Posted by d3viant View Post
    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?
    I wish I could! I can't find any trace of the log file on this thing! If anyone knows where it is, please post. Not being able to find it has been bugging me for a while now...

    - K.C.

  13. #148
    Quote Originally Posted by kfurge View Post
    To start over, just completely delete everything in /opt (rm -rf /opt) and remove your rc.local script(s). Then try setting things up again, this time take smaller steps between reboots to help narrow down what's going on.

    - K.C.
    Yes, I figured However, my problem is... I cannot get to /opt

    My problem is probably in this:

    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
    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.

    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?
    Last edited by BarBaar; 28-12-2006 at 20:47.

  14. #149
    Quote Originally Posted by BarBaar View Post
    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.

  15. #150

    HDD never spin up so i must restart my WL700gE to access it

    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
    Last edited by jeromv; 29-12-2006 at 11:44.

Page 10 of 19 FirstFirst ... 89101112 ... LastLast

Similar Threads

  1. ksoftirqd_CPU0 eating CPU in firmware 1.0.4.6?
    By Hobi in forum WL-700g Firmware Discussion
    Replies: 10
    Last Post: 12-05-2007, 16:04
  2. Custom firmware image: v1.9.4.6 with telnetd re-enabled
    By db90h in forum WL-530g Firmware Releases
    Replies: 2
    Last Post: 29-01-2007, 13:32
  3. custom firmware based on 1.9.5.0 beta?
    By Teddy in forum WL-500g Custom Development
    Replies: 5
    Last Post: 14-05-2006, 20:08
  4. Custom firmware
    By menno in forum Dutch Discussion - Nederlands
    Replies: 0
    Last Post: 02-04-2006, 14:32
  5. Custom Firmware v1.1.2.7
    By JOCKYW2001 in forum WL-HDD Firmware Releases
    Replies: 59
    Last Post: 11-12-2004, 12:26

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •