ifconf
stefan
stefan@lkcc.org
Thu Sep 14 11:18:00 GMT 2000
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@lkcc.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@sourceware.cygnus.com
More information about the Cygwin
mailing list