Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com X-Authentication-Warning: bono.reversers.net: stefan owned process doing -bs Date: Thu, 14 Sep 2000 20:10:31 +0200 (CEST) From: stefan X-Sender: stefan AT bono DOT reversers DOT net To: cygwin Subject: Re: ifconf In-Reply-To: <39BFE130.7C02C8AA@cygnus.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 13 Sep 2000, Corinna Vinschen wrote: > > Is it possible to determine if a device is "eth" or "ppp" ? The "eth1" > > in the upper list (with cygwin) should be: "ppp0" or something likely. > > I am using the old CygWinB20.1 so this might be outdated. Please tell > > me if so ?! > > It should be outdated. Try using the latest net release it should > result in sth you like to see: > > --- list of local interfaces you can start ip services on --- > lo0: 127.0.0.1 > eth0: 192.168.2.7 > pppX: 0.0.0.0 > > with X corresponding to the NdisWan interface: > > NdisWan7 <=> ppp7 > > If you get problems, keep me informed (through the mailing list, please) I tried the net release (1.1.4) but with the same result. If you need more information about my system, please tell me. I got now two more questions: Either forked() processes are blocking or a connect() with O_NONBLOCK... this what my program said: [2000/09/14 16:23:01] notice: connect: Connection refused [2000/09/14 16:23:01] notice: nut: connecting 127.0.0.1:6346 [2000/09/14 16:23:50] error: dns: gethostbyname: Not owner (cho.kgw.TU-Berlin.DE) [2000/09/14 16:23:50] debug: dns: coserver request processed [2000/09/14 16:23:50] notice: connect: Attempt to connect timed out without establishing a connection The gethostbyname is done in another process. the connect() in the main process. Why does it block 49 seconds ? Works out fine in linux and my mingw32 port. Another problem was my configure script: I couldnt check for a working mmap but for munmap. Is this problem known to you ? mmap itself seems implemented but the run-check failed. Thanks in advance. ela AT lkcc DOT org -- -- It's extremely painful to know that to eat I must play Mother -- Culture's game. I WANT OUT. -- -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com