Date: Thu, 08 Jun 2006 09:50:30 +0100 From: Alex Zbyslaw <xfb52@dial.pipex.com> To: Malcolm Fitzgerald <mfitzgerald@pacific.net.au> Cc: questions@freebsd.org Subject: Re: troubleshooting network settings Message-ID: <4487E4D6.2030503@dial.pipex.com> In-Reply-To: <2548ca0250d134faf9e1a0e49154598b@pacific.net.au> References: <ec8aa3d06887e2834adccfe00c62cc49@pacific.net.au> <447A662C.9050708@daleco.biz> <8f8af4261e016d4487bb94952df8157c@pacific.net.au> <447AF91C.10106@daleco.biz> <69cd51de50f2e39fbdc605d214cc5026@pacific.net.au> <4486DD4B.3080606@dial.pipex.com> <2548ca0250d134faf9e1a0e49154598b@pacific.net.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Malcolm Fitzgerald wrote: > > On 08/06/2006, at 12:06 AM, Alex Zbyslaw wrote: > >> Malcolm Fitzgerald wrote: >> >>> On 29/05/2006, at 11:37 PM, Kevin Kinsey wrote: >>> >>>> Hmm, is that all? Unusual; I'd think the loopback _should_ be set >>>> up correctly. >>>> >>>> `ifconfig lo0 inet 127.0.0.1 netmask 255.255.255.0` ?? >>>> >>>> If that fixes it, then we have to figure out *why* it's not being >>>> doing automatically. Problem during init/rc, most likely ... weird. >>> >>> >>> >>> I've not had time to address this problem for a week. Going through >>> all the advice again I found that this advice is good. That fixes >>> the problem. Any pointers on getting it done automatically? >> >> >> What does /etc/rc.conf show for lo0 related things? (And just to >> check your defaults as well...) >> >> egrep lo0 /etc/rc.conf /etc/defaults/* >> >> >> Mine shows: >> >> /etc/defaults/rc.conf:ifconfig_lo0="inet 127.0.0.1" # default >> loopback device configuration. > > > Same here > Just to confirm, since I didn't really read the beginning of this thread, when you reboot your machine, the setting for lo0 is already wrong, yes? Since we now know that the rc settings look ok, maybe some script is doing the dirty, so what does egrep 'lo0|ifconfig' /etc/rc.d/* /usr/local/etc/rc.d/* show? I do have numerous hits in /etc/rc.d, none of which look like they would affect lo0 unless you specified lo0 in /etc/rc.conf. I have no hits in /usr/local/etc/rc.d/*, which is what I would expect -- if you get any hits there then follow them up to see what they are doing. If you get hits in /etc/rc.d not in my list then have a look. (I'm still on FreeBSD 5 so if you are on 6 then you may get slightly fewer or more hits, but I wouldn't expect too drastic differences). My hits are: /etc/rc.d/atm1: ifconfig ${natm} up /etc/rc.d/dhclient: ifconfig ${ifn} /etc/rc.d/initdiskless: iflist=`ifconfig -l` /etc/rc.d/initdiskless: set -- `ifconfig ${i}` /etc/rc.d/ip6addrctl: if ifconfig lo0 inet6 >/dev/null 2>&1; then /etc/rc.d/ip6addrctl: if ifconfig lo0 inet6 >/dev/null 2>&1; then /etc/rc.d/netif:# it will call ifconfig(8) to show, in long format, the configured /etc/rc.d/netif: ifconfig ${ifn} /etc/rc.d/netif: ifconfig_up ${ifn} && cfg=0 /etc/rc.d/netif: ifconfig_down ${ifn} && cfg=0 /etc/rc.d/network_ipv6: ipv6_network_interfaces="`ifconfig -l`" /etc/rc.d/network_ipv6: ifconfig $i up /etc/rc.d/pflog: if ! ifconfig pflog0 up; then /etc/rc.d/rtadvd: for i in `ifconfig -l` ; do /etc/rc.d/rtadvd: lo0|gif[0-9]*|stf[0-9]*|faith[0-9]*|lp[0-9]*|sl[0-9]*|tun[0-9]*) /etc/rc.d/sppp: # to go _before_ the general ifconfig since in the case --Alex
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4487E4D6.2030503>