Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Dec 96 10:51:57 +0700
From:      "Victor A. Sudakov" <victor@vas.tomsk.su>
To:        freebsd-questions@freebsd.org, steve@edmweb.com
Subject:   Re: "talk" does not work. Please help.
Message-ID:  <ABTvDhomz0@vas.tomsk.su>
References:  <Pine.BSF.3.91.961209122642.1039A-100000@bitbucket.edmweb.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>   > 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*

Do you have the same message when you issue this command? Or is
it some local configuration bug?

>
>   > 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"
>

No, I have tried this even before I asked here.

It does not work. It seems that only one line per each
interface is allowed in /etc/sysconfig.

So, when I added a line like you advised, the system behaved as
if this line were the only one for the lo0 interface. I am
afraid the sysconfig mechanism is not designed for it.

Indeed, what you do in sysconfig is assigning some string to a
variable which is later read in some other startup files. Thus,
think what happens, if you assign one value to a variable, then
another value to the same variable. The first value will be
just lost!

May be I should put this line into /etc/netstart? Any other ideas?

--- 
Victor A. Sudakov                          E-mail: victor@vas.tomsk.su
Center of Information Technologies         FidoNet: 2:5005/49
Tomsk Region Education Department          Telephone: +7 3822 224916
Tomsk, Russian Federation                  Telefax:   +7 3822 225912



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ABTvDhomz0>