beakmyn
Group: Members
Posts: 63
Joined: Sep. 2004 |
|
Posted: Jan. 06 2007,19:03 |
|
Quote (walterk1 @ Jan. 04 2007,22:37) | Hey beakmyn, I saw your posts on the warehouse site, and followed you here. I have some dumb questions on this thread. (Maybe one day I will graduate to silly questions.) I will search for #2.
1 - did you create 3 mounts? hda1, hda2, hda3? By the responses, I see you have frugal install on hda1 and photos on hda3. What do you have on hda2? Is that the USB drive mount?
2 - is there a way with DSL to backup all the files/mucking I created following the project? (scripts, xinitrc, bootlocal files) I could backup each one, but did not know if there was a faster method. For anyone reading this thread: I too am interested in making a bulletproof frame. I wonder if I could create a script to mount hda3 as rw first, then get photos via Samba or rsync, and finally remount hda3 as ro again. Is that possible? |
1. hda1 - 60mb DSL frugal install hda2 - 10mb DSl backup/restore and mydsl repository hda3 - rest of drive photos and scripts
2. yes, hda2 it backs up my
/home/dsl/.filetool.lst
Code Sample | opt/ppp opt/bootlocal.sh opt/myiwconfig.sh opt/powerdown.sh opt/.dslrc opt/.mydsl_dir home/dsl/ /etc/ssh/ /etc/shadow
|
/etc/ssh /etc/shadow allows for persistant storage or ssh fingerprint and user passwords
/opt/bootlocal.sh
Code Sample | #!/bin/bash # put other system startup command here mount /dev/hda3 sudo mount /dev/hda3 -o remount,ro loadkeys us /etc/init.d/ssh start /opt/myiwconfig.sh
|
myiwconfig.sh
Code Sample | #!/bin/sh # # Script to set up wireless card # [EMAIL=beakmyn@frontiernet.net]beakmyn@frontiernet.net[/EMAIL] #
# Set display so that script will effect the local screen export DISPLAY=:0
sudo iwconfig eth0 essid "My SSID" enc de:ea:dd:be:ef
sudo pump -i eth0 exit 0
|
My files/scripts/feh.dsl/unclutter.dsl are up here: http://www.frontiernet.net/~pictureframe
Using my method everything is currently read-only and I can literally pull the plug and it's fine when it restarts. Done it several times in fact to show people.
I'm currently using a NFS mount to transfer photos and files. I use the standard NFS in Ubuntu and on my Window's machine I use the free version of NFSAxe. It works well I just remount sudo mount /dev/hda3 -o remount,rw then copy the new photos over then sudo mount /dev/hda3 -o remount,ro -to make it readonly again.
The only caveat I've seen it to NOT mount the NFS share to a folder that is in the backup/restore path. Otherwise on shutdown DSL will backup all the files in that folder (treats it like a regular folder) so I mount the NFS share in /mnt/share folder instead (may have to mkdir /mnt/share first)
It's been going real well. I'm now looking into the old DaliPC (google it) and the new wallgui (new name) to show a clock, rss news/weather on the screen instead of using feh.
-------------- Have you seen my Damn Small Digital Picture frame? http://www.frontiernet.net/~pictureframe http://rapidshare.com/files/27769266/pframedsl.iso.html http://www.joyceandkevin.com/dslpictureframe/pframedsl.rar
|