Re: dhclient failure with Realtek 8111E Ethernet on new MSI motherboard

From: Thomas Mueller <mueller6724_at_bellsouth.net>
Date: Sat, 09 Nov 2013 03:59:06 +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
Received on Sat Nov 09 2013 - 02:59:14 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:44 UTC