Those would be the Samba Server packages. To read Windows shares on a remote windows machine you only need the samba client packages. To offer up Windows shares to other machines you need in addition the Samba Server packages.TuftyDave wrote:Hi,
All the samba stuff is fine one copy of nmbd and three copies of smbd running.
You say:-
"Go to MENU => CONTROL CENTER => INTERNET and NETWORK"
Don't have that on my Linux. Could it be under a different name?
I found something that says it is "Personal File Sharing Preferences"
"Share Files over the Network"
But it also says:- "This feature cannot be enabled because the required packages are not installed on your system"
No hint of what those might be however! (subtle hint for Linux coders!)
1. What flavor of Linux are you running? What Desktop? On most MINTs Samba is enabled by default.
On my MATE MINT the Control Center has a Shared Folders Icon. On Ubuntu there was a similar function under the Preferences, or System Settings area. This is pretty standard, if you look you MUST be able to find this functionality. This will save you having to run the various arcane smbpasswd etc. cmds.
2. On your windows box, when you go to the 'browse network' feature (whatever that is on Win8 - they keep changing it) can you see your linux box?
Just because Windows can see address 192.168.0.102, does not mean that the Windows share software can see your linux box. To just see the IP address only requires a basic TCP/IP stack. For Explorer to see the host name requires a running smbd, and nmbd process on linux.
3. Windows typically does not care about upper or lower case. Linux does. When you create your user dave, try to give it the same case on the linux box as you have on the windows box. Std unix is for all user names to be lowercase, but if Windows is trying to log in to samba as "DAVE" and samba is expecting "dave", it wont work. Also make the passwords the same, at least until you have finished testing.
4. Go to your package manager, (Synaptic in MINT, or Ubuntu) and look for all the packages relating to samba. Install most of them. I don't know why you cant see the graphical configuration of samba from your control panel.
5. Some useful samba cmds that can run on your LINUX box. But I don't think these will help you since your problem seems to be that it is Windows that cannot connect to Linux, not the other way round. Anyway for future reference......
a)
Code: Select all
sudo nmap -sS -sU -T4 192.168.0.100
You need to have at least these ports open for Samba/SMB to work:
b)139/tcp open netbios-ssn
445/tcp open microsoft-ds
137/udp open|filtered netbios-ns
138/udp open|filtered netbios-dgm
Code: Select all
nbtscan [-s :] 192.168.1.0/24
c) List public SMB shares with
Code: Select all
smbclient -L //server -U user
Code: Select all
smbclient //server/share -U user