Nmisha
Posts: 34
Joined: Wed Jul 07, 2021 6:59 pm

Pi4 WiFi is down

Wed Jul 07, 2021 7:03 pm

After starting wifi interface is down. Or up, but I cannot connect to device. Tx packets are freezed.

How I can fix it?

User avatar
B.Goode
Posts: 14635
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: Pi4 WiFi is down

Wed Jul 07, 2021 7:55 pm

Nmisha wrote:
Wed Jul 07, 2021 7:03 pm
After starting wifi interface is down. Or up, but I cannot connect to device. Tx packets are freezed.

How I can fix it?


It won't help fix it, but specifying what Operating System is running on your RPi4 board might help get relevant advice.

Also explain any steps you have taken to configure an association with an Access Point or Hotspot.

Nmisha
Posts: 34
Joined: Wed Jul 07, 2021 6:59 pm

Re: Pi4 WiFi is down

Wed Jul 07, 2021 8:19 pm

Operating system: Linux raspberrypi 5.10.17-v7l+ #1421 SMP Thu May 27 14:00:13 BST 2021 armv7l
from official site: Raspberry Pi OS with desktop
Release date: May 7th 2021
Kernel version: 5.10

-----

wpa_supplicant:

ctrl_interface=/var/run/wpa_supplicant
update_config=1
country=RU

network={
ssid="mysid"
psk="pass"
}

-------

I added to /etc/network/interfaces :
post-up iw dev wlan0 set power_save off

-----

I added to sysctl.conf:
# disable IPv6
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1

-------

I installed docker and Home assistant.

command ifconfig -a :
wlan0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether dc:a6:32:f9:d6:4d txqueuelen 1000 (Ethernet)
RX packets 5878 bytes 825549 (806.2 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1273 bytes 221431 (216.2 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

Now wlan up, but I cannot connect via WiFi:
ssh: connect to host 192.168.88.207 port 22: Operation timed out

some troubles with web page home assistant. I have seen that raspberry disconnected on the router.

Nmisha
Posts: 34
Joined: Wed Jul 07, 2021 6:59 pm

Re: Pi4 WiFi is down

Wed Jul 07, 2021 8:27 pm

and strange screens
Attachments
Снимок экрана 2021-07-07 в 23.22.22.png
if clicked left button
Снимок экрана 2021-07-07 в 23.22.22.png (154.57 KiB) Viewed 1768 times
Снимок экрана 2021-07-07 в 23.20.58.png
if not click
Снимок экрана 2021-07-07 в 23.20.58.png (102.9 KiB) Viewed 1768 times

Nmisha
Posts: 34
Joined: Wed Jul 07, 2021 6:59 pm

Re: Pi4 WiFi is down

Wed Jul 07, 2021 8:39 pm

after reboot raspberry, but i cannot to connect
Attachments
Снимок экрана 2021-07-07 в 23.38.05.png
Снимок экрана 2021-07-07 в 23.38.05.png (10.76 KiB) Viewed 1762 times

Nmisha
Posts: 34
Joined: Wed Jul 07, 2021 6:59 pm

Re: Pi4 WiFi is down

Wed Jul 07, 2021 8:46 pm

and iwconfig:

wlan0 IEEE 802.11 ESSID:"mysid"
Mode:Managed Frequency:2.432 GHz Access Point: 4C:5E:0C:70:9F:37
Bit Rate=24 Mb/s Tx-Power=31 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=70/70 Signal level=-13 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

epoch1970
Posts: 8254
Joined: Thu May 05, 2016 9:33 am
Location: France

Re: Pi4 WiFi is down

Wed Jul 07, 2021 9:30 pm

  1. Delete what you added to /etc/network/interface and do not ever touch again that file until you know what you’re doing. It breaks networking.
  2. “sudo nano /etc/rc.local” and before the last line “exit 0”, add

    Code: Select all

     iw dev wlan0 set power_save off
  3. “sudo nano /etc/dhcpcd.conf” (the right place to configure networking in Raspios) and at the beginning of the file add

    Code: Select all

    denyinterfaces veth*
  4. Reboot
"S'il n'y a pas de solution, c'est qu'il n'y a pas de problème." Les Shadoks, J. Rouxel

Nmisha
Posts: 34
Joined: Wed Jul 07, 2021 6:59 pm

Re: Pi4 WiFi is down

Wed Jul 07, 2021 10:15 pm

Thank you very much.

I have a question. Why I should disable veth* interfaces in dhcpd.conf?

epoch1970
Posts: 8254
Joined: Thu May 05, 2016 9:33 am
Location: France

Re: Pi4 WiFi is down

Wed Jul 07, 2021 10:58 pm

Good question.

The veth (virtual ethernet) devices are used in software-defined networking to pass data across network namespaces (e.g. between a host and a container).
https://developers.redhat.com/blog/2018 ... rking#veth

The veth interfaces you see are half of the pairs created by Docker, the other halves live in each container Docker runs.
Docker should manage these interfaces completely, but under Raspios dhcpcd tries to configure every interface that appears in the host.
So the denyinterfaces option makes sure dhcpcd leaves these interfaces and Docker alone.

If you don’t add the line, dhcpcd will likely interfere with Docker, causing load on the system and possibly disrupting networking completely.
"S'il n'y a pas de solution, c'est qu'il n'y a pas de problème." Les Shadoks, J. Rouxel

Nmisha
Posts: 34
Joined: Wed Jul 07, 2021 6:59 pm

Re: Pi4 WiFi is down

Wed Jul 07, 2021 11:15 pm

Thanks to you, I put the settings in order.

Wifi now works, but not always.
When rebooted, if the Ethernet cable is connected, then there is no access via Wifi (but raspberry connected to router). If I disconnect the wire, then the wifi starts working. But internet not working, dns unreachable. And then wifi disconnected after several minutes.
But can help commands:
sudo dhclient wlan0
sudo systemctl daemon-reload

I assume there is some kind of service that manages these connections.

epoch1970
Posts: 8254
Joined: Thu May 05, 2016 9:33 am
Location: France

Re: Pi4 WiFi is down

Thu Jul 08, 2021 9:04 am

On raspios you should (can) have both interfaces active with each their LAN IP address at the same time. Ethernet has higher priority and does all the work, but both links are enabled.

If you have to ask dhcpcd to reload wlan0 this is abnormal and probably due to something related to wlan0 you added in the interfaces file. Ifupdown and dhcpcd do not mix. Leave the interfaces file empty as per defaults and reboot. Then dhcpcd should automatically take care of wlan0.
"S'il n'y a pas de solution, c'est qu'il n'y a pas de problème." Les Shadoks, J. Rouxel

Nmisha
Posts: 34
Joined: Wed Jul 07, 2021 6:59 pm

Re: Pi4 WiFi is down

Thu Jul 08, 2021 11:53 am

My /etc/network/interfaces:
--
source /etc/network/interfaces.d/*

auto lo
iface lo inet loopback
--

This is default configuration. If raspberry starting with ethernet cable disconnected then internet is work. But if ethernet cable connected and then I disconnect it, then DNS server for wlan0 is missing. It's fixing by dhcpcd command.

I understood that wlan and eth are separate interfaces with own IP. But I have the strange behavior :(

epoch1970
Posts: 8254
Joined: Thu May 05, 2016 9:33 am
Location: France

Re: Pi4 WiFi is down

Thu Jul 08, 2021 12:09 pm

Nmisha wrote:
Thu Jul 08, 2021 11:53 am
then DNS server for wlan0 is missing.
I'm afraid I don't understand. Can you post a trace (or picture) that illustrates this?
"S'il n'y a pas de solution, c'est qu'il n'y a pas de problème." Les Shadoks, J. Rouxel

Nmisha
Posts: 34
Joined: Wed Jul 07, 2021 6:59 pm

Re: Pi4 WiFi is down

Thu Jul 08, 2021 2:45 pm

after disconnected ethernet cable

pi@raspberrypi:~ $ cat /etc/resolv.conf
# Generated by NetworkManager

after executed commands:

pi@raspberrypi:~ $ sudo dhclient wlan0
RTNETLINK answers: File exists
Too few arguments.
Warning: The unit file, source configuration file or drop-ins of systemd-timesyncd.service changed on disk. Run 'systemctl daemon-reload' to reload units.
pi@raspberrypi:~ $ systemctl daemon-reload
==== AUTHENTICATING FOR org.freedesktop.systemd1.reload-daemon ===
Authentication is required to reload the systemd state.
Authenticating as: ,,, (pi)
Password:
==== AUTHENTICATION COMPLETE ===
pi@raspberrypi:~ $ cat /etc/resolv.conf
# Generated by resolvconf
domain MYDOMAIN
nameserver 192.168.88.1
pi@raspberrypi:~ $

epoch1970
Posts: 8254
Joined: Thu May 05, 2016 9:33 am
Location: France

Re: Pi4 WiFi is down

Thu Jul 08, 2021 3:09 pm

Apparently wlan0 does not get configured by default. That is not what you would see on a standard install of Raspios.
If you run this

Code: Select all

sudo grep 'dhcpcd' /var/log/syslog.1 /var/log/syslog
do you see anything of interest?

Did you reboot since you purged your mods to /etc/network/* ? Do so.

Besides Docker did you install something network-related on the machine?
"S'il n'y a pas de solution, c'est qu'il n'y a pas de problème." Les Shadoks, J. Rouxel

Nmisha
Posts: 34
Joined: Wed Jul 07, 2021 6:59 pm

Re: Pi4 WiFi is down

Thu Jul 08, 2021 3:22 pm

wlan0 configured after reboot if eth0 cabl disconnected.

sudo grep 'dhcpcd' /var/log/syslog.1 /var/log/syslog

I think there is something interesting. constant messages "carrier lost". If this results in a disconnect-connect, then it looks like the cause of the failures.

/var/log/syslog:Jul 8 14:36:28 raspberrypi dhcpcd[446]: wlan0: carrier lost
/var/log/syslog:Jul 8 14:36:28 raspberrypi dhcpcd[446]: wlan0: deleting route to 192.168.88.0/24
/var/log/syslog:Jul 8 14:36:28 raspberrypi dhcpcd[446]: wlan0: deleting default route via 192.168.88.1
/var/log/syslog:Jul 8 14:36:32 raspberrypi dhcpcd[446]: wlan0: carrier acquired
/var/log/syslog:Jul 8 14:36:32 raspberrypi dhcpcd[446]: wlan0: carrier lost
/var/log/syslog:Jul 8 14:36:32 raspberrypi dhcpcd[446]: wlan0: carrier acquired
/var/log/syslog:Jul 8 14:36:32 raspberrypi dhcpcd[446]: wlan0: rebinding lease of 192.168.88.207
/var/log/syslog:Jul 8 14:36:36 raspberrypi dhcpcd[446]: wlan0: carrier lost
/var/log/syslog:Jul 8 14:36:40 raspberrypi dhcpcd[446]: wlan0: carrier acquired
/var/log/syslog:Jul 8 14:36:40 raspberrypi dhcpcd[446]: wlan0: carrier lost
/var/log/syslog:Jul 8 14:36:40 raspberrypi dhcpcd[446]: wlan0: carrier acquired
/var/log/syslog:Jul 8 14:36:41 raspberrypi dhcpcd[446]: wlan0: rebinding lease of 192.168.88.207
/var/log/syslog:Jul 8 14:36:46 raspberrypi dhcpcd[446]: wlan0: probing for an IPv4LL address
/var/log/syslog:Jul 8 14:36:46 raspberrypi dhcpcd[446]: wlan0: DHCP lease expired
/var/log/syslog:Jul 8 14:36:46 raspberrypi dhcpcd[446]: wlan0: soliciting a DHCP lease
/var/log/syslog:Jul 8 14:36:46 raspberrypi dhcpcd[446]: wlan0: offered 192.168.88.207 from 192.168.88.1
/var/log/syslog:Jul 8 14:36:46 raspberrypi dhcpcd[446]: wlan0: probing address 192.168.88.207/24
/var/log/syslog:Jul 8 14:36:51 raspberrypi dhcpcd[446]: wlan0: using IPv4LL address 169.254.50.58
/var/log/syslog:Jul 8 14:36:51 raspberrypi dhcpcd[446]: wlan0: adding route to 169.254.0.0/16
/var/log/syslog:Jul 8 14:36:51 raspberrypi dhcpcd[446]: wlan0: adding default route
/var/log/syslog:Jul 8 14:36:51 raspberrypi dhcpcd[446]: wlan0: leased 192.168.88.207 for 605400 seconds
/var/log/syslog:Jul 8 14:36:51 raspberrypi dhcpcd[446]: wlan0: adding route to 192.168.88.0/24
/var/log/syslog:Jul 8 14:36:51 raspberrypi dhcpcd[446]: wlan0: changing default route via 192.168.88.1
/var/log/syslog:Jul 8 14:36:51 raspberrypi dhcpcd[446]: wlan0: deleting route to 169.254.0.0/16
/var/log/syslog:Jul 8 14:36:51 raspberrypi dhcpcd[446]: wlan0: pid 446 deleted default route via 192.168.88.1
/var/log/syslog:Jul 8 16:52:34 raspberrypi dhcpcd[446]: wlan0: carrier lost
/var/log/syslog:Jul 8 16:52:34 raspberrypi dhcpcd[446]: wlan0: deleting route to 192.168.88.0/24
/var/log/syslog:Jul 8 16:52:38 raspberrypi dhcpcd[446]: wlan0: carrier acquired
/var/log/syslog:Jul 8 16:52:38 raspberrypi dhcpcd[446]: wlan0: carrier lost
/var/log/syslog:Jul 8 16:52:38 raspberrypi dhcpcd[446]: wlan0: carrier acquired
/var/log/syslog:Jul 8 16:52:38 raspberrypi dhcpcd[446]: wlan0: rebinding lease of 192.168.88.207
/var/log/syslog:Jul 8 16:52:43 raspberrypi dhcpcd[446]: wlan0: probing for an IPv4LL address
/var/log/syslog:Jul 8 16:52:43 raspberrypi dhcpcd[446]: wlan0: DHCP lease expired
/var/log/syslog:Jul 8 16:52:43 raspberrypi dhcpcd[446]: wlan0: soliciting a DHCP lease
/var/log/syslog:Jul 8 16:52:43 raspberrypi dhcpcd[446]: wlan0: carrier lost
/var/log/syslog:Jul 8 16:52:48 raspberrypi dhcpcd[446]: wlan0: carrier acquired
/var/log/syslog:Jul 8 16:52:48 raspberrypi dhcpcd[446]: wlan0: carrier lost
/var/log/syslog:Jul 8 16:52:48 raspberrypi dhcpcd[446]: wlan0: carrier acquired
/var/log/syslog:Jul 8 16:52:49 raspberrypi dhcpcd[446]: wlan0: soliciting a DHCP lease
/var/log/syslog:Jul 8 16:52:51 raspberrypi dhcpcd[446]: wlan0: carrier lost
/var/log/syslog:Jul 8 16:53:04 raspberrypi dhcpcd[446]: wlan0: carrier acquired
/var/log/syslog:Jul 8 16:53:04 raspberrypi dhcpcd[446]: wlan0: carrier lost
/var/log/syslog:Jul 8 16:53:04 raspberrypi dhcpcd[446]: wlan0: carrier acquired
/var/log/syslog:Jul 8 16:53:04 raspberrypi dhcpcd[446]: wlan0: soliciting a DHCP lease
/var/log/syslog:Jul 8 16:53:08 raspberrypi dhcpcd[446]: wlan0: offered 192.168.88.207 from 192.168.88.1
/var/log/syslog:Jul 8 16:53:09 raspberrypi dhcpcd[446]: wlan0: probing for an IPv4LL address
/var/log/syslog:Jul 8 16:53:11 raspberrypi dhcpcd[446]: wlan0: probing address 192.168.88.207/24
/var/log/syslog:Jul 8 16:53:14 raspberrypi dhcpcd[446]: wlan0: using IPv4LL address 169.254.50.58
/var/log/syslog:Jul 8 16:53:14 raspberrypi dhcpcd[446]: wlan0: adding route to 169.254.0.0/16
/var/log/syslog:Jul 8 16:53:14 raspberrypi dhcpcd[446]: wlan0: adding default route
/var/log/syslog:Jul 8 16:53:16 raspberrypi dhcpcd[446]: wlan0: leased 192.168.88.207 for 605400 seconds
/var/log/syslog:Jul 8 16:53:16 raspberrypi dhcpcd[446]: wlan0: adding route to 192.168.88.0/24
/var/log/syslog:Jul 8 16:53:16 raspberrypi dhcpcd[446]: wlan0: changing default route via 192.168.88.1
/var/log/syslog:Jul 8 16:53:17 raspberrypi dhcpcd[446]: wlan0: deleting route to 169.254.0.0/16
/var/log/syslog:Jul 8 16:53:17 raspberrypi dhcpcd[446]: wlan0: pid 446 deleted default route via 192.168.88.1
/var/log/syslog:Jul 8 16:53:20 raspberrypi dhcpcd[446]: wlan0: carrier lost
/var/log/syslog:Jul 8 16:53:20 raspberrypi dhcpcd[446]: wlan0: deleting route to 192.168.88.0/24
/var/log/syslog:Jul 8 16:53:24 raspberrypi dhcpcd[446]: wlan0: carrier acquired
/var/log/syslog:Jul 8 16:53:24 raspberrypi dhcpcd[446]: wlan0: carrier lost
/var/log/syslog:Jul 8 16:53:24 raspberrypi dhcpcd[446]: wlan0: carrier acquired
/var/log/syslog:Jul 8 16:53:25 raspberrypi dhcpcd[446]: wlan0: rebinding lease of 192.168.88.207
/var/log/syslog:Jul 8 16:53:28 raspberrypi dhcpcd[446]: wlan0: probing address 192.168.88.207/24
/var/log/syslog:Jul 8 16:53:32 raspberrypi dhcpcd[446]: wlan0: leased 192.168.88.207 for 605400 seconds
/var/log/syslog:Jul 8 16:53:32 raspberrypi dhcpcd[446]: wlan0: adding route to 192.168.88.0/24
/var/log/syslog:Jul 8 16:53:32 raspberrypi dhcpcd[446]: wlan0: adding default route via 192.168.88.1
/var/log/syslog:Jul 8 16:53:44 raspberrypi dhcpcd[446]: wlan0: carrier lost
/var/log/syslog:Jul 8 16:53:44 raspberrypi dhcpcd[446]: wlan0: deleting route to 192.168.88.0/24
/var/log/syslog:Jul 8 16:53:44 raspberrypi dhcpcd[446]: wlan0: deleting default route via 192.168.88.1
/var/log/syslog:Jul 8 16:53:52 raspberrypi dhcpcd[446]: wlan0: carrier acquired
/var/log/syslog:Jul 8 16:53:52 raspberrypi dhcpcd[446]: wlan0: carrier lost
/var/log/syslog:Jul 8 16:53:52 raspberrypi dhcpcd[446]: wlan0: carrier acquired
/var/log/syslog:Jul 8 16:53:53 raspberrypi dhcpcd[446]: wlan0: rebinding lease of 192.168.88.207
/var/log/syslog:Jul 8 16:53:55 raspberrypi dhcpcd[446]: wlan0: carrier lost
/var/log/syslog:Jul 8 16:54:23 raspberrypi dhcpcd[446]: wlan0: carrier acquired
/var/log/syslog:Jul 8 16:54:24 raspberrypi dhcpcd[446]: wlan0: rebinding lease of 192.168.88.207
/var/log/syslog:Jul 8 16:54:24 raspberrypi dhcpcd[446]: wlan0: probing address 192.168.88.207/24
/var/log/syslog:Jul 8 16:54:29 raspberrypi dhcpcd[446]: wlan0: carrier lost
/var/log/syslog:Jul 8 16:54:32 raspberrypi dhcpcd[446]: wlan0: carrier acquired
/var/log/syslog:Jul 8 16:54:32 raspberrypi dhcpcd[446]: wlan0: rebinding lease of 192.168.88.207
/var/log/syslog:Jul 8 16:54:37 raspberrypi dhcpcd[446]: wlan0: probing for an IPv4LL address
/var/log/syslog:Jul 8 16:54:37 raspberrypi dhcpcd[446]: wlan0: DHCP lease expired
/var/log/syslog:Jul 8 16:54:37 raspberrypi dhcpcd[446]: wlan0: soliciting a DHCP lease
/var/log/syslog:Jul 8 16:54:39 raspberrypi dhcpcd[446]: wlan0: carrier lost
/var/log/syslog:Jul 8 16:54:43 raspberrypi dhcpcd[446]: wlan0: carrier acquired
/var/log/syslog:Jul 8 16:54:43 raspberrypi dhcpcd[446]: wlan0: carrier lost
/var/log/syslog:Jul 8 16:54:43 raspberrypi dhcpcd[446]: wlan0: carrier acquired
/var/log/syslog:Jul 8 16:54:43 raspberrypi dhcpcd[446]: wlan0: soliciting a DHCP lease
/var/log/syslog:Jul 8 16:54:48 raspberrypi dhcpcd[446]: wlan0: probing for an IPv4LL address
/var/log/syslog:Jul 8 16:54:50 raspberrypi dhcpcd[446]: wlan0: carrier lost
/var/log/syslog:Jul 8 16:54:54 raspberrypi dhcpcd[446]: wlan0: carrier acquired
/var/log/syslog:Jul 8 16:54:54 raspberrypi dhcpcd[446]: wlan0: carrier lost
/var/log/syslog:Jul 8 16:54:54 raspberrypi dhcpcd[446]: wlan0: carrier acquired
/var/log/syslog:Jul 8 16:54:54 raspberrypi dhcpcd[446]: wlan0: soliciting a DHCP lease
/var/log/syslog:Jul 8 16:54:59 raspberrypi dhcpcd[446]: wlan0: probing for an IPv4LL address
/var/log/syslog:Jul 8 16:55:04 raspberrypi dhcpcd[446]: wlan0: using IPv4LL address 169.254.50.58
/var/log/syslog:Jul 8 16:55:04 raspberrypi dhcpcd[446]: wlan0: adding route to 169.254.0.0/16
/var/log/syslog:Jul 8 16:55:04 raspberrypi dhcpcd[446]: wlan0: adding default route
/var/log/syslog:Jul 8 16:55:09 raspberrypi dhcpcd[446]: eth0: carrier acquired
/var/log/syslog:Jul 8 16:55:10 raspberrypi dhcpcd[446]: eth0: rebinding lease of 192.168.88.208
/var/log/syslog:Jul 8 16:55:15 raspberrypi dhcpcd[446]: eth0: probing for an IPv4LL address
/var/log/syslog:Jul 8 16:55:15 raspberrypi dhcpcd[446]: eth0: DHCP lease expired
/var/log/syslog:Jul 8 16:55:15 raspberrypi dhcpcd[446]: eth0: soliciting a DHCP lease
/var/log/syslog:Jul 8 16:55:15 raspberrypi dhcpcd[446]: eth0: offered 192.168.88.208 from 192.168.88.1
/var/log/syslog:Jul 8 16:55:15 raspberrypi dhcpcd[446]: eth0: probing address 192.168.88.208/24
/var/log/syslog:Jul 8 16:55:19 raspberrypi dhcpcd[446]: eth0: using IPv4LL address 169.254.26.222
/var/log/syslog:Jul 8 16:55:19 raspberrypi dhcpcd[446]: eth0: adding route to 169.254.0.0/16
/var/log/syslog:Jul 8 16:55:19 raspberrypi dhcpcd[446]: eth0: adding default route
/var/log/syslog:Jul 8 16:55:19 raspberrypi dhcpcd[446]: wlan0: deleting default route
/var/log/syslog:Jul 8 16:55:19 raspberrypi dhcpcd[446]: eth0: pid 446 deleted default route
/var/log/syslog:Jul 8 16:55:19 raspberrypi dhcpcd[446]: eth0: leased 192.168.88.208 for 605400 seconds
/var/log/syslog:Jul 8 16:55:19 raspberrypi dhcpcd[446]: eth0: adding route to 192.168.88.0/24
/var/log/syslog:Jul 8 16:55:19 raspberrypi dhcpcd[446]: eth0: adding default route via 192.168.88.1
/var/log/syslog:Jul 8 16:55:19 raspberrypi dhcpcd[446]: eth0: deleting route to 169.254.0.0/16
/var/log/syslog:Jul 8 16:55:19 raspberrypi dhcpcd[446]: eth0: pid 446 deleted route to 192.168.88.0/24
/var/log/syslog:Jul 8 16:55:19 raspberrypi dhcpcd[446]: eth0: adding route to 192.168.88.0/24
/var/log/syslog:Jul 8 16:55:19 raspberrypi dhcpcd[446]: eth0: pid 446 deleted default route via 192.168.88.1
/var/log/syslog:Jul 8 16:55:22 raspberrypi dhcpcd[446]: wlan0: offered 192.168.88.207 from 192.168.88.1
/var/log/syslog:Jul 8 16:55:22 raspberrypi dhcpcd[446]: wlan0: probing address 192.168.88.207/24
/var/log/syslog:Jul 8 16:55:27 raspberrypi dhcpcd[446]: wlan0: leased 192.168.88.207 for 605400 seconds
/var/log/syslog:Jul 8 16:55:27 raspberrypi dhcpcd[446]: eth0: adding default route via 192.168.88.1
/var/log/syslog:Jul 8 16:55:27 raspberrypi dhcpcd[446]: wlan0: adding route to 192.168.88.0/24
/var/log/syslog:Jul 8 16:55:27 raspberrypi dhcpcd[446]: wlan0: adding default route via 192.168.88.1
/var/log/syslog:Jul 8 16:55:27 raspberrypi dhcpcd[446]: wlan0: deleting route to 169.254.0.0/16
/var/log/syslog:Jul 8 17:09:54 raspberrypi systemd[1]: Starting dhcpcd on all interfaces...
/var/log/syslog:Jul 8 17:09:54 raspberrypi dhcpcd[355]: dev: loaded udev
/var/log/syslog:Jul 8 17:09:54 raspberrypi dhcpcd[355]: forked to background, child pid 403
/var/log/syslog:Jul 8 17:09:55 raspberrypi dhcpcd-run-hooks[470]: wlan0: starting wpa_supplicant
/var/log/syslog:Jul 8 17:09:55 raspberrypi systemd[1]: Started dhcpcd on all interfaces.
/var/log/syslog:Jul 8 17:09:55 raspberrypi dhcpcd[403]: wlan0: connected to Access Point `'
/var/log/syslog:Jul 8 17:09:55 raspberrypi dhcpcd[403]: eth0: waiting for carrier
/var/log/syslog:Jul 8 17:09:55 raspberrypi dhcpcd[403]: wlan0: waiting for carrier
/var/log/syslog:Jul 8 17:09:58 raspberrypi dhcpcd[403]: eth0: carrier acquired
/var/log/syslog:Jul 8 17:09:59 raspberrypi dhcpcd[403]: wlan0: carrier acquired
/var/log/syslog:Jul 8 17:09:59 raspberrypi dhcpcd[403]: wlan0: connected to Access Point `MILAN'
/var/log/syslog:Jul 8 17:09:59 raspberrypi dhcpcd[403]: wlan0: carrier lost
/var/log/syslog:Jul 8 17:09:59 raspberrypi dhcpcd[403]: wlan0: carrier acquired
/var/log/syslog:Jul 8 17:09:59 raspberrypi dhcpcd[403]: eth0: rebinding lease of 192.168.88.208
/var/log/syslog:Jul 8 17:09:59 raspberrypi dhcpcd[403]: wlan0: rebinding lease of 192.168.88.207
/var/log/syslog:Jul 8 17:09:59 raspberrypi dhcpcd[403]: wlan0: probing address 192.168.88.207/24
/var/log/syslog:Jul 8 17:10:04 raspberrypi dhcpcd[403]: eth0: probing for an IPv4LL address
/var/log/syslog:Jul 8 17:10:04 raspberrypi dhcpcd[403]: eth0: DHCP lease expired
/var/log/syslog:Jul 8 17:10:04 raspberrypi dhcpcd[403]: eth0: soliciting a DHCP lease
/var/log/syslog:Jul 8 17:10:04 raspberrypi dhcpcd[403]: eth0: offered 192.168.88.208 from 192.168.88.1
/var/log/syslog:Jul 8 17:10:04 raspberrypi dhcpcd[403]: eth0: probing address 192.168.88.208/24
/var/log/syslog:Jul 8 17:10:05 raspberrypi dhcpcd[403]: wlan0: leased 192.168.88.207 for 605400 seconds
/var/log/syslog:Jul 8 17:10:05 raspberrypi dhcpcd[403]: wlan0: adding route to 192.168.88.0/24
/var/log/syslog:Jul 8 17:10:05 raspberrypi dhcpcd[403]: wlan0: adding default route via 192.168.88.1
/var/log/syslog:Jul 8 17:10:07 raspberrypi dhcpcd[403]: wlan0: carrier lost
/var/log/syslog:Jul 8 17:10:07 raspberrypi dhcpcd[403]: wlan0: deleting route to 192.168.88.0/24
/var/log/syslog:Jul 8 17:10:07 raspberrypi dhcpcd[403]: wlan0: deleting default route via 192.168.88.1
/var/log/syslog:Jul 8 17:10:07 raspberrypi dhcpcd[403]: wlan0: carrier acquired
/var/log/syslog:Jul 8 17:10:07 raspberrypi dhcpcd[403]: wlan0: carrier lost
/var/log/syslog:Jul 8 17:10:07 raspberrypi dhcpcd[403]: wlan0: carrier acquired
/var/log/syslog:Jul 8 17:10:07 raspberrypi dhcpcd[403]: wlan0: rebinding lease of 192.168.88.207
/var/log/syslog:Jul 8 17:10:08 raspberrypi dhcpcd[403]: wlan0: probing address 192.168.88.207/24
/var/log/syslog:Jul 8 17:10:08 raspberrypi dhcpcd[403]: eth0: using IPv4LL address 169.254.26.222
/var/log/syslog:Jul 8 17:10:08 raspberrypi dhcpcd[403]: eth0: adding route to 169.254.0.0/16
/var/log/syslog:Jul 8 17:10:08 raspberrypi dhcpcd[403]: eth0: adding default route
/var/log/syslog:Jul 8 17:10:08 raspberrypi dhcpcd[403]: eth0: pid 403 deleted default route
/var/log/syslog:Jul 8 17:10:08 raspberrypi dhcpcd[403]: eth0: leased 192.168.88.208 for 605400 seconds
/var/log/syslog:Jul 8 17:10:08 raspberrypi dhcpcd[403]: eth0: adding route to 192.168.88.0/24
/var/log/syslog:Jul 8 17:10:08 raspberrypi dhcpcd[403]: eth0: adding default route via 192.168.88.1
/var/log/syslog:Jul 8 17:10:09 raspberrypi dhcpcd[403]: eth0: deleting route to 169.254.0.0/16
/var/log/syslog:Jul 8 17:10:09 raspberrypi dhcpcd[403]: eth0: pid 403 deleted route to 192.168.88.0/24
/var/log/syslog:Jul 8 17:10:09 raspberrypi dhcpcd[403]: eth0: pid 403 deleted default route via 192.168.88.1
/var/log/syslog:Jul 8 17:10:13 raspberrypi dhcpcd[403]: wlan0: leased 192.168.88.207 for 605400 seconds
/var/log/syslog:Jul 8 17:10:13 raspberrypi dhcpcd[403]: eth0: adding route to 192.168.88.0/24
/var/log/syslog:Jul 8 17:10:13 raspberrypi dhcpcd[403]: eth0: adding default route via 192.168.88.1
/var/log/syslog:Jul 8 17:10:13 raspberrypi dhcpcd[403]: wlan0: adding route to 192.168.88.0/24
/var/log/syslog:Jul 8 17:10:13 raspberrypi dhcpcd[403]: wlan0: adding default route via 192.168.88.1
/var/log/syslog:Jul 8 17:10:13 raspberrypi dhcpcd[403]: eth0: pid 403 deleted route to 192.168.88.0/24
/var/log/syslog:Jul 8 17:10:13 raspberrypi dhcpcd[403]: eth0: pid 403 deleted default route via 192.168.88.1
/var/log/syslog:Jul 8 17:10:17 raspberrypi dhcpcd[403]: wlan0: carrier lost
/var/log/syslog:Jul 8 17:10:17 raspberrypi dhcpcd[403]: eth0: adding route to 192.168.88.0/24
/var/log/syslog:Jul 8 17:10:17 raspberrypi dhcpcd[403]: eth0: adding default route via 192.168.88.1
/var/log/syslog:Jul 8 17:10:17 raspberrypi dhcpcd[403]: wlan0: deleting route to 192.168.88.0/24
/var/log/syslog:Jul 8 17:10:17 raspberrypi dhcpcd[403]: wlan0: deleting default route via 192.168.88.1
/var/log/syslog:Jul 8 17:10:18 raspberrypi dhcpcd[403]: wlan0: carrier acquired
/var/log/syslog:Jul 8 17:10:18 raspberrypi dhcpcd[403]: wlan0: carrier lost
/var/log/syslog:Jul 8 17:10:18 raspberrypi dhcpcd[403]: wlan0: carrier acquired
/var/log/syslog:Jul 8 17:10:18 raspberrypi dhcpcd[403]: wlan0: rebinding lease of 192.168.88.207
/var/log/syslog:Jul 8 17:10:18 raspberrypi dhcpcd[403]: wlan0: probing address 192.168.88.207/24
/var/log/syslog:Jul 8 17:10:24 raspberrypi dhcpcd[403]: wlan0: leased 192.168.88.207 for 605400 seconds
/var/log/syslog:Jul 8 17:10:24 raspberrypi dhcpcd[403]: wlan0: adding route to 192.168.88.0/24
/var/log/syslog:Jul 8 17:10:24 raspberrypi dhcpcd[403]: wlan0: adding default route via 192.168.88.1
/var/log/syslog:Jul 8 17:12:14 raspberrypi dhcpcd[403]: wlan0: carrier lost
/var/log/syslog:Jul 8 17:12:14 raspberrypi dhcpcd[403]: wlan0: deleting route to 192.168.88.0/24
/var/log/syslog:Jul 8 17:12:14 raspberrypi dhcpcd[403]: wlan0: deleting default route via 192.168.88.1
/var/log/syslog:Jul 8 17:12:14 raspberrypi dhcpcd[403]: wlan0: carrier acquired
/var/log/syslog:Jul 8 17:12:14 raspberrypi dhcpcd[403]: wlan0: carrier lost
/var/log/syslog:Jul 8 17:12:14 raspberrypi dhcpcd[403]: wlan0: carrier acquired
/var/log/syslog:Jul 8 17:12:14 raspberrypi dhcpcd[403]: wlan0: rebinding lease of 192.168.88.207
/var/log/syslog:Jul 8 17:12:14 raspberrypi dhcpcd[403]: wlan0: probing address 192.168.88.207/24
/var/log/syslog:Jul 8 17:12:20 raspberrypi dhcpcd[403]: wlan0: leased 192.168.88.207 for 605400 seconds
/var/log/syslog:Jul 8 17:12:20 raspberrypi dhcpcd[403]: wlan0: adding route to 192.168.88.0/24
/var/log/syslog:Jul 8 17:12:20 raspberrypi dhcpcd[403]: wlan0: adding default route via 192.168.88.1
/var/log/syslog:Jul 8 17:12:23 raspberrypi dhcpcd[403]: wlan0: carrier lost
/var/log/syslog:Jul 8 17:12:24 raspberrypi dhcpcd[403]: wlan0: deleting route to 192.168.88.0/24
/var/log/syslog:Jul 8 17:12:24 raspberrypi dhcpcd[403]: wlan0: deleting default route via 192.168.88.1
/var/log/syslog:Jul 8 17:12:24 raspberrypi dhcpcd[403]: wlan0: carrier acquired
/var/log/syslog:Jul 8 17:12:24 raspberrypi dhcpcd[403]: wlan0: carrier lost
/var/log/syslog:Jul 8 17:12:24 raspberrypi dhcpcd[403]: wlan0: carrier acquired
/var/log/syslog:Jul 8 17:12:25 raspberrypi dhcpcd[403]: wlan0: rebinding lease of 192.168.88.207
/var/log/syslog:Jul 8 17:12:25 raspberrypi dhcpcd[403]: wlan0: probing address 192.168.88.207/24
/var/log/syslog:Jul 8 17:12:30 raspberrypi dhcpcd[403]: wlan0: leased 192.168.88.207 for 605400 seconds
/var/log/syslog:Jul 8 17:12:30 raspberrypi dhcpcd[403]: wlan0: adding route to 192.168.88.0/24
/var/log/syslog:Jul 8 17:12:30 raspberrypi dhcpcd[403]: wlan0: adding default route via 192.168.88.1
/var/log/syslog:Jul 8 17:12:34 raspberrypi dhcpcd[403]: wlan0: carrier lost
/var/log/syslog:Jul 8 17:12:35 raspberrypi dhcpcd[403]: wlan0: deleting route to 192.168.88.0/24
/var/log/syslog:Jul 8 17:12:35 raspberrypi dhcpcd[403]: wlan0: deleting default route via 192.168.88.1
/var/log/syslog:Jul 8 17:12:35 raspberrypi dhcpcd[403]: wlan0: carrier acquired
/var/log/syslog:Jul 8 17:12:35 raspberrypi dhcpcd[403]: wlan0: carrier lost
/var/log/syslog:Jul 8 17:12:35 raspberrypi dhcpcd[403]: wlan0: carrier acquired
/var/log/syslog:Jul 8 17:12:35 raspberrypi dhcpcd[403]: wlan0: rebinding lease of 192.168.88.207
/var/log/syslog:Jul 8 17:12:35 raspberrypi dhcpcd[403]: wlan0: probing address 192.168.88.207/24
/var/log/syslog:Jul 8 17:12:39 raspberrypi dhcpcd[403]: wlan0: leased 192.168.88.207 for 605400 seconds
/var/log/syslog:Jul 8 17:12:39 raspberrypi dhcpcd[403]: wlan0: adding route to 192.168.88.0/24
/var/log/syslog:Jul 8 17:12:39 raspberrypi dhcpcd[403]: wlan0: adding default route via 192.168.88.1
/var/log/syslog:Jul 8 17:42:31 raspberrypi dhcpcd[403]: eth0: carrier lost
/var/log/syslog:Jul 8 17:42:31 raspberrypi dhcpcd[403]: eth0: deleting route to 192.168.88.0/24
/var/log/syslog:Jul 8 17:42:31 raspberrypi dhcpcd[403]: eth0: deleting default route via 192.168.88.1

Nmisha
Posts: 34
Joined: Wed Jul 07, 2021 6:59 pm

Re: Pi4 WiFi is down

Thu Jul 08, 2021 3:25 pm

Did you reboot since you purged your mods to /etc/network/* ? Do so.

yes, many times.

Besides Docker did you install something network-related on the machine?

No. Only: Docker, Home assistant (in docker), portainer (in docker)

Nmisha
Posts: 34
Joined: Wed Jul 07, 2021 6:59 pm

Re: Pi4 WiFi is down

Thu Jul 08, 2021 3:39 pm

may be it's important. me router security settings
Attachments
Снимок экрана 2021-07-08 в 18.38.11.png
Снимок экрана 2021-07-08 в 18.38.11.png (35.45 KiB) Viewed 1573 times

epoch1970
Posts: 8254
Joined: Thu May 05, 2016 9:33 am
Location: France

Re: Pi4 WiFi is down

Thu Jul 08, 2021 4:07 pm

There is a lot of disconnects, as you noticed. On eth0 and on wlan0 just the same, so the problem doesn't look to be wireless-specific.

Can you post your dhcpcd.conf file?

Code: Select all

sed -e '/^#/d' -e '/^$/d' /etc/dhcpcd.conf
(removes commented lines)

Are you using the official power supply to give power to the Pi?

If you have a smartphone and use its internet sharing feature: when you connect wlan0 to the hotspot on the smartphone, does it stick or does it disconnect every few seconds/minutes like with the main AP?
"S'il n'y a pas de solution, c'est qu'il n'y a pas de problème." Les Shadoks, J. Rouxel

Nmisha
Posts: 34
Joined: Wed Jul 07, 2021 6:59 pm

Re: Pi4 WiFi is down

Thu Jul 08, 2021 4:29 pm

I executed the command

pi@raspberrypi:~ $ sed -e '/^#/d' -e '/^$/d' /etc/dhcpcd.conf
denyinterfaces veth* docker* hassio*
hostname
clientid
persistent
option rapid_commit
option domain_name_servers, domain_name, domain_search, host_name
option classless_static_routes
option interface_mtu
require dhcp_server_identifier
slaac private
interface eth0
noipv6
interface wlan0
noipv6

Nmisha
Posts: 34
Joined: Wed Jul 07, 2021 6:59 pm

Re: Pi4 WiFi is down

Thu Jul 08, 2021 4:35 pm

I think I have same result with Android AP

/var/log/syslog:Jul 8 19:31:57 raspberrypi systemd[1]: Starting dhcpcd on all interfaces...
/var/log/syslog:Jul 8 19:31:57 raspberrypi dhcpcd[377]: dev: loaded udev
/var/log/syslog:Jul 8 19:31:57 raspberrypi dhcpcd[377]: forked to background, child pid 423
/var/log/syslog:Jul 8 19:31:58 raspberrypi dhcpcd-run-hooks[476]: wlan0: starting wpa_supplicant
/var/log/syslog:Jul 8 19:31:58 raspberrypi systemd[1]: Started dhcpcd on all interfaces.
/var/log/syslog:Jul 8 19:31:58 raspberrypi dhcpcd[423]: wlan0: connected to Access Point `'
/var/log/syslog:Jul 8 19:31:58 raspberrypi dhcpcd[423]: eth0: waiting for carrier
/var/log/syslog:Jul 8 19:31:58 raspberrypi dhcpcd[423]: wlan0: waiting for carrier
/var/log/syslog:Jul 8 19:32:01 raspberrypi dhcpcd[423]: eth0: carrier acquired
/var/log/syslog:Jul 8 19:32:02 raspberrypi dhcpcd[423]: wlan0: carrier acquired
/var/log/syslog:Jul 8 19:32:02 raspberrypi dhcpcd[423]: wlan0: connected to Access Point `AndroidAP'
/var/log/syslog:Jul 8 19:32:02 raspberrypi dhcpcd[423]: wlan0: carrier lost
/var/log/syslog:Jul 8 19:32:02 raspberrypi dhcpcd[423]: wlan0: carrier acquired
/var/log/syslog:Jul 8 19:32:02 raspberrypi dhcpcd[423]: eth0: rebinding lease of 192.168.88.208
/var/log/syslog:Jul 8 19:32:02 raspberrypi dhcpcd[423]: wlan0: soliciting a DHCP lease
/var/log/syslog:Jul 8 19:32:05 raspberrypi dhcpcd[423]: wlan0: offered 192.168.43.40 from 192.168.43.1
/var/log/syslog:Jul 8 19:32:05 raspberrypi dhcpcd[423]: wlan0: ignoring offer of 192.168.43.40 from 192.168.43.1
/var/log/syslog:Jul 8 19:32:05 raspberrypi dhcpcd[423]: wlan0: probing address 192.168.43.40/24
/var/log/syslog:Jul 8 19:32:07 raspberrypi dhcpcd[423]: eth0: probing for an IPv4LL address
/var/log/syslog:Jul 8 19:32:07 raspberrypi dhcpcd[423]: eth0: DHCP lease expired
/var/log/syslog:Jul 8 19:32:07 raspberrypi dhcpcd[423]: eth0: soliciting a DHCP lease
/var/log/syslog:Jul 8 19:32:07 raspberrypi dhcpcd[423]: eth0: offered 192.168.88.208 from 192.168.88.1
/var/log/syslog:Jul 8 19:32:07 raspberrypi dhcpcd[423]: eth0: probing address 192.168.88.208/24
/var/log/syslog:Jul 8 19:32:09 raspberrypi dhcpcd[423]: wlan0: carrier lost
/var/log/syslog:Jul 8 19:32:09 raspberrypi dhcpcd[423]: wlan0: carrier acquired
/var/log/syslog:Jul 8 19:32:09 raspberrypi dhcpcd[423]: wlan0: carrier lost
/var/log/syslog:Jul 8 19:32:09 raspberrypi dhcpcd[423]: wlan0: carrier acquired
/var/log/syslog:Jul 8 19:32:10 raspberrypi dhcpcd[423]: wlan0: soliciting a DHCP lease
/var/log/syslog:Jul 8 19:32:10 raspberrypi dhcpcd[423]: wlan0: offered 192.168.43.40 from 192.168.43.1
/var/log/syslog:Jul 8 19:32:10 raspberrypi dhcpcd[423]: wlan0: probing address 192.168.43.40/24
/var/log/syslog:Jul 8 19:32:11 raspberrypi dhcpcd[423]: eth0: using IPv4LL address 169.254.26.222
/var/log/syslog:Jul 8 19:32:11 raspberrypi dhcpcd[423]: eth0: adding route to 169.254.0.0/16
/var/log/syslog:Jul 8 19:32:11 raspberrypi dhcpcd[423]: eth0: adding default route
/var/log/syslog:Jul 8 19:32:12 raspberrypi dhcpcd[423]: eth0: pid 423 deleted default route
/var/log/syslog:Jul 8 19:32:12 raspberrypi dhcpcd[423]: eth0: adding default route
/var/log/syslog:Jul 8 19:32:12 raspberrypi dhcpcd[423]: eth0: leased 192.168.88.208 for 605400 seconds
/var/log/syslog:Jul 8 19:32:12 raspberrypi dhcpcd[423]: eth0: adding route to 192.168.88.0/24
/var/log/syslog:Jul 8 19:32:12 raspberrypi dhcpcd[423]: eth0: changing default route via 192.168.88.1
/var/log/syslog:Jul 8 19:32:13 raspberrypi dhcpcd[423]: eth0: deleting route to 169.254.0.0/16
/var/log/syslog:Jul 8 19:32:13 raspberrypi dhcpcd[423]: eth0: pid 423 deleted route to 192.168.88.0/24
/var/log/syslog:Jul 8 19:32:13 raspberrypi dhcpcd[423]: eth0: pid 423 deleted default route via 192.168.88.1
/var/log/syslog:Jul 8 19:32:15 raspberrypi dhcpcd[423]: wlan0: leased 192.168.43.40 for 3600 seconds
/var/log/syslog:Jul 8 19:32:15 raspberrypi dhcpcd[423]: eth0: adding route to 192.168.88.0/24
/var/log/syslog:Jul 8 19:32:15 raspberrypi dhcpcd[423]: eth0: adding default route via 192.168.88.1
/var/log/syslog:Jul 8 19:32:15 raspberrypi dhcpcd[423]: wlan0: adding route to 192.168.43.0/24
/var/log/syslog:Jul 8 19:32:15 raspberrypi dhcpcd[423]: wlan0: adding default route via 192.168.43.1
/var/log/syslog:Jul 8 19:32:20 raspberrypi dhcpcd[423]: wlan0: carrier lost
/var/log/syslog:Jul 8 19:32:20 raspberrypi dhcpcd[423]: wlan0: deleting route to 192.168.43.0/24
/var/log/syslog:Jul 8 19:32:20 raspberrypi dhcpcd[423]: wlan0: deleting default route via 192.168.43.1
/var/log/syslog:Jul 8 19:32:20 raspberrypi dhcpcd[423]: wlan0: carrier acquired
/var/log/syslog:Jul 8 19:32:20 raspberrypi dhcpcd[423]: wlan0: carrier lost
/var/log/syslog:Jul 8 19:32:20 raspberrypi dhcpcd[423]: wlan0: carrier acquired
/var/log/syslog:Jul 8 19:32:21 raspberrypi dhcpcd[423]: wlan0: rebinding lease of 192.168.43.40
/var/log/syslog:Jul 8 19:32:21 raspberrypi dhcpcd[423]: wlan0: probing address 192.168.43.40/24
/var/log/syslog:Jul 8 19:32:27 raspberrypi dhcpcd[423]: wlan0: leased 192.168.43.40 for 3600 seconds
/var/log/syslog:Jul 8 19:32:27 raspberrypi dhcpcd[423]: wlan0: adding route to 192.168.43.0/24
/var/log/syslog:Jul 8 19:32:27 raspberrypi dhcpcd[423]: wlan0: adding default route via 192.168.43.1
/var/log/syslog:Jul 8 19:32:46 raspberrypi dhcpcd[423]: wlan0: carrier lost
/var/log/syslog:Jul 8 19:32:47 raspberrypi dhcpcd[423]: wlan0: deleting route to 192.168.43.0/24
/var/log/syslog:Jul 8 19:32:47 raspberrypi dhcpcd[423]: wlan0: deleting default route via 192.168.43.1
/var/log/syslog:Jul 8 19:32:47 raspberrypi dhcpcd[423]: wlan0: carrier acquired
/var/log/syslog:Jul 8 19:32:47 raspberrypi dhcpcd[423]: wlan0: carrier lost
/var/log/syslog:Jul 8 19:32:47 raspberrypi dhcpcd[423]: wlan0: carrier acquired
/var/log/syslog:Jul 8 19:32:47 raspberrypi dhcpcd[423]: wlan0: rebinding lease of 192.168.43.40
/var/log/syslog:Jul 8 19:32:48 raspberrypi dhcpcd[423]: wlan0: probing address 192.168.43.40/24
/var/log/syslog:Jul 8 19:32:52 raspberrypi dhcpcd[423]: wlan0: leased 192.168.43.40 for 3600 seconds
/var/log/syslog:Jul 8 19:32:52 raspberrypi dhcpcd[423]: wlan0: adding route to 192.168.43.0/24
/var/log/syslog:Jul 8 19:32:52 raspberrypi dhcpcd[423]: wlan0: adding default route via 192.168.43.1
/var/log/syslog:Jul 8 19:32:57 raspberrypi dhcpcd[423]: wlan0: carrier lost
/var/log/syslog:Jul 8 19:32:58 raspberrypi dhcpcd[423]: wlan0: deleting route to 192.168.43.0/24
/var/log/syslog:Jul 8 19:32:58 raspberrypi dhcpcd[423]: wlan0: deleting default route via 192.168.43.1
/var/log/syslog:Jul 8 19:32:58 raspberrypi dhcpcd[423]: wlan0: carrier acquired
/var/log/syslog:Jul 8 19:32:58 raspberrypi dhcpcd[423]: wlan0: carrier lost
/var/log/syslog:Jul 8 19:32:58 raspberrypi dhcpcd[423]: wlan0: carrier acquired
/var/log/syslog:Jul 8 19:32:58 raspberrypi dhcpcd[423]: wlan0: rebinding lease of 192.168.43.40
/var/log/syslog:Jul 8 19:32:58 raspberrypi dhcpcd[423]: wlan0: probing address 192.168.43.40/24
/var/log/syslog:Jul 8 19:33:03 raspberrypi dhcpcd[423]: wlan0: leased 192.168.43.40 for 3600 seconds
/var/log/syslog:Jul 8 19:33:03 raspberrypi dhcpcd[423]: wlan0: adding route to 192.168.43.0/24
/var/log/syslog:Jul 8 19:33:03 raspberrypi dhcpcd[423]: wlan0: adding default route via 192.168.43.1
/var/log/syslog:Jul 8 19:33:08 raspberrypi dhcpcd[423]: wlan0: carrier lost
/var/log/syslog:Jul 8 19:33:09 raspberrypi dhcpcd[423]: wlan0: deleting route to 192.168.43.0/24
/var/log/syslog:Jul 8 19:33:09 raspberrypi dhcpcd[423]: wlan0: deleting default route via 192.168.43.1
/var/log/syslog:Jul 8 19:33:09 raspberrypi dhcpcd[423]: wlan0: carrier acquired
/var/log/syslog:Jul 8 19:33:09 raspberrypi dhcpcd[423]: wlan0: carrier lost
/var/log/syslog:Jul 8 19:33:09 raspberrypi dhcpcd[423]: wlan0: carrier acquired
/var/log/syslog:Jul 8 19:33:09 raspberrypi dhcpcd[423]: wlan0: rebinding lease of 192.168.43.40
/var/log/syslog:Jul 8 19:33:09 raspberrypi dhcpcd[423]: wlan0: probing address 192.168.43.40/24
/var/log/syslog:Jul 8 19:33:14 raspberrypi dhcpcd[423]: wlan0: leased 192.168.43.40 for 3600 seconds
/var/log/syslog:Jul 8 19:33:14 raspberrypi dhcpcd[423]: wlan0: adding route to 192.168.43.0/24
/var/log/syslog:Jul 8 19:33:14 raspberrypi dhcpcd[423]: wlan0: adding default route via 192.168.43.1
pi@raspberrypi:~ $

Nmisha
Posts: 34
Joined: Wed Jul 07, 2021 6:59 pm

Re: Pi4 WiFi is down

Thu Jul 08, 2021 4:37 pm

Are you using the official power supply to give power to the Pi?

I think so. I bought the raspberry on Ali. This is power supply for raspberry, 3A. I try another power supply.

With another power supply the same result.

And I tried set static ip. No result.

Nmisha
Posts: 34
Joined: Wed Jul 07, 2021 6:59 pm

Re: Pi4 WiFi is down

Thu Jul 08, 2021 6:18 pm

I tried install raspberry pi to another cd card. And error "lost carrier" is missing. It's not hardware trouble.

Let's analyze my actions and what action to broke system.

Part 1

sudo raspi-config and increase disk

===

Installation docker and home assistant:

sudo su
apt-get update
curl -sSL https://get.docker.com | sh
usermod -aG docker pi
reboot

sudo su
docker ps -a

sudo su
apt-get install -y software-properties-common apparmor-utils apt-transport-https avahi-daemon ca-certificates curl dbus jq network-manager socat
systemctl disable ModemManager
systemctl stop ModemManager
curl -sL https://raw.githubusercontent.com/home- ... staller.sh | bash -s -- -m raspberrypi4

=======

And I installation RDP server

apt-get install tightvncserver xrdp

Via GUI setup locale and time zone.

Nmisha
Posts: 34
Joined: Wed Jul 07, 2021 6:59 pm

Re: Pi4 WiFi is down

Thu Jul 08, 2021 6:27 pm

I tried check step by step and I think reason of troubles:

apt-get install -y software-properties-common apparmor-utils apt-transport-https avahi-daemon ca-certificates curl dbus jq network-manager socat

epoch1970
Posts: 8254
Joined: Thu May 05, 2016 9:33 am
Location: France

Re: Pi4 WiFi is down

Thu Jul 08, 2021 6:47 pm

Friend,
Network manager is not your friend!
At least it doesn’t like dhcpcd very much…

See if you need NM and want to keep it. If you keep it, “sudo systemctl disable dhcpcd”, or add “denyinterfaces veth* eth* wlan*” in /etc/dhcpcd.conf

After you only have one network manager active, things will work better.

Good luck.
"S'il n'y a pas de solution, c'est qu'il n'y a pas de problème." Les Shadoks, J. Rouxel

Return to “Troubleshooting”