Trying to locally share a folder between Ubuntu 17.10 and Ubuntu 18.04 [closed]

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
2
down vote

favorite












I am trying to share a folder between Ubuntu 17.10 and Ubuntu 18.04, but it doesn't work. I am trying to setup a folder to share called gravity-spy onto my U17.10 and I want to do it as simply as possible.



  • I want to be able to simply right click on the folder I want to share then click on Properties then on Share tab click on Share this folder (other 2 checks are left them blank for anonymous access and if user can edit/delete folder - I don't need those features)

  • Then on my other machine which in this case is Ubuntu 18.04 I go to Other locations, I type into the box Connect to server smb://[myusername]@[computername]/[name-of-the-shared-folder] click on Connect, and I am getting an screen where they want me to add a Domain and a Password, but what is the domain? I think this is only for Windows computer (the domain I mean), isnt it? Whatever I write in those 2 boxes I get an error - Can't access this location

What is the simplest way to connect Ubuntu 17.10 -> Ubuntu 18.04 using the smb protocol?










share|improve this question















closed as off-topic by karel, muru, Fabby, Eric Carvalho, waltinator Apr 1 at 14:11


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Bug reports and problems specific to development version of Ubuntu should be reported on Launchpad so that developers can see, track and fix these issues." – karel, muru, Fabby, Eric Carvalho, waltinator
If this question can be reworded to fit the rules in the help center, please edit the question.
















    up vote
    2
    down vote

    favorite












    I am trying to share a folder between Ubuntu 17.10 and Ubuntu 18.04, but it doesn't work. I am trying to setup a folder to share called gravity-spy onto my U17.10 and I want to do it as simply as possible.



    • I want to be able to simply right click on the folder I want to share then click on Properties then on Share tab click on Share this folder (other 2 checks are left them blank for anonymous access and if user can edit/delete folder - I don't need those features)

    • Then on my other machine which in this case is Ubuntu 18.04 I go to Other locations, I type into the box Connect to server smb://[myusername]@[computername]/[name-of-the-shared-folder] click on Connect, and I am getting an screen where they want me to add a Domain and a Password, but what is the domain? I think this is only for Windows computer (the domain I mean), isnt it? Whatever I write in those 2 boxes I get an error - Can't access this location

    What is the simplest way to connect Ubuntu 17.10 -> Ubuntu 18.04 using the smb protocol?










    share|improve this question















    closed as off-topic by karel, muru, Fabby, Eric Carvalho, waltinator Apr 1 at 14:11


    This question appears to be off-topic. The users who voted to close gave this specific reason:


    • "Bug reports and problems specific to development version of Ubuntu should be reported on Launchpad so that developers can see, track and fix these issues." – karel, muru, Fabby, Eric Carvalho, waltinator
    If this question can be reworded to fit the rules in the help center, please edit the question.














      up vote
      2
      down vote

      favorite









      up vote
      2
      down vote

      favorite











      I am trying to share a folder between Ubuntu 17.10 and Ubuntu 18.04, but it doesn't work. I am trying to setup a folder to share called gravity-spy onto my U17.10 and I want to do it as simply as possible.



      • I want to be able to simply right click on the folder I want to share then click on Properties then on Share tab click on Share this folder (other 2 checks are left them blank for anonymous access and if user can edit/delete folder - I don't need those features)

      • Then on my other machine which in this case is Ubuntu 18.04 I go to Other locations, I type into the box Connect to server smb://[myusername]@[computername]/[name-of-the-shared-folder] click on Connect, and I am getting an screen where they want me to add a Domain and a Password, but what is the domain? I think this is only for Windows computer (the domain I mean), isnt it? Whatever I write in those 2 boxes I get an error - Can't access this location

      What is the simplest way to connect Ubuntu 17.10 -> Ubuntu 18.04 using the smb protocol?










      share|improve this question















      I am trying to share a folder between Ubuntu 17.10 and Ubuntu 18.04, but it doesn't work. I am trying to setup a folder to share called gravity-spy onto my U17.10 and I want to do it as simply as possible.



      • I want to be able to simply right click on the folder I want to share then click on Properties then on Share tab click on Share this folder (other 2 checks are left them blank for anonymous access and if user can edit/delete folder - I don't need those features)

      • Then on my other machine which in this case is Ubuntu 18.04 I go to Other locations, I type into the box Connect to server smb://[myusername]@[computername]/[name-of-the-shared-folder] click on Connect, and I am getting an screen where they want me to add a Domain and a Password, but what is the domain? I think this is only for Windows computer (the domain I mean), isnt it? Whatever I write in those 2 boxes I get an error - Can't access this location

      What is the simplest way to connect Ubuntu 17.10 -> Ubuntu 18.04 using the smb protocol?







      networking server permissions samba 18.04






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 28 at 17:20









      Zanna

      48k13119228




      48k13119228










      asked Mar 28 at 13:45









      Dimitar

      1767




      1767




      closed as off-topic by karel, muru, Fabby, Eric Carvalho, waltinator Apr 1 at 14:11


      This question appears to be off-topic. The users who voted to close gave this specific reason:


      • "Bug reports and problems specific to development version of Ubuntu should be reported on Launchpad so that developers can see, track and fix these issues." – karel, muru, Fabby, Eric Carvalho, waltinator
      If this question can be reworded to fit the rules in the help center, please edit the question.




      closed as off-topic by karel, muru, Fabby, Eric Carvalho, waltinator Apr 1 at 14:11


      This question appears to be off-topic. The users who voted to close gave this specific reason:


      • "Bug reports and problems specific to development version of Ubuntu should be reported on Launchpad so that developers can see, track and fix these issues." – karel, muru, Fabby, Eric Carvalho, waltinator
      If this question can be reworded to fit the rules in the help center, please edit the question.




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          UPDATE METHOD 1: I think the easiest way is to use ssh command - scp, but before using it you have to create ssh access to both computers. You can read how to do this here. When you are ready and all setup and tested the ssh command and it is working, then you can simply write (if you want to transfer files from remote to local machine (or just switch the destination and source if you want to transfer from local to remote):



          scp source destination


          for example scp [remote-user]@[remote-ip]:[full-path-to-file-folder] [full-path-to-local-folder]




          METHOD 2:
          I manage to do it this way i dont know if it is simplest, but it worked at the end of the day:



          1. to make it executable sudo chmod 777 /[path]/[to]/[shared-folder]

          2. installed samba sudo apt install samba

          3. edited the conf file of samba sudo nano /etc/samba/smb.conf

          4. Added this at the bottom of the file:

          read only:



          [foldername]
          comment = Gravity Spy Shared Folder
          path = /[path]/[to]/[shared-folder]


          writable



          [foldername]
          comment = Gravity Spy Shared Folder
          path = /[path]/[to]/[shared-folder]
          read only = No
          create mask = 0777
          directory mask = 0777
          directory mode = 0777


          1. Save the file and tested with testparm if the file have any errors

          2. Restart samba server with systemctl restart smbd

          3. Allowing port 139 with sudo ufw allow 139/tcp

          4. Allowing port 445 with sudo ufw allow 445/tcp

          5. Create password for samba sudo smbpasswd -a [your-username]

          6. Then on my other computer i typed: smb://[ip-address-of-my-server]/[folder-name]


          7. Click on Login with user and then



            • type your username you typed at point 9

            • domain leave it WORKGROUP

            • type your password you typed at point 9


          and VOILA!



          BTW: to find your ip address you can type ifconfig -a and your ip address should start with 192.182.*.* it should be near this word inet 192.168.100.7






          share|improve this answer





























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote













            UPDATE METHOD 1: I think the easiest way is to use ssh command - scp, but before using it you have to create ssh access to both computers. You can read how to do this here. When you are ready and all setup and tested the ssh command and it is working, then you can simply write (if you want to transfer files from remote to local machine (or just switch the destination and source if you want to transfer from local to remote):



            scp source destination


            for example scp [remote-user]@[remote-ip]:[full-path-to-file-folder] [full-path-to-local-folder]




            METHOD 2:
            I manage to do it this way i dont know if it is simplest, but it worked at the end of the day:



            1. to make it executable sudo chmod 777 /[path]/[to]/[shared-folder]

            2. installed samba sudo apt install samba

            3. edited the conf file of samba sudo nano /etc/samba/smb.conf

            4. Added this at the bottom of the file:

            read only:



            [foldername]
            comment = Gravity Spy Shared Folder
            path = /[path]/[to]/[shared-folder]


            writable



            [foldername]
            comment = Gravity Spy Shared Folder
            path = /[path]/[to]/[shared-folder]
            read only = No
            create mask = 0777
            directory mask = 0777
            directory mode = 0777


            1. Save the file and tested with testparm if the file have any errors

            2. Restart samba server with systemctl restart smbd

            3. Allowing port 139 with sudo ufw allow 139/tcp

            4. Allowing port 445 with sudo ufw allow 445/tcp

            5. Create password for samba sudo smbpasswd -a [your-username]

            6. Then on my other computer i typed: smb://[ip-address-of-my-server]/[folder-name]


            7. Click on Login with user and then



              • type your username you typed at point 9

              • domain leave it WORKGROUP

              • type your password you typed at point 9


            and VOILA!



            BTW: to find your ip address you can type ifconfig -a and your ip address should start with 192.182.*.* it should be near this word inet 192.168.100.7






            share|improve this answer


























              up vote
              0
              down vote













              UPDATE METHOD 1: I think the easiest way is to use ssh command - scp, but before using it you have to create ssh access to both computers. You can read how to do this here. When you are ready and all setup and tested the ssh command and it is working, then you can simply write (if you want to transfer files from remote to local machine (or just switch the destination and source if you want to transfer from local to remote):



              scp source destination


              for example scp [remote-user]@[remote-ip]:[full-path-to-file-folder] [full-path-to-local-folder]




              METHOD 2:
              I manage to do it this way i dont know if it is simplest, but it worked at the end of the day:



              1. to make it executable sudo chmod 777 /[path]/[to]/[shared-folder]

              2. installed samba sudo apt install samba

              3. edited the conf file of samba sudo nano /etc/samba/smb.conf

              4. Added this at the bottom of the file:

              read only:



              [foldername]
              comment = Gravity Spy Shared Folder
              path = /[path]/[to]/[shared-folder]


              writable



              [foldername]
              comment = Gravity Spy Shared Folder
              path = /[path]/[to]/[shared-folder]
              read only = No
              create mask = 0777
              directory mask = 0777
              directory mode = 0777


              1. Save the file and tested with testparm if the file have any errors

              2. Restart samba server with systemctl restart smbd

              3. Allowing port 139 with sudo ufw allow 139/tcp

              4. Allowing port 445 with sudo ufw allow 445/tcp

              5. Create password for samba sudo smbpasswd -a [your-username]

              6. Then on my other computer i typed: smb://[ip-address-of-my-server]/[folder-name]


              7. Click on Login with user and then



                • type your username you typed at point 9

                • domain leave it WORKGROUP

                • type your password you typed at point 9


              and VOILA!



              BTW: to find your ip address you can type ifconfig -a and your ip address should start with 192.182.*.* it should be near this word inet 192.168.100.7






              share|improve this answer
























                up vote
                0
                down vote










                up vote
                0
                down vote









                UPDATE METHOD 1: I think the easiest way is to use ssh command - scp, but before using it you have to create ssh access to both computers. You can read how to do this here. When you are ready and all setup and tested the ssh command and it is working, then you can simply write (if you want to transfer files from remote to local machine (or just switch the destination and source if you want to transfer from local to remote):



                scp source destination


                for example scp [remote-user]@[remote-ip]:[full-path-to-file-folder] [full-path-to-local-folder]




                METHOD 2:
                I manage to do it this way i dont know if it is simplest, but it worked at the end of the day:



                1. to make it executable sudo chmod 777 /[path]/[to]/[shared-folder]

                2. installed samba sudo apt install samba

                3. edited the conf file of samba sudo nano /etc/samba/smb.conf

                4. Added this at the bottom of the file:

                read only:



                [foldername]
                comment = Gravity Spy Shared Folder
                path = /[path]/[to]/[shared-folder]


                writable



                [foldername]
                comment = Gravity Spy Shared Folder
                path = /[path]/[to]/[shared-folder]
                read only = No
                create mask = 0777
                directory mask = 0777
                directory mode = 0777


                1. Save the file and tested with testparm if the file have any errors

                2. Restart samba server with systemctl restart smbd

                3. Allowing port 139 with sudo ufw allow 139/tcp

                4. Allowing port 445 with sudo ufw allow 445/tcp

                5. Create password for samba sudo smbpasswd -a [your-username]

                6. Then on my other computer i typed: smb://[ip-address-of-my-server]/[folder-name]


                7. Click on Login with user and then



                  • type your username you typed at point 9

                  • domain leave it WORKGROUP

                  • type your password you typed at point 9


                and VOILA!



                BTW: to find your ip address you can type ifconfig -a and your ip address should start with 192.182.*.* it should be near this word inet 192.168.100.7






                share|improve this answer














                UPDATE METHOD 1: I think the easiest way is to use ssh command - scp, but before using it you have to create ssh access to both computers. You can read how to do this here. When you are ready and all setup and tested the ssh command and it is working, then you can simply write (if you want to transfer files from remote to local machine (or just switch the destination and source if you want to transfer from local to remote):



                scp source destination


                for example scp [remote-user]@[remote-ip]:[full-path-to-file-folder] [full-path-to-local-folder]




                METHOD 2:
                I manage to do it this way i dont know if it is simplest, but it worked at the end of the day:



                1. to make it executable sudo chmod 777 /[path]/[to]/[shared-folder]

                2. installed samba sudo apt install samba

                3. edited the conf file of samba sudo nano /etc/samba/smb.conf

                4. Added this at the bottom of the file:

                read only:



                [foldername]
                comment = Gravity Spy Shared Folder
                path = /[path]/[to]/[shared-folder]


                writable



                [foldername]
                comment = Gravity Spy Shared Folder
                path = /[path]/[to]/[shared-folder]
                read only = No
                create mask = 0777
                directory mask = 0777
                directory mode = 0777


                1. Save the file and tested with testparm if the file have any errors

                2. Restart samba server with systemctl restart smbd

                3. Allowing port 139 with sudo ufw allow 139/tcp

                4. Allowing port 445 with sudo ufw allow 445/tcp

                5. Create password for samba sudo smbpasswd -a [your-username]

                6. Then on my other computer i typed: smb://[ip-address-of-my-server]/[folder-name]


                7. Click on Login with user and then



                  • type your username you typed at point 9

                  • domain leave it WORKGROUP

                  • type your password you typed at point 9


                and VOILA!



                BTW: to find your ip address you can type ifconfig -a and your ip address should start with 192.182.*.* it should be near this word inet 192.168.100.7







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Apr 13 at 8:19

























                answered Mar 28 at 15:20









                Dimitar

                1767




                1767












                    Popular posts from this blog

                    pylint3 and pip3 broken

                    Missing snmpget and snmpwalk

                    How to enroll fingerprints to Ubuntu 17.10 with VFS491