Linux Lite Forums

Full Version: network share drives me mad
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
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
WOW - Thank you for those suggestions!

I will implement them and eventually report back!
Pages: 1 2 3