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

Installing bash from the Optware distribution on Tomato

Discussion in 'Tomato Firmware' started by vlad_oz, Dec 17, 2010.

  1. vlad_oz

    vlad_oz Networkin' Nut Member

    Hi All,

    This is a helpful piece of advice for other people using Optware under Tomato.

    I installed bash (Bourne Again Shell) from the Optware distribution on my Asus RT-N16 running tomato, and the package quietly added the file /opt/etc/profile.

    As a result, when I next logged in, this overrode the default profile /etc/profile, and removed many important environment variables, so I was experiencing many strange malfunctions with ipkg and other utilities built into busybox, and thus wasted hours of my time.

    There really should be warnings or protection against this kind of thing.
     
  2. Aditaa

    Aditaa Serious Server Member

    The bash ipkg causes LD_LIBRARY_PATH to be set which screws things up. It should not be generally set. Many have run into this problem.
    if you just comment that part out in /opt/etc/profile it works flawlessly :)
     
  3. shibby20

    shibby20 Network Guru Member

    just edit /opt/etc/profile to:
    and all will works and "mc" will be nice blue and all arrows will works :)
     
  4. koitsu

    koitsu Network Guru Member

    Alternately, try using Entware instead. It's regularly maintained and doesn't have this nonsense. :)
     
  5. Seanshoots

    Seanshoots New Member Member

    I know this is an ancient post, but you don't know how long I have been going crazy over all the segmentation faults. I've tried so many things, from re-flashing, to trying different versions made for different architectures, and even switching distros. I gave up for the longest time before I decided to try again tonight, and here I am.

    Just to think, all I needed were these five lines.

    Thank you Mr. Network Guru.

    (keywords for others like me: segmentation fault ipkg atheros opkg sh bash)
     

Share This Page