Hi,
I've been trying unsuccessfully over the past couple of days to get my
windows machines to recognize my linux box. I've been working through
the troubleshooting guides I can't get the query of the client machine
to work using the broadcast address:
I have the following 3 machine network:
lifebook SUSE 192.168.1.100
renegade WXP 192.168.1.101
maverick W2K 192.168.1.105
lifebook:/var/log/samba # nmblookup -B 192.168.1.255 -d10 renegade
Initialising global parameters
params.c:pm_process() - Processing configuration file
"/etc/samba/smb.conf"
Processing section "[global]"
doing parameter netbios name = LIFEBOOK
handle_netbios_name: set global_myname to: LIFEBOOK
doing parameter workgroup = @HOME
doing parameter server string = Samba %v on host %h, NetBIOS %L
doing parameter encrypt passwords = Yes
doing parameter guest account = smbguest
doing parameter security = share
doing parameter log file = /var/log/samba/samba-log.%m
doing parameter socket options = IPTOS_LOWDELAY SO_RCVBUF=8182
SO_SNDBUF=8192
doing parameter wins support = yes
doing parameter os level = 33
doing parameter domain master = yes
doing parameter preferred master = yes
doing parameter log level = 3
pm_process() returned Yes
lp_servicenumber: couldn't find homes
set_server_role: ROLE_STANDALONE
added interface ip=192.168.1.100 bcast=192.168.1.255 nmask=255.255.255.0
bind succeeded on port 0
socket option SO_KEEPALIVE = 0
socket option SO_REUSEADDR = 1
socket option SO_BROADCAST = 1
Could not test socket option TCP_NODELAY.
socket option IPTOS_LOWDELAY = 0
socket option IPTOS_THROUGHPUT = 0
socket option SO_SNDBUF = 65535
socket option SO_RCVBUF = 65535
socket option SO_SNDLOWAT = 1
socket option SO_RCVLOWAT = 1
socket option SO_SNDTIMEO = 0
socket option SO_RCVTIMEO = 0
Socket opened.
querying renegade on 192.168.1.255
Sending a packet of len 50 to (192.168.1.255) on port 137
Sending a packet of len 50 to (192.168.1.255) on port 137
Sending a packet of len 50 to (192.168.1.255) on port 137
name_query failed to find name renegade
lifebook:/var/log/samba #
I believe the broadcast address of the windows machines are also
192.168.1.255, but how do I confirm this? A ping on the broadcast
address only hits the linux machine and the Linksys switch:
lifebook:/var/log/samba # ping -b 192.168.1.255
WARNING: pinging broadcast address
PING 192.168.1.255 (192.168.1.255) from 192.168.1.100 : 56(84) bytes of
data.
64 bytes from 192.168.1.100: icmp_seq=1 ttl=64 time=0.090 ms
64 bytes from 192.168.1.1: icmp_seq=1 ttl=150 time=0.665 ms (DUP!)
64 bytes from 192.168.1.100: icmp_seq=2 ttl=64 time=0.080 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=150 time=0.635 ms (DUP!)
Shouldn't the ping also be hitting the windows machines?
Windows IP Config:
C:\Documents and Settings\Brian Leonard>ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : Renegade
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter Local Area Connection 3:
Connection-specific DNS Suffix . : attbi.com
Description . . . . . . . . . . . : DAVICOM 9102/A PCI Fast
Ethernet Adapter
Physical Address. . . . . . . . . : 00-03-B3-01-2E-8B
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : No
IP Address. . . . . . . . . . . . : 192.168.1.101
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DNS Servers . . . . . . . . . . . : 204.127.202.4
216.148.227.68
204.127.202.4
Primary WINS Server . . . . . . . : 192.168.1.100
Lease Obtained. . . . . . . . . . : Friday, July 30, 2004
1:01:40 AM
Lease Expires . . . . . . . . . . : Saturday, July 31, 2004
1:01:40 AM
Thanks for your assistance,
Brian
--
Brian Leonard
Java Enterprise System
Sun Microsystems, Inc.
http://java.sun.com
408.404.6884
x68134 (Internal)
P.S. Please consider donating to a worthy cause and help me fight blood
related cancers with the Leukemia & Lymphoma Society. Check out
http://www.active.com/donate/tntct/kristiandbrian for more details.