From owner-freebsd-questions@FreeBSD.ORG Tue Apr 26 18:34:43 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 38ECF16A4CE for ; Tue, 26 Apr 2005 18:34:43 +0000 (GMT) Received: from smtp-vbr15.xs4all.nl (smtp-vbr15.xs4all.nl [194.109.24.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5960243D1D for ; Tue, 26 Apr 2005 18:34:42 +0000 (GMT) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) j3QIYfcH020616; Tue, 26 Apr 2005 20:34:41 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id D3D1A61EB; Tue, 26 Apr 2005 20:34:40 +0200 (CEST) Date: Tue, 26 Apr 2005 20:34:40 +0200 From: Roland Smith To: freebsd-questions@freebsd.org Message-ID: <20050426183440.GA27747@slackbox.xs4all.nl> Mail-Followup-To: freebsd-questions@freebsd.org, Broming plutonium References: <20050425230736.3763.qmail@web51402.mail.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ReaqsoxgOBHFXBhH" Content-Disposition: inline In-Reply-To: <20050425230736.3763.qmail@web51402.mail.yahoo.com> User-Agent: Mutt/1.4.2.1i X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! Organization: Me, organized? X-Virus-Scanned: by XS4ALL Virus Scanner cc: Broming plutonium Subject: Re: Connecting to the Internet X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2005 18:34:43 -0000 --ReaqsoxgOBHFXBhH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 25, 2005 at 07:07:35PM -0400, Broming plutonium wrote: > Hello everyone...for the first time. > =20 > I have two computers. I very recently installed FreeBSD on my first > computer because the operating system it used to have, Microsoft > Windows, was infected by so many viruses that my computer took a > million years to open a program. :-)=20 =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. FreeBSD comes with a handbook. You can find it on your disk at=20 /usr/share/doc/en_US.ISO8859-1/books/handbook/book.html (HTML version) /usr/share/doc/en_US.ISO8859-1/books/handbook/book.txt (plain text version) You can view the text version with the command=20 'less /usr/share/doc/en_US.ISO8859-1/books/handbook/book.txt' If you have the X window system running, and have a web browser (mozilla or firefox) installed, reading the HTML version is probably nicer. > 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 the sl0 network interface? If you run the command 'ifconfig', you'll see which interfaces are available. On my system it returns this: re0: flags=3D8843 mtu 1500 options=3D18 inet 10.0.0.150 netmask 0xffffff00 broadcast 10.0.0.255 ether 00:11:09:8b:c2:58 media: Ethernet autoselect (100baseTX ) status: active plip0: flags=3D108810 mtu 1500 lo0: flags=3D8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000=20 You can forget about plip0 (it is shown because the system has a parallel port) and lo0 (that's the loopback interface). In my case re0 is the ethernet card. To see if you have a active ethernet card, run the following command (without the quote-marks) 'dmesg|grep Ethernet' On my system it returns: re0: port 0xd400-0xd4ff mem=20 0xcfffbf00-0xcfffbfff irq 16 at device 11.0 on pci0 re0: Ethernet address: 00:11:09:8b:c2:58 This shows that I have a RealTek ethernet chip, that uses the re driver. It is also listed in the ifconfig output. > What do I have to do to establish an Internet connection? Any help > would be appreciated. Thanks! That depends. We need more information in order to tell you anything usefull. Do you have a DSL modem that has an ethernet connection? Or do you dial in via a modem? Roland --=20 R.F. Smith /"\ ASCII Ribbon Campaign r s m i t h @ x s 4 a l l . n l \ / No HTML/RTF in e-mail http://www.xs4all.nl/~rsmith/ X No Word docs in e-mail public key: http://www.keyserver.net / \ Respect for open standards --ReaqsoxgOBHFXBhH Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCbonAEnfvsMMhpyURAt4UAJ9fPbrfrmg/AkAYiHYjh3VwOOQVqwCdE7fv Ulqc8a7N93c/SFO939zKjjw= =ql+Q -----END PGP SIGNATURE----- --ReaqsoxgOBHFXBhH--