From nobody Wed Nov 30 22:14:24 2022 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NMtm44996z4j93v for ; Wed, 30 Nov 2022 22:14:28 +0000 (UTC) (envelope-from balrog7777@l37.st) Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4NMtm36Z6Kz41CP for ; Wed, 30 Nov 2022 22:14:27 +0000 (UTC) (envelope-from balrog7777@l37.st) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=l37.st header.s=fm1 header.b=b6SjFcGr; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=Qlw3Ad9p; spf=pass (mx1.freebsd.org: domain of balrog7777@l37.st designates 64.147.123.19 as permitted sender) smtp.mailfrom=balrog7777@l37.st; dmarc=none Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id BA67232005B5 for ; Wed, 30 Nov 2022 17:14:26 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Wed, 30 Nov 2022 17:14:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=l37.st; h=cc :content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to; s=fm1; t=1669846466; x=1669932866; bh=o6dqz49OaQ xbIMpCfGayDV1U8ffWbEWuXi1kfcj8UK8=; b=b6SjFcGr6azJvoKu2av3cbDjo9 gw9stE3CxTA33v0gtp44zM3yPI1GqVGx6A1vzMPp/0uPNH9LRHtXurvE/9pKf97L cwJGHJupDyT2tTUjHgPZmd9AbCz2syzS6TpPdTnpvs/qavo5wod51IN+SHzZyGBh Qm3m6xav9iYzgo+7xAopM98EQu9hQsiV5fXzT5NPYJQ5vjw1GLfJgIu3JFpoi7Sk /00lEv7ikLkwufo9iOPbwl8gkB9eFFF2KhyPWIlMz/kN4+pEAFB2Qt8SM53Q4Ogv udrydhZDr0FkXOPVd0ND5tGuDG3KH8+RhYsSaDnTOjXIs1fa1CdqbZr/b3Lg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:feedback-id:feedback-id:from:from:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1669846466; x=1669932866; bh=o6dqz49OaQxbIMpCfGayDV1U8ffW bEWuXi1kfcj8UK8=; b=Qlw3Ad9plfU7up08HxnV4XL69QTKS0R7Qs7s9D0N4Pzs VVgitqaihg/r1mKKYGASbhgdgtSFrfdIG59WOkgUNk0yFEelXaVeWxBu4eKVYknN m3mK4Y1Jp1UsqvCcWCF6LUvEQKygv7kdcTzCwvQ+U6oxe5TvhmdBQncQlw9D8eZt VMbecvgWzn/J3J/muepet+QRfGq7fKbljnWhUChe90bYf0cUGJFt3GBf8seR3RCk NuiFx141/Ag8LIozOgqZPS2ae6eTi3bH1+WC1dK7ZmvilYUklLZw0Kkb6Bf5Wo+j fR0rYPXGNWXCITW8mjZyRHa0qUU/prdAGRzqrJmssA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrtdefgdduheejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffokfggtgfgsehtqhhmtd ertdejnecuhfhrohhmpefrvghtvghrucfiihgssghsuceosggrlhhrohhgjeejjeejsehl feejrdhstheqnecuggftrfgrthhtvghrnhepgfffuedvteeiheehffffhfefgfduteelte elffeuhedtteejhffggfeitefgvefhnecuvehluhhsthgvrhfuihiivgeptdenucfrrghr rghmpehmrghilhhfrhhomhepsggrlhhrohhgjeejjeejsehlfeejrdhsth X-ME-Proxy: Feedback-ID: id3394665:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Wed, 30 Nov 2022 17:14:25 -0500 (EST) From: Peter Gibbs To: freebsd-questions@FreeBSD.org Subject: DHCP stopped working on RTL8168/8111 Date: Wed, 30 Nov 2022 23:14:24 +0100 X-Mailer: MailMate (1.14r5895) Message-ID: <54512AE0-6DF7-4653-9FC4-FE2272A721C8@l37.st> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Result: default: False [-4.60 / 15.00]; DWL_DNSWL_LOW(-1.00)[messagingengine.com:dkim]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; R_DKIM_ALLOW(-0.20)[l37.st:s=fm1,messagingengine.com:s=fm1]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.19:c]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[64.147.123.19:from]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@FreeBSD.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:29838, ipnet:64.147.123.0/24, country:US]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[l37.st]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[l37.st:+,messagingengine.com:+]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[4]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[] X-Rspamd-Queue-Id: 4NMtm36Z6Kz41CP X-Spamd-Bar: ---- X-ThisMailContainsUnwantedMimeParts: N Hi, I=E2=80=99ve installed FreeBSD on my PC to learn about it, on a hard driv= e which previously had Debian Linux on it. At first it seemed to be working. However, after a day or two suddenly DHCP stopped working. What I suspect happened is: initially the FreeBSD installer successfully negotiated a DHCP lease, but afterwards the installed system failed to renew it, so as long as the original lease was valid everything was working, but not after it expired. When Debian was installed on the same machine (and same drive), it had no issues with DHCP. I also have another drive in that machine with Windows on it, and Windows also has no issues with DHCP. OS version: > # uname -a > FreeBSD VOYAGER 13.1-RELEASE FreeBSD 13.1-RELEASE releng/13.1-n250148-f= c952ac2212 GENERIC amd64 In dhclient logs there is no DHCPACK, only DHCPDISCOVER: > # ifconfig re0 down && ifconfig re0 up && dhclient re0 > re0: no link ...... got link > DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 5 > DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 5 > DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 11 > re0 link state up -> down > re0 link state down -> up > DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 8 > re0 link state up -> down > DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 8 > re0 link state down -> up > DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 4 > DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 5 > re0 link state up -> down > DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 13 > re0 link state down -> up > DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 7 > re0 link state up -> down > DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 10 dmesg.boot messages related to re0 interface: > # egrep '^re0:' dmesg.boot > re0: port 0= xf000-0xf0ff mem 0xfe604000-0xfe604fff,0xfe600000-0xfe603fff irq 32 at de= vice 0.0 on pci3 > re0: Using 1 MSI-X message > re0: turning off MSI enable bit. > re0: Chip rev. 0x54000000 > re0: MAC rev. 0x00100000 > re0: Using defaults for TSO: 65518/35/2048 > re0: Ethernet address: b4:2e:99:4e:ab:69 > re0: netmap queues/slots: TX 1/256, RX 1/256 > re0: link state changed to DOWN > re0: link state changed to UP > re0: watchdog timeout > re0: stopping TXQ timed out! > re0: link state changed to DOWN > re0: link state changed to UP > re0: watchdog timeout > --- Deleted many repetitions of the above --- > re0: link state changed to DOWN > re0: stopping TXQ timed out! > re0: link state changed to UP > re0: link state changed to DOWN > re0: link state changed to UP > re0: port 0= xf000-0xf0ff mem 0xfe604000-0xfe604fff,0xfe600000-0xfe603fff irq 32 at de= vice 0.0 on pci3 > re0: Using 1 MSI-X message > re0: Chip rev. 0x54000000 > re0: MAC rev. 0x00100000 > re0: Using defaults for TSO: 65518/35/2048 > re0: Ethernet address: b4:2e:99:4e:ab:69 > re0: netmap queues/slots: TX 1/256, RX 1/256 > re0: link state changed to DOWN > re0: link state changed to UP > re0: watchdog timeout > re0: stopping TXQ timed out! > re0: link state changed to DOWN > re0: link state changed to UP > re0: watchdog timeout > re0: stopping TXQ timed out! > re0: link state changed to DOWN > re0: link state changed to UP > re0: watchdog timeout > --- Deleted many repetitions of the above --- > re0: stopping TXQ timed out! > re0: link state changed to DOWN > re0: link state changed to UP > re0: stopping TXQ timed out! > re0: link state changed to DOWN > re0: link state changed to UP > re0: port 0= xf000-0xf0ff mem 0xfe604000-0xfe604fff,0xfe600000-0xfe603fff irq 32 at de= vice 0.0 on pci3 > re0: Using 1 MSI-X message > re0: Chip rev. 0x54000000 > re0: MAC rev. 0x00100000 > re0: Using defaults for TSO: 65518/35/2048 > re0: Ethernet address: b4:2e:99:4e:ab:69 > re0: netmap queues/slots: TX 1/256, RX 1/256 > re0: link state changed to DOWN > re0: link state changed to UP Routes: > # netstat -r > Routing tables > > Internet: > Destination Gateway Flags Netif Expire > 0.0.0.0/8 link#1 U re0 > localhost link#2 UH lo0 > > Internet6: > Destination Gateway Flags Netif Expire > ::/96 localhost UGRS lo0 > localhost link#2 UHS lo0 > ::ffff:0.0.0.0/96 localhost UGRS lo0 > fe80::/10 localhost UGRS lo0 > fe80::%lo0/64 link#2 U lo0 > fe80::1%lo0 link#2 UHS lo0 > ff02::/16 localhost UGRS lo0 /etc/resolv.conf: > # Generated by resolvconf > search home > nameserver 192.168.1.1 /var/db/dhclient.leases.re0: > lease { > interface "re0"; > fixed-address 192.168.1.12; > next-server 192.168.1.1; > option subnet-mask 255.255.255.0; > option routers 192.168.1.1; > option domain-name-servers 192.168.1.1; > option domain-name "home"; > option broadcast-address 192.168.1.255; > option dhcp-lease-time 86400; > option dhcp-message-type 5; > option dhcp-server-identifier 192.168.1.1; > option dhcp-renewal-time 43200; > option dhcp-rebinding-time 75600; > option option-125 0:0:d:e9:22:4:6:45:34:43:30:45:32:5:f:4e:37:32:31:3= 3:30:34:36:59:30:31:33:32:39:38:6:7:46:75:6e:62:6f:78:36; > renew 2 2022/11/22 11:24:11; > rebind 2 2022/11/22 20:24:11; > expire 2 2022/11/22 23:24:11; > } /etc/rc.conf: > clear_tmp_enable=3D"YES" > syslogd_flags=3D"-ss" > sendmail_enable=3D"NONE" > hostname=3D"VOYAGER" > keymap=3D"pl.kbd" > ifconfig_re0=3D"down" > sshd_enable=3D"YES" > ntpd_enable=3D"YES" > powerd_enable=3D"YES" > # Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable > dumpdev=3D"AUTO" > zfs_enable=3D"YES" > # tmpmfs=3D"YES" > # tmpsize=3D"20m" I haven=E2=80=99t modified /etc/dhclient.conf in any way. Except the defa= ult comments, it=E2=80=99s empty. Is anyone able to say whether I have something misconfigured? Or is it a bug? Thanks, Peter