Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What am I missing?

Status
Not open for further replies.

cb49747

MIS
Apr 23, 2002
181
US
I had a network set up with a half dozen windows xp pro computers, and redhat 7.2 linux server with samba configured as wins and domain server.

everything was working fine.

I then installed a direcway router for my internet access. I can not configure anything on this router and the ip address is set to 192.168.0.1 and since my network used 192.168.1.xxx I had to go ahead and reset the ip address on my network. The router also has dhcp running automaticaly so I'm using that with the exception of the server which is set to 192.168.0.2.

After the changes were made, I have been unable to access other computers from the network.

It seems to log in allright, but then cannot find the profile. when I ping 192.168.0.2 it works I get I get on the internet ok, but can not seen to access the shared directories. When I ping server the netbios name for 192.168.0.2 it says it get no reply from 192.168.1.1 the old address for server. All host and lmhost files are empty as I do not use them (wins)

Help, what am I missing. Why is the netbios name not updating to the new ip address?

Chris Burger
 
You might check you WINS server settings to see if the address has been updated.
 
You might check your WINS server settings to see if the address has been updated.
 
agrappe,

Thanks, It appears to be a wins server problem hence a samba or linux problem.

Chris
 
I understand that. Have you checked your WINS settings on your linux server? Do you have static WINS entries (possibly in /var/cache/samba/wins.dat)? Have you tried restarting Samba? Do you have static entries in /etc/hosts?
 
agrappe,

You my friend are a genius. I have also posted this in the linux forum and no one could tell me where my win.dat file was located. You managed to do it here. Thanks a bunch.

I do not know much about the win.dat file. I tried just renaming it to win.bak and then restarted my server but with no luck.

I looked at the file at it had server set to 192.168.1.1 and it should be 192.168.0.2. any idea on how to clear this file out.
 
I wish I could take credit for it, but I found it by googling wins & samba. Now I can't find the page that had it. :(

I think you can edit it with a text editor and then restart Samba. I haven't actually done this, but you might give it a try.
 
Well I deleted the wins.dat file and restarted the server. It generated a new wins.dat file but with the same old wrong information. I then deleted it again and shut sown the server, and this time I also shut down the router. Restarted the router then restarted the server and all is well.

Not sure how wins works, but it seems as if the router was holding the bad information and sending it to wins everytime I started it up. By clearing out the router I got fresh information in wins thus fixing the problem.

THanks for everyones help.

Agrappe, I had goodled as well but was unable to find any pertenant information. anyway thanks.

Chris
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top