Results 1 to 14 of 14

Thread: [Howto]automatically firmware configuration & optware installations (Wengi)

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2007
    Location
    Austria
    Posts
    1,336

    [Howto]automatically firmware configuration & optware installations (Wengi)

    Wengis howto is outstanding and always up to date. He explain in an easy and understandable way how to configure your asus-router.
    It allows a newbie as well as an experienced user to configure the router without any problem. Well, but you must have patience, a complete wengi installation can take several hours. Beyond that, you have to do everything manually - even a small fault and everything fails.

    In order to follow wengis concept, autoinstall is written for linux-newbies to give them the possibility to turn their router to a full-fledged linux machine. But even for well experienced users autoinstall is a huge simplification - no handcraft any longer!
    Here is autoinstall!
    Due to the fact, that autoinstall is focused on wengis howto, his howto is still the first choice for any bugfixing.

    What is autoinstall doing?
    Autoinstall installs the router-part into flash, or installs a complete wengi-installation, or a full-fledged linux installation (according wengi, but much more) and at your choice a ready to use configured webserver lighttpd. Just transmission and swat is not installed by autoinstall, due to a too high variety of different transmission and swat works only with an optware installed samba.

    Pre-conditions:
    -Telnet or ssh (dropbear) access to your router
    -existing and working internet connection
    -Stick or HDD with at least 1 GB
    -unconditional umount of any attached storage (umount -l /opt ; umount -l /tmp/mnt/disc0_3 aso.)
    -When an old swap is active: swapoff -a
    -When any process is running from /opt: killall process (there is a lazy umount, hence no much danger)
    -disable Samba, Ftp, NFS Server in your Webif.

    Hints: Autoinstall deletes up to 4 Partitions and create new partitions in dependance to available storage. Please do a backup before, any data on the connected device gets lost! (everything acoording Wengi)

    Which software is installed and configured by autoinstall?
    -Dropbear and Directory, Keys and post-boot, just if necessary
    -Startfiles are created in your /tmp/local/sbin folder, according Wengis howto, appropriate rights
    -fstab is created in dependance of available storage and added to .file
    -old partitions are deleted and new partitions are created (according Wengis howto)
    A 64 MB Swap Partition when <= 1GB ; 256MB Swap > 1 GB ; opt Partition 1GB (or remainig space)
    and if more space is available, all of the remaining space is used as datapartition
    -The partitions are fresh fromated, swap space is incorporated and partitions are mounted (according Wengi)
    -Startscript rc.unslung is created and stored to /opt according Wengi
    -Ipkg-opt and uclibc is installed, update arranged
    -mc, coreutils, findutils, findutils-doc, diffutils, screen, nano
    ,procps, less, unzip, hdparm, man, man-pages, lynx, nload ,logrotate
    and cron are installed (according Wengi)
    -cron startfile is created (according Wengi)
    -logrotate.conf as well as startfile for syslog is created (according Wengi)
    -profile is created (according Wengi)
    -------------when full & webserver -------------------
    -cmdftp (ftpclient)
    -pwgen (Passwordgenerator)
    -whois (DNS query)
    -which (Path to prgm. X)
    -adduser
    -arpwatch
    -bash with error removal and bas-extension (bashrc)
    -rsync
    -dnstracer
    -iperf (Bandwidth measurement)
    -minicom
    -microperl
    -netcat
    -lighttpd webserver Version 1.4.22-1 (1.4.24-1 has errors!)
    Download is done from an alternative source - this will be changed when a working update is a available
    -lighhtp.conf ready configured for Port 80
    -Webinterface (Router) changed to Port 88
    -wput (ftp client for uploads)
    -util-linux (extensive extensions and enhancements)
    -usbutils
    -tcpflow
    -tcpdump
    -setserial
    -psutils
    -psmisc

    Installation, when no device is mounted: (see before - umount -l)

    Code:
    cd /tmp/local/root
    wget http://www.irauschek.net/asus/autoinstall
    chmod 755 autoinstall
    ./autoinstall
    Choose in the menu your desired adjustments and start with 6 and enter.
    It can take a while, let the router work......wait until routers reboot!!
    If something went wrong, start over again.
    At last you can control the installation with your browser: http://ip.of.your.router
    You should now see "lighttpd server running". Store your webpages to /opt/share/www
    When you want to be reachable from Internet, open port 80 in routers webif and use a dnydns account.
    ATTENTION: YOUR ROUTER IS REACHABLE ON PORT 88 FROM NOW ON!
    Hence: http://192.168.x.x:88
    If no webserver is choosen, the routers webif is reachable on Port 80.
    FTP and Samba and/or NFS Server can be enabled again.
    If you send me some useful and complete configurations, I'll include them into autoinstall (in the future).
    Suggestions and improvements, reports and error informations are greatly appreciated.
    For any bugfixing and so on, please read Wengis howto before!
    Credit to: Wengi

    have fun
    Newbiefan

    P.S.: Of course you can exit autoinstall without any installation anytime!!
    Last edited by newbiefan; 24-03-2010 at 22:41.
    Alle HowTo's, all howto's

    RT-N16 1.9.2.7-rtn-r3121, Samba, VSFTP, Lightthpd, PHP, Perl, MySQL, Serendipity, Aria2web, HDD 640GB
    RT-N66U, 16GB MicroSD/ 2 Partitions, 2,5" HDD 1TB, running with Merlin's FW and Entware, 16 Mbit A1,
    Netgear DGND 3700V2, QNAP TS119PII 4 TB, QNAP TS209 2 TB Raid1, Backup Synology DS107+ 1 TB, HP CP1515n

Similar Threads

  1. Essential Firmware Questions
    By vladk2k in forum WL-500gP Firmware Discussion
    Replies: 9
    Last Post: 14-10-2009, 11:10
  2. New Oleg firmware 1.9.2.7-9 problems?
    By wpte in forum WL-500gP Firmware Discussion
    Replies: 11
    Last Post: 17-04-2008, 23:34
  3. Installing Optware Packages on Asus Firmware 1.0.7.8
    By emailpr in forum WL-700g Firmware Discussion
    Replies: 3
    Last Post: 16-01-2008, 01:13

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
  •