From nobody Mon Jan 08 11:03:28 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 4T7rlP3Z0Zz55NP6 for ; Mon, 8 Jan 2024 11:03:29 +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 4T7rlP0Cnvz4yws for ; Mon, 8 Jan 2024 11:03:29 +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=1704711809; 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=0Z2d0NOm+54Dxse4JMFDZQZg44u0ShaY36Qe6OHpX+M=; b=ygvwsdhPYzX9yzsBAKSizuAmKSoRwFfFc9EurxTNZtv+hGwSlGDWZe7YsZd/fDpEyMLkbP 5mzNmmPTMllz09GKqZNZJ/wuRZgsv1Cde12BGpuz7D5UCrqMZLHSJN2DRpc4fCHk++Rbae w/Pt/nd4iZSmdYBkKsIfgCT1whcv1rklshi3DNiuzluKX6LSyuFV9iHjKY3A45DUBM1dMq 3RwfUVNcvRGoznmx25Ijt/3/FWT6L3vjlMwaYSsi3pdvY0DH/LYnRcBaksgI0gHkIZAjR2 CxCJRhJWvHQMDJLkehx9P+kvX25A495ls107d1jQZC/BUEYVG7sQe+Jz9v6v8g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704711809; a=rsa-sha256; cv=none; b=WOrmEvTy0HyF6UgNdlN4ncoyL+NeEoO3IUvn82CroOzW2rhD84JyZk8q8Ov3cmdE4jfwvj cul7n6Qvo7qaQaM1bPRxhaOkY1ukxHFGP8Mli2+YEweKMUTT933zK640xmRhEFBT4x5/QN pJ/9O1yJaOhwjTEMRw/5VoKoysdUdgpoGSDuMECoqME96C8j7sAWlZ1pnEA7ybTMSxRZrH Aex+bQ8bagJC9e8hx7EaGefIMKw006OQPZ1bagsywQka6ZGhmTzGF8xbuKbfF8lxpAYlek wmM5OO8md5bTnY1nNz6nVxRC0RdC3DfXwz6QIYxjOM9bbzlw1C72K2WbuY8iHA== 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 4T7rlN4zC0z14qv for ; Mon, 8 Jan 2024 11:03:28 +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 408B3S68023461 for ; Mon, 8 Jan 2024 11:03:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 408B3SdS023460 for bugs@FreeBSD.org; Mon, 8 Jan 2024 11:03:28 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 276197] bsdconfig - network interfaces not set up correctly, eventhough "active" is shown by ifconfig Date: Mon, 08 Jan 2024 11:03:28 +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=3D276197 Bug ID: 276197 Summary: bsdconfig - network interfaces not set up correctly, eventhough "active" is shown by ifconfig 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 ifconfig(8), the "status" shows the current status of a link. However,= it is possible that the status shows "active" but the link is not working (can= 't ping ip address) after setting up network interface using bsdconfig(8). 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 "media 100baseTX" option and bring up interfa= ce during confirmation. 4. 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". 5. 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. Expected Result: The network interface should be set up correctly by bsdconfig(8). I'm not sure if the "active" status by ifconfig(8) is shown correctly or not, but t= he inconsistency makes network debugging quite painful. --=20 You are receiving this mail because: You are the assignee for the bug.=