0

I try to make an ethernet network of 2 Computers, both with Ubuntu. I am using cross cable. I tried to connect them as shown here. How to network two Ubuntu computers using ethernet (without a router)? When I open Browse Network folder(to share files) on both computers, the computers are not shown. Ping shows 64 bytes from 10.0.0.2: icmp_seq=1 ttl=128 time=0.457 ms multiple entrys(doesnt stop) System monitor on the first showed a transmission of 600MB, on the other one some kb in up and download.

4

1 Answer 1

1

A way to share folders

In each of the computers:

Open a terminal,

Press Ctrl+Alt+T

And install Samba running:

sudo -i
apt-get update
apt-get install samba samba-common samba-common-bin samba-vfs-modules smbclient

Set a password for each user in Samba

 sudo -i
 smbpasswd -a <user_one>
 smbpasswd -a <user_two>

Create a directory to be shared, suppose /home/user/Share

  sudo -i
  mkdir /home/<user_name>/Share

Edit the file /etc/samba/smb.conf

  sudo -i
  nano//etc/samba/smb.conf

In the open file, add this to the very end of the file:

[Share]
path = /home/<user_name>/Share
available = yes
valid users = <user_one>, <user_two>
read only = no
browseable = yes
public = yes
writable = yes 

Ctrl + O, save file. Ctrl + X, close nano.

To access the network share use:

your username and password through the path:

smb://<HOST_IP>/home/<user_name>/Share 

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .