From owner-freebsd-current@FreeBSD.ORG Sat Nov 9 03:59:14 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E982EB01 for ; Sat, 9 Nov 2013 03:59:14 +0000 (UTC) (envelope-from mueller6721@twc.com) Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.225]) by mx1.freebsd.org (Postfix) with ESMTP id A21172427 for ; Sat, 9 Nov 2013 03:59:14 +0000 (UTC) Received: from [74.130.196.19] ([74.130.196.19:36406] helo=localhost) by cdptpa-oedge03 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id EF/FD-19454-A03BD725; Sat, 09 Nov 2013 03:59:07 +0000 Date: Sat, 09 Nov 2013 03:59:06 +0000 Message-ID: From: "Thomas Mueller" To: freebsd-stable@freebsd.org References: <20130925063610.GA1507@michelle.cdnetworks.com> <36.52.26070.28C93425@cdptpa-oedge03> <20130926050038.GA1494@michelle.cdnetworks.com> <75.B0.09602.0CBE3425@cdptpa-oedge03> <20130926083326.GB1494@michelle.cdnetworks.com> <20131104021727.GB3610@michelle.cdnetworks.com> <1A.D8.19454.71BA9725@cdptpa-oedge03> <20131106042441.GA1401@michelle.cdnetworks.com> <8D.9F.19454.E0AFA725@cdptpa-oedge03> <20131108005151.GA3415@michelle.cdnetworks.com> <34.C1.27821.F73BC725@cdptpa-oedge02> Subject: Re: dhclient failure with Realtek 8111E Ethernet on new MSI motherboard X-RR-Connecting-IP: 107.14.168.142:25 X-Cloudmark-Score: 0 Cc: pyunyh@gmail.com, freebsd-current@freebsd.org, Daniel Nebdal X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Nov 2013 03:59:15 -0000 from Daniel Nebdal: > Ethernet without DHCP is fairly doable. > Assuming that the network is 192.168.0.x , that .100 is free, and your > router has .1 : > ifconfig re0 192.168.0.100/24 > route add default 192.168.0.1 > As for DNS, I'd suggest checking on another machine what servers you get > from DHCP. For each one, add a line like > nameserver 8.8.8.8 > to /etc/resolv.conf . I think I'll try something like that: good to know how. On Slackware Linux I did, as best I remember: ifconfig eth0 192.168.1.254 netmask 255.255.255.0 route add default 192.168.1.1 dev eth0 route add default gw 192.168.1.254 dev eth0 So it looks like I only need two lines in FreeBSD or NetBSD. Subsequently, after running several live CDs and seeing how easy it was with DHCP, I switched to DHCP on one Slackware upgrade. I could copy from /etc/resolv.conf on other computer where re is good with Realtek 8111E Ethernet, or I could copy from NetBSD-current amd64 /etc/resolv.conf. If I fail with manual setup on FreeBSD, as is likely because of bug in re driver, I could try with NetBSD just to verify that my ifconfig and route commands are correct, or I could try with NetBSD first to see if I have the correct commands. When I was with BellSouth, then ATT Fastaccess DSL, DSL modem-router IP address was 192.168.1.254 . Tom