From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AF81C158089 for ; Mon, 16 Oct 2023 16:56:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EA9F62BC01C; Mon, 16 Oct 2023 16:56:30 +0000 (UTC) Received: from mail-oi1-x22e.google.com (mail-oi1-x22e.google.com [IPv6:2607:f8b0:4864:20::22e]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 77ABD2BC013 for ; Mon, 16 Oct 2023 16:56:30 +0000 (UTC) Received: by mail-oi1-x22e.google.com with SMTP id 5614622812f47-3af5b26d599so3551595b6e.2 for ; Mon, 16 Oct 2023 09:56:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697475389; x=1698080189; darn=lists.gentoo.org; h=content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:from:references:to:subject:from:to:cc:subject :date:message-id:reply-to; bh=58BhHMpSQ1cxfxpeGe+wFlOQ5W2uNlhIAtsSNpmwkUc=; b=iD1EzGSxacI89SpD6ny7Nc9WLFE8Lbj+cQzaHf4X+4DjS1u0aSIyBbs6Pkbs5YynTm hIv53vjIvqi0SQvkvrVDdoVAanO8B4jcHmjdb0uKxNxBv5BrouLS9HxavFh3Y2wY3vrH UWnP0VpAO10pOJ79w2XjddCP0fHE5KW7kgi6xDYV3uIjTpbFMoVA2mNWuU2Y7sB+YESe ubgou9h3h8GHiQlgfNHdNoA8bfF8R8Oa+v9IsmDmgBBqb1cD9hBWfhM7QFdKJ8pLtR44 tyudL7GrzvcqpO5Rd/JQTpTn6l4UrSE7VXW0GdHgvbiwDW8L7uvRHzuhnRWmnCmlYOnj fU1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697475389; x=1698080189; h=content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:from:references:to:subject:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=58BhHMpSQ1cxfxpeGe+wFlOQ5W2uNlhIAtsSNpmwkUc=; b=llkm7Z0kbf/AqsQf09Hf1OJe83m6tGxpfz/+zIyfDTi2UyJfS9q8d+YqEpHFjiwVP0 IbA6UyY7p/rdz56Zr05JYjjtanMsM7znn+7loxumRENHWdqugVJUxjO+hBp/bqTA4mQK PkGdYyP7WPJuMCUkQ7ONegmoeiMj1WS6baDzLUxwqMu62IjiNLu1r/w+BsMwlt3mXj5B quGh8fN5aOF2+9wxiZoZ21aD5asGzuGrANknWtStnrEsyi5GjjsptRw6ukacV3KvjWaj adaVU4jgybbNWdeb6KhN+6GHaKBVbJmPYEhAmGCpPa1phgrZIHg2/ZmNLdH9XRnXJK93 9ZoA== X-Gm-Message-State: AOJu0YwhhCN3mPzzNO0mWr5QkUhvcBNe/xZcm1jzIBJxHBJ+y+t3+W84 io6zYIk9kzAFIseordKildY= X-Google-Smtp-Source: AGHT+IGYN8219kVr3kBN7IV9P8No3lVGHWXYp3xTNNsTvzrsxzsuUCPo+ryPzjXm8UM+lyicl+yhIA== X-Received: by 2002:a05:6808:210b:b0:3a7:2456:6af6 with SMTP id r11-20020a056808210b00b003a724566af6mr43236123oiw.31.1697475389433; Mon, 16 Oct 2023 09:56:29 -0700 (PDT) Received: from [10.8.8.8] ([107.179.20.174]) by smtp.gmail.com with ESMTPSA id be24-20020a056808219800b003a78d196acasm1947158oib.32.2023.10.16.09.56.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 16 Oct 2023 09:56:28 -0700 (PDT) Subject: Re: [gentoo-user] OFF TOPIC Need Ubuntu network help To: gentoo-user@lists.gentoo.org References: <17dbcf2a-13c7-b8c0-69f1-a09e5288cfd5@gmail.com> <1547976b-10a8-ba30-0559-348db4727011@gmail.com> <13371341.uLZWGnKmhe@rogueboard> From: Dale Autocrypt: addr=rdalek1967@gmail.com; prefer-encrypt=mutual; keydata= mQINBGFSciYBEADcEGMyJBSuavKO/XKUVvgkxck7Nl8Iuu8N2lcnRji/rSKg5c1Acix1ll9i oW8JBCHwvn0+Xy60BvEsqcup3YSHw5STl/bR1ePEehtnYrg8FdjdS91+B805RfnKMm69rFVI wLSBHQrSG1yxHd8CloWoEdhmVtP24buajbh114bgXd9ahtpZrCVMrWdWYUg2mEXguGV5uNAh Rf8SWxDNc79w24JxsV34a8niMUYMjzWr0rafIbzk732X38vGjVMLo/2mMpkbp9mPp++LHoY+ 0Pet8zxxdXPJSCd475kza1AD+hhSyBZXB9yknYWgyY3cZe1rGmooJSi2KX4QxO7npwLThcO1 be6KKRkd35+Fi/a1BzVOHsZMiK/gcwxEFoMd27gir4ehaeHJfFXl+65w4hj0EsOZSxrJrm2C R50g5By2czSKP1bADEygFNpIJj51AR+wM88NImG2RPtlT2maYBzazvF05g65cdHXGp1C7W5P wwwKU2DgABB2t7N7z5A69LnryBRw4zUYDRRYLTYlBlYgg+xILm2c0OrBdxJgLJa7JE50Eo25 d3PFwt9J0gYvqy6sPFLl9So0sDg9zm0hKQtXOP5kgropUFGrNoJI+mjwF4rYLRBVzZwNAvlO OhEvHubBo3mEllv4x+FeptwXZxlk7gUsdqI8AxnFB8K9wi6FVQARAQABtBtEYWxlIDxyZGFs ZWsxOTY3QGdtYWlsLmNvbT6JAk4EEwEIADgCGyMFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AW IQQSG1h01ruv/WNXc3Q3RqOgiQH1GwUCYVJy8gAKCRA3RqOgiQH1G+waEACeTZCt77jnRAmQ AV7ot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ID: <4b498c6d-7311-6645-ec34-009ea9c154b4@gmail.com> Date: Mon, 16 Oct 2023 11:56:27 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0 SeaMonkey/2.53.17.1 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 In-Reply-To: <13371341.uLZWGnKmhe@rogueboard> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Archives-Salt: 8a9aabc2-377b-44ab-9f07-d7474c186211 X-Archives-Hash: b6021d2e03b2ad799ffb3845e98505cf Michael wrote: > On Monday, 16 October 2023 10:15:03 BST Tsukasa Mcp_Reznor wrote: >> Well, you're probably gonna have to spam us some more info. >> >> On the working knoppix boot, spam lspci showing what driver is loaded. then >> spam it on ubuntu to verify if it's loaded there as well. >> >> dmesg for the relevant parts on both would also help. >> >> I'd make sure ubuntu has linux-firmware installed, could simply be failing >> if it's missing. >> >> ifconfig could show if it is loaded and just doesn't have an ip assigned, if >> the mac address says 00:00:00:00:00 that'd be a different problem. > [snip ...] > > >From what I recall Ubuntu has been chopping & changing its network scripts on > a regular basis. So in the first instance check what you're running on this > system: > > systemctl status systemd-networkd > > or > > systemctl status NetworkManager > > I think the server version does not have NetworkManager and as your thread > says, netplan is now (since early 2023?) used to configure the network > connections: > > netplan status > > If netplan is running with renderer networkd, check the contents of your /etc/ > netplan/01-netcfg.yaml, which you list your ethernet NIC and include "dhcp4: > yes", then run: > > sudo netplan generate > sudo netplan apply > > You may have to also restart networkd service: > > sudo systemctl restart systemd-networkd > > If the above does not work, you'll need to fish for error messages in dmesg > and by running journalctl. This is the problem.  The only place it shows up is where it shows it is disabled.  I can't get a status or anything of it anywhere else because it doesn't exist.  I didn't see anything in dmesg, since it doesn't exist, nor can I check it with netplan, again, since it doesn't exist.  At that point, it's as if the network isn't even there at all as hardware.  I did look in the netplan config file, it looks just like what others have posted except that since it finds no network card, it lists no device as being found.  I did remember and had installed ifconfig.  It showed nothing but the lo network.  Nothing else. Here's another interesting point.  Before I went to take a nap, I shutdown the rig.  Just a normal shutdown.  After I read the replies here, I booted the machine back up.  Guess what, the network is working again.  So, now I can login and copy and paste some info.  Here goes. root@nas:~# cat /etc/netplan/00-installer-config.yaml # This is the network config written by 'subiquity' network:   ethernets:     enp3s0:       dhcp4: true   version: 2 root@nas:~# I don't recall the enp3s0 being listed when it was not working.  I assume it gets added when it detects it during the boot process.  The rest looks the same. This is from dmesg, using grep to narrow the info down a bit.  root@nas:~# dmesg | grep enp3 [    2.603140] r8169 0000:03:00.0 enp3s0: renamed from eth0 [  103.795108] r8169 0000:03:00.0 enp3s0: Link is Down [  106.016319] r8169 0000:03:00.0 enp3s0: Link is Up - 1Gbps/Full - flow control rx/tx [  106.016353] IPv6: ADDRCONF(NETDEV_CHANGE): enp3s0: link becomes ready root@nas:~# When I looked for that before, it returned nothing.  I even dropped down to only looking for 'enp' to see if it saw either card since I installed a PCIe card.  It didn't.  I didn't know you could run 'netplan status' and not specify a device so I never ran that.  I'll try to remember that because I suspect this could happen again.  I guess that is like ifconfig.  Mark, the command nmcli you listed isn't installed on this machine as it uses netplan.  It seems netplan is new so maybe it is a little buggy right now.  I read that if I have netplan, I shouldn't install other network managers, tools like ifconfig to see things is OK but don't use those to "manage" the network.  The use of two network managers can and likely will cause a clash.  That said, I do have ip and route installed.  Given it is working now, well, no need posting the working results.  ;-)  Since Michael mentioned that netplan is new, that explains why I wasn't getting many hits when searching.  It's new.  There likely isn't many hits to find when searching, yet.  Anyway, at the moment it is working but given this development, I may install Gentoo when I get a chance.  I need something that I can work with when it isn't working.  If nothing else, I need to be able to get info so I can get help.  Heck, when it didn't work, I didn't even know what tool it used to manage the network at all.  It took me hours just to find that out.  Add in the systemd thingy, I'm not real pleased.  I do like that it only takes a few minutes to install, update and such tho.  Plus, I may be able to get the encryption stuff to work better.  I'll be making my own kernel.  Thanks for the help.  I suspect it just may stop working again tho.  I'm not to trusting. Dale :-)  :-)