Results 1 to 15 of 30

Thread: Flashing Oleg's Firmware in WL HDD

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    I have the add user problem also with stupid ftp. I would like to add users using the web interface, but It seems to only add up in the samba support.

    I can only help to have access to the whole system, as anonymous. You can for sure extrapolate to create user account as you are probably more experienced than me in this thinks.

    The 2 following posts will explain how to create the root ftp and how to access via telnet, so they can be pruned somewere else if needed

  2. #2

    How to get access to root system via ftp on WL HDD

    You can get access to the hard drive partition in /tmp/harddrive/part1 or partx. For the purpose of this setup, I've created 2 partitions using the web interface. One is the minimum 100 Mb, the other is the remaining space. They will be formated in ext2fs, so it allow us to work seemlesly on this partition and on the system.

    First you have to go to the "secret" admin page:

    http://wl-hdd/Main_AdmStatus_Content.asp

    From there, if you type the ls command then click on refresh, you see that there are a lot of pages available, but they only set up nvram parameters, as they are probably missing the firewall or ppoe files.

    First, copy your stupid ftp conf file from this page:

    Code:
    cp /tmp/stupid-ftpd.conf /tmp/harddisk/part1/stupid-ftpd.conf
    if you are ready to copy it on you first partition (add subfolders if needed)


    Then you need to edit your stupid-ftp.conf using a good editor that keeps the unix formating (like ultraedit, not notepad if you are working under windows)
    As it is on your first hard drive partition, you can fetch the file using ftp or normal network access on the root of your first partition.

    Find the line starting with serverroot=/tmp/harddisk/part1 and replace it by serverroot=/

    save your file, and go back the the "secret admin" page

    type:

    Code:
    cp /tmp/harddisk/part1/stupid-ftpd.conf /tmp/stupid-ftpd.conf
    and hit refresh

    now you have to kill the old ftp deamon. Probably that a killall would have a lot more options, but my simple method (i'm rusty on linux) is to use ps -aux in the admin page, find the stupid ftp line, get the PID (the first number in the row) then type kill -9 xx where xx is the number

    EDIT: a
    Code:
    killall stupid-ftpd
    do the whole trick


    all this must be typed then followed by the refresh button, not enter.

    to finish, type
    Code:
    /bin/stupid-ftpd /tmp/stupid-ftpd.conf
    and hit refresh.

    Et voila, you have an access to the whole system if you ftp your wl-hdd

    As a side note, it seems the process wont use a conf file located anywere else than on the tmp folder.

    Feel free to correct me, as I said I'm rusty on Linux, but I'll go back on track very quickly
    Last edited by hugo; 15-10-2004 at 15:08.

  3. #3

    To get access using telnet to your WL HDD

    To get access using telnet to your Wl HDD, you first have to get the telnetd file here:

    http://files.wl500g.info/asus/wl500g/telnetd/telnetd


    Be sure to get a 324 k file, not a 20 k file. Be sure to use left click, and to let it save on the HD

    Copy this file on your first WL HDD partition. It probably have to be formated with ext2fs, so you might have to create a smaller partition to store your system files

    Use normal ftp or samba access to save this file

    Using the web admin interface:
    http://wl-hdd/Main_AdmStatus_Content.asp

    type
    chmod a+x /tmp/harddisk/part1/telnetd

    if you have located the telnetd file on the first partitioon of your wl-hdd

    and hit refresh button
    then just type /tmp/harddisk/part1/telnetd -d -l /bin/sh &
    and hit refresh

    You can use telnet wl-hdd and start exploring your device.

    EDIT: You don't have to format ext2fs, you can also copy the telnetd file to your tmp directory and chmod it from there

    EDIT2: you can click here if you have chmoded the telnetd in the first partition of your hd:

    http://wl-hdd/apply.cgi?current_page...tion=+Refresh+
    Last edited by hugo; 15-10-2004 at 20:21.

  4. #4
    Join Date
    Sep 2004
    Posts
    123
    hi,
    @hugo
    thanks a lot for the handy instructions to start telnet and get root access with stupid ftp.

    cu,
    peter

  5. #5
    Quote Originally Posted by hugo
    To get access using telnet to your Wl HDD, you first have to get the telnetd file here:

    http://files.wl500g.info/asus/wl500g/telnetd/telnetd


    Be sure to get a 324 k file, not a 20 k file. Be sure to use left click, and to let it save on the HD

    Copy this file on your first WL HDD partition. It probably have to be formated with ext2fs, so you might have to create a smaller partition to store your system files

    Use normal ftp or samba access to save this file
    I can't seem to get hold of this file. When I left-click me IE browser opens with code inside and when I right-click with save as, I get the 20 k file

    Can anyone help?

  6. #6
    Join Date
    Nov 2003
    Location
    Eindhoven
    Posts
    2,407
    Quote Originally Posted by peewee
    I can't seem to get hold of this file. When I left-click me IE browser opens with code inside and when I right-click with save as, I get the 20 k file

    Can anyone help?
    browse to it via: http://wl500g.info/forumdisplay.php?f=70

    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

  7. #7
    Quote Originally Posted by Antiloop
    Sorry, I still can't get it. Can you mail it to me? or can I download it with FTP?

  8. #8
    Quote Originally Posted by peewee
    Sorry, I still can't get it. Can you mail it to me? or can I download it with FTP?
    Try this one
    Attached Files Attached Files

Similar Threads

  1. oleg's firmware vs openwrt
    By sophana in forum WL-500g Custom Development
    Replies: 5
    Last Post: 15-07-2005, 17:46
  2. Hoe is filestructuur van OLEG's firmware?
    By newbie in forum Dutch Discussion - Nederlands
    Replies: 4
    Last Post: 24-06-2005, 14:23
  3. Problem flashing with custom Firmware
    By eggy in forum WL-HDD Q&A
    Replies: 2
    Last Post: 11-04-2005, 11:09
  4. HELP! Killed wl-500g by flashing old firmware
    By nicd in forum WL-500g Q&A
    Replies: 2
    Last Post: 14-03-2005, 15:57
  5. FTP Connect with Oleg's Firmware?
    By stefan9113 in forum WL-HDD Custom Development
    Replies: 4
    Last Post: 27-02-2005, 00:01

Posting Permissions

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