cpthk wrote:I went through the list, they didn't solve my problem
Well, if you had the output of testparm -s would be different than what it is and I'm fairly certain you would have some kind of output from smbtree even if it was nothing but error messages so ...
[1] Samba Browsing depends on all hosts being members of the same subnet.
Are all the machines connecting to the same router and all have ip address in the same range like 192.168.0.100, 192.168.0.101, 192.168.0.102, etc..?
[2] Services not starting at boot.
Restart or start your services:
- Code: Select all
sudo service smbd restart
sudo service nmbd restart
[3] Hostname
The hostnames of all your machines have to be 15 characters or less in length because Mint uses your host name as the netbios name to broadcast to the rest of the network.
[4] Name Resolution
Edit smb.conf as root:
- Code: Select all
gksu gedit /etc/samba/smb.conf
Add the following line to the [global] section right under the workgroup line:
- Code: Select all
name resolve order = bcast host lmhosts wins
At this point restart smbd and nmbd again then run the following command to see if you have the "name resolve order" line showing up:
- Code: Select all
testparm -s
Now run the following and see if your lan machines show up.
- Code: Select all
smbtree
If not disable everyones firewall and try it again.
This procedure will have to be done on all the Linux machines on your network. Windows machines pretty much do this sort of thing automatically.