Sunspot Home. . . . . . Joggler menu

Reloading my software onto a new distro update.
- notes for my bad memory . . . .

The disca distro seems to be lighter - I am testing with this for now.
Already installed - - SSH - - secure ftp - - nano

In a Joggler screen terminal do
sudo passwd root so we can use a root SSH terminal and Cyberduck root ftp client on the Macintosh - open these
(with Cyberduck on the Mac I use Text Wrangler to modify files with "context-coloured" text)

First do the "F11 from mouse centre wheel click" mod so we can run without an external keyboard and return to normal windows from a full screen browser page

then -

Drag the application icons onto the desktop and make them open with a single click ( similar screen to Ubuntu Network Remix but without the memory cost)
System - Prefences - File Management - edit - preferences
Behaviour tab - Single click to open items
(there is no "Done" or "Apply" button)

In a Joggler terminal do - - - sudo passwd root
In the Mac scan the ethernet for the net address chosen by dhcp
- I have failed to set up a fixed network address - it was a trivial process on my other platforms - - - (help!!)


In the Mac root SSH session
apt-get update
apt-get install i2c-tools lighttpd sox flite gcc xbindkeys xautomation x11-utils
(or do lighttpd later if you want it to work as root - see this)


The last 3 of these are needed for the
"F11 from mouse centre wheel click" mod (using apt-get install instead of Synaptic)

lighttpd will have created a placeholder web page at your Joggler LAN address (scan the LAN or look in the dhcp log of your dhcp server - usually the broadband modem)

If you manage to set a fixed LAN address please email me , the standard things I did with Debian on NSLU2-Slug do not work on Ubuntu on Joggler

put graham-startup.sh into /etc/init.d and do - -
update-rc.d -f graham_startup.sh defaults 99
at boot time this builds a ramdisk that I use to allow Blassic basic to transfer data to and from bash scripts (see below) - (there are several commented-out items that I have used on other platforms)
It does
mkdir /var/www/ramdisk
mount -o size=2M -t tmpfs tmpfs /var/www/ramdisk
and
modprobe i2c-dev - - not sure if I need the other i2c devs yet ???

reboot

test the i2c bus

root@joggler_92:~# i2cdetect 0
WARNING! This program can confuse your I2C bus, cause data loss and worse!
I will probe file /dev/i2c-0.
I will probe address range 0x03-0x77.
Continue? [Y/n] y
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- 18 -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- 34 -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- 4c -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- 69 -- -- -- -- -- --
70: -- -- -- -- -- -- -- --

34 is the light sensor



put blassic and readlightsensor into /usr/sbin - (For info on Blassic search this site from the home page)
(this is my command line / no CGI version of Blassic built for (Debian)Slug- enhance this later)

add
cgi-bin folder to /usr/lib - - and do
ln -s /usr/lib/cgi-bin /var/www/ - - make a link into the www folder

To enable CGI scripting in lighttpd
lighty-enable-mod cgi
/etc/init.d/lighttpd force-reload

And also lighttpd has to run as root - this is how to make that happen

VNC server for remote control :-
In Synaptic Package Manager type vino - use with Chicken of the VNC on Macintosh

amarok for streaming radio installs but will not open

Sunspot Home . . . . . . . Joggler menu