mgiara
Posts: 11
Joined: Sun Oct 19, 2014 1:34 am

Mounting a network drive in Jessie

Sun Dec 18, 2016 5:17 am

Hello!

I've done a bit of searching and have tried the following guides:
http://www.stuffaboutcode.com/2012/05/r ... share.html
https://thepihut.com/blogs/raspberry-pi ... ge-at-boot
https://www.cyberciti.biz/faq/linux-mou ... ows-share/
and haven't had any luck.

What should make this easier is that I've successfully accomplished exactly what I'm aiming to now on an old Pi (2 B) running what I believe is wheezy.

I remember it taking me an entire day of troubleshooting, and I don't believe any of the above guides are the one I followed.

Here's the fstab from the Pi on which remote drive sharing is working wonderfully:
Image
Link if the image doesn't work: https://goo.gl/photos/qQfJunDMWPoKUoCu9

mgiara
Posts: 11
Joined: Sun Oct 19, 2014 1:34 am

Re: Mounting a network drive in Jessie

Sun Dec 18, 2016 5:22 am

I also notice now that I didn't enter the username and password into fstab in the older configuration.

Selecting Go->Network and selecting the computer I'm trying to connect to requires me to enter administrator and password to access the drive.

mgiara
Posts: 11
Joined: Sun Oct 19, 2014 1:34 am

Re: Mounting a network drive in Jessie

Sun Dec 18, 2016 8:34 pm

Got it working. Required username and password for some reason.

Final fstab:

Code: Select all

//ipaddress/path/to/folder /media/networkshare/public cifs username=username,password=password,workgroup=workgroup
below that I had

Code: Select all

LABEL=Windows none ntfs rw,auto,nobrowse
but

Code: Select all

sudo mount -a
would produce

Code: Select all

mount: can't find LABEL=Windows
so I got rid of it

Return to “Networking and servers”