Topic: chumbrowser again

I hate to be a bother but I have never been able to get the chumbrowser to work on my I8 morphed to C8 software. It keeps coming up browser not enabled on this unit. The only hack that  I know of on this unit is the I8 to C8 software. It works great and adds a lot more features but I would like to use the browser if possible. Can anything be done?

Owner of 7 Chumby type units. 3 Sony Dash, 2 Info 8, 2 Info 3.5, and 1 C1.

Re: chumbrowser again

if you have the necessary skills to load Zurk's offline firmware you should do so and see if the browser works using that.
I have an I8 and it works fine.

Re: chumbrowser again

The decision whether or not to install the browser appears to be based on the existence of the script "/usr/chumby/scripts/update_component".  If your device does not have this script, you may be able to get it to work by remounting the filesystem as read/write, and creating the file with the contents:

#!/bin/sh
# ken@chumby.com
# /usr/chumby/scripts/update_component http://files.chumby.com/ken/chumbrowser-1.0.3.tgz 7c90240a9d5e2eaafc5e8026e7482d20 chumbrowser

if [ $# -lt 3 ]; then
    echo "syntax: $0 <url> <md5> <component>"
    echo "        url       - URL to the update image"
    echo "        md5       - md5 checksum for update image"
    echo "        component - name of the component to be updated"
    exit
fi

url=$1
md5=$2
component=$3

download_success=0
install_success=0

updatefile=`echo $url |awk -F "\/" {'print $NF'}`

wget --writefpevent $url -O /mnt/storage/$updatefile
if [ -e /mnt/storage/$updatefile ]; then 
    updatefile_md5=`md5sum /mnt/storage/$updatefile |awk {'print $1'}`;
    if [ "$updatefile_md5" == "$md5" ]; then
        download_success=1
    fi
fi

if [ $download_success -eq 1 ]; then
    logger -s -t "$0" "$component download successful."
    signal_soft_event.sh $component download successful
else
    logger -s -t "$0" "$component download failed."
    signal_soft_event.sh $component download failed
    exit 1
fi

if [ -e /mnt/storage/$component ]; then
    rm -rf /mnt/storage/$component
fi

# extract the component
tar zxvf /mnt/storage/$updatefile -C /mnt/storage

# install the component
if [ -e /mnt/storage/$component/install.sh ]; then
    /mnt/storage/$component/install.sh
    if [ "$?" -eq "0" ]; then
       sync
       install_success=1
    fi 
else
    logger -s -t "$0" "error: unable to find /mnt/storage/$component/install.sh"
fi

rm -f /mnt/storage/$updatefile

if [ $install_success -eq 1 ]; then
    logger -s -t "$0" "$component install successful."
    signal_soft_event.sh $component install successful
else
    logger -s -t "$0" "$component install failed."
    signal_soft_event.sh $component install failed
    exit 1
fi

Be sure to sync and remount as read-only.

At that point, you could try to install the browser through the Control Panel, or install manually:

/usr/chumby/scripts/update_component http://chumbyfiles.s3-website-us-west-2.amazonaws.com/browsers/chumbrowser-1.0.8.tgz 29daf9fa871e429aa8a89f101b72fca5 chumbrowser

Re: chumbrowser again

It also appears that you may be able to manually perform the steps that this script does:

#
# download the browser
#
wget http://chumbyfiles.s3-website-us-west-2.amazonaws.com/browsers/chumbrowser-1.0.8.tgz -O /mnt/storage/chumbrowser-1.0.8.tgz
#
# unpack it
#
tar zxvf /mnt/storage/chumbrowser-1.0.8.tgz -C /mnt/storage
#
# install it
#
/mnt/storage/chumbrowser/install.sh
#
# delete the download
#
rm /mnt/storage/chumbrowser-1.0.8.tgz
#
# make sure it's been written properly to the SD card
#
sync

..then restart the Control Panel, or reboot.

Re: chumbrowser again

Sorry but I just have the "deer in headlights" stare on my face.

Owner of 7 Chumby type units. 3 Sony Dash, 2 Info 8, 2 Info 3.5, and 1 C1.

Re: chumbrowser again

you do all that through SSH.

  1. Turn on SSH on your Chumby:

    1. Open the "Settings" screen and tap the tiny "pi" icon (in one of the corners IIRC, don't have an I8 in front of me)

    2. Tap the "SSHD" button -- a little hexapus will appear and salute/wink

  2. Are you running Windows? If so:

    1. Get PuTTY -- save that somewhere, it's a self-contained program (doesn't need to be installed).

    2. Open PuTTY, enter your Infocast's IP in the appropriate box (it should be on your I8's screen at this point) and click Open

    3. Click "Yes" when prompted about the security key

    4. Enter "root" when prompted for your username

  3. Are you running a Mac or Linux? If so:

    1. Open a terminal window and type "ssh root@<your I8 IP here>" and press ENTER

Congrats, you're SSH'ed into your I8 smile

Now just type in the lines in Duane's code block (skip the ones beginning with "#") and see how that works!

Re: chumbrowser again

Actually, I'd highly recommend cut/paste rather than typing smile

Re: chumbrowser again

well, that too.