1 (edited by Marietto 2011-03-30 13:29:56)

Topic: How do I get the Linux prompt on the Insignia Infocast 8 ?

Hello,

yesterday the Insignia Infocast 8 has come to my home. Unlike the Chumby one,it is unable to detect the usb keyboard and I can't get the Linux commands prompt. What's the way to have it ? Thanks.

Re: How do I get the Linux prompt on the Insignia Infocast 8 ?

I've found the solution,thanks anyway.

Re: How do I get the Linux prompt on the Insignia Infocast 8 ?

Marietto wrote:

I've found the solution,thanks anyway.

Care to share the solution, for somebody who comes across this thread?

Linux Guy - Occasional Chumby Hacker

4 (edited by Marietto 2011-03-30 13:30:30)

Re: How do I get the Linux prompt on the Insignia Infocast 8 ?

Sure. Follow these steps :

a) format an usb stick with fat or fat32 file system

b) put on the usb stick a file called debugchumby,created on a linux box :

#!/bin/sh

ssid="mario"

connect()
{
    echo "scanning for access points"
    /usr/chumby/scripts/ap_scan
    echo "attempting to connect to $ssid"
    killall wpa_supplicant
    ifconfig wlan0 down
    iwconfig wlan0 mode ad-hoc
    iwconfig wlan0 essid "$ssid"
    ifconfig wlan0 up

    sleep 10
}

connect
while [ `iwconfig wlan0|grep ESSID|awk -F: '{print $2}'` != \"$ssid\" ]; do
    connect
done

udhcpc -t 5 -n -p /var/run/udhcpc.wlan0.pid -i wlan0
# if you dont have a dhcp server running, comment the udhcpc line above and uncomment the following one
# ifconfig wlan0 10.10.10.2

c) attach the usb stick on the insignia infocast 8 and power it on

d) From the main screen (the screen with a black background and a left nav panel, not the home screen with the green background and a few icons in the middle), touch the Insignia logo, and an About dialog box pops up. Touch the “pi” icon in the top right near the close button, and you’ll get the old “Do you believe in the Users?” dialog box that you may recognize from other chumby devices. There, you can start sshd.

e) get putty from here :

http://www.chiark.greenend.org.uk/~sgtatham/putty/

f) ssh into the Infocast.

Re: How do I get the Linux prompt on the Insignia Infocast 8 ?

On my 3.5 Infocast all I had to do was go into settings, device info (supplies IP info), pi in upper right corner, hit SSHD.  No usb or scripts needed.

Re: How do I get the Linux prompt on the Insignia Infocast 8 ?

Wow that's a lot of trouble.

The Infocast 8 has the same "pi" menu as the other devices - it's on the "about" dialog.  You can launch SSHD from there.

This is documented on the wiki here.