Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 44

Thread: MANUAL: How to compile a firmware for the WL-700g from the GPL 1.0.4.2

  1. #16
    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?
    Attached Files Attached Files

  2. #17
    Join Date
    Nov 2003
    Location
    Eindhoven
    Posts
    2,407
    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

  3. #18
    Quote Originally Posted by Antiloop
    you could add it in index.cgi like this:

    Code:
    #!/bin/ash
    ################flag
    /bin/utelnetd &
    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=5762

  4. #19
    I can start another utelnetd from userspace on a different port, but why it doesnt start with router?!

  5. #20
    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..

  6. #21
    Trying to replace busybox with the latest one (1.2.0).

    Wish me luck, seems to compile successfully

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

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

  9. #24
    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?

  10. #25
    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.

  11. #26
    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)

  12. #27
    Quote Originally Posted by DaNawq
    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:

    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!

  13. #28
    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.

  14. #29
    Quote Originally Posted by DigiTalik
    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
    did you follow my manual? do you have ash shell installed?

  15. #30
    Quote Originally Posted by DigiTalik
    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

    I don't know German, sorry. Plz translate to english

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Firmware upgrading HOWTO
    By Styno in forum WL-500g/WL-500gx Tutorials
    Replies: 6
    Last Post: 30-07-2008, 21:00
  2. twonky media server, network drive with oleg firmware
    By black_bottom in forum WL-HDD Q&A
    Replies: 3
    Last Post: 22-03-2006, 07:15
  3. Download of current GPL source for firmware?
    By LarsAC in forum WL-500g Custom Development
    Replies: 4
    Last Post: 26-02-2006, 15:16
  4. Custom Firmware v1.1.2.7
    By JOCKYW2001 in forum WL-HDD Firmware Releases
    Replies: 59
    Last Post: 11-12-2004, 12:26
  5. Flashing Oleg's Firmware in WL HDD
    By hugo in forum WL-HDD Custom Development
    Replies: 29
    Last Post: 21-10-2004, 14:55

Posting Permissions

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