OS Buster - Network-Manager

More
18 Jan 2021 20:31 #195825 by Project_Hopeless
I've upgraded to Buster, and replaced the network manager.
apt-get install network-manager network-manager-gnome
apt-get remove wicd wicd-gtk

I setup two ethernet connections, one to the Internet one to 7i96e card.

When I used the network-manger to check connection information I get "no valid connections found". But obviously that is wrong because I'm writing this post real time. Will I have stability issues with the connection?

Second question. Under Linux Mint I could set the default connection to be the 7i96e card. Then if I wanted I could click the manger and select the internet connection, wait couple seconds and I'm good to go. With Buster and Network-Manager can you select a default connection? how do you toggle between them?

Please Log in or Create an account to join the conversation.

More
18 Jan 2021 22:20 #195842 by PCW
Replied by PCW on topic OS Buster - Network-Manager
You should not need to toggle between the two, both should work simultaneously.

It is recommended that you use a 10.10.10.10 IP address for the 7I96
(and a host address of say 10.10.10.100) so that the IP address range
of the real time connection to the 7I96 does not overlap the internet NAT
range

Please Log in or Create an account to join the conversation.

More
19 Jan 2021 00:41 #195849 by Project_Hopeless
My home network was already 10.X.X.X so I left my Mesa card with the 192.168.1.121 default. It has been working fine under Mint. My CNC is typically not connected to the home network, only during an update like this.

A general question, shouldn't the "General.State" be set as managed? also the connection that I set in the NetworkManager GUI does not show up in the command line show.
LinuxPC:~$ nmcli device show
GENERAL.DEVICE:                         eno1
GENERAL.TYPE:                           ethernet
GENERAL.HWADDR:                         B8:CA:3A:8D:E8:CC
GENERAL.MTU:                            1500
GENERAL.STATE:                          10 (unmanaged)
GENERAL.CONNECTION:                     --
GENERAL.CON-PATH:                       --
WIRED-PROPERTIES.CARRIER:               on
IP4.ADDRESS[1]:                         10.0.0.83/24
IP4.GATEWAY:                            10.0.0.1
IP4.ROUTE[1]:                           dst = 10.0.0.0/24, nh = 0.0.0.0, mt = 0
IP4.ROUTE[2]:                           dst = 0.0.0.0/0, nh = 10.0.0.1, mt = 0

Also I'm connected to the internet but the "Connection Information" still finds no connections. Weird.

Please Log in or Create an account to join the conversation.

More
19 Jan 2021 00:51 #195850 by PCW
Replied by PCW on topic OS Buster - Network-Manager
Maybe I misunderstood you, are you saying you just have one Ethernet connection on you PC and want to switch back and forth?

Please Log in or Create an account to join the conversation.

More
19 Jan 2021 01:50 - 19 Jan 2021 02:41 #195857 by Project_Hopeless

Maybe I misunderstood you, are you saying you just have one Ethernet connection on you PC and want to switch back and forth?

Yes if it is possible under Buster.

1 standard internet connection, and one static address connection for Mesa card.
Last edit: 19 Jan 2021 02:41 by Project_Hopeless.

Please Log in or Create an account to join the conversation.

More
21 Jan 2021 00:25 #196042 by Project_Hopeless
Well I made some progress. 1st thing was to restart network manager. I was then able to see the connection status.
sudo /etc/init.d/network-manager restart

The debian.org site said "Keep configuration of "/etc/network/interfaces" as simple as in the following. " so I edited the interface file like so.
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
#mydelete allow-hotplug eno1
#mydelete iface eno1 inet dhcp

The internet connection and network manager seem to work. Is there any issue commenting out the two lines above?

I have added a separate static IP connection for the Mesa card. I still need to test it. Are there any anticipated problems with my setup?

Please Log in or Create an account to join the conversation.

More
21 Jan 2021 08:41 #196065 by rodw
Replied by rodw on topic OS Buster - Network-Manager
If your home network is in the 10.X.X.X range, I would allow it to get its IP address automatically and set a fixed address on the Mesa side to 192.168.1.1 with no gateway.

The PC should route to the internet correctly and Linuxcnc will talk to the mesa card without further config.

I am not using Buster but I'd like to think that you could configure that without playing with config files in this day and age. I was certainly able to do that in Mint recently.

Please Log in or Create an account to join the conversation.

More
23 Jan 2021 15:48 - 23 Jan 2021 15:48 #196338 by Project_Hopeless
It was weird, it's almost like network-manager was installed but never completely setup to launch as a service. Or the original network interface.d settings didn't allow it to start properly. I can't say for sure.

I'm up and running now. I can switch between automatic addressing for the internet and static addressing connected to the Mesa card.
Last edit: 23 Jan 2021 15:48 by Project_Hopeless.

Please Log in or Create an account to join the conversation.

More
26 Jul 2021 19:28 #215980 by mjones@welfab.ca
I have just updated to Buster as recommended. my internet works but can't configure another connection. tried to install network manager as mentioned above, but got this response.
hard@hard:~$ apt-get install network-manager network-manager-gnome
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?

i should mention that the install kept locking after trying to configure connections so i had to tell it to install with out configuring connection

Please Log in or Create an account to join the conversation.

More
26 Jul 2021 20:18 #215983 by PCW
Replied by PCW on topic OS Buster - Network-Manager
You need to be the super user to install system software so:

sudo apt-get install network-manager network-manager-gnome

Please Log in or Create an account to join the conversation.

Time to create page: 0.262 seconds
Powered by Kunena Forum