Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 09 Nov 2013 03:59:06 +0000
From:      "Thomas Mueller" <mueller6724@bellsouth.net>
To:        freebsd-stable@freebsd.org
Cc:        pyunyh@gmail.com, freebsd-current@freebsd.org, Daniel Nebdal <dnebdal@gmail.com>
Subject:   Re: dhclient failure with Realtek 8111E Ethernet on new MSI motherboard
Message-ID:  <EF.FD.19454.A03BD725@cdptpa-oedge03>
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> <CA%2Bt49P%2Bh4xzG1aJonk8dOFeFYQHzu59_wyxkHKgKPb_wNphF2Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EF.FD.19454.A03BD725>