Tag: mpd

20 April 2014 » Rune Audio and MPD

Network audio player - Rune Audio

About Rune Audio

AT THE HEART OF YOUR DIGITAL HI-FI SYSTEM

A RuneAudio device places itself in the heart of a digital music system.

It’s a streamer player: it can reproduce your digital music library from local USB drives or network mounts (NAS), and also plays any internet stream (web radios).

It’s an headless player: it can be remotely controlled by multiple clients running on different devices.

It’a a digital player, staying at the top of the audio signal flow chain. It offers perfect and gapless playback of common audio formats, and works best when connected to an asynchronous USB 2.0 DAC.

Music Player Daemon (MPD)

Music Player Daemon (MPD) is a free and open source music player server. It plays audio files, organizes playlists and maintains a music database. In order to interact with it, a separate client is needed.


04 July 2014 » OpenMediaVault NAS

OpenMediaVault

OpenMediaVault is the next generation network attached storage (NAS) solution based on Debian Linux. It contains services like SSH, (S)FTP, SMB/CIFS, DAAP media server, RSync, BitTorrent client and many more. Thanks to the modular design of the framework it can be enhanced via plugins.

OpenMediaVault is primarily designed to be used in home environments or small home offices, but is not limited to those scenarios. It is a simple and easy to use out-of-the-box solution that will allow everyone to install and administrate a Network Attached Storage without deeper knowledge.

Installation Wiki Page

Minimum Requirements

  • i486 or amd64 platform
  • 1 GiB RAM
  • 2 GiB HDD/DOM/CF/USB Thumb Drive used as OpenMediaVault system drive.
  • NOTE: The entire disk is used as system disk. The disk can not be used to store user data.
  • 1 HDD for data storage

Services

  • SSH
  • FTP
  • TFTP
  • NFS (v3/v4)
  • SMB/CIFS
  • RSync

Login information

Once you have installed the system, these are the default access credentials.

WebGUI

  • User: admin
  • Password: openmediavault

Client (SSH, console)

  • User: root
  • Password: set during installation

Installation log

Back up external USB drive from previous FreeNAS

I was unable to read the FreeNAS ufs drive on Ubuntu and gave up.

Boot the install CD and proceed

  • openmediavault_0.5.48_i386.iso

This fails to boot on the Dell Optiplex P4. Fix is to disable serial in Bios settings.

Use SystemRecueCd to wipe partitions on HD.

OpenMediaVault forum - found instruction on loading developer version

Config Details

Add my user to ssh group to allow ssh sessions.


             # usermod -a -G ssh 
            

Desktop side. Entry in /etc/fstab


             //192.168.88.209/media /media/nas1 cifs rw,noperm,noauto,credentials=/home/craig/nas1_craig.txt,uid=craig,sec=ntlmv2 0 0
            

Desktop side. Contents of ~/nas1_craig.txt


             username=manager
             password=ThePassword
             domain=WORKGROUP
            

Server side


             # ls -l /media/6a0bb210-b0fe-46eb-bd64-d5ba0dfab140/
             drwxr-s--- 2 manager users  4096 Jul  7 14:09 Media
            

/etc/samba/smb.conf


              #======================= Global Settings =======================
              [global]
              workgroup = WORKGROUP
              server string = %h server
              dns proxy = no
              log level = 0
              syslog = 0
              log file = /var/log/samba/log.%m
              max log size = 1000
              syslog only = yes
              panic action = /usr/share/samba/panic-action %d
              encrypt passwords = true
              passdb backend = tdbsam
              obey pam restrictions = yes
              unix password sync = no
              passwd program = /usr/bin/passwd %u
              passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
              pam password change = yes
              socket options = TCP_NODELAY IPTOS_LOWDELAY
              guest account = nobody
              load printers = no
              disable spoolss = yes
              printing = bsd
              printcap name = /dev/null
              unix extensions = yes
              wide links = no
              create mask = 0777
              directory mask = 0777
              use sendfile = yes
              aio read size = 16384
              aio write size = 16384
              null passwords = no
              local master = yes
              time server = no
              wins support = no
              map untrusted to domain = yes
              
              #======================= Share Definitions =======================
              [Media]
              comment = Nas1 Media Share
              path = /media/6a0bb210-b0fe-46eb-bd64-d5ba0dfab140//Media
              guest ok = no
              read only = no
              browseable = yes
              inherit acls = yes
              inherit permissions = no
              ea support = no
              store dos attributes = no
              printable = no
              create mask = 0755
              force create mode = 0644
              directory mask = 0755
              force directory mode = 0755
              hide dot files = yes
              valid users = "manager","player",@"player"
              invalid users = 
              read list = "player",@"player"
              write list = "manager"
            

05 July 2014 » Used PC for OpenMediaVault

I give up on the Dell Optiplex GX260 P4. Time to get a better used PC for OpenMediaVault (NAS for Rune Audio MPD)

Research

MSI Hetis 965