Malcolm Fitzgerald wrote:
On 29/05/2006, at 1:10 PM, Kevin Kinsey wrote:
Malcolm Fitzgerald wrote:
I am running freeBSD v6.0 security on a home network behind an adsl
router. I cannot connect to localhost from a browser (apache is running!)
I cannot connect to localhost port 22 (KPackage tries to use ssh)
What can cause these problems? How can I troubleshoot them?
I am very new to freeBSD, so part of my question is "where do I
begin?". I have a copy of Complete freeBSD beside me but can't get
the magical incantations right. Suggestions appreciated.
New to "Nix like" systems in general, or just new to FreeBSD?
Here are a few suggestions ... no "magic bullet" here, though:
First, check to see if the interface exists:
$ ifconfig lo0
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
inet 127.0.0.1 netmask 0xff000000
So, we have a loopback interface (in this case on both IPv4
and IPv6).
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=8008<LOOPBACK,MULTICAST> mtu 16384
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.
KDK
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"