Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Samba used to work and now doesn't
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
HomerSimpson
l33t
l33t


Joined: 25 Jan 2003
Posts: 869
Location: Ohio, USA

PostPosted: Tue May 13, 2003 2:06 am    Post subject: Samba used to work and now doesn't Reply with quote

Samba has been working fine for me for many months now but now it is not. I am sure it is something simple.

I have 3 computers a Windows XP, A Debian and a Gentoo system (FYI Gentoo is my fav). Both the Linux computers seem to work fine in that they see each other and smbclient -L works. The Windows XP computer can see both the Linux computers. The Debian computer can see the Windows XP computer. Gentoo cannot see the Windows Computer.

From the Gentoo computer:
Code:
nmblookup -d 2 '*'
added interface ip=192.168.1.253 bcast=192.168.1.255 nmask=255.255.255.0
querying * on 192.168.1.255
Got a positive name query response from 192.168.1.253 ( 192.168.1.253 )
Got a positive name query response from 192.168.1.254 ( 192.168.1.254 )
Got a positive name query response from 192.168.1.100 ( 192.168.1.100 )
192.168.1.253 *<00>
192.168.1.254 *<00>
192.168.1.100 *<00>


.100 is the Windows computer

Code:
nmblookup -B home-xpp '*'
querying * on <my external ip>
name_query failed to find name *


<my external ip> is my external IP given to my router from my ISP. Why?

The last thing I remember changing from when this worked to not working was not running dhcpcd. I have given myself a static ip (a private lan) ip. Both my Linux comps have static ips but my Windows computer is getting an IP from my router.

What more can I look at to see what I broke?

Thx
_________________
The strong must protect the Sweet.
Back to top
View user's profile Send private message
HomerSimpson
l33t
l33t


Joined: 25 Jan 2003
Posts: 869
Location: Ohio, USA

PostPosted: Tue May 13, 2003 10:35 pm    Post subject: Reply with quote

I answered this myself. I noticed that whenever I would ping some arbitrary host it always appended my hostname to the end. ie

ping moo

would say pinging moo.my_domain.net

I do not know why but it made me think something was up with DNS. I looked at /etc/resolv.conf on both my Debian and Gentoo computer. The difference was the in the Debian version it had a line: search earthlink.net. I added that to my /etc/resolve.conf on the Gentoo machine and now Samba Client works. Why? I do not know, but it works again now :-)
_________________
The strong must protect the Sweet.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum