Access USB connected to Pi via Win10 PC

Raspberry Pi related support

Access USB connected to Pi via Win10 PC

Postby mromero10024 » 29 Mar 2017, 05:54

I have gotten as far as accessing the pi using WinSCP, using the ip address of the PI given by Rune audio.
I would like to access the USB connected via this connection and place and remove music files on the USB.

The issue I am having is that when I connect via WinSCP I do not see any files or anything period.
Anyone can shed any light onto the situation? Hopefully someone can provide some steps.
mromero10024
 
Posts: 3
Joined: 29 Mar 2017, 05:50

Re: Access USB connected to Pi via Win10 PC

Postby hondagx35 » 29 Mar 2017, 10:26

Hi mromero10024,

- 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.

Image

The path to your files is:
/mnt/MPD/USB

You have to check the permissions, the USB hdd could be mounted read only.

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

Re: Access USB connected to Pi via Win10 PC

Postby mromero10024 » 30 Mar 2017, 06:32

So this time around i was able to access the USB folder but keep receiving an error
Image

and these are the rights shown next to the files.

Image


How can I change the permissions to allow me to write to the USB?
mromero10024
 
Posts: 3
Joined: 29 Mar 2017, 05:50

Re: Access USB connected to Pi via Win10 PC

Postby mromero10024 » 31 Mar 2017, 04:34

I got it to work following this route, in summary:

hondagx35 wrote:
- 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


Image



Alright so from here this is what I did,
logging into the PI using WINscp
I headed into
root > etc > udevil> udevil.conf and opened it within WINscp

Image


and do the following:

go to line 219:

Code: Select all
default_options_vfat      = ro, iocharset=utf8, noatime, uid=$UID, gid=$GID
default_options_exfat     = ro, nonempty, uid=$UID, gid=$GID
default_options_hfsplus   = ro, uid=$UID, gid=$GID




change to:

Code: Select all
default_options_vfat      = rw, iocharset=utf8, noatime, uid=$UID, gid=$GID
default_options_exfat     = rw, nonempty, uid=$UID, gid=$GID
default_options_hfsplus   = rw, uid=$UID, gid=$GID




Image

save file, log out of the WINscp session and restart the pi.

Once restarted, log back onto WINscp and just drag and drop the files into the usb directory!

Now you'll never have to physically remove the usb from the pi!
mromero10024
 
Posts: 3
Joined: 29 Mar 2017, 05:50

Re: Access USB connected to Pi via Win10 PC

Postby hondagx35 » 31 Mar 2017, 11:10

Hi mromero10024,

thank you for posting this.

See also here.
This is the default setting on my new test image for Raspberry Pi2/3.

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

support RuneAudio Donate with PayPal


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 6 guests