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 Sat 23 Aug 2014, 03:54
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
Fatdog64-500 final
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 16 of 20 [290 Posts]   Goto page: Previous 1, 2, 3, ..., 14, 15, 16, 17, 18, 19, 20 Next
Author Message
moB

Joined: 19 Oct 2009
Posts: 116
Location: Coastal

PostPosted: Wed 13 Oct 2010, 22:37    Post subject: Re: Pet for FatDog
Subject description: Alpine 2.00 pet for Fatdog64
 

moB wrote:
Please help yourself to our pet of Alpine 2.00 text-based news & email client.



John Murga seems to have run out of disc space!

Maximum size on uploads is now 0 (yes, zero) bytes Rolling Eyes

Look here: http://ieinc.ca/Magnus/logo/alpine-2.00.pet

It has the usual Puppy login/password.

If using wget:
wget -c http://puppy:linux@ieinc.ca/Magnus/logo/alpine-2.00.pet

Smile

moB
Back to top
View user's profile Send private message 
moB

Joined: 19 Oct 2009
Posts: 116
Location: Coastal

PostPosted: Sun 17 Oct 2010, 23:16    Post subject:    

kirk wrote:
rian,

Firefox normally runs as user spot in Fatdog64, so can only write to folders owned by spot (spot, Downloads). To run as root open a terminal and type firefox or drag /usr/bin/firefox to the desktop.

.


You've really had to work this point in the forum!

Let's have bit of a go at it, then. Here's my experience, in case it helps anyone out there.

I prefer to put downloads outside the personal save file on the actual harddrive.

Namakura (aka firefox) does not use symlinks to directory outside of spot.
Symlinks are not seen as links, but as files. Mounted drives are also refused. This applies to up and down loads.

My workaround is to have a script (movit):

# #!/bin/sh
# if ls /root/spot/Downloads/* 1> /dev/null 2>&1; then
# mv /root/spot/Downloads/* /mnt/home/fd64-500/Downloads/
# echo Moved Spot\'s \/Downloads to fd64-500\/Downloads -- outside pupsave.
# else echo No files to move in Spot\'s \/Downloads at this time.
# fi
# exit

[nb. each line has been prefixed with a hash mark. Remove leading # to use code.]

It resides in /usr/bin and can work from /root/my-applications/bin, too.

I call movit from the CLI and /etc/rc.d/rc.shutdown (after script displays shutdown message). Thus downloads can be moved manually or left to be moved at shutdown automatically.
From the terminal it gives a message explaining what it did.
The result message is suppressed by the "less verbose" line at the top of rc.shutdown so won't clutter your shutdowns.

This 'solves' a downloads issue, not the uploads difficulty.
Perhaps there's even a better way to direct downloads outside of the personal save file?


I strongly support sandboxing web-browsers, especially graphical multimedia browsers.
I would try to copy the method when installing browsers in Puppy everywhere.

Kind regards,
moB
Back to top
View user's profile Send private message 
moB

Joined: 19 Oct 2009
Posts: 116
Location: Coastal

PostPosted: Sun 17 Oct 2010, 23:21    Post subject:    

kirk and jamesbond:

Yeah, the praise is almost getting boring, but let me add my voice to the crowd.
Tip 'o the hat to you gents. Great job. Gotta love FD Exclamation

Love the snappy performance on the old AMD 64. Much better than the 32 bit XP that I inherited with it... and now there's sound!

Magnus said he finally played DOOM (in dosbox) the way it was meant to play.

As with all new setups I am having a few problems, or rather unexplained complexities. So I ask your indulgence as I try to "pick your brains" & get this Puppy into top form.




1. Currently trying to get ffmpeg to run. Gives error:

Quote:
ffmpeg: error while loading shared libraries: libvpx.so: cannot map zero fill pages: cannot allocate memory


Haven't worked on this enough to figure out what's up.
Memory (RAM) shortage? Installed components in wrong order?
Usually considered good practice to install after all shared libraries.

Quick summary:
I just clicked from top to bottom of ibilio directory.
Ran ffmpeg once before all installed. Completed install. Same sort of error. Tried reinstalling that pet. Nada.




2. No joy NAT masquerading.
Am trying to do internet sharing through a crossover cable. XP can do it Surprised
Tried what seems to work for others, but...

Do I need to set the NICs to use static DNS? Now set to use DHCP.


See:
http://www.murga-linux.com/puppy/viewtopic.php?t=38472
http://www.murga-linux.com/puppy/viewtopic.php?t=18129

http://www.linuxsolved.com/linux-forums/linux-tutorials-how-tos/internet-sharing-in-linux-nat-how-to-t115.0.html

Seems like a beginner's level problem, but I ask to be sure this is confirmed to work in fatdog64.




3. In a similar vein, setting up file sharing has not yet suceeded.
How about file sharing? That's the next little mountain to tackle.
I used the interface in root, but nothing more.

We need to share between linux and XP boxes on the LAN.


If I should be better served asking these questions elsewhere, please feel free to tell me where to go Wink

Thanks for reading this, and twice for any tips and help you have!
moB


Wrinkles should merely indicate where
smiles have been.

-- Mark Twain
Back to top
View user's profile Send private message 
kirk

Joined: 11 Nov 2005
Posts: 1399
Location: florida

PostPosted: Mon 18 Oct 2010, 12:42    Post subject:  

Quote:
I prefer to put downloads outside the personal save file on the actual harddrive.


When you shutdown the first time and create a save file you should be asked if you want to move the Downloads folder to the same place as your save file.


Quote:
1. Currently trying to get ffmpeg to run. Gives error:

Quote:
ffmpeg: error while loading shared libraries: libvpx.so: cannot map zero fill pages: cannot allocate memory


Haven't worked on this enough to figure out what's up.
Memory (RAM) shortage? Installed components in wrong order?
Usually considered good practice to install after all shared libraries.

Quick summary:
I just clicked from top to bottom of ibilio directory.
Ran ffmpeg once before all installed. Completed install. Same sort of error. Tried reinstalling that pet. Nada.


I haven't had that error. Ffmpeg is included, you don't need to install a pet package, or does this error occur after installing some particular pet package?

Quote:
2. No joy NAT masquerading.
Am trying to do internet sharing through a crossover cable. XP can do it Surprised
Tried what seems to work for others, but...


I haven't did that in Fatdog64. It's been may years since I've tried, can't help with that one.


Quote:
3. In a similar vein, setting up file sharing has not yet suceeded.
How about file sharing? That's the next little mountain to tackle.
I used the interface in root, but nothing more.

We need to share between linux and XP boxes on the LAN.


That's usually done with Samba, but there is no Samba package for Fatdog at this time. You could install NFS services on Windows. The easiest way to move files around is FTP. Go to menu-Network-PureFTPd and run that. Then from a web browser on another computer type ftp://192.168.1.200 (If 192.168.1.200 is the ip address of the computer running PureFTP.). You can login as root with the default password of woofwoof. You can change the root password by opening a terminal and typing passwd. For some reason Firefox doesn't include an upload option for FTP, but you can add it by going to this page:

http://www.wg9s.com/mozilla/firefox/extensions/ftpupload/

and installing that add-on.

I think I'll include that add-on in Fatdog64-510. I'm testing 510 right now. It will include kernel 2.6.35.7, Xorg-server 1.9 and Mesa 7.8.2.
Back to top
View user's profile Send private message 
moB

Joined: 19 Oct 2009
Posts: 116
Location: Coastal

PostPosted: Wed 20 Oct 2010, 20:28    Post subject: Downloads  

kirk wrote:


When you shutdown the first time and create a save file you should be asked if you want to move the Downloads folder to the same place as your save file.



kirk,

Yes, this did occur, but doesn't function as intended. Firefox refuses to use it, hence a workaround

Something's up. Interesting--too interesting Confused

moB
Back to top
View user's profile Send private message 
moB

Joined: 19 Oct 2009
Posts: 116
Location: Coastal

PostPosted: Wed 20 Oct 2010, 21:35    Post subject: ffmpeg  

[quote="kirk"]
Quote:
1. Currently trying to get ffmpeg to run. Gives error:

Quote:
ffmpeg: error while loading shared libraries: libvpx.so: cannot map zero fill pages: cannot allocate memory

<deleted>

I haven't had that error. Ffmpeg is included, you don't need to install a pet package, or does this error occur after installing some particular pet package?



kirk,

Use ffmpeg on mint and debian, so getting it to work on FD is really just about wanting things to be right.

Done a fair amount of searching for an answer. Someone suggested that such an error reflects a failure to load shared libraries into memory.
How much RAM is needed to run ffmpeg under FD? (We're already compiled!)

Thought it may have been a file corruption during or from copy of FD's main file.
Checked the md5sum & iso is correct. Good, so far...

I tried reinstalling from the ibilio original pets.
No--already installed.

Booted from the CD with 'pfix=fsck,clear' to restore good "official" copies.
Same error persists.

What next? Should I kill the personal savefile and start again? (After backing up user data!)

Something is "hinkey" and it gets at me. I could use mint or debian lxde, but this old box likes FD best, and so do we.

This is great! Always a beginner, so much to learn Laughing

moB



FD is frugal installed in a subdir (ntfs) and boots with grub4dos.
System info: AMD Athalon 64 3000+, 508 MB RAM


ps. we like to use fflink script to format images for ffmpeg (jpegs to mpeg):

1. Put subdir in image folder.
2. Change to it and run fflink--symlinks to images are made with sequential names.
(Some filtering can be done by editing script.)
3. Run ffmpeg on links.


Images can be reused without copies piling up.

No need to lose your original filenames.

The framerate can be treated as a base rate by copying duplicates of the links... some images can then last longer on the screen.

Code:

 #!/bin/sh
 #      This will make a set of symlinks to files in directory
 #      one level up continuously from screen001.jpg ...
 #      The total is displayed on the terminal command prompt.
 #      The script handles up to 999 images.
 #
 #   Then you say something like
 #      ffmpeg -r .2 -i screen%03d.jpg outputmovie.mp4
 #   or
 #    ffmpeg -r 1 -b 1800 -i screen%03d.jpg output.mp4
 #
 # nb. Fails when space exists in fullpath (path or filename).
 #   moB 16 Oct 2010
 
  no=0
 
 # edit this line to select files: S1* or *.jpg ...
  for f in ../*.jpg; do
  no=$((no+1)); linkname=donna_ivy
 
  if [ "$no" -lt "10" ] ; then linkname=${linkname}00
  elif [ "$no" -lt "100" ] ; then linkname=${linkname}0
  fi
 
  ln -s $f ${linkname}${no}.jpg
 
 # hardlink
 # ln $f screen00${no}.jpg
 # symbolic
 # ln -s $f screen00${no}.jpg
 
  done
  echo Total files linked\: $no ; echo
  exit




Edited to make script easier to copy-->more usable.
moB 23 mars 2011
.

Last edited by moB on Thu 24 Mar 2011, 05:10; edited 2 times in total
Back to top
View user's profile Send private message 
moB

Joined: 19 Oct 2009
Posts: 116
Location: Coastal

PostPosted: Wed 20 Oct 2010, 21:57    Post subject: NAT masq, Samba, FTP  

kirk wrote:

Quote:
2. No joy NAT masquerading.
Am trying to do internet sharing through a crossover cable. XP can do it Surprised
Tried what seems to work for others, but...


I haven't did that in Fatdog64. It's been may years since I've tried, can't help with that one.

<deleted>

That's usually done with Samba, but there is no Samba package for Fatdog at this time.

<deleted>

I think I'll include that add-on in Fatdog64-510. I'm testing 510 right now. It will include kernel 2.6.35.7, Xorg-server 1.9 and Mesa 7.8.2.


kirk,

the NAT thing should work once I get all in order.

Think this reference will give the needed information:

http://comptechdoc.org/os/linux/usersguide/linux_ugipmasq.html

http://comptechdoc.org/os/linux/usersguide/linux_ugsamba.html

Although based on Redhat 6 users' experience it looks useful to us.

Samba install/setup looks intimdating Very Happy

Will try FTP first.

Thanks so much for your help.

moB

ps testing FD 510 already--wow!


"Even if I am the main support person
here I still am a relative newcomer to
Linux, so sometimes I have to take one
or two steps more than the "'real guru'"

Husse Nov 6 2007
Back to top
View user's profile Send private message 
kirk

Joined: 11 Nov 2005
Posts: 1399
Location: florida

PostPosted: Thu 21 Oct 2010, 18:08    Post subject:  

Quote:
Yes, this did occur, but doesn't function as intended. Firefox refuses to use it, hence a workaround


It does work, unless you have a folder named Downloads before trying, then something doesn't link up right.

Quote:
I tried reinstalling from the ibilio original pets.
No--already installed.


What pets? FFmpeg comes installed. There was a folder in the pets directory with ffmpeg stuff that I should have deleted (and now I have). If you grabbed those, sorry for the confusion, and you'll need to make a new save file (and delete your Downloads folder if you want that to work Smile. I just downloaded a mp4 file and converted it to Ogg/Theora/Vorbis, no problem.

I've attached Transcoder 0.0.5, this wil be in 510. It's a gui for ffmpeg. Just unzip it and click on it.
Transcoder.gz
Description 
gz

 Download 
Filename  Transcoder.gz 
Filesize  20.22 KB 
Downloaded  313 Time(s) 
Back to top
View user's profile Send private message 
moB

Joined: 19 Oct 2009
Posts: 116
Location: Coastal

PostPosted: Thu 21 Oct 2010, 19:18    Post subject:  

kirk wrote:
Quote:
Yes, this did occur, but doesn't function as intended. Firefox refuses to use it, hence a workaround


It does work, unless you have a folder named Downloads before trying, then something doesn't link up right.

Quote:
I tried reinstalling from the ibilio original pets.
No--already installed.


What pets? FFmpeg comes installed. There was a folder in the pets directory with ffmpeg stuff that I should have deleted (and now I have). If you grabbed those, sorry for the confusion, and you'll need to make a new save file (and delete your Downloads folder if you want that to work Smile. I just downloaded a mp4 file and converted it to Ogg/Theora/Vorbis, no problem.

I've attached Transcoder 0.0.5, this wil be in 510. It's a gui for ffmpeg. Just unzip it and click on it.



Thank you kirk!
Back to top
View user's profile Send private message 
moB

Joined: 19 Oct 2009
Posts: 116
Location: Coastal

PostPosted: Sun 24 Oct 2010, 02:44    Post subject: Samba (& fflink)  

kirk,

am looking into Samba-TNG-rcrsn for FD.

http://murga-linux.com/puppy/viewtopic.php?t=60204&start=15

moB

ps.

Also here's a bit more for any users of fflink script.

Quote:
# nb. Fails when space exists in fullpath (path or filename).


To get around this limitation make a working dir and mount.

eg.

# mkdir /mnt/home/fd64-500/ffwork
# mount --bind "/mnt/home/Documents and Settings/All Users/Documents/Pictures/" /mnt/home/fd64-500/ffwork
# cd /mnt/home/fd64-500/ffwork

Now fflink should work with the images in Pictures.

Don't forget to unmount when done, especially if your working dir is in the personal savefile!

# cd
# umount /mnt/home/fd64-500/ffwork
Back to top
View user's profile Send private message 
moB

Joined: 19 Oct 2009
Posts: 116
Location: Coastal

PostPosted: Mon 25 Oct 2010, 18:39    Post subject:  Samba-TNG
Subject description: samba-tng-0.5.0-rc1-x86_
 

Quote:
I could get Samba 3.x going without too much problems, but it's huge. I have to admit that I don't know squat about Samba, so I may had something screwed up in the conf file. That code looks pretty old too, so I wasn't sure. if one of you guys have success with Samba-tng as a server in Fatdog64, I'd like to know. I'm working on Fatdog64-510 right now and it's about ready.


kirk,

Yes. Looking at the latest release of Samba looks HUGE.
Samnba-TNG is smaller and newer--looks better suited to most users.

Had no trouble compiling and starting it:

Code:


# Start samba
# /usr/local/samba/sbin/smbd -D
# /usr/local/samba/sbin/nmbd -D

# Stop samba
# killall -15 smbd nmbd

# Restart Samba (re-read its configuration files), send SIGHUP signal:
# killall -HUP smbd nmbd



However, as you know, the config is something else.

Made /usr/local/samba/etc/smb.conf

Had no success with 32 bit scripts from rcrsn yet.
http://murga-linux.com/puppy/viewtopic.php?t=60204

Trying these simple setup instructions:
http://www.oregontechsupport.com/samba/connect.php
Link to more from:
http://www.oregontechsupport.com/samba/


I can see the FD box on the LAN now, but still "no hosts" in Gigolo [Mint].

Maybe if others play with this pet something can be made to work?

Best wishes,
moB

"I'm a whale, not a net-tech."
samba-tng-0.5-rc1-x86_64.pet
Description 
pet

 Download 
Filename  samba-tng-0.5-rc1-x86_64.pet 
Filesize  1.89 MB 
Downloaded  304 Time(s) 
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9040
Location: Stratford, Ontario

PostPosted: Mon 25 Oct 2010, 19:10    Post subject:  

I finally got samba-tng compiled in Fat Dog myself. The server is running, but there is some kind of firewall effect that keeps it from advertising its shares to clients.

I can't see anything different from regular Puppies that would cause this.
Back to top
View user's profile Send private message 
kirk

Joined: 11 Nov 2005
Posts: 1399
Location: florida

PostPosted: Mon 25 Oct 2010, 23:13    Post subject:  

Quote:
I finally got samba-tng compiled in Fat Dog myself. The server is running, but there is some kind of firewall effect that keeps it from advertising its shares to clients.


I had the same problem, but Samba 3.x does work. I wonder if Samba-tng has problems with 64 bit.
Back to top
View user's profile Send private message 
kirk

Joined: 11 Nov 2005
Posts: 1399
Location: florida

PostPosted: Tue 26 Oct 2010, 00:10    Post subject:  

I posted the 64bit question on the Samba-tng forum. I'm not real hopeful, the project looks pretty dead.
Back to top
View user's profile Send private message 
Jim1911

Joined: 19 May 2008
Posts: 2455
Location: Texas, USA

PostPosted: Tue 26 Oct 2010, 17:33    Post subject: LibreOffice  

Hi Kirk,

The open-source office productivity suite under the name "LibreOffice," is developed by The Document Foundation." This group broke away from OpenOffice.org and this beta is probably equivalent to OpenOffice.org's new beta.

I have prepared a 64bit, LibreOffice_3.3.0_beta2_64_sfs4.sfs, that works fine on Fatdog. I believe that you will find it as good or better than Go OpenOffice. In any event, it's another fine 64bit addition.

Download deb here. PM me if you'd like me to upload it.

Thanks again for FATDOG-500,

Jim
desktop.png
Description  LibreOffice start center
png

 Download 
Filename  desktop.png 
Filesize  581.64 KB 
Downloaded  340 Time(s) 
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 16 of 20 [290 Posts]   Goto page: Previous 1, 2, 3, ..., 14, 15, 16, 17, 18, 19, 20 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
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.1240s ][ Queries: 12 (0.0072s) ][ GZIP on ]