Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 20 Apr 2014, 09:59
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Derivatives
SafePup based on BarelyPup and Puppy Linux 2.13
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [10 Posts]  
Author Message
raffy

Joined: 25 May 2005
Posts: 4752
Location: Manila

PostPosted: Tue 21 Aug 2007, 20:41    Post subject:  SafePup based on BarelyPup and Puppy Linux 2.13
Subject description: a puplet for safe browsing in machines with NTFS hard disk (actually, no hard disk is needed)
 

Thanks to Paul (pakt) for starting barelypup, I had something to start with when a request came in to build a web-browsing-only Puppy.

I called this puplet "safepup", as the whole idea about it is to enable safe browsing in (presumably) Windows machines. (The safest configuration that I could think of is to unplug that hard drive!) See it at http://minipc.org/safepup (EDIT - updated this link)

Download from the link above (the August 21, 2007 build = 68 MB).
- uses firefox 1.1.12 with mozplugger and multimedia extensions (not handling realplayer media)
- recommended for use as live CD only

With user education another important goal in mind, I did not disable anything. Happily, barelypup comes without the ntfs-3g add-on, so NTFS partitions are mounted read-only. For treating VFAT partitions, the user is cautioned not to write on one (if s/he does not own it).

The Mplayer add-on is based on Dougal's codecs-free build. It's queer as only the x11 option works (even if am using Xorg).

The last remaining browsing problem is playing midi files (TiMIDIty is too large, so will not be included).

The simple wallpaper used is also from Paul (pakt).

_________________
Puppy user since Oct 2004. Want FreeOffice? Get the sfs (English only).

Last edited by raffy on Fri 28 Sep 2007, 05:20; edited 1 time in total
Back to top
View user's profile Send private message 
puppyjim

Joined: 13 Aug 2007
Posts: 20

PostPosted: Fri 24 Aug 2007, 17:08    Post subject: firewall  

Why is there no Firewall & no-way of setting the default ?
Back to top
View user's profile Send private message 
raffy

Joined: 25 May 2005
Posts: 4752
Location: Manila

PostPosted: Fri 24 Aug 2007, 19:01    Post subject: not needed  

Sorry, I tend to forget as I've not needed one for Puppy. It's available at the download sites, like this one: http://ftp.nluug.nl/ftp/pub/os/Linux/distr/puppylinux/pupget_packages-1/

It is small, so I attach it here.

Install it quickly with Setup - Package Manager - Pet - 2nd button.

To use it automatically next time, save your new ISO as a remaster (see the link above for your remaster guide).

EDIT: Safepup to be released October 2007 will have firelog, a firewall that can be turned ON/OFF.
linux_firewall-2.0rc9.tar.gz
Description  official firewall package
gz

 Download 
Filename  linux_firewall-2.0rc9.tar.gz 
Filesize  20.15 KB 
Downloaded  424 Time(s) 
Back to top
View user's profile Send private message 
puppyjim

Joined: 13 Aug 2007
Posts: 20

PostPosted: Sat 20 Oct 2007, 13:40    Post subject:  

Thanks for info.

I've got a suggestion, instead of SAFEPUP, why not create your own using the "Remaster Puppy live-CD" application with a SECOND OPTION.
This second option takes YOUR whole-system ,files & all, and burns them to disc - without the tweaking options. The only boot option being "acpi" - the rest is fixed.

Then if you happen to inadvertently open a NASTY-LINK (And their numbers are increasing at a rapid rate) then no problem, just re-boot - nothing is corrupted, not even system files AND you do not have to re-setup all your necessary internet,reference,etc info. Laughing
Back to top
View user's profile Send private message 
pistoi0

Joined: 25 Oct 2005
Posts: 112
Location: Hartford, CT

PostPosted: Thu 15 Nov 2007, 12:40    Post subject:
Subject description: How can I get Safepup to save files to CD-R?
 

Raffy, I would like to modify PupSafe to be able to save the work that the students do to their individual CD-R. I have tried to copy the shutdown files from original BarelyPup. With those modifications I can get a Save to Disk option, but it seems to want only a DVD rather than a CD-R.

Any help would be kindly appreciated.
Back to top
View user's profile Send private message 
raffy

Joined: 25 May 2005
Posts: 4752
Location: Manila

PostPosted: Thu 15 Nov 2007, 17:43    Post subject: device in /dev  

Check the symbolic link to your optical drive in /dev. There should be a "cdrom" symlink there (see the attached image). If not, command in console "ln -s /dev/hdd cdrom" (if your optical drive is in /dev/hdd, which you can verify with MUT, the USB icon on your desktop).

You may have to remove a dvd symlink there, but keep it if your drive is a DVD reader/CD writer.

I've tested before the optical drive identification and it works well. The reason it's not working could be because you have a DVD-reader-CD-writer combo drive, or the remaster has been customized to one particular PC. (Let me know the situation in this regard.)

As to enabling saving, I've pointed out in the remaster guide that all you have to do is
Quote:
To enable saving files at shutdown, delete rc.shutdown in /tmp/etc/rc.d and rename rc0.shutdown to rc.shutdown.
The paragraph specifically refers to the time when the /etc directory is about to be added to the remaster.
cdrom_symlink.jpg
 Description   symlink pointing to optical drive
 Filesize   4.74 KB
 Viewed   1435 Time(s)

cdrom_symlink.jpg


_________________
Puppy user since Oct 2004. Want FreeOffice? Get the sfs (English only).
Back to top
View user's profile Send private message 
pistoi0

Joined: 25 Oct 2005
Posts: 112
Location: Hartford, CT

PostPosted: Thu 15 Nov 2007, 23:36    Post subject:
Subject description: No success, yet, to save to CD-R
 

Raffy, thank you for your quick response.
I have followed your instructions without success.
My remaster is open, not customized for my machine.
MUT identifies the following: "hdc Phillips CD-RW/DVD-ROM CDD5263." In the DEV directory I have /dev/cdrom; it is symlinked to /dev/hdd. I also have /dev/dvd; it is symlinked to /dev/hdc.
I get the following error message when I attempt to SAVE TO CD: "/etc/rc.d/rc.shutdown: line 136 growisofs: command not found"
However, Line #136 is present.
Any further instruction will be appreciated.
Back to top
View user's profile Send private message 
raffy

Joined: 25 May 2005
Posts: 4752
Location: Manila

PostPosted: Fri 16 Nov 2007, 00:27    Post subject: saving to CD only  

Thanks for the update. a useful reminder re multisession: save to the same drive where you booted from (which must be the writer drive). And safepup is supposed to be ready only for CD-writer saving. Umm, in fact it is designed not to do saving. Wink

I tried to save to CD in DVD drive and got the same error as yours. So I replaced all instances of if [ "$MEDIATYPE" = "CD" ] with if [ 1 ] and if [ "$MEDIATYPE" = "DVD" ] with if [ 0 ]. Quick and dirty - I hope this Puppy version and your DVD drive will be compatible. Smile IMPORTANT: The first save attempt will display errors then eject the CD. Do nothing, as next it will close the CD then finish the save gracefully. [Why: 'coz multisession is optimized for DVD, not for CD.]

Growisofs is needed for saving to DVD, but you'll have to get it from a standard 2.13*, as the package repository does not have it anymore. The files are in /usr/bin and /usr/share/doc. I attach the growisofs files here for your convenience, and also the updated rc.shutdown.
--------------------------------------------------------------
* Mount the pup_213.sfs with "mount -o loop pup_213.sfs /mnt/here", with /mnt/here created before this command. Then you can search /mnt/here for the required file/s.

Notes re multisession CD burning: Gcombust in Safepup can't prepare/burn CD in multisession, so you will have to use (possibly add) another CD burner, the most common being BurnISO2CD.
rc.shutdown.gz
Description  shutdown script forced to use only CD for saving
gz

 Download 
Filename  rc.shutdown.gz 
Filesize  10.85 KB 
Downloaded  464 Time(s) 
growisofs.zip
Description  required files for DVD burning.
zip

 Download 
Filename  growisofs.zip 
Filesize  26.55 KB 
Downloaded  379 Time(s) 

_________________
Puppy user since Oct 2004. Want FreeOffice? Get the sfs (English only).
Back to top
View user's profile Send private message 
pistoi0

Joined: 25 Oct 2005
Posts: 112
Location: Hartford, CT

PostPosted: Fri 16 Nov 2007, 23:56    Post subject:
Subject description: SUCCESS! Thank you, Raffy
 

Raffy, thanks so much for all your help. I am now able to save to CD-R. I used the additional files which you provided (growisofs and rc.shutdown). They did the trick. There will be many happen students here.
Back to top
View user's profile Send private message 
raffy

Joined: 25 May 2005
Posts: 4752
Location: Manila

PostPosted: Sat 17 Nov 2007, 02:37    Post subject: :)  

You're welcome. Just don't forget to add burniso2cd if you want to burn multisession CDs in the future (gcombust can't handle it in safepup).

Also, growisofs is not needed if you use the modified (attached above) rc.shutdown. It will be useful though if you use 2.13's original rc.shutdown.

If you or some of your students can provide some news or feedback about how safepup helped them (or not Smile ), please send them to . Thanks!

_________________
Puppy user since Oct 2004. Want FreeOffice? Get the sfs (English only).
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [10 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Derivatives
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0585s ][ Queries: 12 (0.0037s) ][ GZIP on ]