Re: loopback won't enable automatically [SOLVED]

2007-09-05 Thread Pollywog
On Wednesday 05 September 2007 07:25:42 Pollywog wrote:
 On Wednesday 05 September 2007 04:48:53 Ian Smith wrote:
  On Wed, 5 Sep 2007 01:47:47 + Pollywog [EMAIL PROTECTED] 
wrote:
I have to manually set the loopback interface after each reboot on one
machine (it is a laptop):
   
ifconfig lo0 127.0.0.1 netmask 255.0.0.0
   
Then everything is fine.
   
I added ifconfig_lo0=127.0.0.1 netmask 255.0.0.0  to /etc/rc.conf
but for unknown reasons it now looks like this and I still need to set
lo0 manually after reboots:
   
ifconfig_lo0=inet 127.0.0.1 netmask 255.0.0.0
   
Any ideas?  I am running FreeBSD 7
 
  I noticed before when you posted your ifconfig with missing localhost
  IPv4 address.  You shouldn't have had to add it to rc.conf in the first
  place, as you should find this line existing in /etc/defaults/rc.conf:
 
  ifconfig_lo0=inet 127.0.0.1   # default loopback device configuration.
 
  Check that nothing has messed with /etc/defaults/rc.conf, and also that
  you have no later ifconfig_lo0 entry in rc.conf.  The last one found
  there is the one that applies, later entries overriding earlier ones.
 
  Apart from that, I can't imagine what might be deleting your default
  localhost configuration, unless you're using rc.local?  Otherwise I'd be
  searching any active scripts in /usr/local/etc/rc.d/ for any oddnesses
  that may hae been installed by some port or other?
 
  Cheers, Ian

 I did find it in /etc/default/rc.conf:

 ifconfig_lo0=inet 127.0.0.1   # default loopback device configuration.

I found the problem.  lo0 was not listed in network_interfaces in rc.conf
Adding it fixed the problem.

thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: loopback won't enable automatically [SOLVED]

2007-09-05 Thread Daniel Bye
On Wed, Sep 05, 2007 at 07:35:26AM +, Pollywog wrote:
 
  I did find it in /etc/default/rc.conf:
 
  ifconfig_lo0=inet 127.0.0.1   # default loopback device configuration.
 
 I found the problem.  lo0 was not listed in network_interfaces in rc.conf
 Adding it fixed the problem.

Do you have this line in your /etc/defaults/rc.conf?

network_interfaces=auto   # List of network interfaces (or auto).

Given your problems, I am highly suspicious that something has spammed
your /etc/defaults/rc.conf...

-- 
Daniel Bye

PGP Key: http://www.slightlystrange.org/pgpkey-dan.asc
PGP Key fingerprint: D349 B109 0EB8 2554 4D75  B79A 8B17 F97C 1622 166A


pgpV9z6WOjh89.pgp
Description: PGP signature


Re: loopback won't enable automatically [SOLVED]

2007-09-05 Thread Craig Boston
On Wed, Sep 05, 2007 at 12:48:12PM +0100, Daniel Bye wrote:
 Given your problems, I am highly suspicious that something has spammed
 your /etc/defaults/rc.conf...

Or a mergemaster gone wrong (or forgotten to be run).

Craig
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: loopback won't enable automatically [SOLVED]

2007-09-05 Thread Pollywog
On Wednesday 05 September 2007 11:48:12 Daniel Bye wrote:
 On Wed, Sep 05, 2007 at 07:35:26AM +, Pollywog wrote:
   I did find it in /etc/default/rc.conf:
  
   ifconfig_lo0=inet 127.0.0.1   # default loopback device
   configuration.
 
  I found the problem.  lo0 was not listed in network_interfaces in rc.conf
  Adding it fixed the problem.

 Do you have this line in your /etc/defaults/rc.conf?

 network_interfaces=auto   # List of network interfaces (or auto).

Yes, I have that.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: loopback won't enable automatically [SOLVED]

2007-09-05 Thread Pollywog
On Wednesday 05 September 2007 14:36:04 Craig Boston wrote:
 On Wed, Sep 05, 2007 at 12:48:12PM +0100, Daniel Bye wrote:
  Given your problems, I am highly suspicious that something has spammed
  your /etc/defaults/rc.conf...

 Or a mergemaster gone wrong (or forgotten to be run).

This is a possibility
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]