hosts file
Ken Stevenson
ken at allenmyland.com
Wed Mar 15 21:51:59 UTC 2006
eoghan wrote:
> Ken Stevenson wrote:
>> eoghan wrote:
>>> Derek Ragona wrote:
>>> > Try manually adding the address, or uncomment that line and reboot.
>>> >
>>> > -Derek
>>> >
>>>
>>> Thanks, tried it and still no luck. Cant ping either localhost or
>>> 127.0.0.1. Perhaps i should post some details from my boot record,
>>> cos I do notice after the dhcp, there are network unreachable
>>> messages, but i cannot find where this boot log is stored...
>>> On a side not, these problems started when i began to use gnome
>>> (2.12.13). Maybe unrelated but i never had these problems using kde,
>>> and the boot message of network unreachable seem to have happened at
>>> this time too.
>>
>> Your NIC is not configured correctly.
>>
>> Can you post the the output of the ifconfig command. Also, there
>> should be a line in rc.conf that begins with ifconfig_... Post that
>> line also.
>>
>
> Here is the complete output of ifconfig:
>
> nathaniel# ifconfig
> fwe0:
> flags=108943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST,NEEDSGIANT>
> mtu 1500
> options=8<VLAN_MTU>
> inet6 fe80::11:6ff:fe99:d9eb%fwe0 prefixlen 64 scopeid 0x1
> ether 02:11:06:99:d9:eb
> ch 1 dma 0
> xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> options=9<RXCSUM,VLAN_MTU>
> inet6 fe80::2b0:d0ff:fee7:e97d%xl0 prefixlen 64 scopeid 0x2
> inet 192.168.1.34 netmask 0xffffff00 broadcast 192.168.1.255
> ether 00:b0:d0:e7:e9:7d
> media: Ethernet autoselect (100baseTX <full-duplex>)
> status: active
> plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500
> lo0: flags=8008<LOOPBACK,MULTICAST> mtu 16384
> nathaniel#
>
> and here is my full rc.conf:
>
>
> # -- sysinstall generated deltas -- # Fri Sep 30 17:48:53 2005
> # Created: Fri Sep 30 17:48:53 2005
> # Enable network daemons for user convenience.
> # Please make all changes to this file, not to /etc/defaults/rc.conf.
> # This file now contains just the overrides from /etc/defaults/rc.conf.
> hostname="nathaniel"
> ifconfig_xl0="dhcp"
> ifconfig_lo0="inet 127.0.0.1"
> ipv6_enable="YES"
> linux_enable="YES"
> tomcat55_enable="YES"
> moused_enable="YES"
> moused_type="auto"
> #moused_flags="-z 4"
> sshd_enable="YES"
> usbd_enable="YES"
> inetd_enable="YES"
> sendmail_enable="NONE"
> # This file now contains just the overrides from /etc/defaults/rc.conf.
> # Please make all changes to this file, not to /etc/defaults/rc.conf.
>
> # Enable network daemons for user convenience.
> # Created: Sun Oct 16 15:29:40 2005
> network_interfaces=xl0
>
I don't have a line in my rc.conf for "ifconfig_lo0" and I don't have
a line for "network_interfaces=..." Are you sure you need them? Try
commenting out those two lines then restarting the network or rebooting.
--
Ken Stevenson
Allen-Myland Inc.
More information about the freebsd-questions
mailing list