Results 1 to 7 of 7

Thread: How can I get Samba to work ?

  1. #1
    Join Date
    Oct 2008
    Beans
    87

    How can I get Samba to work ?

    Ubuntu 12.04 64 bit

    I'm accessing two Raspberry Pi, one other an Ethernet network and the other over a WiFi network using 'ssh'.

    A friend told me with Samba I could easily use the files which were on those Rasberry Pi's.

    But I've no idea how to go about it.

    has anyone done this ?

    If so, in very simple terms what do i have to do to get it working ?

    A very curious ,

    Tim

  2. #2
    Join Date
    Apr 2008
    Location
    LOCATION=/dev/random
    Beans
    5,767
    Distro
    Ubuntu Development Release

    Re: How can I get Samba to work ?

    There's no need to go down the Samba route as you already have an ssh server installed on your Pi's.

    You can copy files around either by using the scp command from a terminal or opening your file manager and going to File > Connect to Server.
    Cheesemill

  3. #3
    Join Date
    Aug 2009
    Location
    Charleston, SC (USA)
    Beans
    1,779

    Re: How can I get Samba to work ?

    I agree with Cheesemill, but if you end up using a non-Linux machine and want to access files from the Pi you will need samba.

    Here is a quick and dirty guide to Samba.
    "When our actions do not, our fears do make us traitors." -- Shakespeare
    "Unless someone like you cares a whole awful lot, nothing is going to get better. It's not!" -- Dr. Seuss


  4. #4
    Join Date
    Apr 2008
    Location
    LOCATION=/dev/random
    Beans
    5,767
    Distro
    Ubuntu Development Release

    Re: How can I get Samba to work ?

    Quote Originally Posted by Caboose885 View Post
    I agree with Cheesemill, but if you end up using a non-Linux machine and want to access files from the Pi you will need samba.
    Not really.

    If you need to access files over an ssh connection from a Windows machine you can just use WinSCP.
    Cheesemill

  5. #5
    Join Date
    Aug 2009
    Location
    Charleston, SC (USA)
    Beans
    1,779

    Re: How can I get Samba to work ?

    True, WinSCP is a wonderful tool but if you don't like or can't install additional programs to achieve SCP then Samba will be helpful.
    "When our actions do not, our fears do make us traitors." -- Shakespeare
    "Unless someone like you cares a whole awful lot, nothing is going to get better. It's not!" -- Dr. Seuss


  6. #6
    Join Date
    Oct 2008
    Beans
    87

    Re: How can I get Samba to work ?

    Quote Originally Posted by Cheesemill View Post
    There's no need to go down the Samba route as you already have an ssh server installed on your Pi's.

    You can copy files around either by using the scp command from a terminal or opening your file manager and going to File > Connect to Server.
    I can see the raspberry ikon using file manager , but there is nothing I can do after that.

    scp is a mystery...

    many thanks for responding.

    a puzzled,

    Tim

    PS I use Linux. Does winscp run on Windows ? Not too keen on windows, very keen on Ubuntu.
    Last edited by Tim036; March 21st, 2013 at 10:01 PM.

  7. #7
    Join Date
    Aug 2009
    Location
    Charleston, SC (USA)
    Beans
    1,779

    Re: How can I get Samba to work ?

    WinSCP is a windows only tool. Since Linux has native SCP support WinSCP is unneeeded. Filezilla is a alternative to WinSCP that runs on Linux. (You can apt-get install it) However like Cheesemill said above SCP is built into the File Manager in ubuntu so really Filezilla is not needed for this situation.


    (I am doing this from Nautilus)
    Open File Manager->File->Connect to Server
    Server: <IPADDRESS OF PI> Port:22 (unless you changed the default port of SSH)
    Type: SSH
    Folder:What directory you want to mount
    Username: useraccount on pi
    Password: password on that account.

    Guide for SCP through command line
    SSHFS Guide -- For mounting an SSH connection to the local directories. (command line)

    If that does not work make sure that your ssh server is installed/running, firewalls have appropriate rules, etc.

    Hopefully that information helps.
    "When our actions do not, our fears do make us traitors." -- Shakespeare
    "Unless someone like you cares a whole awful lot, nothing is going to get better. It's not!" -- Dr. Seuss


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •