Networking My Computers

Post Reply
mpskinner
Site Admin
Posts: 74
Joined: Wed Sep 20, 2017 6:52 am

Networking My Computers

Post by mpskinner » Thu Oct 26, 2017 12:41 am

I'm still wokring on this. But the following code did get my computers linked together in useful network.

Code: Select all

sudo apt-get update

Code: Select all

sudo apt-get install samba

Code: Select all

sudo apt-get install nautilus-share -y

Code: Select all

sudo smbpasswd -a username
NOTE
To see what version of nautilus you have

Code: Select all

nautilus --version
Is Samba installed

Code: Select all

samba --version

mpskinner
Site Admin
Posts: 74
Joined: Wed Sep 20, 2017 6:52 am

Re: Networking My Computers

Post by mpskinner » Sun Nov 19, 2017 10:19 am

This way is better

Install Samba

Code: Select all

sudo apt install samba
Samba is Running. Stop it.

Code: Select all

sudo service smbd stop
Goto

Code: Select all

/etc/samba/
Rename smb.conf. This will delete smb.conf and create a new file called smb.conf.bak with the contents of smb.conf as a back Up

Code: Select all

sudo mv smb.conf smb.conf.bak
Create a new empty file called smb.conf file

Code: Select all

sudo  nano smb.conf
Add this Code

Code: Select all

[global]
server string = Left Computer
workgroup = WORKGROUP
security = user
map to guest = Bad User
name resolve order = bcast host wins
include = /etc/samba/smbshared.conf
Now create the smbshared.conf file. See include = /etc/samba/smbshared.conf above. Last line.

Code: Select all

sudo nano smbshared.conf

Code: Select all

[RAMDISK]
# in this case peter is the user of the computer with smba
	force user = peter
# path to the directory you wish to share	
	path = /mnt/RAM_disk
	writable = yes
	public = yes
Test to see if all is well.

Code: Select all

testparm
You should see something like this

Code: Select all

peter@leftcom:~$ testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[RAMDISK]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Start Samba up again.

Code: Select all

sudo service smbd start
See Youtube
Youtube

Post Reply