Can't ping by hostname from clients - was Which distro to switch an FC3 samba server to?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I believe I may have found the root *problem* to what initially appeared to be a samba problem. The clients, that are failing to connect to my samba shares, are not able to resolve the DNS name of the samba server. If I do a "net view \\ipaddress", rather then "net view \\serverName", the 'failing' client is able to spot the samba services. The failing clients fail to resolve the DNS name if I do a "ping serverName", but are successful if I do a "ping ipaddress".

An "ipconfig /all" shows the same results for both the functioning client machine and the non-functioning client machines.

My primary DNS server is the samba server. It's (Anar) 192.168.0.2. I can ping by hostname from Anar (192.168.0.2) -> Frodo(192.168.0.103). However, even though Frodo shows 192.168.0.2 as its primary DNS/WINS server, if I attempt to ping Anar from Frodo by hostname, rather then by IP address, Frodo can't resolve the hostname.

The only difference that I can see is that the client that is working is physically closer. It connects into the same hub, while the failing clients are two hubs away.

I have another DHCP server in the network. The DirecWay satellite modem has one built in, but none of the clients use that one. My dhcp setting, which are what show up with a ipconfig command, show the modem as the default gateway, and secondary WINS server, but the Anar (192.168.0.2) box as the primary DNS and primary WINS server.

I'm guessing that if I can figure out how to get the client machines to properly resolve the DNS hostname lookup, that the samba problems will also be resolved. As a mentioned before, this was working without problem on FC2. I'm guessing that during the upgrade / update process, one of the configuration files got stepped on. I've had several people check the smb.conf and that one appears functional. /etc/resolve.conf appears reasonable. Qian Qiao looked over my dhcpd.conf (thank-you muchly) and didn't spot anything. Any suggestions on where to attack this next?

According to the Ubunto distro-review that was posted earlier, he had a somewhat similar problem on his Ubunto distro, with network problems occurring roughly 15 minutes after restarting the network. I've seen the same symptoms on FC3 with some of the client machines. He resolved it by downloading resolveconf, pump (to replace DHCP) and dnsmasq. I haven't gone that far yet. He also had problems with up2date crashing half-way through. I tried Dag's smart but kept getting script failures (sorry Dag). I didn't try yum. After being up all night, I finally got apt-get to work in the end. 614 MBytes of updates ... sheez!

--
A. Rick Anderson


# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2004/10/11 17:28:51

# Global parameters
[global]
	workgroup = GALARIK
	netbios name = %h
	server string = %h/%L A Samba Server, version %v
	obey pam restrictions = Yes
	password server = None
	pam password change = Yes
	passwd program = /usr/bin/passwd %u
	passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
	username map = /etc/samba/smbusers
	unix password sync = Yes
	log file = /var/log/samba/%m.log
	max log size = 0
	name resolve order = wins,hosts,lmhosts,bcast
	time server = Yes
	socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
	printcap name = /etc/printcap
	domain logons = Yes
	os level = 60
	preferred master = Yes
	domain master = Yes
	wins proxy = Yes
	wins support = Yes
	idmap uid = 16777216-33554431
	idmap gid = 16777216-33554431
	guest ok = Yes
	printing = lprng
	print command = lpr -r -P'%p' %s
	lpq command = lpq -P'%p'
	lprm command = lprm -P'%p' %j
	lppause command = lpc hold '%p' %j
	lpresume command = lpc release '%p' %j
	queuepause command = lpc stop '%p'
	queueresume command = lpc start '%p'

[homes]
	comment = Home Directories
	valid users = %S
	writeable = yes
	create mask = 0664
	directory mask = 0775
	browseable = No

[netlogon]
	comment = Network Logon Service
	path = /home/netlogon
	share modes = No

[printers]
	comment = All Printers
	path = /var/spool/samba
	printable = Yes
	browseable = No

[tmp]
	comment = Temporary file space
	path = /tmp
	guest ok = yes
	writeable = yes

[public]
	comment = Shared Directories
	path = /home/public
	writeable = yes
	guest ok = yes
	guest only = Yes

[readerware]
	comment = Readerware Database
	path = /home/readerware/readerware
	writeable = yes
	create mask = 0766
	guest only = Yes
	hide dot files = No
; generated by /sbin/dhclient-script
search galarik.org
nameserver 198.77.116.8
nameserver 192.168.0.2
nameserver 66.82.4.8
default-lease-time 28800;
max-lease-time 86400;
option subnet-mask 255.255.255.0;
option routers 192.168.0.1;
option domain-name-servers 192.168.0.2, 198.77.116.8;
option netbios-name-servers 192.168.0.2, 192.168.0.1; 
option broadcast-address 192.168.0.255;
option domain-name "galarik.org";

ddns-update-style interim;

subnet 192.168.0.0 netmask 255.255.0.0 {
	range 192.168.0.1 192.168.0.250;
	host Illuvatar {
		hardware ethernet 00:0C:76:B2:A3:32;
		fixed-address 192.168.0.100;
	}
	host Sauron {
		hardware ethernet 00:01:02:85:EC:D0;
		fixed-address 192.168.0.101;
	}
	host Bilbo {
		hardware ethernet 00:07:95:D5:FC:08;
		fixed-address 192.168.0.102;
	}
	host Frodo {
		hardware ethernet 00:0A:E6:7C:CE:85;
		fixed-address 192.168.0.103;
	}
	host Thorin {
		hardware ethernet 00:60:67:2C:9E:17;
		fixed-address 192.168.0.104;
	}
	host Eru {
		hardware ethernet 00:0F:1F:22:A4:91;
		fixed-address 192.168.0.15;
	}
	host Balin {
		hardware ethernet 00:20:35:DE:55:E4;
		fixed-address 192.168.0.16;
	}
	host Gimli {
		hardware ethernet 00:20:35:DE:55:D4;
		fixed-address 192.168.0.17;
	}
	host Samwise {
		hardware ethernet 00:50:04:FC:ED:0F;
		fixed-address 192.168.0.18;
	}
	host Ori {
		hardware ethernet 00:08:AD:B4:9C:57;
		fixed-address 192.168.0.20;
	}
	host Ainu {
		hardware ethernet 00:09:6B:86:FF:2B;
		fixed-address 192.168.0.21;
	}
	host Aman {
		hardware ethernet 44:45:53:54:42:00;
		fixed-address 192.168.0.23;
	}
}

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux