From: Michael <confabulate@kintzios.com>
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 [thread overview]
Message-ID: <12424031.O9o76ZdvQC@rogueboard> (raw)
In-Reply-To: <2732249.mvXUDI8C0e@persephone>
[-- Attachment #1: Type: text/plain, Size: 3371 bytes --]
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 <ip of your router>"
>
> 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.
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
prev parent reply other threads:[~2024-04-22 7:54 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-19 14:05 [gentoo-user] Handbook and question about manual network setup Dale
2024-04-19 14:22 ` Matt Connell
2024-04-19 16:20 ` Dale
2024-04-19 16:38 ` Michael
2024-04-19 17:04 ` Dale
2024-04-19 17:13 ` Michael
2024-04-21 2:32 ` Dale
2024-04-21 9:52 ` Michael
2024-04-22 14:34 ` Dale
2024-04-19 15:16 ` Michael
2024-04-19 16:26 ` Dale
2024-04-19 16:34 ` Michael
2024-04-19 16:47 ` Matt Connell
2024-04-21 19:36 ` J. Roeleveld
2024-04-22 7:36 ` Michael [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=12424031.O9o76ZdvQC@rogueboard \
--to=confabulate@kintzios.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox