From nobody Mon Jan 08 11:28:57 2024 X-Original-To: bugs@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 4T7sJn6cQkz55Qyc for ; Mon, 8 Jan 2024 11:28:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T7sJn4bbXz52mQ for ; Mon, 8 Jan 2024 11:28:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704713337; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=umP1bLJSOm9ZKOoDXwxwf21DnqnNT4LwHt1lHRsLP6k=; b=TnXVygHF3FHxYQIF6g4KVuyoupv+cTMkAAqDAdO0Ni70APK/J7TgcsqIKWADViEhT5UrrL EReCTDXjSrFyqJzVm0AdO7PIK6u6qJQGUU/dzEiYfXRO7hwYTa+STIPhdgNRIKmL5RB2kC pQsq6YzOobbNKMj4qmjW1b/FoEsoRmOudoVi0loFsVzX/R5kFlBU4nW1yTOee6oZxqjNhh oFpx1Mc5d64OOOytgqFiYsRR5Lih3jfaTO3kdo6j5ArGutiZBrTBDMcjJonw0+zzD3mzdn TlqBNEJ/mdZ2QpmstHmxuFkuyPjVOubZAoTNrfsxpP1/wCKoDrx+cecZe8hlbA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704713337; a=rsa-sha256; cv=none; b=SNxR6AJvBqSNSUJGZ7FLyMl9qI60tP9SI/jlmsXZOJbIa3PYXlhiVcdObpmprPM/bfJ3cm VM0gBa1M8+jdK8qMRISV6GUZ9ghR+8i9jfPyMfncHSqn+zZR8tqhxKdWJWACLfQvTHxg2p 38+VCpqIGZrEyQ+L9dVRFAIX3DNSuWwGIiwIs5aTbpr4kS02qoOUthr0dJTMrdI/nNU9yJ L90K2tRWCVRfY2EAqearUOvbGD9TCmzpF7yLGwviphlvvlnTVZT6xQKbc+WS4e4KYOZX+E xnJiMxENdM/3+Akobg+QEuJ6B/V1juinhiorSg0y9UxO/F800DkOnwsthJlVTw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4T7sJn3YG6z14v5 for ; Mon, 8 Jan 2024 11:28:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 408BSvvj051806 for ; Mon, 8 Jan 2024 11:28:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 408BSv6L051805 for bugs@FreeBSD.org; Mon, 8 Jan 2024 11:28:57 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 276198] bsdconfig - can't setup network interface using "default" option Date: Mon, 08 Jan 2024 11:28:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: peter.chen.devs@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276198 Bug ID: 276198 Summary: bsdconfig - can't setup network interface using "default" option Product: Base System Version: 13.2-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: peter.chen.devs@gmail.com Environment: FreeBSD version: 13.2-RELEASE hardware: Raspberry Pi 400 ethernet cable: cat 5e Bug Description: In bsdconfig(8), the "default" option in networking management can't setup the network interface correctly if the previous state of the network link is "no carrier" caused by unsupported option. Even using "#service netif resta= rt" won't help. Steps to Reproduce Bug: 1. In bsdconfig(8) > Networking Management > Network Interfaces > > options=20 2. Select "media 1000baseT mediaopt full-duplex,master instance 1" and br= ing up interface during confirmation. This option is not supported by Raspberry= Pi 400, so when you exit the bsdconfig(8) and type ifconfig(8), the status of shows "no carrier". 3. Repeat step 1 but choose "default" option and bring up interface during confirmation. 4. ifconfig(8) shows the status of to be "no carrier". The setting in "/etc/rc.conf" file for is correct. Run "#service ne= tif restart" won't work. 5. Repeat step 1 but choose "media 100baseTX" option and bring up interfa= ce during confirmation. 6. Exit the bsdconfig(8) and use ifconfig(8) to show network interface in= fo, the status of becomes "active". However, when you try to ping o= ther IP addresses (such as 192.168.0.1), it shows "no route to host". This bug is described in bug#276197. 7. Use service(8) with command "#service netif restart" to restart netif,= the ifconfig(8) shows the link as "active", now you are able to ping other ip addresses and connect to other hosts. 8. Now, open bsdconfig(8) again and choose "default" option. After that, ifconfig(8) shows the status is "active" and you can successfully ping / connect to other hosts. Expected Result: Changing option "media 1000baseT mediaopt full-duplex,master instance 1" = -> "default" should work, at least the network interface should work after run= ning "#service netif restart". However, it is only working by changing it follow= ing "media 1000baseT mediaopt full-duplex,master instance 1" -> "media 100baseT= X" -> "default". The issue of not setting up "media 100baseTX" after exiting bsdconfig(8) = is described by bug#276197. --=20 You are receiving this mail because: You are the assignee for the bug.=