View previous topic :: View next topic |
Author |
Message |
__name__ n00b
Joined: 06 Feb 2024 Posts: 9 Location: where the wind blows
|
Posted: Wed Mar 06, 2024 9:54 pm Post subject: Removed docker but dummy0 network interface remains |
|
|
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 |
|
|
spica Apprentice
Joined: 04 Jun 2021 Posts: 293
|
Posted: Wed Mar 06, 2024 11:27 pm Post subject: |
|
|
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 |
|
|
__name__ n00b
Joined: 06 Feb 2024 Posts: 9 Location: where the wind blows
|
Posted: Thu Mar 07, 2024 12:12 am Post subject: |
|
|
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 |
|
|
flexibeast Guru
Joined: 04 Apr 2022 Posts: 325 Location: Naarm/Melbourne, Australia
|
Posted: Thu Mar 07, 2024 11:54 pm Post subject: |
|
|
@__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 |
|
|
spica Apprentice
Joined: 04 Jun 2021 Posts: 293
|
Posted: Fri Mar 08, 2024 10:59 am Post subject: |
|
|
@flexibeast
totally agree :beer:
personally I prefer sys-apps/the_silver_searcher |
|
Back to top |
|
|
flexibeast Guru
Joined: 04 Apr 2022 Posts: 325 Location: Naarm/Melbourne, Australia
|
Posted: Fri Mar 08, 2024 11:44 pm Post subject: |
|
|
spica wrote: | personally I prefer sys-apps/the_silver_searcher |
Yeah, that's my preference as well. |
|
Back to top |
|
|
|