The officially official Devuan Forum!

You are not logged in.

#1 2022-10-30 19:06:16

deepforest
Member
Registered: 2020-03-24
Posts: 354  

[SOLVED] How my network is working?

How my network is working?
NetworkManager is working but it do not handle network?!

screenshot
https://i.imgur.com/gEyAsKr.jpg

/etc/network/interfaces                                                                                                                                             304/304               100%
# 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
auto eth0
iface eth0 inet dhcp
freeartist@devuan:~$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,DYNAMIC,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 00:1d:7d:c7:be:43 brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.13/24 brd 192.168.0.255 scope global eth0
       valid_lft forever preferred_lft forever
    inet 192.168.0.26/24 brd 192.168.0.255 scope global secondary dynamic eth0
       valid_lft 359sec preferred_lft 359sec
    inet6 fe80::21d:7dff:fec7:be43/64 scope link 
       valid_lft forever preferred_lft forever
freeartist@devuan:~$ mc

Last edited by deepforest (2022-10-30 19:06:30)


-=linux its buggy crap that have no antifool protection (c)=- smile
*linux is free software, and comes with ABSOLUTELY NO WARRANTY* smile
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+ smile

Offline

#2 2022-10-30 19:20:14

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: [SOLVED] How my network is working?

NetworkManager will ignore anything in /etc/network/interfaces. Remove eth0 from that file if you want to use NM with it.

EDIT: /etc/network/interfaces works via ifupdown & /etc/init.d/networking.

Last edited by Head_on_a_Stick (2022-10-30 19:20:53)


Brianna Ghey — Rest In Power

Offline

#3 2022-10-30 19:23:45

deepforest
Member
Registered: 2020-03-24
Posts: 354  

Re: [SOLVED] How my network is working?

Ok, thx for explain, i am try. But now my network works much stable(without NM) some times when i was using NM my networks is not works  after boot. When i set network through /etc/network/interfaces i have no issues.

Last edited by deepforest (2022-10-30 19:24:20)


-=linux its buggy crap that have no antifool protection (c)=- smile
*linux is free software, and comes with ABSOLUTELY NO WARRANTY* smile
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+ smile

Offline

#4 2022-10-30 19:25:07

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: [SOLVED] How my network is working?

That does not surprise me.

NM is useless bloat with a vanilla ethernet connection. All it adds are bugs. IMO.


Brianna Ghey — Rest In Power

Offline

#5 2022-10-30 19:25:47

deepforest
Member
Registered: 2020-03-24
Posts: 354  

Re: [SOLVED] How my network is working?

Head_on_a_Stick wrote:

NetworkManager will ignore anything in /etc/network/interfaces. Remove eth0 from that file if you want to use NM with it.

EDIT: /etc/network/interfaces works via ifupdown & /etc/init.d/networking.

disable like that?

# The primary network interface
#auto eth0
#iface eth0 inet dhcp

-=linux its buggy crap that have no antifool protection (c)=- smile
*linux is free software, and comes with ABSOLUTELY NO WARRANTY* smile
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+ smile

Offline

#6 2022-10-30 19:30:18

deepforest
Member
Registered: 2020-03-24
Posts: 354  

Re: [SOLVED] How my network is working?

Head_on_a_Stick wrote:

That does not surprise me.

NM is useless bloat with a vanilla ethernet connection. All it adds are bugs. IMO.

Thanks! So better using network via /etc/network/interfaces ?


-=linux its buggy crap that have no antifool protection (c)=- smile
*linux is free software, and comes with ABSOLUTELY NO WARRANTY* smile
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+ smile

Offline

#7 2022-10-30 19:33:09

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: [SOLVED] How my network is working?

Yes. That's what I would do.


Brianna Ghey — Rest In Power

Offline

#8 2022-11-02 12:33:24

Ogis1975
Member
Registered: 2017-04-21
Posts: 307  
Website

Re: [SOLVED] How my network is working?

According Debian wiki

NetworkManager does not manage any interface defined in /etc/network/interfaces by default.

If you want NetworkManager to handle interfaces that are enabled in

/etc/network/interfaces

Set

managed=true

in

/etc/NetworkManager/NetworkManager.conf

More details here:

https://wiki.debian.org/NetworkManager


What economists call over-production is but a production that is above the purchasing power of the worker, who is reduced to poverty by capital and state.
            ----+- Peter Kropotkin -+----

Offline

#9 2022-11-03 00:42:07

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: [SOLVED] How my network is working?

Wouldn't running NM & ifupdown on the same interface cause potential conflicts? Why would you want both running?


Brianna Ghey — Rest In Power

Offline

Board footer