네트워킹.서비스 활동이 실패했습니다.

네트워킹.서비스 활동이 실패했습니다.

저는 칼리리눅스를 사용하고 있습니다. 내 NetworkManager가 활성화되었습니다. 하지만 내 NetworkManager 또는 network.service가 무작위로 계속 실패합니다. 대부분의 경우 네트워크 서비스인데 Wi-Fi가 끊어졌습니다. 그런 다음 네트워크 서비스를 열 수 없습니다. /etc/network/interfaces 파일을 올바르게 구성하면 문제가 해결될 수 있다고 생각했습니다.

    └─$ sudo systemctl status networking.service
● networking.service - Raise network interfaces
     Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled)
     Active: active (exited) since Fri 2022-05-06 03:36:24 +06; 1min 28s ago
       Docs: man:interfaces(5)
    Process: 2693 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=0/SUCCESS)
   Main PID: 2693 (code=exited, status=0/SUCCESS)
      Tasks: 4 (limit: 18384)
     Memory: 1.5M
        CPU: 2.141s
     CGroup: /system.slice/networking.service
             └─2724 /sbin/dhclient -4 -v -i -pf /run/dhclient.wlan0.pid -lf /var/lib/dhcp/dhclient.wlan0.leases -I -df /var/lib/dhcp/dhclient6.wlan0.leases wlan0

May 06 03:36:12 pegasus ifup[2724]: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11
May 06 03:36:12 pegasus ifup[2724]: send_packet: Network is down
May 06 03:36:12 pegasus ifup[2724]: dhclient.c:2446: Failed to send 300 byte long packet over wlan0 interface.
May 06 03:36:12 pegasus dhclient[2724]: send_packet: Network is down
May 06 03:36:12 pegasus dhclient[2724]: dhclient.c:2446: Failed to send 300 byte long packet over wlan0 interface.
May 06 03:36:23 pegasus dhclient[2724]: No DHCPOFFERS received.
May 06 03:36:23 pegasus ifup[2724]: No DHCPOFFERS received.
May 06 03:36:23 pegasus ifup[2724]: No working leases in persistent database - sleeping.
May 06 03:36:23 pegasus dhclient[2724]: No working leases in persistent database - sleeping.
May 06 03:36:24 pegasus systemd[1]: Finished Raise network interfaces.

lspci

02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8822CE 802.11ac PCIe Wireless Network Adapter (rev ff)

IP 하나

3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether 32:4a:0d:d8:42:37 brd ff:ff:ff:ff:ff:ff permaddr 70:66:55:98:e2:a1

ipnet, ifup, ifconfig

┌──(pegasus㉿pegasus)-[~]
└─$ sudo ifconfig wlan0 up   
SIOCSIFFLAGS: Operation already in progress
                                                                                                                                                                                                                                           
┌──(pegasus㉿pegasus)-[~]
└─$ sudo ip link set wlan0 up
RTNETLINK answers: Operation already in progress
                                                                                                                                                                                                                                           
┌──(pegasus㉿pegasus)-[~]
└─$ sudo ifup wlan0          
ifup: interface wlan0 already configured

구성 파일

lo        no wireless extensions.

eth0      no wireless extensions.

wlan0     IEEE 802.11  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          
usb0      no wireless extensions.

                                                                                                                                                                                                                                           

구성된 경우

eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether a8:5e:45:d4:9e:02  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

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  (Local Loopback)
        RX packets 10  bytes 580 (580.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 10  bytes 580 (580.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

usb0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.168.176  netmask 255.255.255.0  broadcast 192.168.168.255
        inet6 fe80::5dcf:878c:b723:4fef  prefixlen 64  scopeid 0x20<link>
        ether ca:b0:8b:06:a0:05  txqueuelen 1000  (Ethernet)
        RX packets 30207  bytes 30987462 (29.5 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 23574  bytes 4358491 (4.1 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

관련 정보