lo0 not starting on boot

Vitaly Bogdanov gad at gad.glazov.net
Thu Mar 23 21:33:08 UTC 2006


On Thu, Mar 23, 2006, Paul Schmehl wrote:
> In 6.0 SECURITY, what starts up lo0?  It's not starting by default, and 
> /etc/rc.d/netif has no effect on the interface.  I *believe* this is the 
> cause of a problem I'm having with xinerama, but I can't seem to figure out 
> how to get the loopback to come up on boot.  Any help would be appreciated.
> 
> I already have the following in /etc/rc.conf:
> network_interfaces="lo0 bge0"
> ifconfig_lo0="inet 127.0.0.1"

I also had such problem.

There is a typo in /etc/network.subr.
        for _if in ${_tmplist} ; do
                if dhcpif $_if; then
                        _dhcplist="${_dhcplist}${_aprefix}${_if}"
                        [ -z "$_aprefix" ] && _aprefix=' '
                elif [ -n "`_ifconfig_getargs $if`" ]; then
					      ^^^^ - should be $_if

                        _nodhcplist="${_nodhcplist}${_bprefix}${_if}"
                        [ -z "$_bprefix" ] && _bprefix=' '
                fi      


-- 
Vitaly


More information about the freebsd-net mailing list