What version of fbsd are you using? On 2.2.8, you will need to edit
/etc/rc.conf file and add a line like this to it:
network_interfaces="XXXX lo0"
ifconfig_lo0="inet 127.0.0.1"
XXXX is your NIC card.
On 3.X it should be the same, but I can't tell you exactly because I
still had a chance to play with 3.X yet. I don't think rc.conf is used
in 3.x anymore but is there for backward compatibility.
;-)
> Here's another problem. When I reboot the computer, lo0 is down so I can't
> ping localhost again. I have to run ifconfig lo0 inet 127.0.0.1 again to
> activate it. Some of the configuration file should have been modified by
> installing MySQL. This all happened after installed MySQL server.
> Thanks again,
> Joseph
> > Try, ifconfig lo0 see if its shows anything. If not, I *think* you will
> > need to do this:
> > ifconfig lo0 inet 127.0.0.1
> > I am assuming you have pseudo-device loop configured in your kernel
> > already.
> > Hope that works AND helps. :)
> > > Hi,
> > > System: FreeBSD 3.2 on Pentium platform.
> > > It was working fine until today. Today I installed MySQL and Webmin and
> > > configured NFS. All worked fine except I can't ping localhost
> (127.0.0.1).
> > > /etc/hosts has the line says 127.0.0.1 localhost. Where should I look
> at?
> > > Thanks,
> > > Joseph