Re: Help: My girlfriends XP box can't see my Linux samba shares
From: Mihai Osian (zzz_at_zzz.com)
Date: 09/13/05
- Next message: Edward Diener No Spam: "Support in kernel for Raid controller"
- Previous message: Chris F.A. Johnson: "Re: Linux equivalent of a Windows batch file"
- In reply to: Mike Martin: "Help: My girlfriends XP box can't see my Linux samba shares"
- Next in thread: don_pettengill_at_spamgilent.com: "Re: Help: My girlfriends XP box can't see my Linux samba shares"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 13 Sep 2005 17:27:04 +0200
Mike Martin wrote:
>Linux box CAN print to printer shared off XP box, I can see files and put
>files on that box.
>
>XP Box can NOT see Linux box.
>
>I'm fairly sure my samba.conf is correct, I believe I have a user and
>samba password that works, but the XP box doesn't even show another box on
>the network.
>
>I've goggle'd all over and read ten different sites for Samba conf but I'm
>not sure this is the problem.
>
> Mike
>
>
>
Hi Mike,
Next time also show us the configuration file that you're "fairly sure"
to be correct. Without them, I suggest you do the following:
1) ps ax | grep smbd
If you get something containing "/usr/sbin/smbd -D" then samba is
running - go to step 2. If not, you probably screwed up samba.conf and
samba didn't start - run "testparm" to see what might be wrong (I
suppose you already started samba, right ?)
2) ps ax | grep nmbd
If you get something containing "/usr/sbin/nmbd -D" then your box should
also be visible on the network - go to step 3. If not, too bad...
3) smbclient -N -L localhost
Just a checkup - this should show everything is shared on your linux box.
If you got to this point, the only problem I can imagine is the Linux
firewall. Run "iptables -L -v" (as root). Hopefully you will only see
these lines:
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source
destination
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source
destination
Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source
destination
If that is the only output, your firewall is disabled - theoretically
everything should work. If you see more lines, disable the firewall by
running:
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
iptables -F
iptables -X
Then try again. If your box is on a public network you should
re-enable the firewall after making samba work.
Mihai
- Next message: Edward Diener No Spam: "Support in kernel for Raid controller"
- Previous message: Chris F.A. Johnson: "Re: Linux equivalent of a Windows batch file"
- In reply to: Mike Martin: "Help: My girlfriends XP box can't see my Linux samba shares"
- Next in thread: don_pettengill_at_spamgilent.com: "Re: Help: My girlfriends XP box can't see my Linux samba shares"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|