Bug#397309: [Pkg-uml-pkgs] Bug#397309: restoring with /etc/network/if-*down.d/uml-utilities

Mattia Dongili malattia at linux.it
Tue Nov 7 00:07:49 CET 2006


On Tue, Nov 07, 2006 at 12:37:56AM +0200, shaulka at 012.net.il wrote:
> On Monday, November 6, 2006 8:42 pm, Mattia Dongili wrote:
[...]
> > >  test -n "${IF_UML_PROXY_ARP}" || exit 0
> > >  test -n "${IF_UML_PROXY_ETHER}" || exit 0
> > 
> > So we have 2 undocumented options for /etc/network/interfaces, right?
> 
>   Wrong. These are hardly ifupdown (or, if you like, /etc/network/interfaces)
> options. If at all, these are uml-utilities options. To quote interfaces.5:
> 
>         Additionally, all options given in an interface definition stanza
>         are  exported  to the environment in upper case with "IF_" prepended
>         and with hyphens converted to underscores and non-alphanumeric char-
>         acters discarded.

Yes that's what I meant. _We_ have undocumented features, not the
ifupdown package :)

>   I, too, am not an ifupdown expert and I was confused about it myself at the
> beginning. Think about that quote when you take another look at the tap1
> example from /usr/share/doc/uml-utilities/examples/interfaces.example.

Ah, didn't look at it, more clear now. The should be mentioned in the
README.Debian as well.

> > > +  # Don't know why
> > > +  #    arp -d "$i" pub
> > > +  # failed
> > 
> > hummm, did arp -Ds succeded in the first place?
> 
>   Yes. arp -Ds succeded in the first place  It succeded in the sense
> that the arp table was modified. I am not sure if I succeded to get
> rootstrap to use the host network, but this is tangantile for this
> discussion. Actually, it might not be tangtaile. Perhaps the fact
> that I still haven't ran rootstrap succesfully is the reason for the
> failure. More specifically, I get a `to be determined' answer from
> arp:
> 
>     $ /usr/sbin/arp -n | grep -v ether
>     Address                  HWtype  HWaddress           Flags Mask            Iface
>     192.168.1.120            *       <from_interface>    MP                    eth0
> 
>   In any case, as I have already pointed out in my second report to
> the BTS,
> 
>     arp -i "${IF_UML_PROXY_ETHER}" -d "$i" pub
> 
> does remove the uml line from the arp table.

Yes, thanks

-- 
mattia
:wq!




More information about the Pkg-uml-pkgs mailing list