Bekijk de volledige versie : Persistent calls to init scripts on HD?

02-10-2006, 19:06
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, but in 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?


02-10-2006, 19:58

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?

02-10-2006, 21:45
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=5762&highlight=nvram

Twonkymusic can be downloaded as a trial version from http://www.twonkyvision.de/Download/TwonkyMusic/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,


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!

02-10-2006, 22:33
Big thanks for your detailed answer,

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

03-10-2006, 00:27
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