Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Removed docker but dummy0 network interface remains
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
__name__
n00b
n00b


Joined: 06 Feb 2024
Posts: 9
Location: where the wind blows

PostPosted: Wed Mar 06, 2024 9:54 pm    Post subject: Removed docker but dummy0 network interface remains Reply with quote

I installed docker and then removed docker. However now there is a network interface named dummy0 every time I boot/login. This interface is blocking the internet to any other applications.

Please let me know how to fix this. I have searched all the places I could think of looking for the initialization of dummy0 but haven't found it. I also haven't had much luck with the searches on the web.

Currently I remove it when I login in by running
Code:
ip link delete dummy0
in konsole which immediately restores internet access.

I also don't mind reinstalling docker but I was unable to get it configured to my satisfaction. I followed the gentoo wiki for docker.
Back to top
View user's profile Send private message
spica
Apprentice
Apprentice


Joined: 04 Jun 2021
Posts: 287

PostPosted: Wed Mar 06, 2024 11:27 pm    Post subject: Reply with quote

I run docker for a long time and never seen dummy0.

What output the following command returns?
Code:
find /etc -type f -exec grep -lhi dummy {} \;


It looks like you have some script which loads the dummy module and activates dummy0 interface. I tried to load the dummy module manually, and the dummy0 appears, but it is in DOWN state:
Code:
$ zgrep CONFIG_DUMMY= /proc/config.gz
CONFIG_DUMMY=m

$ lsmod | grep dummy

$ ip link show dummy0
Device "dummy0" does not exist.

$ sudo modprobe dummy

$ lsmod | grep dummy
dummy                  12288  0

$ ip link show dummy0
7: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether 9e:d9:a8:56:2b:55 brd ff:ff:ff:ff:ff:ff


What network manager you run? net-misc/netifrc? net-misc/networkmanager? something different?
Back to top
View user's profile Send private message
__name__
n00b
n00b


Joined: 06 Feb 2024
Posts: 9
Location: where the wind blows

PostPosted: Thu Mar 07, 2024 12:12 am    Post subject: Reply with quote

It was the kernel configuration. I overlooked that aspect of the docker installation when removing it.

Code:
Device Drivers  --->
   [*] Network device support  --->
       [*]   Dummy net driver support


I just rebuilt the kernel without the "Dummy net driver support" and the problem has been resolved.

Thank you for the help.
Back to top
View user's profile Send private message
flexibeast
Guru
Guru


Joined: 04 Apr 2022
Posts: 324
Location: Naarm/Melbourne, Australia

PostPosted: Thu Mar 07, 2024 11:54 pm    Post subject: Reply with quote

@__name__:

Could you please now edit the post title to add the text '[SOLVED]' at the beginning?

@spica:

Not sure if you're aware, but GNU `grep`, which is provided as part of the @system set, has an `-r` option for recursive grep'ping, thus avoiding the use of `find` and the spawning of multiple `grep` processes. But it's not POSIX, so the `find`-based approach is indeed more portable in cases where it's likely that GNU `grep` is not being used.
Back to top
View user's profile Send private message
spica
Apprentice
Apprentice


Joined: 04 Jun 2021
Posts: 287

PostPosted: Fri Mar 08, 2024 10:59 am    Post subject: Reply with quote

@flexibeast

totally agree :beer:

personally I prefer sys-apps/the_silver_searcher
Back to top
View user's profile Send private message
flexibeast
Guru
Guru


Joined: 04 Apr 2022
Posts: 324
Location: Naarm/Melbourne, Australia

PostPosted: Fri Mar 08, 2024 11:44 pm    Post subject: Reply with quote

spica wrote:
personally I prefer sys-apps/the_silver_searcher

Yeah, that's my preference as well. :-)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum