Re: Establishing Unix network control under cygwin?

2007-09-14 Thread René Berber
Brad wrote:

[snip]
 Would anyone care to:
 
 a.  confirm whether 'nsswitch.conf' and such work in Cygwin?

No.  But /etc/resolv.conf does if you installed minires.

 b.  tell me how I can get Cygwin to search various domains when
  trying to resolve hostnames?

Haven't tried it myself but adding 'search domain.whatever' in /etc/resolv.conf
might work.

Sure way to do it: add the search domains in Windows' Advanced TCP/IP Settings
for your network card, in the append... options of course.

 c.  tell me about any 'networking' FAQ for cygwin?

No dice.

 We primarily use NIS here, although DNS as well; I believe NIS isn't
 available with cygwin?

Don't really know the answer to that one.
-- 
René Berber


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Establishing Unix network control under cygwin?

2007-09-14 Thread LDR

Brad wrote:

Hi.  I've just recently installed cygwin and I'd like to ask a few questions
about networking.

I've installed practically all the Cygwin packages but I'm frustrated by a
couple of trivial little problems.  For example, when I do a

  ping host

the host can't be found; I have to put in the fully-qualified host name:

  ping host.company.com

  
Make sure that the 'ping' that's being used is from /usr/bin (== /bin), 
and not from (for example) WINDOWS/System32


Do a 'which -a', to answer this question.

BTB, in the aforementioned System32 dir, there is also a traceroute -- 
'tracert', which just like it's name is at least a few characters short 
of adequacy, but c'est la defenestration. ;-)


See also: Google: tracetcp

HTH,

Lee

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Establishing Unix network control under cygwin?

2007-09-13 Thread Brad
Hi.  I've just recently installed cygwin and I'd like to ask a few questions
about networking.

I've installed practically all the Cygwin packages but I'm frustrated by a
couple of trivial little problems.  For example, when I do a

  ping host

the host can't be found; I have to put in the fully-qualified host name:

  ping host.company.com

Even though a lookup via the name server:

  nslookup host

works, without the argument having to be fully-qualified.

So I set up a simple /etc/nsswitch.conf, as I would on any Unix machine, with
the contents:

  hosts:  files dns

and /etc/resolv.conf with:

  search company.com

but it's had no effect.

I also can't find man pages for 'nsswitch.conf' or 'resolv.conf' in my cygwin
installation, or even 'getent', so I'm wondering if those files are even used
by cygwin.

I've searched for terms like 'cygwin' and 'nsswitch.conf' but haven't found
anything to go on.  I do apologise if this is a real 'newbie' question.

I suspect that cygwin delegates all things networking off to Windows, and so
to fix this problem I'd have to do the equivalent of an nswitch.conf entry
in Windows land?  Which I'm not competent to do, unfortunately.

Would anyone care to:

a.  confirm whether 'nsswitch.conf' and such work in Cygwin?

b.  tell me how I can get Cygwin to search various domains when
 trying to resolve hostnames?

c.  tell me about any 'networking' FAQ for cygwin?

We primarily use NIS here, although DNS as well; I believe NIS isn't
available with cygwin?

Many thanks,


Brad



   

Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, 
photos  more. 
http://mobile.yahoo.com/go?refer=1GNXIC

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/