Home > Computer (HW and SW) > BEAGLEBONE BLACK: ACCESSING NETWORK SHARE

BEAGLEBONE BLACK: ACCESSING NETWORK SHARE

ACCESSING NETWORK SHARE

I set up a network share by inserting a USB memory stick to the Airport Extreme WiFi router.

  • Address of Airport Extreme: 10.0.1.1
  • Name of memory stick: MUSIC (later I changed it to MUSICUSB), fat32 formatted
  • password for share: XXXX

1- install the “cifs.utils” package with “apt-get install”

cifs

2- mount the share with the following command

mount.cifs

  • mount -t cifs does the same thing (it invokes mount.cifs)
  • “//10.0.1.1/MUSIC” is the share on the Airport Extreme “MUSIC” is the name of the USB Stick inserted in the Apple Airport Extreme router
  • “/media/nas” is the mount point. I created the “nas” directory under /media
  • “-o” is the options flag
  • “username=any” means no user name is needed (as it is set up in the AE)
  • “password=XXXX” is the password used to secure the share (as setup in the AE)
  • “sec=ntlm” is the password security mode. Without it you’ll get an “error (22): invalid argument”
  • More info here [link]

AUTO MOUNTING OF THE SHARE

Here we will use /etc/fstab and mount the share at boot time. The network share is seldom removed, so mounting it during boot is the best option. I use the following line:

fstab-nas

  • Here I had changed the name of the USB Memory device to “MUSICUSB”
  • This assumes that your network share is always the same name
  • More info here: [link]
About these ads
  1. drew
    2014/03/21 at 12:31

    Gday,

    Just wondering for those of us not as adept at linux, can you compare Volumio/Rune setup/sound wise once this is all cracking along please?
    Hope to see your thoughts in print!

    Chuz,

    Drew.

    • BlgGear
      2014/03/21 at 15:12

      Both Volumio and RuneAudio are great efforts in greatly simplifying the installation and configuration of Linux on different embedded boards. I think at the moment both are equivalent, with Volumio being ahead in functionality. It is kind of too early to say which one is “better” as both will be adding functionality, optimizing the operating system, fixing bugs, etc. Even the operating system for BBB is BETA quality.

      The approach now is to use whatever you like the most, experiment, share impressions, and enjoy the music while waiting for the whole system to mature.

      The idea of these posts is to show at a basic level, what it takes to get sound out of a Linux installation in the BBB. Eventually I will use RuneAudio/Volumio as these provide an optimized installation and a very nice user interface.

      The other purpose of these posts is that I wanted to know what is “under the hood” when using RuneAudio/Volumio so that if something does not work, I could attempt to figure out what is happening.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 201 other followers