This is the mail archive of the
mailing list for the Cygwin project.
Establishing Unix network control under cygwin?
- From: Brad <b_rosser at yahoo dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 13 Sep 2007 21:05:06 -0700 (PDT)
- Subject: Establishing Unix network control under cygwin?
Hi. I've just recently installed cygwin and I'd like to ask a few questions
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
the host can't be found; I have to put in the fully-qualified host name:
Even though a lookup via the name server:
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
hosts: files dns
and /etc/resolv.conf with:
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
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?
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html