[ale] static ip network configuration
Russell L. Carter
rcarter at pinyon.org
Wed Jan 8 10:49:18 EST 2025
Thanks for the info, I had no idea.
I've seen several alt net configuration
systems come and go (GUI driven, maybe?) and didn't know Ubuntu
went that way. Yet another reason to stick with Debian ;-)
Ah, for my mobile system Ima gonna fess up and say I manually swap
/etc/resolv.conf, on account of I'm too lazy. I even do that
when I've got Tailscale up. The point is I don't have to think
about it, since my config is as ruthlessly stupid as I can make
it. And it works.
I strongly agree everyone needing help should support ALE-NW video
meetings, though I hate doing such things. I suppose it's the way
it has to done.
ArchWiki is still a valuable resource for many things Linux, of
course.
Thanks!
Russell
On 1/8/25 10:34 AM, DJPfulio--- via Ale wrote:
> Russell, Ubuntu hasn't used the "interface" file for over 5 yrs, perhaps
> since 2017. Ubuntu uses netplan.yaml files for non-GUI setups. Humans
> modifying YAML pretty much sucks, but that's Ubuntu thinking they need
> to change things that aren't broke yet again.
>
> https://netplan.io/ has examples and the 2 commands to generate and
> apply netplan changes.
>
> I don't know anything about the Ubuntu GUI methods for networking.
>
> Of course, if someone wants hands-on help, they should join the every
> Sunday ALE-NW video meeting. A few Ubuntu users attend. We have most
> popular distros represented most weeks.
>
> On 1/8/25 10:24, Russell L. Carter via Ale wrote:
>>
>> First, ditch the GUI. Gazing in that direction is the reason
>> you don't already know how to do it.
>>
>> I have maintained a small herd of pet debian systems for
>> decades with nothing more complicated than this snippet in
>> /etc/network/interfaces(5):
>>
>> # The motherboard primary network interface
>> allow-hotplug enp5s0
>> iface enp5s0 inet static
>> address 10.0.10.10/24
>> gateway 10.0.10.102
>>
>> Multihomed works as expected and dhcp is even simpler. Nowadays
>> you use ip(8) for all things network related. You want to make
>> friends with the fabulous ArchWiki for details.
>>
>> All the best,
>> Russell
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> https://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
More information about the Ale
mailing list