This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: minires-0.95 - a new package ready for review


On Fri, 13 Jun 2003, Corinna Vinschen wrote:

> On Fri, Jun 13, 2003 at 12:13:24PM -0400, Igor Pechtchanski wrote:
> > On Fri, 13 Jun 2003, Corinna Vinschen wrote:
> > > I had the funny idea to drop the whole Windows specific part and
> > > instead create /etc/resolve.conf in the postinstall script from
> > > the output of `ipconfig /all'.  That would work nicely on NT,
> > > unfortunately the `ipconfig /all' output on 9x doesn't contain the
> > > DNS domain search list. :-(
> >
> > Sure it does, at least on Win98 (just checked).  However, instead of there
> > being one DNS list per adapter, as on NT/2k, there's one global list,
> > printed in the beginning.  Try piping the output of "ipconfig /all" to
> > less.
>
> I did that already before posting:
>
> $ cat ipc-98.out
>
> Windows 98 IP-Konfiguration
>
>         Hostname . . . . . . . . . : vmbert98.vinschen.de
>         DNS-Server  . . . . . . . . : 192.168.129.5
>         Knotentyp . . . . . . . . . : Broadcast
>         NetBIOS-Bereichs-ID . . . . :
>         IP-Routing aktiviert. . . . : Nein
>         WINS-Proxy aktiviert. . . . : Nein
>         NetBIOS-Auflsung mit DNS . : Ja
>
> 0 Ethernet Adapter :
>
>         Beschreibung. . . . . . . . : AMD PCNET Family Ethernet Adapter
>         Physische Adresse . . . . . : 00-0C-29-AF-73-FD
>         DHCP aktiviert. . . . . . . : Nein
>         IP-Adresse. . . . . . . . . : 192.168.129.116
>         Subnet Mask . . . . . . . . : 255.255.255.0
>         Standard-Gateway . . . . . . : 192.168.129.5
>         Erster WINS-Server . . . . :
>         Zweiter WINS-Server . . . :
>         Gltig seit. . .  . . . . :
>         Gltig bis . . . . .   . . :
>
> $ cat ipc-xp.out
>
> Windows IP Configuration
>
>         Host Name . . . . . . . . . . . . : cathi
>         Primary Dns Suffix  . . . . . . . : vinschen.de
>         Node Type . . . . . . . . . . . . : Unknown
>         IP Routing Enabled. . . . . . . . : No
>         WINS Proxy Enabled. . . . . . . . : No
>         DNS Suffix Search List. . . . . . : vinschen.de
>                                             redhat.com
>
> Ethernet adapter eth0:
>
>         Connection-specific DNS Suffix  . : vinschen.de
>         Description . . . . . . . . . . . : NVIDIA nForce MCP Networking Controller
>         Physical Address. . . . . . . . . : 00-E0-18-EE-AF-68
>         Dhcp Enabled. . . . . . . . . . . : No
>         IP Address. . . . . . . . . . . . : 192.168.129.1
>         Subnet Mask . . . . . . . . . . . : 255.255.255.0
>         Default Gateway . . . . . . . . . : 192.168.129.5
>         DNS Servers . . . . . . . . . . . : 192.168.129.5
>                                             192.168.129.6
>
> I don't see a "DNS Suffix Search List" in the 98 output and this isn't
> just because it's the in german, I guess...
>
> Corinna

Oops, sorry, I misread the original message (thought you were talking
about DNS *servers*)...  It does look like to get the DNS search list on
Win9x you need to go to the registry
(\HKLM\System\CurrentControlSet\Services\VxD\MSTCP\SearchList on Win98).
Neither ipconfig nor winipcfg are even aware of this.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]