Date: Fri, 15 Sep 2000 09:02:14 +0400 From: Igor Roboul <igor@raduga.dyndns.org> To: FreeBSD questions <freebsd-questions@FreeBSD.ORG> Subject: Re: GNUstep problem SOLVED Message-ID: <20000915090214.E5384@linux.rainbow> In-Reply-To: <20000914160047.B31439@linux.rainbow>; from igor@raduga.sochi.net on Thu, Sep 14, 2000 at 04:00:47PM %2B0400 References: <20000910182158.A8159@linux.rainbow> <20000914083141.A22658@linux.rainbow> <10009140915.AA00380@tiptree.brainstorm.co.uk> <20000914160047.B31439@linux.rainbow>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello, > On Thu, Sep 14, 2000 at 10:15:58AM +0100, richard@brainstorm.co.uk wrote: > > On Thu, 14 Sep 2000 08:31:41 +0400, igor@raduga.sochi.net wrote: > > > > Is this a bug in the gdomap code, or does FreeBSD lack a fully working > > loopback interface? Oh, yet again :-( It does not work with both fake ppp0 and lo0. These are my expirience: (sorry for big mail) --------------- ifconfig before I run gdomap: ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet 127.0.0.1 netmask 0xff000000 This is first time I run gdomap: SIOCGIFFLAGS: Device not configured SIOCGIFFLAGS: Device not configured SIOCGIFBRDADDR: Invalid argument SIOCGIFFLAGS: Device not configured SIOCGIFFLAGS: Device not configured This is second: SIOCGIFFLAGS: Device not configured SIOCGIFFLAGS: Device not configured SIOCGIFBRDADDR: Invalid argument SIOCGIFFLAGS: Device not configured SIOCGIFFLAGS: Device not configured Unable to bind address to UDP socket This is third (this worked two days ago, and I sent mail with SOLVED): darkstar# ifconfig ppp0 192.168.5.2 192.168.5.1 darkstar# route add -host 192.168.5.2 127.0.0.1 add host 192.168.5.2: gateway 127.0.0.1 darkstar# logout %opentool gdomap %SIOCGIFFLAGS: Device not configured SIOCGIFFLAGS: Device not configured SIOCGIFFLAGS: Device not configured SIOCGIFBRDADDR: Invalid argument SIOCGIFFLAGS: Device not configured SIOCGIFFLAGS: Device not configured Unable to bind address to UDP socket This is gdomap's help. These is info how it finds network interfaces: Gdomap normally probes every machine on the local network to see if there is a copy of gdomap running on it. This is done for class-C networks and subnets of class-C networks. If your host is on a class-B or class-A net then the default behaviour is to treat it as a class-C net and probe only the hosts that would be expected on a class-C network of the same number. If you are running on a class-A or class-B network, or if your net has a large number of hosts which will not have gdomap on them - you may want to supply a configuration file listing the hosts to be probed explicitly, rather than getting gdomap to probe all hosts on the local net. You may also want to supply the configuration file so that hosts which are not actually on your local network can still be found when your code tries to connect to a host using @"*" as the host name. NB. this functionality does not exist in OpenStep. A configuration file consists of a list of IP addresses to be probed. The IP addresses should be in standard 'dot' notation, one per line. Empty lines are permitted in the configuration file. Anything on a line after a hash ('#') is ignored. You tell gdomap about the config file with the '-c' command line option. gdomap uses the SIOCGIFCONF ioctl to build a list of IP addresses and ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ This is info netmasks for the network interface cards on your machine. On some operating systems, this facility is not available (or is broken), so you must tell gdomap the addresses and masks of the interfaces using the '-a' command line option. The file named with '-a' should contain a series of lines with space separated pairs of addresses and masks in 'dot' notation. You must NOT include loopback interfaces in this list. If your operating system has some other method of giving you a list of network interfaces and masks, please send me example code so that I can implement it in gdomap. netstat -na after my tryings: Active Internet connections (including servers) Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp4 0 0 *.538 *.* LISTEN ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is gdomap tcp4 0 0 *.6000 *.* LISTEN tcp4 0 0 *.587 *.* LISTEN tcp4 0 0 *.25 *.* LISTEN tcp4 0 0 *.79 *.* LISTEN tcp4 0 0 *.513 *.* LISTEN tcp4 0 0 *.514 *.* LISTEN tcp4 0 0 *.23 *.* LISTEN tcp4 0 0 *.21 *.* LISTEN tcp4 0 0 *.111 *.* LISTEN tcp4 0 0 127.0.0.1.53 *.* LISTEN udp4 0 0 *.538 *.* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is gdomap udp4 0 0 *.518 *.* udp4 0 0 *.512 *.* udp4 0 0 *.111 *.* udp4 0 0 *.1024 *.* udp4 0 0 127.0.0.1.53 *.* udp4 0 0 *.514 *.* So gdomap have used socket, but didnt run :-( -- Igor Roboul, Unix System Administrator & Programmer @ sanatorium "Raduga", Sochi, Russia http://www.brainbench.com/transcript.jsp?pid=304744 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000915090214.E5384>