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

fstab & nvram issue - shibby tomato 110

Discussion in 'Tomato Firmware' started by alazyworkaholic, Jun 30, 2013.

  1. alazyworkaholic

    alazyworkaholic Serious Server Member

    I upgraded to tomato-E3000USB-NVRAM60K-1.28.RT-MIPSR2-110-BTgui-VPN on my Linksys E3000.

    It works, but I cannot set fstab to nvram without causing problems.

    I have a USB drive with 2 partitions - OPTWARE on /opt, STORAGE on /jffs/STORAGE (yes, I enabled jffs & created the STORAGE dir)

    In previous releases, I used this fstab
    LABEL=SWAP none swap sw 0 0
    LABEL=OPTWARE /opt ext2 defaults,noatime 1 1
    LABEL=STORAGE /jffs/STORAGE ext2 defaults,noatime,nodiratime 1 1
    then ran
    nvram setfiletonvram /etc/fstab
    nvram commit
    The problem is that now when do the above and then reboot & login via command line, I get this:
    Tomato v1.28.0000 MIPSR2-110 K26 USB BTgui-VPN
    /usr/sbin/mymotd: line 3: nvram: Permission denied
    /usr/sbin/mymotd: line 87: [: Permission denied
    [root@E3000 root]$
    This interferes with installing optware:
    [root@E3000 root]$ wget http://tomatousb.org/local--files/tut:optware-installation/optware-install.sh -O - | tr -d '\r' > /tmp/optware-install.sh
    Connecting to tomatousb.org (
    Connecting to tomatousb.wdfiles.com (
    -                    100% |**********************************************************************************************************************************************************************************************|  2826  0:00:00 ETA
    [root@E3000 root]$ chmod +x /tmp/optware-install.sh
    [root@E3000 root]$ sh /tmp/optware-install.sh
    /tmp/optware-install.sh: line 99: echo: Permission denied
    /tmp/optware-install.sh: line 99: netstat: Permission denied
    /tmp/optware-install.sh: line 99: sed: Permission denied
    /tmp/optware-install.sh: line 99: [: Permission denied
    /tmp/optware-install.sh: line 99: echo: Permission denied
    [root@E3000 root]$
    Even stranger, if I try to change fstab, this happens:
    [root@E3000 root]$ vi /etc/fstab
    vi: out of memory
                    [@E3000 root]$
    After that, the terminal refuses to take any more input. I type, the cursor doesn't move. Not even responsive to CTRL+D.

    What gives???
  2. leandroong

    leandroong Addicted to LI Member

    nvram setfiletonvram /etc/fstab
    nvram commit
    Wrong syntax: Should be:
    nvram setfile2nvram /etc/fstab
    nvram commit
  3. shibby20

    shibby20 Network Guru Member

    You have installed bash package. Entries in profile file are wrong. You have to remove/remane this file or fix PATH.

    1st way:
    2nd way:
    Correct your /opt/etc/profile to:
    After reboot all should be fine.
    Best Regards.
    koitsu likes this.
  4. alazyworkaholic

    alazyworkaholic Serious Server Member

    Ok, I think that's worked.
    Now I've reinstalled transmissiond & transmission via ipkg install transmissiond transmission, enabled the bittorrent client in the web gui, but just gives me "unable to connect". Any way I can figure out what the problem is?
    I don't think transmission is running. It doesn't show up in ps | grep transmission
    1st I installed only transmissiond because I expected it to work since my tomato version is bt-gui, but no go. Then I installed transmission too. No go.
  5. leandroong

    leandroong Addicted to LI Member

    For transmission to work, under Shibby FW, you needed to enable it in "USB and NAS->Bittorrent Client"

Share This Page