Jump to content
  • The Computer Audiophile
    The Computer Audiophile

    Geek Speak: How To Build A BeagleBone Black MPD Music Server

    thumb.jpgWarning the following article contains some geeky stuff. What follows is a step by step guide to building a tiny 2.4" x 0.82" x 3.54" Linux music server. It's not rocket science and the instructions make the process fairly easy, but the article isn't for everybody. Thanks to CA readers K-man and Richard Dale for additional information and tweaks for setting up the BeagleBone Black so it runs great. Please note there are many ways to setup and configure the BBB. This is just one way using either Mac OS X or Windows. Readers are encouraged to leave comments with additional tips, tricks, and tweaks. I will update this article accordingly.[PRBREAK][/PRBREAK]

     

    1-Pixel.png

     

     

     

    1-Pixel.png

     

     

    opening.jpg

     

     

     

    1-Pixel.png

     

     

     

     

    Introduction

    The new $45 BeagleBone Black motherboard has excited many computer audio entusiasts. This tiny board has enough power and ports to run a Linux based MPD music server. In addition, Logic Supply has released a new BeagleBone Black case in a very cool orange color as well as a more traditional black. The case is made specifically for the BBB. All the ports line up perfectly and the finished product with BBB inside looks really neat. I attached the four rubber feet to the bottom of my Logic Supply case and the BBB sits nicely on any of my audio components without scratching itself or the other device. The case is made of sturdy metal, unlike the plastic options available heretofore. If you have a BBB or are going to pick one up I'd pick up the Logic Supply case as well.

     

    bbb-board.jpg

     

     

    1-Pixel.png

     

     

    Here is a list of requirements and step by step instructions for the BBB-MPD server running Linux from the built-in eMMC flash drive.

     

     

     

    Requirements:

     

     

     

    1-Pixel.png

     

     

    Step By Step Mac

     

    - Connect the MicroSD card using an adapter to a Mac or PC.

    - Open Disk Utility (Applications > Utilities > Disk Utility), select select all volumes under the MicroSD card, then select Unmount. In my example the volume is named 8GB. (Image Link ex.png)

    - Install The Unarchiver (App Link ex.png)

    - Download the Debian Wheezy image (Direct Link ex.png). During the download if asked a question about the file extension .img or .xz, click "Use .xz" (Image Link ex.png)

    - Double-click the downloaded Debian Wheezy image. This will open The Unarchiver and automatically extract the needed image file (BBB-eMMC-flasher-debian-7.4-2014-03-27.img)

    - Open the Terminal app (Applications > Utilities > Terminal)

    - Type -> sudo su (without the arrow ->)

    - Enter your password if asked.

    - Type -> diskutil list

    - Take note of the disk number of the MicroSD card connected to your computer. My MicroSD card is listed as /dev/disk1. The MicroSD card should be easily identifiable by its small size. My MicroSD card is listed as 7.9 GB (Image Link ex.png)

    - Type -> sudo dd if=

    - Drag the Debian Wheezy image file on to the Terminal window to automatically fill in the path to the file (Image Link ex.png) You can also type this in manually if desired.

    - After dropping the image file on to the Terminal window the command line should read something like this >> dd if=/Users/chris/Desktop/BBB-eMMC-flasher-debian-7.4-2014-03-27.img (Image Link ex.png).

    - Make sure there is a single space after the path to the Debian Wheezy image file entered in the previous steps.

    - Type -> of=

    - Then enter the disk number of your MicroSD card. In my case this is /dev/disk1

    - The text should look something like this of=/dev/disk1 (Image Link ex.png).

    - Make sure there is a single space after the path to your MicroSD card entered in the previous steps.

    - Type -> bs=1m

    - The entire line should now look something like this >> dd if=/Users/chris/Desktop/BBB-eMMC-flasher-debian-7.4-2014-03-27.img of=/dev/disk1 bs=1m

    - Here is an image of my Terminal (Image Link ex.png)

    - Hit Enter on your keyboard and wait for the image to be written to the MicroSD card. This will take several minutes and appear like your computer is stuck. Please wait for the command to finish.

    - Once the image has been written to the MicroSD card the Terminal window will list something like this

    700+0 records in

    700+0 records out

    734003200 bytes transferred in 393.606273 secs (1864816 bytes/sec) (Image Link ex.png)

    - If you receive an error message stating "Resource busy" (Image Link ex.png) you likely skipped step 2. Please unmount the volume and try again.

    - Open Disk Utility (Applications > Utilities > Disk Utility), select the MicroSd card, click Eject or Eject Disk via the right-click menu.

    - Place the MicroSD card into the BeagleBone Black's MicroSD card slot.

    - Hold down the small Boot Switch / Button ex.png while connecting the power supply to the board.

    - As soon as one of the User LEDs illuminates, release the Boot Switch / Button.

    - The User LEDs should continue flashing while the MicroSD card image is copied to the on-board eMMC flash memory. The process should take about five minutes.

    - When all four User LEDs are illuminated steady, pull the power supply from the board and remove the MicroSD card.

    - Connect an Ethernet cable to the board and re-connect the power supply.

    - The BeagleBone Black will boot into Debian Linux.

    - Install the LanScan application from the App Store Link ex.png

    - Open LanScan and click Lan your Scan.

    - Once the network scan has completed locate the BeagleBone Black's IP address. The vendor will be listed as Texas Instruments. My BeagleBone Black's IP address is 10.0.1.179 (Image Link ex.png)

    - Open the Terminal app (Applications > Utilities > Terminal)

    - Type -> sudo su

    - Enter your password if asked.

    - Type -> ssh root@

    - After the @ symbol type the IP address of your BeagleBone Black and hit enter. Mine looks like this ssh [email protected] (Image Link ex.png)

    - You should receive a message about the authenticity of the of and the RSA key fingerprint. Type the entire word YES and hit enter.

    - You'll then be asked for the root password to login to the BeagleBone Black. Enter root as the password.

    - Here is an image of the entire login sequence (Image Link ex.png)

    - From here the Mac OS X and Windows configuration is the same because the work is done on the BeagleBone Black. Skip to the BeagleBone Black OS configuration.

     

     

     

     

     

     

     

    Step By Step Windows

     

    - Connect the MicroSD card using an adapter to a Mac or PC.

    - Install 7-Zip Link ex.png

    - Install Win32 Disk Image Link ex.png

    - Download the Debian Wheezy image (Direct Link ex.png).

    - Right-click the downloaded Debian Wheezy image. Select 7-Zip in the right-click menu, then select Extract Here. The file BBB-eMMC-flasher-debian-7.4-2014-03-27 will appear next to the downloaded image when the extraction is complete. (Image Link ex.png)

    - Open Win32 Disk Imager

    - Make sure the MicroSD card drive letter is selected under Device (Image Link ex.png)

    - Select the small folder to the left of the Device drive letter and browse to the file extracted using the 7-Zip program. You will need to click the drop-down arrow above the Cancel button (lower right) and select *.* to show all files (Image Link ex.png). (The Debian Wheezy image is extract without the .img file extension). Once *.* is selected you can select the file BBB-eMMC-flasher-debian-7.4-2014-03-27 that was extracted using the 7-Zip program. Don't select the .xz compressed file. (Image Link ex.png)

    - Click the Write button and Yes to any popup questions.

    - Eject the MicroSd card when Win32 Disk Imager finishes writing the image.

    - Place the MicroSD card into the BeagleBone Black's MicroSD card slot.

    - Hold down the small Boot Switch / Button ex.png while connecting the power supply to the board.

    - As soon as one of the User LEDs illuminates, release the Boot Switch / Button.

    - The User LEDs should continue flashing while the MicroSD card image is copied to the on-board eMMC flash memory. The process should take about five minutes.

    - When all four User LEDs are illuminated steady, pull the power supply from the board and remove the MicroSD card.

    - Connect an Ethernet cable to the board and re-connect the power supply.

    - The BeagleBone Black will boot into Debian Linux.

    - Download the PuTTY application Link ex.png

    - Download the Advanced IP Scanner application Link ex.png

    - Open Advanced IP Scanner and click the Scan button.

    - Once the network scan has completed locate the BeagleBone Black's IP address. The manufacturer will be listed as Texas Instruments. My BeagleBone Black's IP address is 10.0.1.179 (Image Link ex.png)

    - Open the PuTTY application and enter the IP address of your BeagleBone Black. I've entered 10.0.1.179 (Image Link ex.png)

    - Click Open, then click Yes to the PuTTY Security Alert (Image Link ex.png)

    - Enter root at the login prompt (Image Link ex.png)

    - Enter root as the password.

    - The screen should look like this (Image Link ex.png)

    - From here the Mac OS X and Windows configuration is the same because the work is done on the BeagleBone Black. Skip to the BeagleBone Black OS configuration.

     

     

     

     

     

     

    BeagleBone Black OS configuration.

     

    After using PuTTY or the OS X Terminal app to connect via SSH to the BeagleBone Black you'll need to run several commands to update and configure the BBB as an MPD server.

     

    - Type -> apt-get update

    - Hit Enter and wait for the update to complete.

    - Type -> apt-get upgrade -y

    - Hit Enter and wait for the upgrade to complete.

    - Type -> reboot

    - Hit Enter and wait for the BBB to restart

    - Reconnect to the BBB via SSH using PuTTY or OS X Terminal app as described above.

    - Type -> apt-get install mpd ncmpc alsa-base cifs-utils -y

    - Wait for the installation to complete.

    - Type -> apt-get remove apache2 -y

    - Wait for the removal to complete.

    - Type -> apt-get autoremove -y

    - Wait for the removal to complete.

    - Type -> mkdir /mnt/music

    - Type -> nano /etc/fstab

    - Hit the down arrow to the botom of the file that was opened with the previous command.

    - You will need the IP address of your NAS drive on which your music collection is stored. Use the aforementioned IP scanning tools if necessary. You will also need the Share name of the folder on your NAS. For example when I connect to my NAS I use the IP address 10.0.1.18 and the Share name is Audio. Audio is just a folder on the NAS.

    - Add the following line to the bottom of this opened file (nano /etc/fstab), substituting your NAS IP and Share name rather than using my information. Replace the ********* with the actual password to your NAS Share. Here is an image of my file (Image Link ex.png)

    //10.0.1.18/Audio/Music /mnt/music cifs defaults,username=admin,password=********** 0 0

    - After entering this information press Control O (Control key plus the letter O) then his enter to save the file.

    - Hit Control X (Control key plus the letter X) to close the file.

    - Type -> mount -a

    - Type -> nano /etc/mpd.conf

    - Make the following changes to the mpd.conf file that was opened with the previous command.

    Remove the # symbol in front of the following lines

    zeroconf_enabled "yes"

    zeroconf_name "BBB Music Player"

    mixer_type "hardware"

    bind_to_address

     

    Change the line -> bind_to_address "localhost"

    to -> bind_to_address "0.0.0.0"

     

    Change the line -> music_directory "/var/lib/mpd/music"

    to -> music_directory "/mnt/music"

     

    Find the Alsa Audio Output section and make it look like this, placing # symbols in front of the bottom four options and changing the device to hw:1,0. The name can be changed to USB DAC or anything else if you'd like.

     

    audio_output {

    type "alsa"

    name "USB DAC"

    device "hw:1,0" # optional

    # format "44100:16:2" # optional

    # mixer_device "default" # optional

    # mixer_control "PCM" # optional

    # mixer_index "0" # optional

    }

    - After entering this information press Control O (Control key plus the letter O) then his enter to save the file.

    - Hit Control X (Control key plus the letter X) to close the file.

    - Type -> nano /etc/modprobe.d/alsa-base.conf

    - Arrow to the bottom of the file and add the following text -> options snd-usb-audio nrpacks=1

    - After entering this information press Control O (Control key plus the letter O) then his enter to save the file.

    - Hit Control X (Control key plus the letter X) to close the file.

    - Type -> nano /etc/inittab

    - Place the # symbol in fron of the following lines

     

    1:2345:respawn:/sbin/getty 38400 tty1

    2:23:respawn:/sbin/getty 38400 tty2

    3:23:respawn:/sbin/getty 38400 tty3

    4:23:respawn:/sbin/getty 38400 tty4

    5:23:respawn:/sbin/getty 38400 tty5

    6:23:respawn:/sbin/getty 38400 tty6

     

    - After entering this information press Control O (Control key plus the letter O) then his enter to save the file.

    - Hit Control X (Control key plus the letter X) to close the file.

    - Type -> nano /etc/default/cpufrequtils

    - Add the following text -> GOVERNOR="performance"

    - After entering this information press Control O (Control key plus the letter O) then his enter to save the file.

    - Hit Control X (Control key plus the letter X) to close the file.

    - Type ncmpc

    - Once the app opens hit Control U (Control key plus the letter U) to update the MPD database with all the music stored on your NAS. This may take awhile depending on how much music you have and how fast your network and NAS are.

    - Hit the letter Q to exit the ncmpc window. The Database update will continue.

    - NCMPC can be used to play music, but the interface is pretty crude compared to MPoD on the iPhone or MPaD on the iPad.

     

    Remote Control

    - Install MPoD or MPaD from the app store

    MPoD Link ex.png

    MPaD Link ex.png

     

    If using MPoD, open the app and select the target looking icon in the upper left corner of the Now Playing window. You should see the your server listed. Select the server and tap the Done button. Second, select the gear icon next to the target icon on the Now Playing Screen. Then select Refresh Local Cache to populate the app with the database of music stored on your NAS and available to the server. Now you'll be able to browse through the bottom of the app selecting Artist, Album, Song, and more.

     

    [ATTACH=CONFIG]6521[/ATTACH] [ATTACH=CONFIG]6519[/ATTACH] [ATTACH=CONFIG]6520[/ATTACH]

     

     

     

     

     

     

     

    Please let me know if you find errors in this guide. I will keep it updated as appropriate. Tips, tricks, and tweaks are also encouraged!

     

     

     

     

    1-Pixel.png

     

     

     

     

    Image Gallery

     

    [ATTACH=CONFIG]6515[/ATTACH][ATTACH=CONFIG]6512[/ATTACH][ATTACH=CONFIG]6509[/ATTACH][ATTACH=CONFIG]6516[/ATTACH][ATTACH=CONFIG]6513[/ATTACH][ATTACH=CONFIG]6510[/ATTACH][ATTACH=CONFIG]6507[/ATTACH][ATTACH=CONFIG]6514[/ATTACH][ATTACH=CONFIG]6511[/ATTACH][ATTACH=CONFIG]6508[/ATTACH][ATTACH=CONFIG]6517[/ATTACH][ATTACH=CONFIG]6518[/ATTACH]

     

     

    1-Pixel.png




    User Feedback

    Recommended Comments



    I have completed all the setup steps, but 'mount -a' is failing.

     

    Here is the verbose output.

    root@arm:~# mount -a -v

    mount: UUID=C924-5D92 already mounted on /boot/uboot

    mount: debugfs already mounted on /sys/kernel/debug

    mount.cifs kernel mount options: ip=192.168.1.20,unc=\\192.168.1.20\Music,user=thurman,pass=********

    mount error(95): Operation not supported

    Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

     

    Looks like my share is not mounting. Here is /etc/fstab.

    GNU nano 2.2.6 File: /etc/fstab

     

    # /etc/fstab: static file system information.

    #

    # Auto generated by: beaglebone-black-eMMC-flasher.sh

    #

    UUID=62568e03-26ad-430c-88b9-9eabeb590e33 / ext4 noatime,errors=remount-ro 0 1

    UUID=C924-5D92 /boot/uboot auto defaults 0 0

    debugfs /sys/kernel/debug debugfs defaults 0 0

    //192.168.1.20/Music /mnt/music cifs defaults,username=thurman,password=******* 0 0

     

    Here is my setup.

    Mac OS 10.9.4.

    Manually configured static IP address, as above.

    I am trying to have mpd index my iTunes folder. This is probably not my final configuration, but I'm trying a proof of concept.

    I have set a share for the 'Music' folder in iTunes that actually contains the music files. So the share path is:

    /Users/gillespy/Music/iTunes/iTunes Music/Music

    'Share files and folders using SMB' is selected.' User 'thurman' is selected.

    The password contains letters, numbers and the special character '$' (to avoid any unix problems).

     

    Any suggestions appreciated!

     

    I don't use Samba, but searching for the error you're getting I found suggestions to use 'sec=ntlm' in the mount options list after the password in your fstab entry.

    Share this comment


    Link to comment
    Share on other sites

    Has anyone tried Voyage MuBox with a BBB? I've got 2 Alixes running Voyage MPD that I'm temped to swap for new BBBs (WAF, etc). The new BBB revisions - the ones with flash storage - are interesting. No more SD cards/card readers!

     

    Edit: woops, just saw Richard's post a page back. Might have to go for it!

    Share this comment


    Link to comment
    Share on other sites

    I don't use Samba, but searching for the error you're getting I found suggestions to use 'sec=ntlm' in the mount options list after the password in your fstab entry.

    Richard,

     

    sec=ntlm is rejected as an invalid parameter.

     

    The problem is Mac OS X/SMB specific. You need the following options:

    nounix,sec=ntlmssp

     

    Sometimes mysterious mount.cifs failures are solved with a .smbcredentials file, so I got the following to work and mount the Mac SMB share.

     

    Create a .smbcredentials file.

    nano .smbcredentials

    add the following

    username=****

    password=***

    where *** is the correct username and password for the SMB share.

    Save and exit as previously with nano.

     

    Protect the new file from prying eyes.

    chmod 600 .smbcredentials

     

    Now my /etc/fstab entry looks like this

    //192.168.1.20/Music /mnt/music cifs credentials=/root/.smbcredentials,iocharset=utf8,nounix,sec=ntlmssp 0 0

     

    I don't think the iocharset option is needed, but it probably can't hurt.

     

    Now all my iTunes music is on the BBB MPD server, and displayed in MPoD and MPaD. Can't tell if music will play until additional equipment arrives next week.

     

    References:

    Mounting SMB Shares Hosted on Mac OS X from Linux | TecloTech IT Tips & Tricks

    https://wiki.ubuntu.com/MountWindowsSharesPermanently

    Share this comment


    Link to comment
    Share on other sites

    Is the BBB compatible with the ODAC? I'm getting no music. The MPaD client does nothing when I select a song to play.

    Share this comment


    Link to comment
    Share on other sites

    Is the BBB compatible with the ODAC? I'm getting no music. The MPaD client does nothing when I select a song to play.

    Use the ncmpc app to test playback or use the command aplay -l to see if the DAC shows up.

    Share this comment


    Link to comment
    Share on other sites

    Use the ncmpc app to test playback or use the command aplay -l to see if the DAC shows up.

    I can see songs and playlists in ncmpc, but no music or indication anything is happening.

     

    Output from aplay -l

    card 0: Black [TI BeagleBone Black], device 0: HDMI nxp-hdmi-hifi-0 []

    Subdevices: 1/1

    Subdevice #0: subdevice #0

    card 1: DAC [uAC1 DAC], device 0: USB Audio [uSB Audio]

    Subdevices: 1/1

    Subdevice #0: subdevice #0

    and aplay -L

    root@arm:~# aplay -L

    null

    Discard all samples (playback) or generate zero samples (capture)

    default:CARD=Black

    TI BeagleBone Black,

    Default Audio Device

    sysdefault:CARD=Black

    TI BeagleBone Black,

    Default Audio Device

    default:CARD=DAC

    UAC1 DAC, USB Audio

    Default Audio Device

    sysdefault:CARD=DAC

    UAC1 DAC, USB Audio

    Default Audio Device

    front:CARD=DAC,DEV=0

    UAC1 DAC, USB Audio

    Front speakers

    surround40:CARD=DAC,DEV=0

    UAC1 DAC, USB Audio

    4.0 Surround output to Front and Rear speakers

    surround41:CARD=DAC,DEV=0

    UAC1 DAC, USB Audio

    4.1 Surround output to Front, Rear and Subwoofer speakers

    surround50:CARD=DAC,DEV=0

    UAC1 DAC, USB Audio

    5.0 Surround output to Front, Center and Rear speakers

    surround51:CARD=DAC,DEV=0

    UAC1 DAC, USB Audio

    5.1 Surround output to Front, Center, Rear and Subwoofer speakers

    surround71:CARD=DAC,DEV=0

    UAC1 DAC, USB Audio

    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers

    iec958:CARD=DAC,DEV=0

    UAC1 DAC, USB Audio

    IEC958 (S/PDIF) Digital Audio Output

    I edited the ALSA output in /etc/mpd.conf per an earlier suggestion, to no avail.

    audio_output {

    type "alsa"

    name "USB DAC"

    device "hw:UAC1 DAC,0" # previously "hw:1,0"

    # format "44100:16:2" # optional

    # mixer_device "default" # optional

    # mixer_control "PCM" # optional

    # mixer_index "0" # optional

    }

    I also connected the ODAC to a laptop, and it was recognized and functioned correctly.

     

    All suggestions appreciated!

    Share this comment


    Link to comment
    Share on other sites

    I'm using Voyage MuBox instead and that reads the tracks in my library just fine. It seems to use a lot more CPU than the version of Debian that I tuned myself and use in my main system (about 30% with Apple Lossless vs 7-8%). But it is certainly sounding very good and using a higher percentage isn't necessarily a problem, although I wonder why it is occuring. I changed the default frequency scaling from 'ondemand' to 'performance'. The only problem I have it that it seems to lose the device I'm using overnight (HRT Music Streamer II+) and I have to reboot before I can start listening.

     

    Voyage MuBox was very easy to install and get running. You can download it from here:

     

    Supported Boards | Voyage MuBox

     

    Uses a rt kernel? If so, that could be the explanation.

    Share this comment


    Link to comment
    Share on other sites

    No just a normal kernel as far as I know.

    Sorry for the delay...

    I understand that, at least, VoyageMPD uses the RT kernel. According to the website:

    3.14.12 real time kernel, with latest ALSA driver from the kernel

    In practice (due to the rapid changes of context) the response speed (low latency) results in a decrease in performance (defined as the fraction of time during which the CPU is doing directly productive tasks). This may explain the poor performance in CPU usage.

    Sorry for my english

    Share this comment


    Link to comment
    Share on other sites

    I know this is a bit late but I'd like to build a beagle bone, however I'm not sure my current configuration supports it. I don't have NAS, but I do have a 2TB external hard drive connected to a Netgear AC1900 wireless router. The router has what Netgear calls ReadyShare. Some type of build in NAS functionality. Can I use what I have and how?

    Share this comment


    Link to comment
    Share on other sites

    I know this is a bit late but I'd like to build a beagle bone, however I'm not sure my current configuration supports it. I don't have NAS, but I do have a 2TB external hard drive connected to a Netgear AC1900 wireless router. The router has what Netgear calls ReadyShare. Some type of build in NAS functionality. Can I use what I have and how?

     

    I've just done some searching and as far as I can see 'ReadyShare' is just an easy way of setting up Windows style SMB shared drives. So you should be able to install voyage-mubox or similar on the BeagleBone Black and set it to point to the Samba share on your router.

    Share this comment


    Link to comment
    Share on other sites

    Hope this is the right place for this:

     

    I'm trying to set up a BBB as a renderer but I want to use Debian 8 Jessie. I'm mostly there but I'm getting some low frequency clicks. Could someone post their mpd.conf file so I can cross check the settings? I'm connecting to a Schiit Bifrost DAC.

    Share this comment


    Link to comment
    Share on other sites

    Hi, I have music stored on thumb drive to play. Since BBB only has one usb host which is already connected with usb dac, therefore I can't use BBB to playback music from thumb drive. Am I right? I need to get a NAS to store music and pass them over to BBB?

    Share this comment


    Link to comment
    Share on other sites

    Ok. I think I got it. I can connect the thumb drive to router with usb input and play music from there. Or I could put the music into micro sd card to play from there.

     

    The only problem I face now is there is continuous small pops and ticks in audio playback.

     

    The Debian image I use is "BBB-eMMC-flasher-debian-8.6-console-armhf-2016-11-10-2gb.img.xz" as the link to older Debian in the guide no more working.

    Share this comment


    Link to comment
    Share on other sites

    It appeared that stuttering only occurred with Soulnote dac. Once I changed the dac to M2Tech Young, all pops and clicks were gone. Now the sound is smooth and very nice. :-) I also could follow another thread to play radio smoothly.

     

    What is the root cause and solution for Soulnote dac, I am not sure. At least I am satisfied with the outcome.

    Share this comment


    Link to comment
    Share on other sites

    Hi Chris and others,

    I'm a Noob trying to reconfigure my BBB to run with a synology DS1515+ NAS

    I had this thing running flawlessly a couple years ago off a different NAS but since then my network has changed and the BBB can no longer access the music folder. Unfortunately I didnt save the original fstab network configuration.

     

    So far I have been able to flash and update the original 2013 Debian image referenced in this article onto the BBB revision A5B.

    I can communicate with the BBB via ssh.

    I cannot access the NAS- it does not show up when the "mount" command is run.

    I have tried various different entries in the fstab file, none of which allow me to connect.

    I suspect this is an issue with the syntax in my fstab file.

    The shared music folder is on volume1/music of the NAS.

    I have entered the following in fstab:

    //192.168.0.188/ds1515plus/volume1/music (where the IP address is static and reserved for the DS1515+)

    followed by the string mentioned in the instructions.

    When I reboot the BBB and run the mount command the NAS isnt listed.

    Is this the correct syntax for the fstab entry? or is there something else I am missing?

     

    Thanks for your assistance

    Chuck

    Share this comment


    Link to comment
    Share on other sites

    Hi Chris and others,

    I'm a Noob trying to reconfigure my BBB to run with a synology DS1515+ NAS

    I had this thing running flawlessly a couple years ago off a different NAS but since then my network has changed and the BBB can no longer access the music folder. Unfortunately I didnt save the original fstab network configuration.

     

    So far I have been able to flash and update the original 2013 Debian image referenced in this article onto the BBB revision A5B.

    I can communicate with the BBB via ssh.

    I cannot access the NAS- it does not show up when the "mount" command is run.

    I have tried various different entries in the fstab file, none of which allow me to connect.

    I suspect this is an issue with the syntax in my fstab file.

    The shared music folder is on volume1/music of the NAS.

    I have entered the following in fstab:

    //192.168.0.188/ds1515plus/volume1/music (where the IP address is static and reserved for the DS1515+)

    followed by the string mentioned in the instructions.

    When I reboot the BBB and run the mount command the NAS isnt listed.

    Is this the correct syntax for the fstab entry? or is there something else I am missing?

     

    Thanks for your assistance

    Chuck

     

    Hi Chuck - I believe you have the syntax wrong. If you use the IP address, then you don't need to add the name. In addition, you only need to use the name of the shared folder. Try something like this //192.168.0.188/music

    Share this comment


    Link to comment
    Share on other sites

    Hi Chuck - I believe you have the syntax wrong. If you use the IP address, then you don't need to add the name. In addition, you only need to use the name of the shared folder. Try something like this //192.168.0.188/music

     

    Thanks Chris - that solved the problem. Back up running and sounding phenomenal!

     

    Cheers,

     

    Chuck

    Share this comment


    Link to comment
    Share on other sites

    Can I configure this to play music from my server through DLNA? I have Asset UPNP running on my server and MPD should be able to play music over DLNA. I guess I won't have to set my servers ip-address and sharename in the file that was mentioned in the article?

    Share this comment


    Link to comment
    Share on other sites

    Can I configure this to play music from my server through DLNA? I have Asset UPNP running on my server and MPD should be able to play music over DLNA. I guess I won't have to set my servers ip-address and sharename in the file that was mentioned in the article?

     

    Sorry, posted in the wrong thread. Need coffee first.

    Share this comment


    Link to comment
    Share on other sites




    Guest
    This is now closed for further comments




×
×
  • Create New...