From owner-freebsd-questions Tue Dec 10 05:36:09 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id FAA00865 for questions-outgoing; Tue, 10 Dec 1996 05:36:09 -0800 (PST) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id FAA00840 for ; Tue, 10 Dec 1996 05:36:06 -0800 (PST) Received: from sdev.usn.blaze.net.au (sdev.usn.blaze.net.au [203.17.53.19]) by who.cdrom.com (8.7.5/8.6.11) with ESMTP id EAA13238 for ; Tue, 10 Dec 1996 04:14:59 -0800 (PST) Received: from localhost (davidn@localhost) by sdev.usn.blaze.net.au (8.8.4/8.6.9) with SMTP id XAA04027; Tue, 10 Dec 1996 23:10:29 +1100 (EST) Date: Tue, 10 Dec 1996 23:10:28 +1100 (EST) From: David Nugent Reply-To: davidn@blaze.net.au To: Steve Reid cc: "Victor A. Sudakov" , freebsd-questions@freebsd.org Subject: Re: "talk" does not work. Please help. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Mon, 9 Dec 1996, Steve Reid wrote: >> 1. What does this "ifconfig: ioctl (SIOCAIFADDR): File exists" message mean? >> Is it an error? > >Not sure. I wouldn't worry about it too much. The "File exists" might seem >especially confusing, unless you consider the similarity between sockets >and files. *shrug* I must admit that I've found this confusing too when working on 2.1.x machines, but this behaviour seems to be fixed in -current. I spent half an hour only a couple of days ago on a 2.1.5 machine to add alias to an ed1 driver which hung the machine /reliably/, every time. We ended up putting the the aliases on the loopback, which is where I first saw this behaviour with the SIOCAIFADDR error. Later, I tried the same thing on my -current machine and it worked fine, both on the ed driver and loopback - no hang, no unnecessary error message either. >> 2. How can I assign the 10.0.0.1 alias to lo0 automatically on >> startup? I do not like the idea of issuing this command >> manually after each reboot. Shall I put it into some kind of >> startup file? > >In /etc/sysconfig there are lines like this: > >network_interfaces="lo0" >ifconfig_lo0="inet localhost" > >I guess you should add something like this: > >ifconfig_lo0="inet 10.0.0.1 alias" You can also set variables ifconfig__alias in /etc/sysconfig, at least in -current. I'm not entirely sure if that is available in 2.2's /etc/netstart. Regards, David Nugent, Unique Computing Pty Ltd - Melbourne, Australia Voice +61-3-9791-9547 Data/BBS +61-3-9792-3507 3:632/348@fidonet davidn@blaze.net.au http://www.blaze.net.au/~davidn