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

TomatoUSB and ipkg repositories

Discussion in 'Tomato Firmware' started by koitsu, Mar 30, 2012.

  1. koitsu

    koitsu Network Guru Member

    Is there a current and accurate list of ipkg repositories that work with TomatoUSB?

    Basically the situation for me is this: the ncurses and vim packages that come with the stock package repository chosen by Tomato (see below) appear to have severe/major bugs pertaining to terminal emulation and overall behaviour. I can step folks through the exact problems/behaviour if need be, but it should be quite apparent when moving about in vim, deleting words ("dw" operator), etc.. Things get missed, terminal gets messed up, etc.. I can assure you with absolute 100% accurate that my terminal is just fine (PuTTY with xterm), and I have great familiarity with terminal emulation[1] (link explains why/how GNU screen completely destroys terminals) so let's not go down that path.

    1. Our existing documentation (section First optware bootstrap) installs ipkg and related bits. That seems to work fine. That results in the installation of the following packages:

    ipkg-opt - 0.99.163-10 - The Itsy Package Manager​
    uclibc-opt - 0.9.28-13 - micro C library for embedded Linux systems​


    2. The packages were downloaded (per /opt/etc/ipkg.conf) from this repository (and is the only repository provided):


    3. The existing documentation (section Further references) refers to the DD-WRT Optware Installation Wiki, which mentions that there is an alternate place you can install ipkg from. The end results are the same (same versions of ipkg-opt and uclibc-opt installed).

    4. The DD-WRT documentation also has an entire section on using ipkg and this is where things get confusing (from the Tomato perspective). If you go to the Required uClibc installation section you'll see that they imply you can install OpenWRT packages.

    So I went about that nonsense, and found that it is indeed a big clusterf***. :)

    root@gw:/# cd /tmp​
    Connecting to downloads.openwrt.org (78.24.191.177:80)​
    uclibc_0.9.27-9_mips 100% |***********************************************************************************| 192k 00:00:00 ETA​

    Connecting to downloads.openwrt.org (78.24.191.177:80)​
    libgcc_3.4.4-9_mipse 100% |***********************************************************************************| 23389 --:--:-- ETA​

    root@gw:/tmp# ipkg -force-depends install uclibc_0.9.27-9_mipsel.ipk libgcc_3.4.4-9_mipsel.ipk​
    Installing uclibc (0.9.27-9) to /opt/...​
    Installing libgcc (3.4.4-9) to /opt/...​
    ipkg: /lib/libgcc_s.so.1: Read-only file system​
    ipkg: Cannot create symlink from ./lib/ld-uClibc.so.0 to 'ld-uClibc-0.9.27.so': File exists​
    ipkg: /lib/ld-uClibc-0.9.27.so: Read-only file system​
    ipkg: Cannot create symlink from ./lib/libc.so.0 to 'libuClibc-0.9.27.so': File exists​
    ipkg: Cannot create symlink from ./lib/libcrypt.so.0 to 'libcrypt-0.9.27.so': File exists​
    ipkg: /lib/libcrypt-0.9.27.so: Read-only file system​
    ipkg: Cannot create symlink from ./lib/libdl.so.0 to 'libdl-0.9.27.so': File exists​
    ipkg: /lib/libdl-0.9.27.so: Read-only file system​
    ipkg: Cannot create symlink from ./lib/libm.so.0 to 'libm-0.9.27.so': File exists​
    ipkg: /lib/libm-0.9.27.so: Read-only file system​
    ipkg: Cannot create symlink from ./lib/libnsl.so.0 to 'libnsl-0.9.27.so': File exists​
    ipkg: /lib/libnsl-0.9.27.so: Read-only file system​
    ipkg: Cannot create symlink from ./lib/libresolv.so.0 to 'libresolv-0.9.27.so': File exists​
    ipkg: /lib/libresolv-0.9.27.so: Read-only file system​
    ipkg: Cannot create symlink from ./lib/librt.so.0 to 'librt-0.9.27.so': Read-only file system​
    ipkg: /lib/librt-0.9.27.so: Read-only file system​
    ipkg: /lib/libuClibc-0.9.27.so: Read-only file system​
    ipkg: Cannot create symlink from ./lib/libutil.so.0 to 'libutil-0.9.27.so': File exists​
    ipkg: /lib/libutil-0.9.27.so: Read-only file system​
    Package libgcc (3.4.4-9) installed in /opt/ is up to date.​
    Configuring libgcc​
    Configuring uclibc​
    Successfully terminated.​
    Collected errors:​
    Warning: Cannot satisfy the following dependencies for uclibc:​
    base-files base-files​

    ...right.

    So, as such, does anyone have a list of package repos that are useful for TomatoUSB? I'd also be interested in seeing one that offers ethtool, but I've yet to encounter one. Alternately, does anyone know how to reliably get OpenWRT packages to work on TomatoUSB? Right now I'm focused on the BCM4716 (bcm47xx) stuff, since that's what my Asus RT-N16 runs.

    And yes, I'm aware of Shibby's package repo but those are all from 2011 (with scattered newer stuff). There are other repo references I've found around the web, but all of those repos appear to be down or their FQDNs don't resolve. In other cases, there are repositories like this one but those aren't ipkg-compatible; you get to dig through directory structures and wget whatever you want. That's fine/dandy, but it defeats the purpose of using a package manager.
     

Share This Page