Results 1 to 5 of 5

Thread: Persistent calls to init scripts on HD?

  1. #1

    Persistent calls to init scripts on HD?

    Hi !

    I've played around a bit with my brand new WL-700gE. I applied the telnet-hack and also made it persistent by activating the utelnetd option in nvram. Installation of the Maxtor shared storage package of twonkymusic was also successful. What is still missing, is to make certain changes persistent after reboot.

    I was looking for a hook in rc.asus (The source code is unfortunately missing in 1.0.4.6, but in 1.0.4.2 I didn't find anything) that would call a custom binary or shell script from the hard disk - preferably to be configured by another nvram entry. But I didn't find anything.

    Did anyone of you found a way to start own programs just after booting (Something like rc.local for "real" linux systems) without hacking and recompiling the firmware?

    Hobi

  2. #2
    Hi!

    I've searched for you changes with the NVRAM for the utelnetd ...but didn't find anyting.. how did you do this change?

    And how did you make the TwonkyVision to work? Is this version free of charge? Can you give us a short explaination of your work? Or some links with the requestet information?

  3. #3
    Hi BackBone!

    Setting the telnet options to nvram is made by issuing these commands:
    nvram set utelnet_enable=1
    nvram commit

    as described in http://wl700g.info/showthread.php?t=...ighlight=nvram

    Twonkymusic can be downloaded as a trial version from http://www.twonkyvision.de/Download/...sic/index.html. You have to purchase a license when you use it longer terms. I tried the Maxtor shared storage plus package, since this is for the same CPU (MIPS little endian) and also prepared for NAS operation. Extract the zip-File on your PC and copy the whole folder to e.g. /shares/MYSHARE1/twonkymusic on your wl-700ge. If I remember it right, you have to rename the default ini-File. Details can be found in the startup/install-scripts included. These scripts can't be applied but they are a good documentation what to do.

    Start the server by typing /shares/MYSHARE1/twonkymusic/twonkymusic. Configuration must be done using the webinterface under wl700ge:9000

    Good look,

    Hobi

    P.S.: When you close the shell from where you started twonky music the server terminates - this is one reason why I'd like the startup-script!
    Last edited by Hobi; 02-10-2006 at 20:48.

  4. #4
    Big thanks for your detailed answer,


    tomorrow i will try the telnet thing by my own...

  5. #5
    The partion informatoin in /proc/partitions is quite strange, isn't it:

    # cat /proc/partitions
    major minor #blocks name

    9 0 500000 md/0
    9 1 160205400 md/1
    9 2 160205312 md/2
    33 0 160836480 ide/host2/bus0/target0/lun0/disc
    33 1 65536 ide/host2/bus0/target0/lun0/part1
    33 2 65536 ide/host2/bus0/target0/lun0/part2
    33 3 160205400 ide/host2/bus0/target0/lun0/part3
    33 63 500000 ide/host2/bus0/target0/lun0/part63

Similar Threads

  1. [uPnP] Problem with uPnP, adding forward: router stops forwarding
    By TRaNe in forum WL-500g/WL-500gx Tutorials
    Replies: 59
    Last Post: 20-08-2008, 22:49
  2. Is there a way to pre-define "pre-reboot" scripts?
    By ikerstges in forum WL-500g Q&A
    Replies: 2
    Last Post: 15-02-2006, 10:32
  3. Starting scripts from USB stick
    By Rob ter Veer in forum WL-500g Q&A
    Replies: 2
    Last Post: 19-12-2004, 19:07
  4. Firmware v1.7.5.7 BETA
    By Antiloop in forum WL-500g Firmware Releases
    Replies: 8
    Last Post: 12-05-2004, 23:03

Posting Permissions

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