On Sun, 18 Apr 2004, Killermink ! wrote: > > #echo "nameserver 192.168.2.1" > /etc/resolv.conf > > (this is the correct IP for the Mac) > > then > > #ping www.google.com > > And it worked immediately! Thanks very much, I feel pretty stupid with such > an easy answer, but shouldn't this info be provided by dhclient? If I move > to another network, say with a gateway of 10.x.x.x or other, will I have to > change resolv.conf again? Is there anyway to get this automatically or is > it a feature of FreeBSD/dhclient? >
Hi! Well, you have to tell the DHCP server to also provide to the client gateway and DNS information explicitly. My notebook gets its /etc/resolv.conf entries also from DHCP @work, respectively when I work @home from my DSL provider. So dhclient is able to do that, resp. the ppp when it comes to the DSL Line... HTH Olaf -- Olaf Hoyer [EMAIL PROTECTED] Fuerchterliche Erlebniss geben zu raten, ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist. (Nietzsche, Jenseits von Gut und Boese) _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"