Windows PCs don't see Sabayon PC

Issues Related to Networking (Wired and Wireless)

Moderator: Moderators

Windows PCs don't see Sabayon PC

Postby TommyWylie » Wed Jan 25, 2012 21:45

I have several Windows PCs on my home network (hard wired not wifi). They are all members of "Workgroup" and are titled PC1, PC2, etc.

The Sabayon PC is named PC4 and I set it up as part of the Workgroup, with two shared folders inside "home". However, while PC4 can see all the other PCs on the workgroup (and acess all shared folders on them), none of my Windows PCs can see PC4 in the Workgroup. They can all ping it, but they can't access it. I can ping it with 192.168.0.4, but if I type "ping PC4" I get "unknown host PC4".

I have disabled the firewall on PC4, but I am still unable to access PC4 from a Windows PC. I am relatively new to Linux, and completely new to Sabayon, so I don't really know how to set the accessibility.
TommyWylie
Baby Hen
 
Posts: 5
Joined: Wed Jan 25, 2012 20:46

Re: Windows PCs don't see Sabayon PC

Postby Thev00d00 » Thu Jan 26, 2012 12:57

Check the UFW Firewall
Image
Please report Bugs on the Bugzilla, not forum
Please Adopt an Unanswered thread
Website / Blog : v00d00.net
twitter: Follow Me
G+: Circle Me
User avatar
Thev00d00
Generally Awesome (tm)
 
Posts: 1467
Joined: Wed Feb 21, 2007 15:52
Location: United Kingdom

Re: Windows PCs don't see Sabayon PC

Postby Fitzcarraldo » Thu Jan 26, 2012 18:06

Make sure the Samba initscript is in the default runlevel:

Code: Select all
# rc-update -v show | grep samba
                samba |      default

If it isn't, add it:

Code: Select all
# rc-update add samba default

Same goes for the CUPS daemon:

Code: Select all
# rc-update -v show | grep cups
                cupsd |      default

Code: Select all
# rc-update add cupsd default

Also make sure your Samba configuration file /etc/samba/smb.conf is correct. Here's mine as an example (obviously your NETBIOS name and Public directory path will be different to mine):

Code: Select all
[global]
netbios name = meshedgedx
message command = /usr/bin/linpopup "%f" "%m" %s; rm %s
printcap name = cups
printing = cups
printer admin = @adm
log file = /var/log/samba3/log.%m
max log size = 50
map to guest = bad user
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/private/smbpasswd
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
name resolve order = wins lmhosts bcast
wins support = yes
dns proxy = no

[homes]
comment = Home Directories
read only = no

[netlogon]
comment = Network Logon Service
path = /var/lib/samba/netlogon
guest ok = yes

[printers]
comment = All Printers
path = /var/spool/samba
guest ok = yes
printable = yes
create mask = 0700
print command = lpr-cups -P %p -o raw %s -r   # using client side printer drivers.

[print$]
path = /var/lib/samba/printers
write list = @adm root
guest ok = yes

[PUBLIC]
path = /home/fitzcarraldo/Public/
guest ok = yes
read only = no

Make sure you have UFW configured to allow Samba and CUPS to access the network: see my post How to config ufw/ufw-frontends for Samba browsing/printing.

In addition, I had to enable authentication on a Vista PC on my home network. Perhaps the same applies with Windows 7 (I don't know). See the first part of the SL Wiki article HOWTO: Vista printer sharing for details. Also make sure the firewall on your other PCs are not blocking the traffic. I had to configure the firewalls at both ends, as I explained in the aforementioned SL Wiki article.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7340
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom


Return to Networking and Wireless

Who is online

Users browsing this forum: No registered users and 1 guest