Tilted Forum Project Discussion Community  

Go Back   Tilted Forum Project Discussion Community > Interests > Tilted Technology


 
 
LinkBack Thread Tools
Old 09-03-2003, 06:08 PM   #1 (permalink)
Crazy
 
samba name resolution troubleshooting

I recently changed the subnet of my home network.

Here's my setup

server: RH 7.2 acting as a Windows domain server.

one physical network interface set to obtain an IP address via DHCP (.4 currently)

The physical interface has one alias (.250)

my host file has my server name "bocephus" resolving to both the physical interface and the alias.

I have no firewall running on my Linux box, all of my machines are behind a hardware NAT firewall.

I can ping the server from the server by name and IP.

I can ping the client machine from the server by IP but not by hostname.

I can ping the server from the client machine by IP but not machine name.

server:
smbclient -L {server IP and name} lists all of the SMB shares on the server

smbclient -L {client IP} lists all of the SMB shares on the client. I can not list the shares if I try to -L by the clients hostname

client:
net view {server IP} lists all SMB chares
on the server. I cannot view the server by hostname

The server does not show up in the Network Neighborhood.

So the basic problem seems to be that the broadcasting on the server is not working. It had been working until I changed the IP address on the physical interface and the alias. I changed the subtnet of the IP pool on my DHCP router.

Any ideas what to try next?
twister002 is offline  
Old 09-04-2003, 01:53 PM   #2 (permalink)
Vanishing, like I do..
 
Location: Austin, TX
NMBD running?
__________________
Toy-like people make me boy-like.
meff is offline  
Old 09-04-2003, 04:55 PM   #3 (permalink)
Crazy
 
Quote:
Originally posted by meff
NMBD running?
yup, I could connect to the SMB shares on the server by using the IP address instead of the server host name.

It's working correctly now, I'm still not sure what was wrong. I was using Webmin to administer the Samba server and it blanked my entire smb.conf file. So I recreated it from scratch. The only other thing I changed was remove the alias from eth0. I'm not sure what combination of things, or time, solved the problem though so I can't really post a solution.
twister002 is offline  
Old 09-04-2003, 10:56 PM   #4 (permalink)
Upright
 
Location: The Basement in Calgary, Alberta, Canada
Tried enabling the server as a WINS server and having the clients use it for WINS resolution? I use that on my home setup and never have problems, when guests come to the house they can easily see all the other computers on the workgroup, even though they may be on a different workgroup, they seem to have no problems browsing the fileshares.
__________________
My opinions are my own, you may or may not agree with them, but those are your opinions, which I also may or may not agree with.
Kyrin is offline  
Old 09-05-2003, 12:44 AM   #5 (permalink)
In Your Dreams
 
Latch's Avatar
 
Location: City of Lights
While you guys are troubleshooting Samba... question for you all. I'd start this as a new thread, but it's the exact same subject (name resolution). I hope this isn't a hijack, and you guys can answer both questions hehe.

I can't resolve names on my network when the machines are on another subnet. I do nmblookup on the names, and it just checks my subnet. How do I get it to work with the other subnets? This is at uni, so I can't be a WINS server, I do have my WINS client IP addresses set up correctly though. I'm the master browser. Let me know if you want to see my smb.conf.

Thanks!
Latch is offline  
 

Tags
resolution, samba, troubleshooting


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 04:48 AM.

Tilted Forum Project

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43