Re: troubleshooting network settings
- From: Malcolm Fitzgerald <mfitzgerald@xxxxxxxxxxxxxx>
- Date: Wed, 31 May 2006 14:45:50 +1000
bsd-box# ifconfig lo0 inet 127.0.0.1 netmask 255.255.255.0
bsd-box# ifconfig -a
rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=8<VLAN_MTU>
inet6 fe80::2e0:4cff:fe08:e02a%rl0 prefixlen 64 scopeid 0x1
inet 192.168.1.104 netmask 0xffffff00 broadcast 192.168.1.255
ether 00:e0:4c:08:e0:2a
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet 127.0.0.1 netmask 0xffffff00
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
On 31/05/2006, at 2:28 AM, Jorn Argelo wrote:
There we have it. Apache is unable to resolve "bsd-box". This hostname should be resolvable, otherwise Apache will not work. Adding it to /etc/hosts is the easiest way:
192.168.1.104 bsd-box bsd-box.yourdomain.com
This line was already in /etc/hosts;
127.0.0.1 localhost localhost.home.net bsd-box bsd-box.home.net
and I've added this line
192.168.1.104 bsd-box bsd-box.home.net
In addition to Jorn's advice, check /etc/defaults/rc.conf. The
file should exist and have permissions like so:
$ ls -l /etc/defaults/rc.conf
-r--r--r-- 1 root wheel 31735 May 15 18:48 /etc/defaults/rc.conf
and it should have the following line within:
$ grep lo0 /etc/defaults/rc.conf
ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration.
All present.
Still cannot connect to localhost.
malcolm
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- RE: troubleshooting network settings
- From: Steve Bertrand
- RE: troubleshooting network settings
- References:
- troubleshooting network settings
- From: Malcolm Fitzgerald
- Re: troubleshooting network settings
- From: Kevin Kinsey
- Re: troubleshooting network settings
- From: Kevin Kinsey
- Re: troubleshooting network settings
- From: Malcolm Fitzgerald
- Re: troubleshooting network settings
- From: Kevin Kinsey
- Re: troubleshooting network settings
- From: Malcolm Fitzgerald
- Re: troubleshooting network settings
- From: Kevin Kinsey
- troubleshooting network settings
- Prev by Date: Re: Please Resotre Your Account Details.
- Next by Date: "Illegal instruction " while portupgrade
- Previous by thread: Re: troubleshooting network settings
- Next by thread: RE: troubleshooting network settings
- Index(es):
Relevant Pages
|
|