PDA

View Full Version : Samba only works with Internet on


RossGoodman
7th May 2006, 03:40 PM
Hi
I have 2 FC3 servers sitting behind my Linksys WAG354G.
I have Samba configured fine, no problems with it at all.
If I disconnect the internet, then I cannot see any of my Samba shared.
I can ping the servers OK,
I can telnet to each server.
In the samba configuration I have used the IP addresses of the servers.
Anyone any ideas?

Ross

Zotter
7th May 2006, 06:41 PM
What else goes 'away' when you turn off/disconnect the Linksys?

Does each machine still have an IP address?

Can they ping each other?

Is each box plugged into a switch indipendant of the linksys?

RossGoodman
7th May 2006, 09:03 PM

Thats the only thing that I have noticed that breaks.
I can ping each box no problem.
The linksys box is the only thing that links them, no other switches/hubs.
I use static IP addresses, if that makes a difference.
I am only disabling the internet connection, not switching off the Linksys box.

Seve
8th May 2006, 12:52 AM
Thats the only thing that I have noticed that breaks.
I can ping each box no problem.
The linksys box is the only thing that links them, no other switches/hubs.
I use static IP addresses, if that makes a difference.
I am only disabling the internet connection, not switching off the Linksys box.
Dunno for sure but likely your WAG354G is doing the dns? and needs the internet or thinks it does to perform this function perhaps??
If you haven't already done so check your /etc/hosts files and see if you can add a couple of lines to help resolve dns?
e.g.
IP address ServerOne
ServerOne IP address
IP address ServerTwo
ServerTwo IP address

As I said, dunno for sure but you could try to ping the Severs using their name with the Internet turned off. You can ping successfully by IP address, but it may be the name thing? If you can successfully ping by name, then I guess it is something else?
hth
Seve