1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Valerakvb Optware Package running on Tomato.

Discussion in 'Tomato Firmware' started by Lost_Animal, Jun 6, 2010.

  1. Lost_Animal

    Lost_Animal Addicted to LI Member

    UPDATED on 14/06/2010

    Current Version 11.6

    Version Notes :

    This is Final Version of the Script.
    Tested - is Working and now it's time for your help to DEBUG it if any Bugs appears.

    Changed Completely the mounting Method.
    Now you can Just Plug - Unplug the USB HDDs without any Problem with mounting and Starting the Services.
    You don't have to worry if you use 2 HDDs, about the USB port you have to use.
    Just Plug the optware & Data HDDs and mounting is auto with correct assignment.

    Please report me about your installation problems or any BUG.

    Now it's time to write the FULL GUIDE !
    Will Follow a separate Patch for English Language​


    ================================================== ===================

    After some Corrections on Valerekvb Optware Package, we are able to use this script on any tomato firmware.

    Its a really nice script, with some very popular apps and i hope you will like it also.

    [​IMG]

    As you see the list of Optware includes.

    * dropbear
    * Midnight Commander v.4.7.0.2
    * Cron
    * nano
    * Lighttpd
    * PHP-fcgi
    * SQLite
    * microperl
    * rTorrent + ruTorrent (cookies, erasedata, search, trafic, scheduler)
    * Transmission
    * Samba 3
    * vsftpd
    * Download Engine v.2.0-16
    * syslog-ng
    * QuiXplorer.
    * RRDTool Traffic Graph Page
    * NOD32 v.3 è 4
    * Privoxy
    * Sawanna CMS
    * phpSQLiteCMS
    * RRDTool
    * NOD32update
    * System Info
    * Townky Media Server v.5.0 Beta 1
    * Media Tomb
    * Imageview v.2 (Flash Photo Gallery)
    * WebICQ v.1.0
    * SMS messages on your phone
    * vnStat PHP frontend 1.4.1 rus
    * ADOS — Download Master (user: admin, pass: router)

    Accessible through

    http://my.router/rtorrent - ruTorrent v.3 + plugins (cookies, erasedata, search, trafic, scheduler) nTorrent
    http://my.router:9091 - Transmission (BitTorrent client) v.1.93-1Transmission Remote GUI Windows ,
    http://my.router/cgi-bin/dlengine.sh - Download Engine
    http://my.router/ftp - QuiXplorer 2.4.1(user: admin , pass: admin)
    Midnight Commander (mc) v.4.7.0.2 (UTF-8) Running through PuTTY

    http://my.router:901 - Samba 3 Web Administration Tool
    http://my.router/rrd - RRDTool Traffic Graph Page
    http://my.router/eset_upd - for NOD32 v.3 è 4
    http://p.p - Privoxy
    http://my.router - Sawanna - (user: admin , pass: sawanna)
    http://my.router/site - phpSQLiteCMS.
    http://my.router/site/cms/ - phpSQLiteCMS (user: admin ,pass: admin)
    http://my.router/status - RRDTool è [c] NOD32update)
    http://my.router/cgi-bin/info.cgi - System Info
    http://my.router:9000 - TwonkyMedia server v.5.0 Beta 1
    http://my.router:50500/ - MediaTomb
    http://my.router/photo - Imagevue v.2 (Flash Photo Gallery)
    http://my.router/photo/imagevue -(user: admin, pass: admin)
    http://my.router/icq - Web2ICQ v.1.0
    SMS messages on your phone
    http://my.router/sms
    http://my.router/vnstat - vnStat PHP frontend 1.4.1 rus
    http://my.router/ados - ADOS — Download Master (user: admin, pass: router)
    http://my.router/lighttpd/

    - Added the ability to install programs on TWO HDD (In the right pane - HDD connected: ONE or TWO) (the second disc - one partition in ext3 - / tmp/harddisk2). Connectivity: HDD-1 lower USB, HDD-2 upper.
    - Added plugin datadir-3.1 WEB ruTorrent to replace the current data directory to another torrent
    - Added a new version of the plug for RGhost letitbit.net
    - Added a new program IPKG (The ipkg web frontend) http://my.router/cgi-bin/package.cgi - Management IPKG-packets via WEB-face (removal, installation, upgrade, viewing)
    - Changed the installation configuration file Transmission
    - Changed the file pre-shutdown, see the article
    - Added the ability to proxy authentication version of the installation script and copyright
    - Changes at Site Status Router (menu [e]) screenshot:
    a) correct information is displayed in different browsers
    b) added display of number of employed wa / free space on two HDD
    c) added display the version number of the installation script (click the mouse and you are in this topic)
    g) added display of numbers on the firmware version installed on your router (mouse click and you're on FTP firmware)
    d) changed instead RRD graphs are now vnStat
    e) added to the list of programs are missing and a new program IPKG (The ipkg web frontend)
    Script is ready for Download.


    Script is Ready for Download Here

    Full GUIDE will Posted ASAP (SOON)

    L_A
     
  2. Lost_Animal

    Lost_Animal Addicted to LI Member

    Now i am running on Valerakvb optware ver.11.5

    The Script is Almost ready.
    But needs some extra corrections with mounting options.
    [​IMG]
    I like very much the Ipkg Web Intreface.
    This is the BEST Option.
    You Can Install or Uninstall any Optware you want on the fly...
     
  3. Lost_Animal

    Lost_Animal Addicted to LI Member

    UPDATED on 14/06/2010

    Current Version 11.6

    Version Notes :

    This is Final Version of the Script.
    Tested - is Working and now it's time for your help to DEBUG it if any Bugs appears.

    Changed Completely the mounting Method.
    Now you can Just Plug - Unplug the USB HDDs without any Problem with mounting and Starting the Services.
    You don't have to worry if you use 2 HDDs about the USB port you have to use.
    Just Plug the optware & Data HDDs and mounting is auto with correct assignment.

    Please report me about your installation problems or any BUG.

    Now it's time to write the FULL GUIDE !
    Will Follow a separate Patch for English Language​


    ================================================== ===================
     
  4. gte024h

    gte024h Networkin' Nut Member

    I get this when I try to install it:

    Code:
    ...
    Checking system config ...
    Using 65.54.5.1 as default gateway.
    Using the following nameserver(s):
    nameserver 127.0.0.1
    Error: /opt partition not mounted.
    for running Optware on JFFS (not recommended), Enter
        mkdir /jffs/opt
        mount -o bind /jffs/opt /opt
    to correct this.
    I have a 4GB usb thumb drive plugged in, not mounted, and automount is off.

    It appears that I already have a /opt that is read-only. I am running an Asus RT-N16 with Teddy Bear "Tomato Firmware v1.27.9047 MIPSR2-beta16 K26 USB Ext"

    UPDATE: Tried a different thumb drive and now it works. I guess not all thumb drives are created equal.
     
  5. Lost_Animal

    Lost_Animal Addicted to LI Member

    If you have any other problem just inform me !:wink:
     
  6. spikes

    spikes Networkin' Nut Member

    LA,

    Does Valerakvb optware package include NZBGet or some kind of nzb client? I've been using your Optware v9.5 because it has that. But I am interested in trying ADOS which Valerakvb optware has. Is ADOS similar to the Download Engine in v9.5? I haven't used it yet but it sounds like these apps allow you to automate internet downloads, is that right? Like I can specify a http download link in the app and have it automatically download, pause, or resume?
     
  7. Lost_Animal

    Lost_Animal Addicted to LI Member

    NZBGET is not included on Valerakvb Opware.
    But a new MEGA Optware Package will Include all APPS from Valerakvb and mine Package also and many other new Apps.:biggrin:
     
  8. spikes

    spikes Networkin' Nut Member

    When can we expect this new "MEGA" Optware Package to be available?
     
  9. Lost_Animal

    Lost_Animal Addicted to LI Member

    This is a GOOD question....
    But it can't be answered (lack of free time).

    You will be noticed... :biggrin:
     
  10. spikes

    spikes Networkin' Nut Member

    LA,

    It would be nice to be able to specified which USB drive to install in your Optware Package. Using the RT-N16 as an example, if I have two USB devices connected to the router, I would like to install the Optware apps on one drive and put the swap and data on a different drive. I see that Valerakvb's Optware Package will automatically install across two connected drives: first USB will be for swap and opt and second USB for data.

    I looked the the script file for your optware package and see where it creates the paritions:

    writefstab()
    {
    echo -e "#device Mountpoint FStype Options Dump Pass#
    /dev/discs/disc0/part1 none swap sw 0 0
    /dev/discs/disc0/part2 /opt ext3 rw,noatime 1 1
    /dev/discs/disc0/part3 /tmp/harddisk ext3 rw,noatime 1 1" > /etc/fstab
    nvram setfile2nvram /etc/fstab
    nvram commit
    return

    }
    writefstab_n16()
    {
    echo -e "#device Mountpoint FStype Options Dump Pass#
    /dev/sda1 none swap sw 0 0
    /dev/sda2 /opt ext3 rw,noatime 1 1
    /dev/sda3 /tmp/harddisk ext3 rw,noatime 1 1" > /etc/fstab
    nvram setfile2nvram /etc/fstab
    nvram commit
    return
    }

    It is just a matter of copying over the code from Valerakvb's script for creating different partitions on different drives? If I just change the "/dev/..." paths to point to different drives for where the paritions are created, will that work? Any help is appreciated. Thanks.
     
  11. Lost_Animal

    Lost_Animal Addicted to LI Member

    I think you have the OLD version of Optware Package.

    On The new Version, mounting is based on Labeling.

    Code:
    write_fstab()
    {
    echo -e "#device Mountpoint FStype Options Dump Pass#
    LABEL=swap none swap sw 0 0
    LABEL=optware /opt ext3 rw,noatime,nodev 1 1
    LABEL=harddisk /tmp/harddisk ext3 rw,noatime,nodev 1 1" > /etc/fstab
    nvram setfile2nvram /etc/fstab
    return
    }
    write_fstab_two()
    {
    echo -e "#device Mountpoint FStype Options Dump Pass#
    LABEL=swap none swap sw 0 0
    LABEL=optware /opt ext3 rw,noatime,nodev 1 1
    LABEL=harddisk /tmp/harddisk ext3 rw,noatime,nodev 1 1
    LABEL=harddisk2 /tmp/harddisk2 ext3 rw,noatime,nodev 1 1" > /etc/fstab
    nvram setfile2nvram /etc/fstab
    return
    }
    write_fstab_n16()
    {
    echo -e "#device Mountpoint FStype Options Dump Pass#
    LABEL=swap none swap sw 0 0
    LABEL=optware /opt ext3 rw,noatime,nodev 1 1
    LABEL=harddisk /tmp/harddisk ext3 rw,noatime,nodev 1 1" > /etc/fstab
    nvram setfile2nvram /etc/fstab
    return
    }
    write_fstab_n16_two()
    {
    echo -e "#device Mountpoint FStype Options Dump Pass#
    LABEL=swap none swap sw 0 0
    LABEL=optware /opt ext3 rw,noatime,nodev 1 1
    LABEL=harddisk /tmp/harddisk ext3 rw,noatime,nodev 1 1
    LABEL=harddisk2 /tmp/harddisk2 ext3 rw,noatime,nodev 1 1" > /etc/fstab
    nvram setfile2nvram /etc/fstab
    return
    }
    To do what you asked you need to Change also Partition tables and formatting Procedure.

    It can be, but not so easy.

    If you still want to do this, give me more details to make you a special script.
     
  12. Jedis

    Jedis LI Guru Member

    What do I need to run this? Currently using Victek mod v1.25 ND. Can I just load this on there or do I need something special?
     

Share This Page