This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: /etc/hosts?
- To: cygwin at sources dot redhat dot com
- Subject: Re: /etc/hosts?
- From: "Doug Wyatt" <dwyatt at sunflower dot com>
- Date: Fri, 22 Sep 2000 15:04:04 -0500
- CC: Michael Cook <mcook38 at excite dot com>
- Reply-to: dwyatt at sunflower dot com
Hi,
I think the OS that actually handles this, so you need to create a
DOS-text %WINDIR%\system32\drivers\etc\hosts file. If you have
Cygwin apps that actually look in /etc/hosts, you might try a symlink
from /etc/hosts to %WINDIR%\system32\drivers\etc\hosts.
Regards,
Doug Wyatt
>
> Hello,
> I have tried adding an /etc/hosts file to be able to ping/telnet/ssh by
> name to remote hosts, but it doesn't seem to resolve the hostname to the IP.
> Any ideas?
> Here's my setup:
>
>
> Cygnus Win95/NT Configuration Diagnostics
> Current System Time: Fri Sep 22 12:38:54 2000
>
> WinNT Ver 5.0 build 2195 Service Pack 1
>
> Path: /usr/local/bin
> /usr/bin
> /usr/bin
> /cygdrive/d/Netmanag32
> /cygdrive/d/Perl/bin/
> /cygdrive/c/WINNT/system32
> /cygdrive/c/WINNT
> /cygdrive/c/WINNT/System32/Wbem
> /cygdrive/d/PROGRA~1/ULTRAEDT
>
> SysDir: C:\WINNT\System32
> WinDir: C:\WINNT
>
> HOME = `/home/mcook'
> MAKE_MODE = `unix'
> PWD = `/bin'
> USER = `mcook'
>
> Use `-r' to scan registry
>
> a: fd N/A N/A
> c: hd NTFS 2045Mb 62% CP CS UN PA FC OS
> d: hd NTFS 4097Mb 29% CP CS UN PA FC DATA
> e: cd N/A N/A
> m: net NTFS 52062Mb 89% CP CS UN PA FC Q Device
> n: net NTFS 52062Mb 89% CP CS UN PA FC Q Device
>
> d:\cygwin\bin /usr/bin system textmode
> d:\cygwin\lib /usr/lib system textmode
> d:\cygwin / system textmode
>
> Found: .\bash.exe
> Found: d:\cygwin\bin\bash.exe
> Found: .\cat.exe
> Found: d:\cygwin\bin\cat.exe
> Not Found: cpp (good!)
> Found: .\find.exe
> Found: d:\cygwin\bin\find.exe
> Not Found: gcc
> Not Found: gdb
> Found: .\ld.exe
> Found: d:\cygwin\bin\ld.exe
> Found: .\ls.exe
> Found: d:\cygwin\bin\ls.exe
> Not Found: make
> Not Found: sh
>
> 83k 2000/06/11 .\cygitcl30.dll
> 35k 2000/06/11 .\cygitk30.dll
> 402k 2000/06/11 .\cygtcl80.dll
> 5k 2000/06/11 .\cygtclpip80.dll
> 10k 2000/06/11 .\cygtclreg80.dll
> 639k 2000/06/11 .\cygtk80.dll
> 586k 2000/08/04 .\cygwin1.dll
> Cygwin DLL version info:
> dll major: 1001
> dll minor: 4
> dll epoch: 19
> dll bad signal mask: 19005
> dll old termios: 5
> api major: 0
> api minor: 26
> shared data: 3
> dll identifier: cygwin1
> mount registry: 2
> cygnus registry name: Cygnus Solutions
> cygwin registry name: Cygwin
> program options name: Program Options
> cygwin mount registry name: mounts v2
> build date: Thu Aug 3 20:53:46 EDT 2000
> CVS tag: cygwin-1-1-4
> shared id: cygwin1S3
>
> 83k 2000/06/11 .\cygitcl30.dll
> 35k 2000/06/11 .\cygitk30.dll
> 402k 2000/06/11 .\cygtcl80.dll
> 5k 2000/06/11 .\cygtclpip80.dll
> 10k 2000/06/11 .\cygtclreg80.dll
> 639k 2000/06/11 .\cygtk80.dll
> 586k 2000/08/04 .\cygwin1.dll
> Cygwin DLL version info:
> dll major: 1001
> dll minor: 4
> dll epoch: 19
> dll bad signal mask: 19005
> dll old termios: 5
> api major: 0
> api minor: 26
> shared data: 3
> dll identifier: cygwin1
> mount registry: 2
> cygnus registry name: Cygnus Solutions
> cygwin registry name: Cygwin
> program options name: Program Options
> cygwin mount registry name: mounts v2
> build date: Thu Aug 3 20:53:46 EDT 2000
> CVS tag: cygwin-1-1-4
> shared id: cygwin1S3
>
> 83k 2000/06/11 d:\cygwin\bin\cygitcl30.dll
> 35k 2000/06/11 d:\cygwin\bin\cygitk30.dll
> 402k 2000/06/11 d:\cygwin\bin\cygtcl80.dll
> 5k 2000/06/11 d:\cygwin\bin\cygtclpip80.dll
> 10k 2000/06/11 d:\cygwin\bin\cygtclreg80.dll
> 639k 2000/06/11 d:\cygwin\bin\cygtk80.dll
> 586k 2000/08/04 d:\cygwin\bin\cygwin1.dll
> Cygwin DLL version info:
> dll major: 1001
> dll minor: 4
> dll epoch: 19
> dll bad signal mask: 19005
> dll old termios: 5
> api major: 0
> api minor: 26
> shared data: 3
> dll identifier: cygwin1
> mount registry: 2
> cygnus registry name: Cygnus Solutions
> cygwin registry name: Cygwin
> program options name: Program Options
> cygwin mount registry name: mounts v2
> build date: Thu Aug 3 20:53:46 EDT 2000
> CVS tag: cygwin-1-1-4
> shared id: cygwin1S3
>
> Use -h to see help about each section
>
> Thanks!
> Michael
>
>
>
>
>
> _______________________________________________________
> Say Bye to Slow Internet!
> http://www.home.com/xinbox/signup.html
>
>
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com
>
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com