Results 1 to 15 of 958

Thread: [HowTo] Install and configure Oleg's firmware

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt
    Posts
    1,548

    Lightbulb [HowTo] Install and configure Oleg's firmware

    Hier findest Du das originale deutsche HowTo: http://wl500g.info/showthread.php?t=8424

    After some people asked me to, this is a translation of my original, german Howto.
    00. News

    November 2011

    rtn firmware with kernel 2.6 instead of kernel 2.4 uses disca, discb etc.
    you have to replace all occurances of "disc0" with "disca" in this tutorial!!!!
    I will update the tutorial if i have time for it.


    October 2011
    The URL of transmissions level1.gz has changed.
    The script S90transmission-daemon is updated

    Please use, if your hardware is supported, the "enthusiast firmware".
    More details later.

    This howto is for firmware version 1.9.2.7-9 and newer. Older versions are not supported any more.

    Important: I exclude any liability.

    This HowTo is for newbies! please contact me if you find any mistakes.

    0. Premises
    I am working with an Asus WL-HDD. But this HowTo is known to work with other hardware where you can install olegs firmware.
    The WL-HDD has a weak CPU and small memory, but it does the job :-)

    You also need:
    - basic linux knowledge (cd, vi, ps, df, free, top, ...)
    - time. I needed about 5 hours for modifying my WL-HDD incl. dinner. So you need time.
    - an internet connection for downloading the software.

    1. Install firmware

    The easiest way is the Asus Firmware Restoration Tool. Download the tool according to your hardware.

    ASUS WL-HDD2.5 wireless hard disk drive box utility program in English

    It will also work with the Asus Webinterface but be sure to have the restoration tool by hand.
    Download olegs firmware: Firmware Wizzard (not allways newest) or directly at http://oleg.wl500g.info
    Always use the newest version for your hardware model.

    UPDATE:
    There is an advanced version of oleg firmware.
    This one is compatible to the original and is well maintained.
    I recommend using this firmware if your hardware is supported.

    This HowTo wil only work with versions 1.9.2.7-9 and newer!

    Reset your Asus to factory defaults. (user:admin / pw:admin)
    Extract the zip.
    Install the Asus tool, start it and select "firmware restoration".
    Select the firmware (hardware_version.trx) and click upload.
    After the reboot browse to the Webinterface of the router and again reset to factory defaults.
    Again a reboot and your router has a default oleg firmware.

    remark:
    My WL-HDD does NOT act as Router in my network. It is only a client. Because of this i will not handle firewall settings within this howto.

    Do the following in the Webinterface:
    - enter the Name of the router (mine is "blechbuechse").
    - enter you IP settings (IP, gateway, DNS aso.)
    - disable FTP, Samba, NFS
    - enable telnet
    - Change the password
    - do any changes as you need them. (DHCP, time zone, WLAN, aso.)
    - If used as router: login data, firewall, allow ping from WAN.

    If this did NOT work until here you will NOT be able to go on!

    2. Telnet

    Start telnet. For Windows: Start-Execute - "telnet IPOFASUS"

    user:admin / pw:admin

    Test your internet connection:
    Code:
    ping google.de
    Should look like this:
    [admin@blechbuechse root]$ ping google.de
    PING google.de (66.249.93.104): 56 data bytes
    64 bytes from 66.249.93.104: icmp_seq=0 ttl=243 time=35.5 ms
    64 bytes from 66.249.93.104: icmp_seq=1 ttl=243 time=36.5 ms
    64 bytes from 66.249.93.104: icmp_seq=2 ttl=243 time=35.0 ms

    --- google.de ping statistics ---
    3 packets transmitted, 3 packets received, 0% packet loss
    round-trip min/avg/max = 35.0/35.6/36.5 ms
    [admin@blechbuechse root]$
    The ping can be interrupted with ctrl-c.

    If this is NOT working: Do not ping a name, ping an IP adress.
    If you are not able to ping an ip adress: check your network (IP, DNS) settings and cabeling.

    telnet is not a secure way to work on your asus. Espacially over internet. This is why you install SSH now:

    3. SSH-deamon
    TIP: You can copy & paste all commands within telnet and putty. For Windows use ctrl-c and ctrl-v, for putty mark the text and right click.

    The name of the ssh daemon is dropbear. It can be activated with the Web Interface (System Setup->Services) if you use the "enthusiast firmware" (1.9.2.7-d-rxxxx). Using the new firmware you only have to generate the keys and startup scripts.
    Users of firmwares before 1.9.2.7-d-rxxxx need to execute the whole chapter!

    create startup scripts:
    Code:
    mkdir -p /usr/local/sbin/
    touch /usr/local/sbin/pre-boot
    touch /usr/local/sbin/post-boot
    touch /usr/local/sbin/post-firewall 
    touch /usr/local/sbin/post-mount
    touch /usr/local/sbin/pre-mount
    touch /usr/local/sbin/pre-shutdown
    chmod +x /usr/local/sbin/*
    create a directory: (only firmware older than 1.9.2.7-d-rxxxx)
    Code:
    mkdir -p /usr/local/etc/dropbear
    generate keys:
    Code:
    dropbearkey -t dss -f /usr/local/etc/dropbear/dropbear_dss_host_key
    dropbearkey -t rsa -f /usr/local/etc/dropbear/dropbear_rsa_host_key
    To make dropbear start at reboot: (only firmware older than 1.9.2.7-d-rxxxx)
    Code:
    echo "#!/bin/sh" >> /usr/local/sbin/post-boot
    echo "dropbear" >> /usr/local/sbin/post-boot
    Start dropbear:
    Code:
    dropbear
    Here is a listing of the active processes. dropbear should be one of them:
    [admin@blechbuechse sbin]$ ps
    PID Uid VmSize Stat Command
    1 admin 580 S /sbin/init
    2 admin SW [keventd]
    3 admin SWN [ksoftirqd_CPU0]
    4 admin SW [kswapd]
    5 admin SW [bdflush]
    6 admin SW [kupdated]
    7 admin SW [mtdblockd]
    46 admin 332 S telnetd
    51 admin 380 S httpd
    54 admin 408 S syslogd -m 0 -O /tmp/syslog.log -S -l 7
    56 admin 364 S klogd
    57 admin SW [khubd]
    72 1 364 S [portmap]
    74 admin 504 S /usr/sbin/statd
    76 admin SW [nfsd]
    77 admin SW [lockd]
    78 admin SW [rpciod]
    80 admin 484 S /usr/sbin/mountd
    83 admin 484 S watchdog
    85 admin 344 S ntp
    94 admin SW [kjournald]
    95 admin SW [kjournald]
    99 admin 580 S -sh
    128 admin 468 S dropbear
    129 admin 392 R ps
    save all the stuff and reboot:
    Code:
    flashfs save && flashfs commit && flashfs enable && reboot
    That's it for this part.
    Last edited by wengi; 10-11-2011 at 08:02.
    Übersicht aller HowTos --- HowTo Overview (mostly german)
    WL-HDD mit diesem Setup. --- WL-HDD with this setup.
    Kein Support per PM - Frage im jeweiligen Thread! --- No support via pm - ask in the according thread!
    Eine wirklich gute Idee erkennt man daran, dass ihre Verwirklichung von vorne herein ausgeschlossen erscheint. (Albert Einstein)

Similar Threads

  1. [Howto] Install DLNA media servers for Oleg firmware
    By ecaddict in forum WL-500gP Tutorials
    Replies: 18
    Last Post: 06-06-2017, 07:40
  2. Replies: 24
    Last Post: 05-05-2015, 07:42
  3. Replies: 28
    Last Post: 02-06-2013, 20:58
  4. Replies: 6
    Last Post: 21-09-2012, 17:06
  5. [Howto] Install kernel modules for Oleg firmware
    By ecaddict in forum WL-500gP Tutorials
    Replies: 0
    Last Post: 05-12-2011, 16:18

Tags for this Thread

Posting Permissions

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