01-24-2016, 01:20 AM
@paul1149
Sorry for delay... Been a bit busy and I still have a lot of individual notes files, moving them slowly into Cherrytree.
When I first started with Linux I still had multiple XP PC's and had issues get things to work between XP and Linux by name.
Did lots of Googling & Playing in the end I got everything working by name... So these are my notes & comments
When doing fresh install I always install:
some of these may actually not be required, I just used what I found.
Note: I only use Samba Tool to check configs, I still use LL Network Share method to set things up
Then,
In the smb.conf file, add the following to all PC's "except" one that is either always on, or is used the most.
local master = no
I put it just "below" name resolve order
This avoids the similar situation that you can get in Windows where sometimes when browsing PC's seem to disappear.
It allows 1 PC to maintain a list of all pc's on network
Then edit & modify the following:
Then change the line:
To this:
Then re-boot
I have done many builds & re-builds, I have yet to be unable to use/reference PC's by name.
All my PC's accessible by name, inc VM's.
GL
Sorry for delay... Been a bit busy and I still have a lot of individual notes files, moving them slowly into Cherrytree.
When I first started with Linux I still had multiple XP PC's and had issues get things to work between XP and Linux by name.
Did lots of Googling & Playing in the end I got everything working by name... So these are my notes & comments
When doing fresh install I always install:
Code:
sudo apt-get install system-config-samba cifs-utils libnss-winbind winbind gvfs-backends
Note: I only use Samba Tool to check configs, I still use LL Network Share method to set things up
Then,
In the smb.conf file, add the following to all PC's "except" one that is either always on, or is used the most.
local master = no
I put it just "below" name resolve order
This avoids the similar situation that you can get in Windows where sometimes when browsing PC's seem to disappear.
It allows 1 PC to maintain a list of all pc's on network
Then edit & modify the following:
Code:
gksu leafpad /etc/nsswitch.conf
Then change the line:
Code:
hosts: files mdns4_minimal [NOTFOUND=return] dns
To this:
Code:
hosts: files mdns4_minimal [NOTFOUND=return] wins dns
Then re-boot
I have done many builds & re-builds, I have yet to be unable to use/reference PC's by name.
All my PC's accessible by name, inc VM's.
Code:
dave@asus-mini-1:~$ ping hp-lappy1
PING hp-lappy1 (10.10.100.161) 56(84) bytes of data.
64 bytes from hp-lappy1 (10.10.100.161): icmp_seq=2 ttl=64 time=1.90 ms
64 bytes from hp-lappy1 (10.10.100.161): icmp_seq=3 ttl=64 time=4.97 ms
dave@asus-mini-1:~$ ping jetway1
PING jetway1 (10.10.100.180) 56(84) bytes of data.
64 bytes from jetway1 (10.10.100.180): icmp_seq=1 ttl=64 time=2.22 ms
64 bytes from jetway1 (10.10.100.180): icmp_seq=2 ttl=64 time=2.46 ms
dave@asus-mini-1:~$ ping jetway0
PING jetway0 (10.10.100.166) 56(84) bytes of data.
64 bytes from jetway0 (10.10.100.166): icmp_seq=2 ttl=64 time=1.59 ms
64 bytes from jetway0 (10.10.100.166): icmp_seq=3 ttl=64 time=1.38 ms
dave@asus-mini-1:~$ ping sm-ds87
PING sm-ds87 (10.10.100.148) 56(84) bytes of data.
64 bytes from sm-ds87 (10.10.100.148): icmp_seq=1 ttl=64 time=0.144 ms
64 bytes from sm-ds87 (10.10.100.148): icmp_seq=4 ttl=64 time=0.248 ms
dave@asus-mini-1:~$ ping sm-xh97
PING sm-xh97 (10.10.100.140) 56(84) bytes of data.
64 bytes from sm-xh97 (10.10.100.140): icmp_seq=2 ttl=64 time=0.182 ms
64 bytes from sm-xh97 (10.10.100.140): icmp_seq=3 ttl=64 time=0.194 ms
dave@asus-mini-1:~$ ping VM-XP-LIVE
PING VM-XP-LIVE (10.10.100.138) 56(84) bytes of data.
64 bytes from vm-xp-live (10.10.100.138): icmp_seq=1 ttl=128 time=0.104 ms
64 bytes from vm-xp-live (10.10.100.138): icmp_seq=2 ttl=128 time=0.148 ms
GL
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks
Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) , BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks
Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) , BBC Micro B+64(1985) , My First PC HP-Vectra(1987)