Updated 21Aug12 V1.1

Following on from previous blog I’ve tried to emulate MrEngmans brilliant concept of providing a single install script that does as much of the work as possible

His idea is to copy a file onto the SD while its plugged into a PC/Mac etc and then put the card into your RPi and issue one simple command

So  this is the file


simply copy it to the SD card while its in your PC/Mac and then put it in your RPi and issue this command

sudo /boot/simplesamba.sh

Alternatively (thanks to Jason Powell)

wget https://dl.dropbox.com/s/wjlshn22z80rzpv/simplesamba.sh

and then run

sudo bash simplesamba.sh

Note-some parts of the script can take a bit of time as the Pi needs to download stuff – just answer Y if asked questions BTW :)

When it sits there with New SMB passord: showing , enter raspberry as the password and then repeat it.
At the end, you should be able connect to your RPi from windows using username=pi  password=raspberry

Good luck

About these ads

22 responses »

  1. [...] cymplecy This WordPress.com site is the bee's knees Skip to content HomeAbout ← A Tale of Two Pi Auto install a Simple Samba Setup → [...]

  2. Jason Powell says:

    Works great! I downloaded it differently though. I did:

    wget https://dl.dropbox.com/s/wjlshn22z80rzpv/simplesamba.sh

    and then I ran

    sudo bash simblesamba.sh

    That way, I could download it without having to shut down my pi or getting out the SD card reader.

  3. [...] gevonden online van hoe je dat moet doen, maar ik denk dat het niet eenvoudiger kan worden dan met dit script van ‘cymplecy’. Zeker als je gebruik maakt van de tip in de reacties eronder en kiest [...]

  4. murch says:

    Thank you so much for posting this. And also to Jason Powell for adding the extra tip. It all made it so easy for a Linux noob like me.

  5. Magnificent script. Thank you!

  6. DGA110P says:

    Works Great :-) (p.s the typo is “sudo bash simblesamba.sh” simble should be simple)

  7. cymplecy says:

    Ah – I see where it is now -ta. I’ve now added Jason’s suggestion into the main blog instructions :)

  8. sls1j says:

    This is just awesome! Thanks, worked like a charm.

  9. Tim says:

    If you created a other user on your Raspberry and removed pi the script won’t work.

    1. Download the file
    2. sudo nano simplesamba.sh
    3. Before: “echo “#=== Global Settings” you see smbpasswd -a pi
    4. Change pi to your username
    5. ctrl + o enter ctrl+x
    6. sudo bash simplesamba.sh

    (I’m a linux noob so i took me some time to find out)

  10. Oliver Kuy says:

    Thanks for this script but I’m having write permission issues. I’m using Mac OS Leopard and I’m getting this message everytime I want to write something – “The operation cannot be completed because you do not have sufficient privileges for some of the items.”

  11. Tom says:

    Thank you very much i’ve been looking for quite some time for a script like this!

  12. Martin says:

    It’s awesome. I’m using it pernamently :) . Thx much

  13. Dave Perry says:

    I have been struggling with samba (days). Your script worked great (minutes). I just want to thank you for making this available.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s