Hi everybody! I have a problem wich has pusseled me for sometime time. I have put samba on an internal subnet wich is the same as the windowsclients. Everything works great as long as internet is up and running but if internet goes down then the windowsclients can't find the sambaserver or just simly times out when trying to log in. On one installation I have a netgear router wich handels the traffic and is dhcpserver for the internal net and in the other the windows machine has a isdn-connection localy which gives it connection to the internet and also routes the internal net (sambaserver) to the internet. I also has a third installation where the server running samba also is the gateway to internet and this problem never occurs there. If internet goes down then the clients can still login whitout problem. I would really appreciate some input on this problem since it keeps me awake at nights :) I have searced the internet but couldn't find anything that explains it. Thanks in advance /marcus
Hi, i would guess you have problems with name-resolution in DNS and/or WINS. Either configure a local dns-server for your subnet on the samba-machine(s) or setup the hosts/lmhosts files on all your machines to show all other machines in the subnet. Christoph Marcus Andersson schrieb:> Hi everybody! > > I have a problem wich has pusseled me for sometime time. > > I have put samba on an internal subnet wich is the same as the > windowsclients. Everything works great as long as internet is up and > running but if internet goes down then the windowsclients can't find the > sambaserver or just simly times out when trying to log in. > > On one installation I have a netgear router wich handels the traffic and > is dhcpserver for the internal net and in the other the windows machine > has a isdn-connection localy which gives it connection to the internet > and also routes the internal net (sambaserver) to the internet. > > I also has a third installation where the server running samba also is > the gateway to internet and this problem never occurs there. If internet > goes down then the clients can still login whitout problem. > > I would really appreciate some input on this problem since it keeps me > awake at nights :) I have searced the internet but couldn't find > anything that explains it. > > Thanks in advance > > /marcus >
Marcus Andersson wrote:>Hi everybody! > >I have a problem wich has pusseled me for sometime time. > >I have put samba on an internal subnet wich is the same as the >windowsclients. Everything works great as long as internet is up and >running but if internet goes down then the windowsclients can't find the >sambaserver or just simly times out when trying to log in. > >I'm not sure what this means. The "internet" never goes down. What I assume is that the local lan loses internet conectivity. If so, the cause of the disconnection is the source of the problem, not samba.>On one installation I have a netgear router wich handels the traffic and >is dhcpserver for the internal net >OK, here it sounds like your router is going down (?). Why not run dhcp from the *nix box running samba. That way you could also hand out wins server info to the windows clients, which I'm certain the netgear router cannot do. Depending on the dhcp timeout on the netgear, if netgear goes down, as soon as the dhcp client needs to get an ip reissued, the client IP probably goes away.>and in the other the windows machine >has a isdn-connection localy which gives it connection to the internet >and also routes the internal net (sambaserver) to the internet. > >Huh?>I also has a third installation where the server running samba also is >the gateway to internet and this problem never occurs there. If internet >goes down then the clients can still login whitout problem. > >I would really appreciate some input on this problem since it keeps me >awake at nights :) I have searced the internet but couldn't find >anything that explains it. > >Thanks in advance > >/marcus > > >