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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7CAF11581E7 for ; Mon, 22 Apr 2024 07:54:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 82162E29E2; Mon, 22 Apr 2024 07:53:59 +0000 (UTC) Received: from skyblue.cherry.relay.mailchannels.net (skyblue.cherry.relay.mailchannels.net [23.83.223.167]) (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 D1E7BE29C1 for ; Mon, 22 Apr 2024 07:53:58 +0000 (UTC) X-Sender-Id: thundermail|x-authsender|confabulate@kintzios.com Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 936535026EC for ; Mon, 22 Apr 2024 07:53:57 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1713772436; a=rsa-sha256; cv=none; b=o31krQCDsoCBwIqFNIvdTbcfovjL+W8BYD32y1u7EoxFCsAjaqcqkCdsVOI3yafElf5DMK WNst7TXDz6x34nGsLISaSHTVC/jW3CU1gCEQCrn2OtD2hAy0X5fR6e1fBukaQxK3FgBJFp ZC68L3/iQ9dpFM5ZBlJdSFAIODypzF2tn2s8eGdYji+lwQW2N0y3JxKEZVtCCbojWjiVty mMMIzbY6TT1dxTaU098HFydo1BS8zpHzMvj7Ex5Eq3x5gumLMr5Jai1USF1aOOTYtL0/Wa KJXwWsx+ZKrjAoBQYIrH4mQoBUCHFwBLkK364ai8k4LaHFUG+VJlTe1SUamY+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1713772436; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references; bh=xmNvQ9Qmg6giyQAFBdpKVroEnOy+g0TucowGDzjqgjQ=; b=HOXroDWSRZSHsoVeBmTBwxz7zqfubcLGLLtyWQ5m85gIYduu0Cefgq2EvJphvRJT94nrj7 WPtm3hu0MfGwbiyOs5XFtffvsS718ZmJKKTEue0TV1JVX71EzxvnT01d6+Tu19HKf5aUn7 r93LHi9gdyAqjlEo9CVFfIjoXobENstNXv4HM2Gp57fKfNZhdU8nCk0aS6v2huJ18xFv8T 1Q+rBkq+JiyEOr0qKMamq1Cak2faUe4Zar+QJ6EHWusJl8CrY/lVbRHCGDwgpEH/c7Uoj5 5F7d/zSLzIjkiIq6przNceATafWFOjT1H+xQ3BP6aOZL/xT1t4O0ZM1jQwoxGg== ARC-Authentication-Results: i=1; rspamd-6f64594bc9-qxhql; auth=pass smtp.auth=thundermail smtp.mailfrom=confabulate@kintzios.com X-Sender-Id: thundermail|x-authsender|confabulate@kintzios.com X-MC-Relay: Neutral X-MailChannels-SenderId: thundermail|x-authsender|confabulate@kintzios.com X-MailChannels-Auth-Id: thundermail X-Well-Made-Robust: 30e4da20474c68bd_1713772437200_2561745454 X-MC-Loop-Signature: 1713772437200:3405719057 X-MC-Ingress-Time: 1713772437200 Received: from mailclean11.thundermail.uk (mailclean11.thundermail.uk [149.255.60.66]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.122.242.15 (trex/6.10.3); Mon, 22 Apr 2024 07:53:57 +0000 Received: from cloud238.thundercloud.uk (cloud238.thundercloud.uk [149.255.62.116]) by mailclean11.thundermail.uk (Postfix) with ESMTPS id 3598646863 for ; Mon, 22 Apr 2024 08:36:24 +0100 (BST) Authentication-Results: cloud238.thundercloud.uk; spf=pass (sender IP is 217.169.3.230) smtp.mailfrom=confabulate@kintzios.com smtp.helo=rogueboard.localnet Received-SPF: pass (cloud238.thundercloud.uk: connection is authenticated) From: Michael To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Handbook and question about manual network setup Date: Mon, 22 Apr 2024 08:36:13 +0100 Message-ID: <12424031.O9o76ZdvQC@rogueboard> In-Reply-To: <2732249.mvXUDI8C0e@persephone> References: <2732249.mvXUDI8C0e@persephone> 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 Content-Type: multipart/signed; boundary="nextPart5775672.DvuYhMxLoT"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-PPP-Message-ID: <171377138310.671482.6855459899958393751@cloud238.thundercloud.uk> X-PPP-Vhost: kintzios.com X-Rspamd-Queue-Id: 3598646863 X-Rspamd-Server: mailclean11 X-Spamd-Result: default: False [-1.61 / 999.00]; SIGNED_PGP(-2.00)[]; MID_RHS_NOT_FQDN(0.50)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; ONCE_RECEIVED(0.10)[]; MX_GOOD(-0.01)[]; R_SPF_ALLOW(0.00)[+mx]; FUZZY_BLOCKED(0.00)[rspamd.com]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:34931, ipnet:149.255.60.0/22, country:GB]; MISSING_XM_UA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_ONE(0.00)[1]; R_DKIM_NA(0.00)[]; RCVD_TLS_ALL(0.00)[]; NEURAL_HAM(-0.00)[-1.000]; REPLYTO_ADDR_EQ_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; DMARC_POLICY_ALLOW(0.00)[kintzios.com,none]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[gentoo-user@lists.gentoo.org]; HAS_REPLYTO(0.00)[confabulate@kintzios.com] X-Rspamd-Action: no action X-Archives-Salt: dc41ff42-5e26-45af-a14f-4883840d9e9e X-Archives-Hash: 6f383fb95226d9e9384d7bc5221411d4 --nextPart5775672.DvuYhMxLoT Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8"; protected-headers="v1" From: Michael To: gentoo-user@lists.gentoo.org Reply-To: confabulate@kintzios.com Date: Mon, 22 Apr 2024 08:36:13 +0100 Message-ID: <12424031.O9o76ZdvQC@rogueboard> In-Reply-To: <2732249.mvXUDI8C0e@persephone> MIME-Version: 1.0 On Sunday, 21 April 2024 20:36:56 BST J. Roeleveld wrote: > On Friday, 19 April 2024 16:05:47 CEST Dale wrote: > > Howdy, > > > > I'm playing around with my NAS box again. I ran into a network issue. > > I sorta forgot I unplugged the network cable so obviously, it made it > > difficult to ssh into the thing from my main rig. After hooking up a > > monitor and keyboard, I found the problem and plugged the network cable > > back in. ROFLMBO Told y'all I forget stuff. > > > > Anyway, while investigating this, I realized the network setup is not > > like on my old rig. Heck, I couldn't even figure out how to restart it > > other than switching to the boot runlevel and back to default, or > > rebooting. After a bit, I think I can restart DHCP and it restart the > > network. I figured out the cable was unplugged before trying that. I'm > > wanting to set up the NAS box network the same way as my main rig. > > That's the old manual way. I went back to the install handbook, that's > > what I followed when installing on my main rig. Thing is, it has been > > updated and the old way isn't all there. I followed what little bit is > > there but it defaults back to the new way. I'm sure I'm missing some > > file I need to edit but I can't figure out which one it is. So, is > > there a way to get the old instructions again? The ones I followed > > several years ago for my main rig? I tried searching but it seems they > > all gone. Maybe there is a place I'm not aware of tho. Basically, I > > want to be able to start/stop/restart enp3s0 as a service and have it in > > a runlevel. > > > > Also, I'd like to get the install handbook as one large page. My > > intention is to save it locally for future reference as it is now. I > > may even print a copy. I looked at all the places that have different > > options but can't find the whole thing as one large page. I looked > > under several drop down menus and such. A long time ago, it was a > > option. I just can't find it now. May that option isn't available > > anymore. I wish I had a copy of the one from several years ago. Back > > when I installed on my main rig. > > > > Some network info. Lines that are commented out are options I tried but > > didn't work. It was worth a shot. o_O > > > > > > nas / # grep -r '!net' /etc/ > > /etc/rc.conf:rc_hotplug="!net.*" > > nas / # grep -r 'enp3s0' /etc/ > > /etc/resolv.conf:# Generated by dhcpcd from enp3s0.dhcp > > /etc/conf.d/net:config_enp3s0="dhcp" > > /etc/conf.d/net:dns_servers_enp3s0="8.8.8.8 8.8.4.4" > > /etc/conf.d/net:#config_enp3s0="10.0.0.5" > > nas / #nas / # ifconfig -s enp3s0 > > Iface MTU RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP > > TX-OVR Flg > > enp3s0 1500 16802 0 0 0 17196 0 > > 0 0 BMRU > > nas / # > > > > > > Thoughts? If I had the old install info, I think I could get it to > > work. I did last time. ;-) > > Yes, try: > config_enp3s0="10.0.0.5/24" > routes_enp3s0="default gw " > > Changes to what I see: > 1) You forgot the netmask ( /24 ) for the network > 2) I don't see a default route > > -- > Joost That'll certainly work to specify a static IP address on the PC, but I understood Dale wanted to use DHCP to obtain an IP dynamically from the router and only use netifrc to set up DNS resolvers. --nextPart5775672.DvuYhMxLoT Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmYmE20ACgkQseqq9sKV ZxndxRAA500/fHeI25VlSwvClYHIpz1bnVTacPyuynfWQVLBWKKF2lTswn+l9sLc yHpT3MUM5HTOXjYE9KJ6ul/ym3hH2Pv0U/Y3weESHl4hNOWToFFCMDrRPnkSXz9L riPNDTm6M+Un9RS/gto2xkMemymzmFJCUWMxs9ncJ5BisL6t6Ikjr39jtqc4wIaj X1S8puFpN0V7c4bvJ8TyvDZIfibc0LMADFfobqIr98IHUAu+DEDfY7uJe6NV0pwy lSmLibVJWACkU+OPNpCDUS6U+B9LefSlspQ1eJOJPG6RH30V5vEUGD/DVKA/uE3h jt7ubno9TcCK094cfkl8HqVmP14G5OKH50qkkEpwmlmjjP6uIxWGDRUFVOr65Hom YI8XFwnzGzDHj0ga6yxGxsuOFGL3XeJXTXfgpWG67MBOGj8A5zlUV/xOX+FFCTBM I7J7LiUHvVZlRVuOGf9DsNdF1OkQhi4JoVAxzvqDa39pVgHH00iD4U+/MV2CHhoZ s/wqRkV8YveJWJb5J3IpKfXO15IkV3H6JQiKyveVZfvx/sB0kx+9QbnPTfFYznCy NGfqfijBkN6AHzy8GoE6NkfNTl1wuvRkCBYyNbNuTWWpdSo1hEQFNE7Dnr/3mseR xPt+/vjTsvwT7ZmlNlSwkiWcfCEn3U+dg+MQyoVsv9jE5NxwXuI= =EfvZ -----END PGP SIGNATURE----- --nextPart5775672.DvuYhMxLoT--