Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Mar 2006 23:01:14 +0100
From:      "lars@gmx.at" <lars@gmx.at>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: hosts file
Message-ID:  <44188EAA.3070801@gmx.at>
In-Reply-To: <44188B5C.30005@redry.net>
References:  <44186E94.2040901@redry.net>	<6.0.0.22.2.20060315134908.028296a8@mail.computinginnovations.com>	<44187189.300@redry.net>	<6.0.0.22.2.20060315135915.0284c350@mail.computinginnovations.com>	<441875AE.9070601@redry.net>	<6.0.0.22.2.20060315141853.0282e1c0@mail.computinginnovations.com>	<44187AF1.8020505@redry.net>	<6.0.0.22.2.20060315143900.02843ea8@mail.computinginnovations.com>	<44187DB1.6030402@redry.net>	<44188192.6080902@gmx.at>	<44188297.9050903@redry.net> <44188581.2080707@gmx.at> <44188B5C.30005@redry.net>

next in thread | previous in thread | raw e-mail | index | archive | help
eoghan wrote:
> lars@gmx.at wrote:
>> eoghan wrote:
>>>>> nathaniel# ifconfig -a
>>>>> 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
>>>>>
>>>>>
>>>> The loopback setting is incomplete. Did you miss copy/pasting that?
>>>
>>> Nope, that is the full output of ifconfig -a
>>
>> Sorry again everyone for replying to your private mailboxes, I'm 
>> retarded.
>>
>> eoghan, have you ever tried restarting your network?
>>
>> Do so by executing /etc/netstart.
> 
> Thanks havent tried it but it does give me the network messages i was 
> talking about:
> 
> devd already running? (pid=268).
> Starting dhclient.
> no such user: _dhcp, falling back to "nobody"
Here you're missing a user, did your updating process run correctly?
As in mergemaster runs.

I'd cvsup and do a full update.

> DHCPREQUEST on xl0 to 255.255.255.255 port 67
> DHCPREQUEST on xl0 to 255.255.255.255 port 67
> DHCPACK from 192.168.1.1
> bound to 192.168.1.34 -- renewal in 129600 seconds.
> 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
> route: writing to routing socket: Network is unreachable
> add net ::ffff:0.0.0.0: gateway ::1: Network is unreachable
> route: writing to routing socket: Network is unreachable
> add net ::0.0.0.0: gateway ::1: Network is unreachable
> net.inet6.ip6.forwarding: 0 -> 0
> net.inet6.ip6.accept_rtadv: 1 -> 1
> route: writing to routing socket: Network is unreachable
> add net fe80::: gateway ::1: Network is unreachable
> route: writing to routing socket: Network is unreachable
> add net ff02::: gateway ::1: Network is unreachable
> IPv4 mapped IPv6 address support=NO
> Additional routing options:.
You're missing routes here.

In your rc.conf your hostname is incomplete,
you need something like 'nathaniel.example.com'.

Remove or comment the loopback entry, it's not necessary.

Remove or comment the interface entry, it's wrong (missing "") and
not necessary.

You could add the following line:
defaultrouter="192.168.1.1" with the correct IP address of course.

All in all:
1	cvsup your sources, do a correct update (mergemaster!)
	so you have all the necessary users and groups
2	correct your rc.conf

hth
lars.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44188EAA.3070801>