Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a 750 GB HDD plugged into my Ubuntu Desktop, I want to make this show up as a Network Drive on my Windows 7 Laptop and my Ubuntu netbook. Is there an easy way to do this?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

It's simple enough using Samba.

sudo apt-get install samba samba-tools system-config-samba smbfs
sudo nano /etc/samba/smb.conf

You'll need to create a new share for example....

[share]
    comment = Shares
    browsable = yes
    path = /path/to/mounted/drive
    public = yes
    writable = yes
    guest ok = yes

You'll also need to add the following to the global section of smb.conf

[global]
    guest account = nobody
    map to guest = bad user

Now run the following command to create the nobody user...

smbpasswd -an nobody

The only caveat to setting it up this way is it the username on your laptop or netbook are the same as a valid user on your desktop you'll get a password prompt. You can put any old rubbish in that prompt and you should get into the share as a guest. You could assign specific permissions if you wanted to the share but this is the way that replicates public folder shares in Windows.

Much more info about smb.conf parameters can be found at samba.org

share|improve this answer
    
Thank You for your fast and Awesome answer :) –  bizarrechaos Sep 11 '10 at 21:19
    
No worries, hope you got it all working :) –  chunkyb2002 Sep 12 '10 at 19:42

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.