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


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

Re: Problem with 2 IPs


On Mon, 22 Oct 2001, Giorgio wrote:

> 
> This is the output...
> 
> $ ./ls_netdev.exe
> OS Version: Windows NT 5.0 Build 2195 Service Pack 2
> Querying devices using ioctl

This is what cygwin returns

> lo: family=TCP/IP (0) addr=127.0.0.1
> eth0: family=TCP/IP (0) addr=10.10.3.100
> ppp0: family=TCP/IP (0) addr=195.110.159.61

And these are found by the new code
> Querying devices using internal function
> dwAddr=64030a0a
10.10.3.100
> dwIndex=16777219 
> dwMask=000000ff
> dwBCastAddr=00000001
> dwReasmSize=65535
> dwAddr=0100007f
127.0.0.1
> dwIndex=1
> dwMask=000000ff
> dwBCastAddr=00000001
> dwReasmSize=65535
> dwAddr=0eb8a8c0
192.168.184.14
> dwIndex=16777219
> dwMask=00ffffff
> dwBCastAddr=00000001
> dwReasmSize=65535
> dwAddr=3d9f6ec3
195.110.159.61
> dwIndex=201326596
> dwMask=ffffffff
> dwBCastAddr=00000001
> dwReasmSize=65535
> wszName=
> dwIndex=1
> dwType=24
> bDescr=MS TCP Loopback interface
> wszName=
> dwIndex=16777219
> dwType=6
> bDescr=FE575 Ethernet Adapter
> wszName=
> dwIndex=201326596
> dwType=23
> bDescr=WAN (PPP/SLIP) Interface
> eth0: family=TCP/IP (0) addr=10.10.3.100
> lo: family=TCP/IP (0) addr=127.0.0.1
> eth1: family=TCP/IP (0) addr=192.168.184.14
> ppp0: family=TCP/IP (0) addr=195.110.159.61

The new code should actually work.

> PS: I am downloading all the source code from the xc directory...
> as well as i got all the winsup/cygwin
> can you tell me how to build the Xwin, and cygwin dll out of this huge tree
> of code?

For xwin the is a guide on xfree.cygwin.com and cygwin compiles by
issuing configure and then make. 

But you'll not need compiling the packages. Have you installed the
cygwin1.fixed_netdev2.dll.bz2 as /bin/cygwin1.dll? (and unpacked it before!)

Note: There is another (but older) dll named similar to the new one. Please 
make sure, that you've downloaded cygwin1.fixed_netdev2.dll.bz2!

XWin will work with the -from parameter.     
    
bye
    ago
-- 
 Alexander.Gottwald@informatik.tu-chemnitz.de 
 http://www.gotti.org           ICQ: 126018723
 phone: +49 3725 349 80 80	mobile: +49 172 7854017


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