Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ping windows machine by name
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
jeff.buzzell
n00b
n00b


Joined: 24 Aug 2002
Posts: 35
Location: West Des Moines, Iowa

PostPosted: Sat Nov 23, 2002 4:34 am    Post subject: ping windows machine by name Reply with quote

Ok, I dont even know where to start. I have a windows 2000 server that I want to mount an smb share on. I have it in my kernel, and have emerged samba and done the smbpasswd thing. I can browse from windows 2000 to Buzz(gentoo box). but when I try and ping master(win2K) i get ping: unknown host master. this is on a private network with no dns internally. what do I need to do to get master to resolve ( or any other windows box on my network)

Thanks....sorry for being a frustrated noob
:(
Back to top
View user's profile Send private message
woboz
n00b
n00b


Joined: 24 Oct 2002
Posts: 65

PostPosted: Sat Nov 23, 2002 4:40 am    Post subject: Reply with quote

add master and ip address to /etc/hosts file
Back to top
View user's profile Send private message
jeff.buzzell
n00b
n00b


Joined: 24 Aug 2002
Posts: 35
Location: West Des Moines, Iowa

PostPosted: Sat Nov 23, 2002 4:43 am    Post subject: Reply with quote

master gets dynamic IP from cable/dsl router
Back to top
View user's profile Send private message
dennis
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jun 2002
Posts: 84

PostPosted: Sat Nov 23, 2002 6:53 am    Post subject: Reply with quote

does your router do WINS name resolution?
Back to top
View user's profile Send private message
474
l33t
l33t


Joined: 19 Apr 2002
Posts: 714

PostPosted: Sat Nov 23, 2002 7:15 am    Post subject: Reply with quote

Quote:
this is on a private network with no dns internally
DNS is a standard service in Win2000 Server (you have to pick a domain name during configuration and DNS is used natively in a Win2000 network). I have had Linux running in a Win2000 Server setup and I've done it this way ...

1) Assuming your Win2000 domain name is "lan.local" and master's IP address is 10.0.0.1 edit /etc/resolv.conf:
Code:
domain lan.local
nameserver 10.0.0.1

2) Add a record for your Linux host in the Win2000 DNS administration tool.

This should ensure local name resolution in all directions between all local hosts, but you will lose DNS resolution for external hosts unless the Win2K Server has Internet connectivity. If the server doesn't have connectivity then disable DNS forwarding on Win2K, then try putting your ISP's nameservers in resolv.conf too. And ensure that your ethernet card is configured with an IP/subnet that's within range of master - you should be able to ping master by IP address at least (I'm assuming your DSL/cable device is connected by other means, otherwise I can't see how you've got LAN connectivity). Make sure Samba isn't acting as a WINS server, make Samba act as a WINS client to master - only if master has the WINS service installed (won't by default), and that the OS level isn't too high (so that Samba doesn't beat master in "browser elections").

If master is running Win2000 Pro then you would certainly have to maintain the hosts file instead of the above.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum