Page 3 of 19 FirstFirst 1234513 ... LastLast
Results 31 to 45 of 273

Thread: New 1.0.4.6 based custom firmware

  1. #31

    Torrent support in next firmware

    My general philosophy on software changes is to modify the original Asus firmware as little as possible. Instead, I'm focusing my efforts on enhancing the routers functionality through the addition of external packages. In many cases, the external packages can replace (and greatly enhance) the original Asus binaries.

    To that end, my next firmware image will not replace the existing Asus torrent client. Instead, you will be able to run any of the command-line torrent packages from this repository:

    http://ipkg.nslu2-linux.org/feeds/op.../cross/stable/

    Torrent, ctorrent, and enhanced-ctorrent are all in the package list.

    Regarding rtorrent, I looked at the project page. Getting it to work on the router shouldn't be all that hard.

    - K.C.

  2. #32

    Image #2 firmware posted

    I've posted firmware image #2 at:

    http://home.comcast.net/~kfurge/wl700g.html

    Same caveats as before... Use at your own risk!

    This image greatly enhances the usefulness of the box because it supports running all of the mipsel optware packages. It also adds login protection for telnet access. Many more details are posted at the link.

    If you're currently running image #1 and want to upgrade, please read the instructions carefully. I've moved the startup script location to make it more secure.

    - K.C.

  3. #33

    Anyone got kc_02 working?

    Thanks for the update kfurge.

    But I'm having problems at step 2.4. I can't telnet in. I revert back to WL700gE_1.0.4.6_kc_01 and I've got telnet access back. I have the starter untoched rc.local in /shares/MYVOLUME1/MYSHARE1/web.

    Anyone else have the same problem or am I doing something stupid.

    LK

  4. #34
    Quote Originally Posted by LeperKing View Post
    Thanks for the update kfurge.

    But I'm having problems at step 2.4. I can't telnet in. I revert back to WL700gE_1.0.4.6_kc_01 and I've got telnet access back. I have the starter untoched rc.local in /shares/MYVOLUME1/MYSHARE1/web.

    Anyone else have the same problem or am I doing something stupid.

    LK
    I cannot telnet to. I'd like to revert to the older firmware, but I delete it, does some one knows where to find it ?

  5. #35
    Crap! I found the problem. I'm missing a "$" in the rcex script where it executes rc.local from the web location. I'll fix it tomorrow and post the image (I'll call it "kc_02a".

    Sorry for the lack of quality control. :-(

    - K.C.
    Last edited by kfurge; 03-12-2006 at 03:29.

  6. #36
    Quote Originally Posted by IMM22 View Post
    I cannot telnet to. I'd like to revert to the older firmware, but I delete it, does some one knows where to find it ?
    Here's a temporary link of the first firmware. Download for your own resources.
    http://www.redbrick.dcu.ie/~prospero....4.6_kc_01.nas

  7. #37

    Fixed /shares/MYVOLUME1/MYSHARE1/web script bug

    OK, I've posted a fixed (and tested) image. Please grab it from the web site. Sorry for the inconvenience.

    - K.C.

  8. #38
    Step 3.2

    Is it meant to be shares/MYVOLUME1/MYSHARE1/opt ?

    Thanks,
    LK.

  9. #39
    every worked fine, all but one thing

    the installation of ncursesw
    Collected errors:
    Package ncurses wants to install file /opt/bin/reset
    But that file is already provided by package busybox-links
    Package ncurses wants to install file /opt/bin/clear
    But that file is already provided by package busybox-links



    and man


    Configuring groff
    Configuring less
    Configuring libstdc++
    Configuring libuclibc++
    Configuring ncursesw
    An error ocurred, return value: 2.
    Collected errors:
    Package ncurses wants to install file /opt/bin/reset
    But that file is already provided by package busybox-links
    Package ncurses wants to install file /opt/bin/clear
    But that file is already provided by package busybox-links

  10. #40
    Quote Originally Posted by LeperKing View Post
    Step 3.2

    Is it meant to be shares/MYVOLUME1/MYSHARE1/opt ?

    Thanks,
    LK.
    Yes, thanks for the catch.

    - K.C.

  11. #41
    Quote Originally Posted by IMM22 View Post
    every worked fine, all but one thing

    the installation of ncursesw
    Collected errors:
    Package ncurses wants to install file /opt/bin/reset
    But that file is already provided by package busybox-links
    Package ncurses wants to install file /opt/bin/clear
    But that file is already provided by package busybox-links
    Yes, I found that too. I just manually deleted reset and clear prior to installing the package.

    I think adding the "-force-overwrite" option to ipkg will do the same thing...

    - K.C.

  12. #42
    Quote Originally Posted by kfurge View Post
    Yes, I found that too. I just manually deleted reset and clear prior to installing the package.

    I think adding the "-force-overwrite" option to ipkg will do the same thing...

    - K.C.
    Yes, I use the force-overwrite. but the error is there again.

    But the MAN works, I've allready installed the packes. Only one error appears when loading the manual, indicating some limitations ...
    Last edited by IMM22; 03-12-2006 at 19:34.

  13. #43
    And now that we have all this, some cool applications to use, does some one knows some ?

    Maybe with WEB interface,,


    reboot the router, but the path's don't work..
    where can I put this:

    export PATH=/opt/bin:${PATH}
    export LD_LIBRARY_PATH=/opt/lib:${LD_LIBRARY_PATH}

    for the router to read in the startup?
    Last edited by IMM22; 03-12-2006 at 20:00.

  14. #44
    Quote Originally Posted by IMM22 View Post

    where can I put this:

    export PATH=/opt/bin:${PATH}
    export LD_LIBRARY_PATH=/opt/lib:${LD_LIBRARY_PATH}
    For rc.local, simply put it at the top. For an interactive bash shell, put the same lines into the .profile file located in your user account directory.

    I don't think there's anything in ${PATH} or ${LD_LIBRARY_PATH} with an interactive shell login, so I fully configured mine in my .profile. I posted a copy of my .profile on the web page.

    - K.C.

  15. #45
    Quote Originally Posted by kfurge View Post
    For rc.local, simply put it at the top. For an interactive bash shell, put the same lines into the .profile file located in your user account directory.

    I don't think there's anything in ${PATH} or ${LD_LIBRARY_PATH} with an interactive shell login, so I fully configured mine in my .profile. I posted a copy of my .profile on the web page.

    - K.C.
    Ok, I'm doing someting wrong

    first I put a file named ".profile" in /share/MYVOLUME1/opt/home/<username>

    And added this lines

    #
    # Bash initialization script
    #

    PS1="[\u@\h \W]$ "
    PATH=/opt/sbin:/opt/bin:/sbin:/bin:/usr/sbin:/usr/bin
    LD_LIBRARY_PATH=/opt/lib:/shares/lib

    export PS1 PATH LD_LIBRARY_PATH

    export PATH=/opt/bin:${PATH} export LD_LIBRARY_PATH=/opt/lib:${LD_LIBRARY_PATH}


    of course all edited with vi

    My rc.profile file is locanted in /share/MYVOLUME1/

    and contains this entries:
    #!/bin/sh

    pool=`nvram get apps_pool`
    share=`nvram get apps_share`
    internal_hdd=/dev/ide/host2/bus0/target0/lun0/disc

    if [ \! -f /tmp/rc.local.done ]; then

    # Indicate we've already done this
    touch /tmp/rc.local.done

    #
    # Mount /opt and connect in various system files
    #
    if [ -e /shares/${pool}/opt ]; then
    mount -o bind /shares/${pool}/opt /optcat /proc/mounts > /opt/etc/fstab

    ln -s /opt/etc/shells /tmp/shells
    ln -s /opt/etc/fstab /tmp/fstab

    export PATH=/opt/bin:/opt/sbin:${PATH}
    export LD_LIBRARY_PATH=/opt/lib:${LD_LIBRARY_PATH}
    export PATH=/opt/bin:${PATH}

    # Start dropbear ssh server
    if [ -x /opt/etc/init.d/S51dropbear ]; then
    /opt/etc/init.d/S51dropbear
    fi
    fi

    # Start utelnetd on local interface only!
    /apps/bin/utelnetd -i br0 &

    # Sleep for a little bit to not interfere with normal system startup
    # before we kill a bunch of Asus processes.
    sleep 5

    # Kill processes I don't use. The killing of watchdog is necessary
    # to allow the disk to spin down (watchdog is a horribly written hack
    # anyway!)
    killall -q -9 watchdog
    killall -q usbcopymain
    killall -q rcamdmain
    killall -q waveservermain

    # Restart the web server
    killall thttpd
    thttpd -dd /shares/${pool}/${share}/htdocs -p 8081 -i /var/run/t

    # Do the necessary steps so the internal HDD will spin down
    mount -o remount,noatime,nodiratime /shares/${pool}
    hdparm -S 180 ${internal_hdd}
    smartctl -dT ${internal_hdd}

    fi



    And that's it
    Last edited by IMM22; 03-12-2006 at 22:58.

Page 3 of 19 FirstFirst 1234513 ... 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
  •