View previous topic :: View next topic |
Author |
Message |
jeff.buzzell n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Loony Toons/Looney_Toons_-_Yosemite_Sam.gif)
Joined: 24 Aug 2002 Posts: 35 Location: West Des Moines, Iowa
|
Posted: Sat Nov 23, 2002 4:34 am Post subject: ping windows machine by name |
|
|
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
![Sad :(](images/smiles/icon_sad.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
woboz n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Southpark/avatar14.gif)
Joined: 24 Oct 2002 Posts: 65
|
Posted: Sat Nov 23, 2002 4:40 am Post subject: |
|
|
add master and ip address to /etc/hosts file |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jeff.buzzell n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Loony Toons/Looney_Toons_-_Yosemite_Sam.gif)
Joined: 24 Aug 2002 Posts: 35 Location: West Des Moines, Iowa
|
Posted: Sat Nov 23, 2002 4:43 am Post subject: |
|
|
master gets dynamic IP from cable/dsl router |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dennis Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 06 Jun 2002 Posts: 84
|
Posted: Sat Nov 23, 2002 6:53 am Post subject: |
|
|
does your router do WINS name resolution? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
474 l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 19 Apr 2002 Posts: 714
|
Posted: Sat Nov 23, 2002 7:15 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|