This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: how does xwin resolve ip addresses
- From: Alexander Gottwald <Alexander dot Gottwald at s1999 dot tu-chemnitz dot de>
- To: Chris Twiner <c_twiner at hotmail dot com>
- Cc: cygwin-xfree at cygwin dot com
- Date: Mon, 4 Nov 2002 22:39:27 +0100 (MET)
- Subject: Re: how does xwin resolve ip addresses
- Reply-to: cygwin-xfree at cygwin dot com
Chris Twiner wrote:
> Hi Alexander,
>
> I ran the program, the results are attached. I have the microsoft loopback
> service as 10.10.1.1 . When the wireless is attached it's dhcp, but that
> doesn't affect ipconfigs results.
I commented the output.
ls_netdev $Id: ls_netdev.c,v 1.2 2002/08/01 08:35:17 ago Exp $
OS Version: Windows NT 5.1 Build 2600
Querying devices using ioctl
lo: family=TCP/IP (0) addr=127.0.0.1
eth0: family=TCP/IP (0) addr=10.10.1.1
eth1: family=TCP/IP (0) addr=0.0.0.0
Querying devices using internal function
// Result from GetIpAddrTable
dwAddr=00000000 // 0.0.0.0 (DHCP?)
dwIndex=65540 // Intel 8255x-based PCI Ethernet Adapter (10/100)
dwMask=00000000 // 0.0.0.0
dwBCastAddr=00000001 // 1.0.0.0
dwReasmSize=65535
dwAddr=01010a0a // 10.10.1.1
dwIndex=2 // Microsoft Loopback Adapter
dwMask=000000ff // 255.0.0.0
dwBCastAddr=00000001 // 1.0.0.0
dwReasmSize=65535
dwAddr=0100007f // 127.0.0.1
dwIndex=1 // Internal loopback interface for 127.0.0 network
dwMask=000000ff // 255.0.0.0
dwBCastAddr=00000001 // 1.0.0.0
dwReasmSize=65535
dwAddr=2301a8c0 // 192.168.1.35
dwIndex=65541 // Wireless ? Interface is missing in the list below
dwMask=00ffffff // 255.255.255.0
dwBCastAddr=00000001 // 1.0.0.0
dwReasmSize=65535
// Result from GetIfTable
wszName=L
dwIndex=1
dwType=24
bDescr=Internal loopback interface for 127.0.0 network
wszName={
dwIndex=2
dwType=6
bDescr=Microsoft Loopback Adapter
wszName={
dwIndex=65540
dwType=6
bDescr=Intel 8255x-based PCI Ethernet Adapter (10/100)
// One interface is missing (65541) :-/
eth0: family=TCP/IP (0) addr=0.0.0.0
eth1: family=TCP/IP (0) addr=10.10.1.1
lo: family=TCP/IP (0) addr=127.0.0.1
Bad luck. It seems the ip address is correctly setup, but there is no
interface configured. Maybe reinstalling the drivers for the wireless
card will help.
I've searched the MSDN but there is no comment for the GetIfTable function
that it would not report wireless interfaces.
bye
ago
BTW: I threw the message back to the ML. Might be of interest there too.
NP: Zeraphine - Siehst Du mich
--
Alexander.Gottwald@informatik.tu-chemnitz.de
http://www.gotti.org ICQ: 126018723