Date: Tue, 21 Aug 2001 13:53:20 -0600 From: Nate Williams <nate@yogotech.com> To: Toshihiko ARAI <toshi@jp.FreeBSD.org> Cc: nate@yogotech.com (Nate Williams), freebsd-mobile@FreeBSD.org, imp@FreeBSD.org Subject: Re: Documentation for rc.conf's removable_interfaces? Message-ID: <15234.48176.6699.983659@nomad.yogotech.com> In-Reply-To: <200108211348.f7LDmTh30188.toshi@jp.FreeBSD.org> References: <15228.2988.181554.313833@nomad.yogotech.com> <200108200357.f7K3vMn18594.toshi@jp.FreeBSD.org> <15233.22136.524384.459698@nomad.yogotech.com> <200108211348.f7LDmTh30188.toshi@jp.FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> Sorry. There is not my English well.
No problem. Your English is much better than my Japanese.
> + <15233.22136.524384.459698@nomad.yogotech.com>, Nate Williams wrote:
>
> >> I thought that it is necessary for sysinstall at first, but
> >> i think that removable_interfaces variable is unnecessary now.
> >> Because I am busy currently, a patch for sysinstall is
> >> unfinished.
>
> > You realize that FreeBSD 4.4-RELEASE is due to be released in a couple
> > of weeks, and that currently static routing is broken.
>
> > Will you have time in the near future to work on this, or would you
> > suggest we instead back out these changes so that things work again for
> > the new release?
>
> I agree to delete 'removable_*' variables.
> How about with the following patches?
This is good. However, there is still one more problem with the file as
it exists. If a default_router exists, it will not be used because of
the following lines.
# Add default route into $static_routes
case ${defaultrouter} in
[Nn][Oo] | '')
;;
*)
static_routes="default ${static_routes}"
route_default="default ${defaultrouter}"
;;
esac
However, I'm not sure what the purpose of adding 'default' to
static_routes is, and unfortunately 'route_default' is not used anywhere
in the file.
Can you explain what is intended here?
Thanks!
Nate
ps. The below patch is good, although it may be necessary to do a route
flush in certain cases.
>
> Index: src/etc/pccard_ether
> ===================================================================
> RCS file: /home/ncvs/src/etc/pccard_ether,v
> retrieving revision 1.25
> diff -u -r1.25 pccard_ether
> --- src/etc/pccard_ether 2001/05/09 20:30:55 1.25
> +++ src/etc/pccard_ether 2001/08/21 13:46:15
> @@ -48,7 +48,6 @@
>
> case ${pccard_ifconfig} in
> [Nn][Oo] | '')
> - expr "${removable_interfaces}" : ".*${interface}" > /dev/null || exit 0
> ;;
> *)
> # Backward compatible
> @@ -171,15 +170,5 @@
> # Remove the network interface and cleaning ARP table
> ifconfig ${interface} delete
> arp -d -a
> -
> - # Clean the routing table
> - case ${removable_route_flush} in
> - [Nn][Oo])
> - ;;
> - *)
> - # flush beforehand, just in case....
> - route -n flush -inet
> - ;;
> - esac
> ;;
> esac
>
> --
> Toshihiko ARAI
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15234.48176.6699.983659>
