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 Date: Sun, 5 Nov 2000 14:32:30 +0100 (CET) From: stefan X-Sender: stefan AT bono DOT reversers DOT net To: Cygwin Mailing List Subject: ifconf again In-Reply-To: <3A04A87F.1857ACF8@redhat.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Sun, 5 Nov 2000, Corinna Vinschen wrote: > stefan wrote: > > > > On Sat, 4 Nov 2000, Corinna Vinschen wrote: > > > > > stefan wrote: > > > > * the ifconf interface is still a bit buggy: > > > > LAPTOP ~/serveez-0.0.19/src> ./serveez.exe -i > > > > --- list of local interfaces you can start ip services on --- > > > > lo0: 127.0.0.1 > > > > ppp0: 192.168.2.7 > > > > eth0: 0.0.0.0 > > > > The latter two ip addresses or interfaces must be swapped. > > > > > > I'm surprised. I checked that on two different 9X systems. > > > Could you try to figure out why this happens on your system? > > > > What do i need to do then ? Do i have to check the sources or would a > > This would be very nice. The related code is in net.cc, function > `get_9x_ifconf'. > > > registry tree be enough to catch the bug ? > > You have the registry in front of you. You have the sources. You can > step through the code with gdb. You should find the problem much easier > than me. Well, i watched for a while. Seems like your code is entirely exact what is needed for determining the list of local interfaces. I guess my windoze installation is rather wrong than the above function... it crashes when i want to "dial up". My try was to exchange the enumarations in "HKLM...\\Class\\Net" and i got the result i wanted. After this the Network Setup swapped the devices *sigh*, but using a RegMon i really could not detect it accessing the registry keys i changed. Thus i do not know what's actually wrong. My guess: my windoze installation is busted. > > code i wrote but modified free code. I can "sign over" the "copyleft" to > > FSF. Is that what you want ? If so, I'd like to do so and send you what i > > "coded". > > Nope, sorry. If it's glibc code we can't use it. The glibc is under > LGPL which collides with the Cygwin Library License which is GPL plus > an additive (Chris has explained that). Hm. Until now i was not aware that you are reinventing the wheel. Great job done so far... stefan AT lkcc DOT org -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com