|
OpenBSD MP3 Player
GANEŠ ŠIVA ATLANTIS ANARCHYSLOVAK LANGUAGEAlthough this is a FreeBSD website, I like OpenBSD too. As I developed a One Floppy MP3 Player based on OpenBSD 4.1, I'd like to share some information about it. 1FCD-OpBSD-1.0 or Karma BSD is a One Floppy OpenBSD MP3 Player with functionality to mount NTFS, UDF (DVD, CDROM, external ones too), EXT2FS, NFS, MFS, MSDOS filesystems and play MP3 tracks, but also copy files from any disk to any disk if you have an old notebook (or desktop computer) 1FCD-OpBSD aka Karma BSD, Copyright (c) George Sipos, March 2008 My one floppy projects are all available in one multiboot ISO image, which can be downloaded here (I thank www.rootbsd.net for giving me space on their servers). MAHESHAOPENBSD SERVER (with WordPress running without any additionl installation) is now available (released on April 5, 2013). Installation The diskette image is in the Zip format; it must be unpacked and written to a floppy using this command (FreeBSD, Linux: /dev/fd0; OpenBSD: /dev/fd0a): dd if=karmabsd.img of=/dev/fd0a or you can use the rawrite.exe utility, which can be found on many Unix sites; it is also included in the 1FCDBSD package (One Floppy CD Audio and MP3 Player). You can also use utilities like Winimage. As I found some incompatibilities between DOS, Windows 98 and Windows XP, try rawwritewin.exe if you use Windows XP/W2K/W3K and rawrite.exe for Windows 98 only. Winimage should work everywhere. How to use 1FCD-OpBSD-1.0 or WHAT IS KARMA BSD? One Floppy OpenBSD MP3 Player or 1FCD-OpBSD aka Karma BSD is a small system that fits on one floppy and plays MP3 files over network (NFS), or in mounted drives. This is a quickstart howto - tips how to use this software. If you are looking for a comprehensive help, this is not the right place to start (to learn about OpenBSD, please read its manuals and howtos). Several years ago I started 1FCDBSD-1.0,
which is the same thing as Karma BSD; however, 1FCDBSD
is a FreeBSD 4.5 system and thus a bit old. 1FCDBSD supports
playing Audio CD's, Karma BSD does not. But Karma BSD
is built upon a newer version of OpenBSD and it has therefore a better
support for audio cards. Karma BSD is a simple One Floppy
MP3 player which can be parallelly used for more purposes - as it
has a network support, you can mount a NFS volume of a remote computer
and play MP3 files with it remotely; its memory file system (MFS)
can be adjusted with /mybin/resizetmp script, just type: more
/mybin/resizetmp to see the syntax. MINIMAL REQUIREMENTS 386 Processor and 8 MB RAM, no hard disk is necessary. However, this configuration may have many problems and this is not any weak point of Karma BSD when such an old computer will not work. MP3 is a unique compression that requires a good processor for decompression, usually Pentium 133 is absolutely the best minimal choice to use. I tested KarmaBSD on Toshiba 220 CS notebook (48 MB RAM, 133 MHz Pentium), Compaq notebook (200 MHz Pentium, 64 MB RAM), IBM T23 notebook (1 GHz Pentium III and 256 MB RAM) and several desktop computers where it worked.
HOW KarmaBSD WORKS 1FCD-OpBSD (KarmaBSD) uses mpg123-059r
version, which is compiled statically. mpg123 has many options,
but look elsewhere for tips and tricks. All you need to do with Karma
BSD is to mount a disk (USB; UDF:
CDROM/DVD, ISO9660: CDROM/DVD; NTFS; EXT2FS;
FAT MSDOS file systems; NFS file system), and then type
"mpg" (or "1" or "2"),
which is a script (actually three scripts: "mpg", "1",
"2") in /mybin directory; it creates a playlist in
/tmp from MP3 files mounted in /mnt2 (the command "1"
mounts a CD to /cdrom and "2" to /cdrom2).
There are also /mnt3 and /mnt4 directories. With such a unique mounting
ability, this floppy can also be used as an installation tool for notebooks
with broken CDROMs - even very old notebooks have USB ports but they
often appear without a functional or with a broken CDROM drive. How
to install a system to such a notebook? OpenBSD installation floppy
does not support NTFS or EXT2FS filesystems, so 1FCD-OpBSD is the best
solution to copy anything from a USB stick to your notebook's hard disk
(use the "cp -R" command for this, example is bellow). Do not use newfs, disklabel or fdisk commands if you are not an experienced Unix user. This system is intended for use with older computers and inappropriate use of its commands may result in data loss. First backup and then study documentation for the above commands (newfs, fdisk, disklabel). After the computer starts, you may take the floppy out and mount another one. On the picture above you see Karma BSD playing Hindu mantras through serial console in the Windows environment by means of Putty (software that allows you to login into remote computers) - thus, with KarmaBSD anybody may also access any computer (notebook preferably) with a broken display or keyboard (keyboard should at least allow you to type the command: set tty com0 as soon as you see KarmaBSD's boot prompt). KarmaBSD is also helpful for recovery of data from broken notebooks!!! If your notebook's display does not work, controlling it remotely (via Putty or Unix commands) means that you can save your notebook's data. TIPS
|