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

Installing Packages Tomato Firmware

Discussion in 'Tomato Firmware' started by litris, May 26, 2007.

  1. litris

    litris Guest

    Hi,

    I'm also a user of tomato (1.07). It's fast&great.

    I use x-wrt (milestone 2.75(last stable) & milestone 3) too,
    and it's fantastic the possibility of installing packages using repositories. Think carrying in your pocket router, kismet (not only drone), aircrack, nmap, dsniff, smb client, snort and tcpdump. Add a bitorrent and asterisk, and youĺl become the king of the party. For all this packages you will need a SD card installed, of course.

    just think powering on your router anywhere with wireless networks around, using a quite good antenna, and you will be in the Internet just using any 10/100 interface, even in an old and "no-tunned" laptop, connected to the router bridge.

    I've seen in an article kismet-drone installed from open-wrt packages

    http://bok.xs4all.nl/weblog/archive/2007/05/15/tomato-for-wrt54-eight-months-later/

    for kismet-drone I use another method: just copy files using scp from the laptop to /jffs/ directory. I've also set front button for launching kismet-drone if pressed 4 seconds. Try it !!!

    I'm very interested in the way of installing packages using ipkg command. Because I was not able to do it.

    In my tomato ipkg.conf file does not exist, so ipkg crashes.
    ________________________________________________________
    # ipkg install nmap
    /usr/sbin/ipkg: /usr/sbin/ipkg: 1160: cannot open /etc/ipkg.conf: No such file
    ________________________________________________________

    I've tried to create a ipkg.conf (with repositories and destiny)

    ___________________________________________________________________
    src whiterussian http://downloads.openwrt.org/whiterussian/packages
    src non-free http://downloads.openwrt.org/whiterussian/packages/non-free
    src mab_whiterussian http://www.comnets.uni-bremen.de/~mab/openwrt/whiterussian/packages
    dest jffs /jffs/
    ___________________________________________________________________

    and copied to RAM /etc/ipkg.conf where ipkg needs. But it still crashes to me.

    When I try to upload repositories:
    ________________________________________________________________
    # ipkg update
    mkdir: Cannot create directory `/opt/usr/': Read-only file system
    _________________________________________________________________
    And when I try to install a package (logical because repositories are not loaded)
    :
    ________________________________________________________________
    ipkg install nmap
    ERROR: File not found: /opt/usr/lib/ipkg/lists/whiterussian
    You probably want to run `ipkg update'
    ERROR: File not found: /opt/usr/lib/ipkg/lists/non-free
    You probably want to run `ipkg update'
    ERROR: File not found: /opt/usr/lib/ipkg/lists/mab_whiterussian
    You probably want to run `ipkg update'
    ERROR: File not found: /opt/usr/lib/ipkg/lists/whiterussian
    You probably want to run `ipkg update'
    ERROR: File not found: /opt/usr/lib/ipkg/lists/non-free
    You probably want to run `ipkg update'
    ERROR: File not found: /opt/usr/lib/ipkg/lists/mab_whiterussian
    You probably want to run `ipkg update'
    ipkg_get_install: ERROR: Cannot find package nmap in /opt/usr/lib/ipkg/lists
    ipkg_get_install: Check the spelling and maybe run `ipkg update'.
    __________________________________________________________________


    Could anyone please help me? How can I manage to install an open-wrt package in my tomato firmware using ipkg? If it is possible.....

    Or does anybody knows any other method?

    Thank you very much,

    Best Regards,

    Ł i ǂ я i Ƨ
     
  2. Hypernova

    Hypernova LI Guru Member

    "How did you manage to install an open-wrt package in your tomato firmware using ipkg?"

    You can't, end of story. It was never made to do that.
     
  3. bokh

    bokh Network Guru Member

    Not using ipkg, indeed, since it's not included in Tomato, but you can unpack the “data.tar.gzâ€-file that's inside with tar and gzip on a shared filesystem and just give it a try. That's how I got my Kismet-drone working on Tomato. :biggrin:
     

Share This Page