FreeBSD client

Quinn Ellis Quinn1 at gmx.de
Sat May 17 21:33:22 PDT 2003


   At 12:17 PM 16/05/2003 +0200, you wrote:

     Under FreeBSD just type :
     and in /etc/resolv.conf add your ISP DNS Servers like that :
     nameserver      212.27.x.x
     nameserver      212.27.x.y

   Having a few problems with getting the windows Internet Sharing going
   with FreeBSD 5 as the client machine.
   /etc/resolv.conf keeps reverting from this -
   #Gateway
   nameserver 192.168.0.1
   #DNS Server
   nameserver      203.194.51.150
   nameserver      203.194.27.57
   #NIC IP CONFIG
   ifconfig_dc0="inet 192.168.0.2 netmask 255.255.255.0"
   back to this -
   192.168.0.1 (IP Addy of host computer)
   I tried this, as a theory but don't know if it will help.
   bash-2.05b# cd /etc && grep resolv.conf * | less
   rc:# if you don't have a /etc/resolv.conf.
   rc.diskless1:# build the resolv.conf
   rc.diskless1:if [ ! -e /etc/resolv.conf ]; then
   rc.diskless1:        echo domain `kenv dhcp.domain-name` >
   /etc/resolv.conf
   rc.diskless1:                echo nameserver $ns >> /etc/resolv.conf;
   PRNG is not seeded <- Also, don't know if it's related but it hangs on
   this while booting, til I ctrl-c it.
   Regards,
   Quinn


More information about the freebsd-questions mailing list