From owner-freebsd-questions Mon Dec 8 12:51:11 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA09836 for questions-outgoing; Mon, 8 Dec 1997 12:51:11 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from ocala.cs.miami.edu (ocala.cs.miami.edu [129.171.34.17]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id MAA09814 for ; Mon, 8 Dec 1997 12:51:03 -0800 (PST) (envelope-from jmcla@ocala.cs.miami.edu) Received: from ocala.cs.miami.edu by ocala.cs.miami.edu via SMTP (950413.SGI.8.6.12/940406.SGI) id PAA25266; Mon, 8 Dec 1997 15:50:59 -0500 Date: Mon, 8 Dec 1997 15:50:59 -0500 (EST) From: "Joe \"Marcus\" Clarke" Reply-To: "Joe \"Marcus\" Clarke" To: lattamoreo cc: freebsd-questions@FreeBSD.ORG Subject: Re: Network Help (Cable Modem) In-Reply-To: <348C51E6.D1EA378B@skylink.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Well, PPP is a little different than a nailed up connection. DNS search order and search domains is stored in /etc/resolv.conf, the gateway in /etc/rc.conf should not be set if you're using usermode PPP. Instead, set your hostname in rc.conf to be: hostname.domain.com Then, set up your ifconfig lines in /etc/rc.conf like the following network_interfaces="lo0 tun0" ifconfig_lo0="inet 127.0.0.1" ifconfig_tun0= Then, create a file /etc/start_if.tun0 In it, put the line that starts up user PPP. For me it's ppp -auto -alias demand (see man ppp) This only works for dial-on-demand connections, however. But that's really not a problem. Brian Somers has made the PPP docs pretty straight-forward, so setting up a connection script and dial-on-demand isn't too bad. That should do it for you. By following the PPP docs the rest of the way, you should be on-line. Joe Clarke On Mon, 8 Dec 1997, lattamoreo wrote: > I use my bsd box over ppp and that is it.... > I got a cable hookup from my cable modem and cannot set my machine up > to connect to the net.... > > I really need to know where and how to set my > > dns server search order > gateway > ip address > hostname > domainname > > >From reading man's i got my two dns servers in resolv.conf in the /etc > dir and i in the one of the rc* it says gateway = and i have my gatway > address in there.. > > I set my ip address and netmask with the ifconfig command > and the hostname in one of the rc* > > I do not know where to set the domain name in a script i thought it > would automatically be striped from the full hostname... > > This still does not get me connected....??? > > Thank You > Lattamore Osburn.... >