Linux Lite Forums
network share drives me mad - Printable Version

+- Linux Lite Forums (https://www.freecinema2022.gq/forums)
+-- Forum: Hardware - Support (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=6)
+--- Forum: Network (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=24)
+--- Thread: network share drives me mad (/showthread.php?tid=817)

Pages: 1 2 3


Re: network share drives me mad - Wirezfree - 01-14-2015

Hi greenisland,

Sorry for the late follow-up, having a couple of issue with a new install.
On this new install, I followed my own guide, and all my networking/sharing worked out fine.
Here are a couple of things I do,
They maybe redundant legacy things from when I had Windows/Linux, but they still work for me.

Before I start on network setup and sharing I install various packages:
Code:
sudo apt-get install system-config-samba cifs-utils libnss-winbind winbind gvfs-backends

Then when doing the samba.conf file, I also add these 2 lines in the Global section
name resolve order = bcast host lmhosts wins
local master = no
This helps in name resolution & lookup, and stops various PC's competing for "who is master browser"

Then I do:
Code:
gksu leafpad /etc/nsswitch.conf
and change the hosts line, add the wins:
Code:
hosts: files mdns4_minimal [NOTFOUND=return] dns
To this:
Code:
hosts: files mdns4_minimal [NOTFOUND=return] wins dns
This helps in name resolution & lookup.

A couple of commands that I have found useful in checking everything is showing up.?

Code:
smbtree
and
Code:
nmblookup -S <your_workgroup_name>

like:
Code:
nmblookup -S WORKGROUP

Can't think of anything else

Dave



Re: network share drives me mad - greenisland - 01-17-2015

WOW - Thank you for those suggestions!

I will implement them and eventually report back!