Re: new install: configuring ethernet strangeness

2022-06-18 Thread Felix Miata
John Covici composed on 2022-06-18 04:21 (UTC-0400):

> Hi.  I just installed Debian Bullseye on a refurbished computer which
> I am going to use as a voip server.  Now, due to my ignorance, at the
> very end of the install, I selected to use #12 which said standard
> system items.

> Well, to my horror, I got gnome with all its dependencies.  I ran
> apt-get and purged all the gnome items.  However, my outgoing
> connection instead of being in /etc/network/interfaces is now managed
> by network-manager.  I don't want to use the gui, but there seems to
> be no good way to configure the connection, should I need to do so.
> /etc/systemd/network is  empty.

I think nmcli handles anything the GUI could, but I never have NetworkMangler
installed to test it.

> So, how can I either get back to /etc/network/interfaces or somehow
> manage the existing connection which is buried in
> /etc/NetworkManager/system-connections/  and is readable, but I could
> never change it.

Configure the interface in (e.g., for eth0) /etc/systemd/network/eth0.network.
Disable "managed" resolver; populate /etc/resolv.conf.
# systemctl enable systemd-networkd.service
# systemctl disable systemd-networkd-wait-online.service

The above is the short version of how I've been converting all my static
networking installations, which is all of them, minus the laptops. In addition,
your old networking config/system needs to be fully disabled and/or purged.
-- 
Evolution as taught in public schools is, like religion,
based on faith, not based on science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata



Re: new install: configuring ethernet strangeness

2022-06-18 Thread John Covici
Thanks everyone, this is what I think I will do, just use
network/interfaces.

On Sat, 18 Jun 2022 08:00:27 -0400,
Anssi Saari wrote:
> 
> John Covici  writes:
> 
> > So, how can I either get back to /etc/network/interfaces
> 
> This should be simple enough. Uninstall NetworkManager, package
> network-manager, edit /etc/network/interfaces as you like. The
> networking.service is used to run ifup and ifdown to configure and
> reconfigure the network with what's in /etc/network/interfaces.
> 

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: new install: configuring ethernet strangeness

2022-06-18 Thread Anssi Saari
John Covici  writes:

> So, how can I either get back to /etc/network/interfaces

This should be simple enough. Uninstall NetworkManager, package
network-manager, edit /etc/network/interfaces as you like. The
networking.service is used to run ifup and ifdown to configure and
reconfigure the network with what's in /etc/network/interfaces.



Re: new install: configuring ethernet strangeness

2022-06-18 Thread John Covici
I did not get that tasksel at all, at the end of the install I had 12
choices, 11 was ssh server and 12 was standard system components and
by mistake I chose 12.  I cannot use the gui, I need speech to read
the screen and I don't want all that bloat running on a voip server.
What if I just put a stanza in /etc/network/interfaces and get rid of
network manager?

On Sat, 18 Jun 2022 07:04:47 -0400,
Andrew M.A. Cater wrote:
> 
> On Sat, Jun 18, 2022 at 04:21:35AM -0400, John Covici wrote:
> > Hi.  I just installed Debian Bullseye on a refurbished computer which
> > I am going to use as a voip server.  Now, due to my ignorance, at the
> > very end of the install, I selected to use #12 which said standard
> > system items.
> > 
> > Well, to my horror, I got gnome with all its dependencies.  I ran
> > apt-get and purged all the gnome items.  However, my outgoing
> > connection instead of being in /etc/network/interfaces is now managed
> > by network-manager.  I don't want to use the gui, but there seems to
> > be no good way to configure the connection, should I need to do so.
> > /etc/systemd/network is  empty.
> > 
> > So, how can I either get back to /etc/network/interfaces or somehow
> > manage the existing connection which is buried in
> > /etc/NetworkManager/system-connections/  and is readable, but I could
> > never change it.
> > 
> > Thanks in advance for any suggestions.
> > 
> > -- 
> > Your life is like a penny.  You're going to lose it.  The question is:
> > How do
> > you spend it?
> > 
> >  John Covici wb2una
> >  cov...@ccs.covici.com
> >
> 
> Hi John,
> 
> I find that nmtui - the text interface is quite useful. It is persistent - 
> configuration will stick around. 
> 
> For anybody else: if you really don't want a GUI at all: if you deselect
> both GNOME and Debian desktop components in the tasksel step of the Debian
> installer then you should get no GUI components. If you then explicitly
> select standard install components lower down in tasksel, you will get
> some X Windows libraries but you will end up with no GUI and no desktop
> environment as far as I recollect. It's necessary to uncheck both the 
> Debian desktop environment AND the default of GNOME which is selected.
> 
> All the very best, as ever,
> 
> Andy Cater 
> 

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: new install: configuring ethernet strangeness

2022-06-18 Thread Andrew M.A. Cater
On Sat, Jun 18, 2022 at 04:21:35AM -0400, John Covici wrote:
> Hi.  I just installed Debian Bullseye on a refurbished computer which
> I am going to use as a voip server.  Now, due to my ignorance, at the
> very end of the install, I selected to use #12 which said standard
> system items.
> 
> Well, to my horror, I got gnome with all its dependencies.  I ran
> apt-get and purged all the gnome items.  However, my outgoing
> connection instead of being in /etc/network/interfaces is now managed
> by network-manager.  I don't want to use the gui, but there seems to
> be no good way to configure the connection, should I need to do so.
> /etc/systemd/network is  empty.
> 
> So, how can I either get back to /etc/network/interfaces or somehow
> manage the existing connection which is buried in
> /etc/NetworkManager/system-connections/  and is readable, but I could
> never change it.
> 
> Thanks in advance for any suggestions.
> 
> -- 
> Your life is like a penny.  You're going to lose it.  The question is:
> How do
> you spend it?
> 
>  John Covici wb2una
>  cov...@ccs.covici.com
>

Hi John,

I find that nmtui - the text interface is quite useful. It is persistent - 
configuration will stick around. 

For anybody else: if you really don't want a GUI at all: if you deselect
both GNOME and Debian desktop components in the tasksel step of the Debian
installer then you should get no GUI components. If you then explicitly
select standard install components lower down in tasksel, you will get
some X Windows libraries but you will end up with no GUI and no desktop
environment as far as I recollect. It's necessary to uncheck both the 
Debian desktop environment AND the default of GNOME which is selected.

All the very best, as ever,

Andy Cater 



Re: new install: configuring ethernet strangeness

2022-06-18 Thread john doe

On 6/18/2022 10:21 AM, John Covici wrote:

Hi.  I just installed Debian Bullseye on a refurbished computer which
I am going to use as a voip server.  Now, due to my ignorance, at the
very end of the install, I selected to use #12 which said standard
system items.

Well, to my horror, I got gnome with all its dependencies.  I ran
apt-get and purged all the gnome items.  However, my outgoing
connection instead of being in /etc/network/interfaces is now managed
by network-manager.  I don't want to use the gui, but there seems to
be no good way to configure the connection, should I need to do so.
/etc/systemd/network is  empty.

So, how can I either get back to /etc/network/interfaces or somehow
manage the existing connection which is buried in
/etc/NetworkManager/system-connections/  and is readable, but I could
never change it.

Thanks in advance for any suggestions.



If I may, redo the install from scratch and use '11' to only install
'standard system items' ! :)

To answer your question specifically, you can 'purge' networkmanager
with something like:

$ apt-get --autoremove purge 

--
John Doe