From owner-freebsd-questions@FreeBSD.ORG Mon Apr 25 23:16:42 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B37C616A4CE for ; Mon, 25 Apr 2005 23:16:42 +0000 (GMT) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4215143D39 for ; Mon, 25 Apr 2005 23:16:42 +0000 (GMT) (envelope-from tomasq@gmail.com) Received: by zproxy.gmail.com with SMTP id 34so2520417nzf for ; Mon, 25 Apr 2005 16:16:41 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=K/LXl3VQwFswN50uxF1JH25JVxGyZs9y0MjqgYqgkDGTN1eatRRUXtpsgK4W997RqVUahX2kCH5X2KRCc5RmTJFBHxgNsdmOsklgCzmGReBslCwVr153lPUjAMrXzZewvoj/w5ov6m8k7ncHoW9ICXWsWQsvFwuox7IUj+vnpHM= Received: by 10.36.8.17 with SMTP id 17mr549498nzh; Mon, 25 Apr 2005 16:16:41 -0700 (PDT) Received: by 10.36.2.19 with HTTP; Mon, 25 Apr 2005 16:16:41 -0700 (PDT) Message-ID: <9e46c99e05042516165d59aeb8@mail.gmail.com> Date: Mon, 25 Apr 2005 19:16:41 -0400 From: Tomas Quintero To: Broming plutonium In-Reply-To: <20050425230736.3763.qmail@web51402.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20050425230736.3763.qmail@web51402.mail.yahoo.com> cc: freebsd-questions@freebsd.org Subject: Re: Connecting to the Internet X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Tomas Quintero List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2005 23:16:42 -0000 On 4/25/05, Broming plutonium wrote: > Hello everyone...for the first time. >=20 > I have two computers. I very recently installed FreeBSD on my first compu= ter because the operating system it used to have, Microsoft Windows, was in= fected by so many viruses that my computer took a million years to open a p= rogram. >=20 > I've only had 2 days of experience with FreeBSD, so I don't know anything= about it. How do I connect it to the Internet using Ethernet? My computer = seemed to be telling me it had three network interfaces. I'm guessing that = the ones called plip0 and ppp0 are all wrong; sl0 is the right one. >=20 > FreeBSD tries to establish an Internet connection on plip0 every time it = boots. How do I change that to sl0? How do I tell it to "tell DHCP server = to assign IP address xxx.xxx.xxx.xxx on subnet mask xxx.xxx.xxx.xxx USING t= he sl0 network interface? >=20 > What do I have to do to establish an Internet connection? Any help would = be >appreciated. Thanks! Firstly, by telling the DHCP server to assign a static-IP address to a specific system on the network, what sort of DHCP server are you speaking of. Are you asking about your ISPs DHCP, a Linksys/Dlink/other SOHO DHCP device, or are you attempting to setup your own internal DHCP server such as ISC-DHCP for your LAN. Secondly, the quick and easy way to change around things so that sl0 pulls an IP is to run /stand/sysinstall and reconfigure your Network Interfaces. You could also edit rc.conf manually and set up the sl0 interface that way, to either pull a static or dynamic IP. Is sl0 internal or external? Is the FreeBSD box going to NAT for your second computer? --=20 -Tomas Quintero