From owner-freebsd-net@freebsd.org Sat May 27 07:27:14 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 081B2D84C90 for ; Sat, 27 May 2017 07:27:14 +0000 (UTC) (envelope-from mueller6722@twc.com) Received: from dnvrco-oedge-vip.email.rr.com (dnvrco-outbound-snat.email.rr.com [107.14.73.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "dnvrco-oedge-vip.email.rr.com", Issuer "dnvrco-oedge-vip.email.rr.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id DCEEB1AD0 for ; Sat, 27 May 2017 07:27:13 +0000 (UTC) (envelope-from mueller6722@twc.com) Received: from [74.134.208.22] ([74.134.208.22:28587] helo=localhost) by dnvrco-omsmta03 (envelope-from ) (ecelerity 3.6.9.48312 r(Core:3.6.9.0)) with ESMTP id B8/24-01815-94A29295; Sat, 27 May 2017 07:27:06 +0000 Date: Sat, 27 May 2017 07:26:57 +0000 Message-ID: From: "Thomas Mueller" To: freebsd-net@freebsd.org CC: Yuri Subject: Re: Bug in make setting wrong MAKESYSPATH References: <97050ce3-ad75-c3dc-c106-3bd608e7aa8e@rawbw.com> X-RR-Connecting-IP: 107.14.64.88:25 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2017 07:27:14 -0000 > I came across the WiFi router through which dhclient fails to obtain the IP > address. It sets 0.0.0.0 and it stays this way, > On the other hand, dhcpcd obtains the IP address almost instantly. > Other routers mostly don't have such problem. > Is dhclient not as robust, or outdated as compared to dhcpcd? > Yuri NetBSD has both dhclient and dhcpcd. NetBSD developers say they intend to remove dhclient in the future. On NetBSD, sometimes dhclient works where dhcpcd doesn't, or vice versa. In FreeBSD, I see dhclient, but not dhcpcd, is in the base system, while there is a net/dhcpcd port. NetBSD-current is on dhcpcd 7.0, ahead of FreeBSD ports version. Comparison of file sizes from NetBSD 7.99.71 (current) i386: -r-xr-xr-x 1 root wheel 5343688 May 16 14:42 /media/zip0/sbin/dhclient -r-xr-xr-x 1 root wheel 6221 May 16 14:42 /media/zip0/sbin/dhclient-script -r-xr-xr-x 1 root wheel 299176 May 16 14:41 /media/zip0/sbin/dhcpcd Now I have an incentive to try for myself on other computer (MSI Z77 MPOWER motherboard with re (Realtek 8111E/8168 Ethernet chip)). "dhclient re0" fails to connect, though I can connect by Hiro H50191 USB wireless adapter using rsu driver. I won't be able to try immediately, because I believe I need to rebuild the system (11.0-STABLE amd64) first, then HEAD on another partition. Tom