you could add it in index.cgi like this:
Code:#!/bin/ash ################flag /bin/utelnetd &
Please find attachement with the code how to launch utelnetd daemon.
I can compile the firmware, flash it but telnet daemon doesnt work. Can anyone help me? What is wrong with that? I have three versions:
1) something with firewall rules.
2) something with firmware upgrade - the firmware isnt upgraded actually.
3) something with execution permitions or daemon parameters (maybe telnet daemon doesnt like shell or login cedentials)
The third is most likely because if there were a problem, hmantsao wouldnt be able to start telnet from web page and I have chaged firmware version number. It appears on web interface - firmware has changed.
any ideas?
you could add it in index.cgi like this:
Code:#!/bin/ash ################flag /bin/utelnetd &
My little Asus Collection: Too much to fit inhere, my 2 babies:WL500w 1.9.2.7-10(OLEG) VX2SE Yellow Lamborghini notebook
WL500g Forum Asus Files OpenDir
Asusforum.NL -- Asusforum.DE -- Asusforum.RU -- Asusforum.PL -- Asusforum.NET -- Asusforum.EU -- Asusforum.BE -- Asusforum.ES -- Asusforum.INFO
I was able to telnet in. But I was trying to add it to the firmware. without any success I started new thread to show how I did that: http://www.wl500g.info/showthread.php?t=5762Originally Posted by Antiloop
I can start another utelnetd from userspace on a different port, but why it doesnt start with router?!
I haven't been able to succesfully compile the firmware.. but have you tried running telnetd from inetd?
I do see options for this in the busybox menuconfig..
Don't forget to enable the inetd itself..
Trying to replace busybox with the latest one (1.2.0).
Wish me luck, seems to compile successfully
right.. I just compiled a new firmware (no problems here), and tried to put it on the 700g. But apparently something was not good.. now the router does not come into it's ready-state... I cannot ping the router either...
So it's quite hard to put back a previous firmware using the webinterface.. also the firmware restorationtool cannot connect, or I am having troubles putting the device in rescue mode (power off, hold reset button, power on, readly led starts blinking)
any ideas how to fix this?
done it!
But don't ask how :P Some combination of buttons I guess.. The firmware probably did not work because I compiled it on a x86_64 box.. Forgot about that :P
Last edited by BarBaar; 10-07-2006 at 00:07.
About latest busybox - I already did it. Easily but does it makes sense?
maybe it is good idea to set nvram set boot_wait=on && nvram commit ?
Can anyone explaint me this:
The mount command shows that /dev/se/2 on /shares/MYVOLUME1 is mount as reiserfs (rw) whitch means that my changes in \\192.168.1.1\myshare1\web\Layout\showMessage.cgi (I wrote about this here http://www.wl500g.info/showpost.php?p=33160&postcount=1) are made on reiserfs filesystem, right?
Then why does my changes after reboot are lost?
I think the router does some automatich updating or something, There is a layout taiwanese and english folder, I'm assuming it's copying the one for your selected language to the folder at startup. Or maybe it's just a symbolic link or something similar...
If you disable the default photoalbum and webpage, you can put your own website in the webfolder (I did this with a web export from picassa, it the starts to show the index.html I put in the webfolder when I browsed to it). I'm not sure if you can put you own cgi scripts in it too, since I'm not at home in CGI specifically and WWW/HTTP in general
Remco
Last edited by ralam; 10-07-2006 at 10:17.
My busybox 1.2.0 does not work as easily as you mentioned^^
My seps:
-moved busybox to busybox.asus
-extracted new src to busybox
-copied the configuration manually with make menuconfig
-edited Rules.mak (outcommenting CC etc. but CPP $(CC) -E and MAKEFILES ... (like in the old Rules.mak))
Result: compiles the firmware, I do see binarys in bin etc, BUT does not mount my harddrive on boot (mount is selected in busybox) so telneting does not work (no access to passwd on hdd)
You should do the following:Originally Posted by DaNawq
1) open two terminal windows.
2) in each window go to busybox directory
3) issue command make menuconfig
4) original ASUS busybox settings are stored in NASoC_config. You have to load them.
5) go trought all sections and check the same vaues for new busybox, as it is set for original Asus busybox.
6) save the values for new busybox
7) as original ASUS busybox settings are stored in NASoC_config, copy them from .config by
#cp ./config NASoC_config
8) compile the formware
this way it should work!
make[4]: Leaving directory `/root/WL700g/nasoc/src/apps/popt/po'
make[3]: Leaving directory `/root/WL700g/nasoc/src/apps/popt'
make[2]: *** Keine Regel vorhanden, um das Target »/opt/brcm/hndtools-mipsel-linux/lib/gcc-lib/mipsel-linux/3.0/include/stddef.h«,
benötigt von »popt.o«, zu erstellen. Schluss.
make[2]: Leaving directory `/root/WL700g/nasoc/src/apps/popt'
make[1]: *** [popt] Fehler 2
make[1]: Leaving directory `/root/WL700g/nasoc/src/apps'
make: *** [rebuild] Fehler 2
i become this error????
please help me...
thanks DigiTalik
Last edited by DigiTalik; 10-07-2006 at 15:57.
did you follow my manual? do you have ash shell installed?Originally Posted by DigiTalik
Originally Posted by DigiTalik
I don't know German, sorry. Plz translate to english