Puppy Linux Blog


This Blog:
PRITLOG is an extremely simple, small and powerful blog system. 
Just drop Pritlog into your server and it starts running. No separate installation is required. The basic idea is derived from a similar app called PPLOG.


Users Online: 1
Hits: 107268


To find IP addresses accessing your computer:

# netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n

Author: admin -  Date: 16 Apr 2016 06:15
Category: netstat -  Visits: 10

No Comments - Edit - Delete


These are the two programs of choice when playing and serving large music collections.

I am currently up to almost 9,000 songs and counting.

This post will describe my setup and config files.

Author: admin -  Date: 16 Mar 2014 12:39
Category: music -  Visits: 500

1 Comments - Edit - Delete

Mediatomb and UPnP

Puppy linux and Mediatomb Media Server for DLNA and UPnP

The following is for Mediatomb Version 12
I usually create .pets for easy removal if unwanted

autoconf > 2.6 is required

make install DESTDIR=/root/test/autoconf-2.65

Download Mediatomb:
svn co http://svn.mediatomb.cc/svnroot/mediatomb/trunk/mediatomb mediatomb

cd to mediatomb directory and:
autoreconf -i
make install DESTDIR=/root/test/mediatomb

Install mediatomb.pet
make sure /root/.mediatomb/config.xml points to /usr/local/share/mediashare not /usr/share/mediatomb

in console:

it should tell you which port it's running on.

access with localhost:[port]/ in your browser

For great trancoding tips, see: http://mediatomb.cc/dokuwiki/transcoding:transcoding

mp3's are playing, video is choppy

Author: admin -  Date: 18 Dec 2011 04:39
Category: mediatomb -  Visits: 4259

5 Comments - Edit - Delete

webcam screenshots

Using ffmpeg with webcam

take one image per second
-r 1
to take images for 3 seconds
-t 3

so this will give you 3 jpegs in your root directory at vga resolution

ffmpeg -y -r 1 -t 3 -f video4linux2 -s vga -i /dev/video0 ~/camshot%d.jpeg

similarly here is a cheap way to capture webcam video:

rxvt +sb -bg orange -geometry 80x2 -e ffmpeg -y -f oss -i /dev/audio -f video4linux2 -s qvga -i /dev/video0 ~/a.avi

Using mplayer with webcam

changing -frames to different values changes number of screenshots.

mplayer -fps 1 tv:// -tv driver=v4l2:device=/dev/video0:width=320:height=240:outfmt=rgb24 -frames 5 -vo jpeg

Author: admin -  Date: 18 Dec 2011 04:25
Category: ffmpeg -  Visits: 2105

1 Comments - Edit - Delete

Telnet and email

Open a connection from your computer to your mail server.
telnet mail.domain.ext 110

You should receive a reply like:
Trying ???.???.???.???...
Connected to mail.domain.ext.
Escape character is '^]'.
+OK ready

Then log in:
USER username

This should give you:
+OK Password required for userName.

Now give your password:
PASS password

Should yield:
+OK userName has ? visible messages (? hidden) in ????? octets.

To see a list of your emails awaiting collection use the LIST command, this will also show you the id number of your messages (e.g. 1 or 2 etc.)

To view the contents of an email type RETR + the id number of the message (e.g RETR 1).

To delete a message use DELE + the id number of the message (e.g DELE 1).

To leave your mailbox and close the connection use QUIT

Author: admin -  Date: 18 Dec 2011 04:21
Category: email -  Visits: 3110

No Comments - Edit - Delete

Pages: [1] [2] [3]