Trying to locally share a folder between Ubuntu 17.10 and Ubuntu 18.04 [closed]
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
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?
networking server permissions samba 18.04
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
add a comment |Â
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?
networking server permissions samba 18.04
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
add a comment |Â
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?
networking server permissions samba 18.04
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
networking server permissions samba 18.04
edited Mar 28 at 17:20
![](https://i.stack.imgur.com/8CW8e.png?s=32&g=1)
![](https://i.stack.imgur.com/8CW8e.png?s=32&g=1)
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
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
add a comment |Â
add a comment |Â
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:
- to make it executable
sudo chmod 777 /[path]/[to]/[shared-folder]
- installed samba
sudo apt install samba
- edited the conf file of samba
sudo nano /etc/samba/smb.conf
- 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
- Save the file and tested with
testparm
if the file have any errors - Restart samba server with
systemctl restart smbd
- Allowing port 139 with
sudo ufw allow 139/tcp
- Allowing port 445 with
sudo ufw allow 445/tcp
- Create password for samba
sudo smbpasswd -a [your-username]
- Then on my other computer i typed:
smb://[ip-address-of-my-server]/[folder-name]
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
add a comment |Â
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:
- to make it executable
sudo chmod 777 /[path]/[to]/[shared-folder]
- installed samba
sudo apt install samba
- edited the conf file of samba
sudo nano /etc/samba/smb.conf
- 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
- Save the file and tested with
testparm
if the file have any errors - Restart samba server with
systemctl restart smbd
- Allowing port 139 with
sudo ufw allow 139/tcp
- Allowing port 445 with
sudo ufw allow 445/tcp
- Create password for samba
sudo smbpasswd -a [your-username]
- Then on my other computer i typed:
smb://[ip-address-of-my-server]/[folder-name]
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
add a comment |Â
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:
- to make it executable
sudo chmod 777 /[path]/[to]/[shared-folder]
- installed samba
sudo apt install samba
- edited the conf file of samba
sudo nano /etc/samba/smb.conf
- 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
- Save the file and tested with
testparm
if the file have any errors - Restart samba server with
systemctl restart smbd
- Allowing port 139 with
sudo ufw allow 139/tcp
- Allowing port 445 with
sudo ufw allow 445/tcp
- Create password for samba
sudo smbpasswd -a [your-username]
- Then on my other computer i typed:
smb://[ip-address-of-my-server]/[folder-name]
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
add a comment |Â
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:
- to make it executable
sudo chmod 777 /[path]/[to]/[shared-folder]
- installed samba
sudo apt install samba
- edited the conf file of samba
sudo nano /etc/samba/smb.conf
- 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
- Save the file and tested with
testparm
if the file have any errors - Restart samba server with
systemctl restart smbd
- Allowing port 139 with
sudo ufw allow 139/tcp
- Allowing port 445 with
sudo ufw allow 445/tcp
- Create password for samba
sudo smbpasswd -a [your-username]
- Then on my other computer i typed:
smb://[ip-address-of-my-server]/[folder-name]
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
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:
- to make it executable
sudo chmod 777 /[path]/[to]/[shared-folder]
- installed samba
sudo apt install samba
- edited the conf file of samba
sudo nano /etc/samba/smb.conf
- 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
- Save the file and tested with
testparm
if the file have any errors - Restart samba server with
systemctl restart smbd
- Allowing port 139 with
sudo ufw allow 139/tcp
- Allowing port 445 with
sudo ufw allow 445/tcp
- Create password for samba
sudo smbpasswd -a [your-username]
- Then on my other computer i typed:
smb://[ip-address-of-my-server]/[folder-name]
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
edited Apr 13 at 8:19
answered Mar 28 at 15:20
Dimitar
1767
1767
add a comment |Â
add a comment |Â