Sie sind nicht angemeldet.

1

04.06.2023, 16:24

Netzwerk lässt sich nicht deaktivieren

Wenn ich versuche das Netzwerk zu stoppen bleibt die Verbindung bestehen. Woran kann das liegen?




Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
sysvorOrt /home/michi # /etc/init.d/net.enp7s0 stop
 * WARNING: net.enp7s0 is already stopped
sysvorOrt /home/michi # /etc/init.d/net.enp7s0 stop
 * WARNING: net.enp7s0 is already stopped
sysvorOrt /home/michi # ifconfig
enp7s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.2.49  netmask 255.255.255.0  broadcast 192.168.2.255
        inet6 fe80::dbe4:82ff:1218:7947  prefixlen 64  scopeid 0x20<link>
        inet6 2003:d0:c745:4bf5:9d82:2f7c:bd1a:ef25  prefixlen 64  scopeid 0x0<global>
        ether f0:2f:74:xxxxx txqueuelen 1000  (Ethernet)
        RX packets 190841  bytes 187177137 (178.5 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 113725  bytes 21815644 (20.8 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Lokale Schleife)
        RX packets 112  bytes 8904 (8.6 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 112  bytes 8904 (8.6 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp6s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 3c:7c:3fxxxxx  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

sysvorOrt /home/michi # /etc/init.d/net.enp7s0 stop
 * WARNING: net.enp7s0 is already stopped
sysvorOrt /home/michi # /etc/init.d/net.
net.enp7s0  net.lo      
sysvorOrt /home/michi # /etc/init.d/net.lo stop
 * WARNING: net.lo is already stopped
sysvorOrt /home/michi # ping www.ard.de
PING e7671.e6.akamaiedge.net (104.102.15.142) 56(84) Bytes an Daten.
64 Bytes von a104-102-15-142.deploy.static.akamaitechnologies.com (104.102.15.142): icmp_seq=1 ttl=58 Zeit=3.75 ms
64 Bytes von a104-102-15-142.deploy.static.akamaitechnologies.com (104.102.15.142): icmp_seq=2 ttl=58 Zeit=4.30 ms
64 Bytes von a104-102-15-142.deploy.static.akamaitechnologies.com (104.102.15.142): icmp_seq=3 ttl=58 Zeit=3.99 ms
^C
--- e7671.e6.akamaiedge.net ping-Statistik ---
3 Pakete übertragen, 3 empfangen, 0% Paketverlust, Zeit 2004ms
rtt min/avg/max/mdev = 3.749/4.013/4.302/0.226 ms
sysvorOrt /home/michi # rc-service net.enp7s0 stop
 * WARNING: net.enp7s0 is already stopped
sysvorOrt /home/michi # ping www.ard.de
PING e7671.e6.akamaiedge.net (104.102.15.142) 56(84) Bytes an Daten.
64 Bytes von a104-102-15-142.deploy.static.akamaitechnologies.com (104.102.15.142): icmp_seq=1 ttl=58 Zeit=3.93 ms
64 Bytes von a104-102-15-142.deploy.static.akamaitechnologies.com (104.102.15.142): icmp_seq=2 ttl=58 Zeit=3.76 ms
^C
--- e7671.e6.akamaiedge.net ping-Statistik ---
2 Pakete übertragen, 2 empfangen, 0% Paketverlust, Zeit 1002ms
rtt min/avg/max/mdev = 3.760/3.845/3.930/0.085 ms
sysvorOrt /home/michi # /etc/init.d/
agetty                      fsck                        mysql                       s6-svscan
alsasound                   fuse                        mysql-s6                    samba
apache2                     git-daemon                  mysql-supervise             savecache
binfmt                      gpm                         net.enp7s0                  save-keymaps
bluetooth                   hostname                    net.lo                      save-termencoding
bootlogd                    hwclock                     netmount                    seedrng
bootmisc                    ip6tables                   net-online                  sntp
cgroups                     iptables                    NetworkManager              sshd
clamd                       keymaps                     nginx                       swap
consolefont                 killprocs                   ntp-client                  swclock
cronie                      kmod-static-nodes           ntpd                        sysctl
cups-browsed                libreoffice                 nullmailer                  sysfs
cupsd                       local                       numlock                     systemd-tmpfiles-setup
dbus                        localmount                  openrc-settingsd            systemd-tmpfiles-setup-dev
devfs                       loopback                    osclock                     termencoding
device-mapper               metalog                     pciparm                     udev
dhcpcd                      mit-krb5kadmind             php-fpm                     udev-settle
display-manager             mit-krb5kdc                 procfs                      udev-trigger
display-manager-setup       mit-krb5kpropd              pydoc-3.11                  ufw
dmcrypt                     modemmanager                pydoc-3.12                  wpa_supplicant
dmesg                       modules                     root                        xdm
elogind                     mount-ro                    rsyncd                      
freshclam                   mtab                        runsvdir                    
sysvorOrt /home/michi # /etc/init.d/net.enp7s0 stop
 * WARNING: net.enp7s0 is already stopped


wlp6s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 3c:7c:3f:a5xxxx  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

2

15.06.2023, 13:19

Hallo,

Kann es sein das bei dir der Networkmanager läuft? wenn ja übernimmt dieser die Config.

Viele Grüße

3

15.06.2023, 16:49

Hallo,

Kann es sein das bei dir der Networkmanager läuft? wenn ja übernimmt dieser die Config.

Viele Grüße

Nein.

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
sysvorOrt /home/michi # emerge --depclean networkmanager

Calculating dependencies... done!
>>> No packages selected for removal by depclean
>>> To see reverse dependencies, use --verbose
sysvorOrt /home/michi # /etc/init.d/net.enp7s0 stop
 * WARNING: net.enp7s0 is already stopped
sysvorOrt /home/michi # /etc/init.d/net.enp7s0 status
 * status: stopped
sysvorOrt /home/michi # ping -c 4 www.ard.de
PING e7671.e6.akamaiedge.net (104.102.15.142) 56(84) Bytes an Daten.
64 Bytes von a104-102-15-142.deploy.static.akamaitechnologies.com (104.102.15.142): icmp_seq=1 ttl=58 Zeit=3.80 ms
64 Bytes von a104-102-15-142.deploy.static.akamaitechnologies.com (104.102.15.142): icmp_seq=2 ttl=58 Zeit=3.91 ms
64 Bytes von a104-102-15-142.deploy.static.akamaitechnologies.com (104.102.15.142): icmp_seq=3 ttl=58 Zeit=3.88 ms
64 Bytes von a104-102-15-142.deploy.static.akamaitechnologies.com (104.102.15.142): icmp_seq=4 ttl=58 Zeit=3.49 ms

--- e7671.e6.akamaiedge.net ping-Statistik ---
4 Pakete übertragen, 4 empfangen, 0% Paketverlust, Zeit 3004ms
rtt min/avg/max/mdev = 3.493/3.769/3.908/0.164 ms
sysvorOrt /home/michi # /etc/init.d/net.
net.enp7s0  net.lo