Debian Wheezy

werfie

Expert Member
Joined
Aug 16, 2010
Messages
2,676
Reaction score
411
Location
Pretoria
Ok, I need help. So I've searched the forum, but nothing that comes up pretty much mean anything to me.

So I've Never ever ever ever ever, as in ever worked on linux, so I got a Raspberry PI and installed Debian Wheezy through BerryBoot.

Ok, this is what I want to do, I have a shared folder on my network (on a Windows PC). How do I access that folder from linux? So I read you have to mount stuff, but I sat for hours and hours to try some mount commands but only to get errors, and who knows if I was even on the right track.

So I just want to access this folder which is my Movie store in order to watch movies on the RPI on my TV :wtf:

If you were to ask me what I tried, I wouldn't be able to tell you. :confused: Is there anyone that can give me a quick step by stepper, dear lord, no wonder no one ever tries to hack or crack or whatever these OS'es.

The possibly also how to access same but on an external hard drive?
 
I've just googled it for a while and tested this procedure on Mint 14, but hopefully it will work on the pi as well.

Run all these commands as root/su.

Make a directory where the windows share will be mounted:
Code:
mkdir /mnt/winpc

Then mount the share:
Code:
mount -t cifs -o username=user,password=pass //WindowsPC/Share /mnt/winpc

This should work. Run the following command if you get errors to make sure you have the packages you need:
Code:
apt-get install cifs-utils smbclient

Hope this helps. I'm still learning linux myself, but it worked for me.

Btw: To see the files via the commandline use the following commands:
Code:
cd /mnt/winpc
ls -a

You can also use the gui file manager.
 
Have you tried opening a file manager and in the address bar:

smb://ip-of-your-windows-pc

No I haven't :wtf: I will try it thanks :D

I've just googled it for a while and tested this procedure on Mint 14, but hopefully it will work on the pi as well.

Run all these commands as root/su.

Make a directory where the windows share will be mounted:
Code:
mkdir /mnt/winpc

Then mount the share:
Code:
mount -t cifs -o username=user,password=pass //WindowsPC/Share /mnt/winpc

This should work. Run the following command if you get errors to make sure you have the packages you need:
Code:
apt-get install cifs-utils smbclient

Hope this helps. I'm still learning linux myself, but it worked for me.

Btw: To see the files via the commandline use the following commands:
Code:
cd /mnt/winpc
ls -a

You can also use the gui file manager.

Aaaah, you see, I ran this command only and not all of them:

Code:
mount -t cifs -o username=user,password=pass //WindowsPC/Share /mnt/winpc

I will try the rest also. Thanks :D
 
Top
Sign up to the MyBroadband newsletter
X