Add music to a mounted usb stick via windows

Raspberry Pi related support

Add music to a mounted usb stick via windows

Postby Lol999 » 09 Feb 2018, 20:06

Like it says, from File Explorer I should be able to type in the ip address of the stick and copy music to it, I just can't figure the exact path though!

The IP address of my Pi is 192.168.1.8 and according to Rune this is the usb path ( I think) USB/sda1-usb-SanDisk_Cruzer_B
but when I preface the USB with the ip address I just get a failure message from Rune.

Any suggestions?
Lol999
 
Posts: 20
Joined: 19 Dec 2017, 15:19

Re: Add music to a mounted usb stick via windows

Postby janui » 09 Feb 2018, 21:25

Hi Lol999,

You can do this quite easily. Samba is the product which gives you file access to Rune over the network. In Rune this is normally switched off. If you go to the /dev UI and switch DEV mode on, Samba will be started automatically on the next reboot.
So set DEV mode on and reboot.
Then from the file explorer in windows Rune is then generally automatically visible. If not, you should be looking for //192.168.1.8/MusicStore/USB or //RuneAudio/MusicStore/USB
To stop Samba switch DEV mode off and reboot.

It is possible to switch Samba on as default. Then you need to log in via SSH and use the commands:
Code: Select all
systemctl enable smbd
systemctl start smbd

With the standard configuration, Samba is not secure. It is advisable to check out the Samba documentation and adjust the /etc/samba/smb-prod.conf configuration file. Think about adjusting read-only parameters and/or add passwords if write access is to be used. There is a seperate /etc/samba/smb-dev.conf file which is used in DEV mode.
Via SSH you can Switch Samba off with the commands:
Code: Select all
systemctl disable smbd
systemctl stop smbd


janui
User avatar
janui
 
Posts: 260
Joined: 20 Dec 2014, 12:55
Location: Ollanda

Re: Add music to a mounted usb stick via windows

Postby Lol999 » 09 Feb 2018, 21:59

Thanks Janui - much appreciated!
Lol999
 
Posts: 20
Joined: 19 Dec 2017, 15:19

Re: Add music to a mounted usb stick via windows

Postby Lol999 » 10 Feb 2018, 18:55

Hi janui could you please do me a walkthrough from logging into Rune Audio via ssh?

I've tried all sorts of things but can't get it to work, not much of a Linux man to be honest.
Lol999
 
Posts: 20
Joined: 19 Dec 2017, 15:19

Re: Add music to a mounted usb stick via windows

Postby hondagx35 » 10 Feb 2018, 19:00

Hi Lol999,

- Get access to the console:
Use SSH from your PC
    If you are not familiar with SSH read this for Windows or this for Linux/MacOS
    The default login for RuneAudio is "root" with the password "rune" (without quotes).

- Use sftp to access files on Rune Audio:
Get WinSCP from here and install it.
When it opens setup the following:
- Session
File Protocol: SCP
Host name: The IP address of you Raspberry Pi
User name: root
Password: rune

That's it, connect and you can transfer files just by dragging and dropping.

Frank
User avatar
hondagx35
 
Posts: 2971
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: Add music to a mounted usb stick via windows

Postby Lol999 » 11 Feb 2018, 15:14

@ Frank - thanks I can see how it would be useful to copy files for Rune across but nowhere could I see the usb stick attached to the Pi.

@ janui - I have turned Dev on via the UI, I have run the code systemctl enable smbd
systemctl start smbd
but to no avail, I still cannot access the usb stick.

Any ideas?

Thanks, Lol
Lol999
 
Posts: 20
Joined: 19 Dec 2017, 15:19

Re: Add music to a mounted usb stick via windows

Postby hondagx35 » 12 Feb 2018, 00:02

Hi Lol999,

your music library can be found at /mnt/MPD/.

- all NAS devices are in /mnt/MPD/NAS and
- all USB devices are mounted to /mnt/MPD/USB/.

Please see also:
http://www.runeaudio.com/forum/post22961.html?hilit=samba#p22961


Frank
User avatar
hondagx35
 
Posts: 2971
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: Add music to a mounted usb stick via windows

Postby Lol999 » 12 Feb 2018, 19:16

I think that sorted it thanks Frank :D
Lol999
 
Posts: 20
Joined: 19 Dec 2017, 15:19

support RuneAudio Donate with PayPal


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 1 guest