Read the statement by Michael Teeuw here.
WiFi drops and reconnects regularly...
-
Hi there,
I happen to find some strange entries in my logs. I’m not sure, if they are MM2 related, but perhaps someone can Point me in the right direction.
I’m running MM2 (latest) on a raspberry Pi 3 model B (Hardware BCM2835, Revision a02082) and seemingly the WiFi disconnects on a regular base (sometimes around an hour, sometimes 20min) and at times won’t reconnect:/var/log/messages
Nov 8 07:39:09 MagicMirror2 kernel: [ 3490.304393] usb 1-1: USB disconnect, device number 6 Nov 8 07:39:09 MagicMirror2 kernel: [ 3490.304419] usb 1-1.1: USB disconnect, device number 7 Nov 8 07:39:09 MagicMirror2 kernel: [ 3490.304833] smsc95xx 1-1.1:1.0 enxb827eb395566: unregister 'smsc95xx' usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet Nov 8 07:39:09 MagicMirror2 kernel: [ 3490.304927] smsc95xx 1-1.1:1.0 enxb827eb395566: hardware isn't capable of remote wakeup Nov 8 07:39:09 MagicMirror2 kernel: [ 3490.554214] Indeed it is in host mode hprt0 = 00021501 Nov 8 07:39:10 MagicMirror2 kernel: [ 3490.754068] usb 1-1: new high-speed USB device number 8 using dwc_otg Nov 8 07:39:10 MagicMirror2 kernel: [ 3490.754318] Indeed it is in host mode hprt0 = 00001101 Nov 8 07:39:10 MagicMirror2 kernel: [ 3490.984336] usb 1-1: New USB device found, idVendor=0424, idProduct=9514 Nov 8 07:39:10 MagicMirror2 kernel: [ 3490.984355] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 Nov 8 07:39:10 MagicMirror2 kernel: [ 3490.985385] hub 1-1:1.0: USB hub found Nov 8 07:39:10 MagicMirror2 kernel: [ 3490.985487] hub 1-1:1.0: 5 ports detected Nov 8 07:39:10 MagicMirror2 kernel: [ 3491.324025] usb 1-1.1: new high-speed USB device number 9 using dwc_otg Nov 8 07:39:10 MagicMirror2 kernel: [ 3491.465152] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00 Nov 8 07:39:10 MagicMirror2 kernel: [ 3491.465186] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 Nov 8 07:39:10 MagicMirror2 kernel: [ 3491.469158] smsc95xx v1.0.5 Nov 8 07:39:10 MagicMirror2 mtp-probe: checking bus 1, device 9: "/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1" Nov 8 07:39:10 MagicMirror2 mtp-probe: bus: 1, device: 9 was not an MTP device Nov 8 07:39:10 MagicMirror2 kernel: [ 3491.568590] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:39:55:66 Nov 8 07:39:10 MagicMirror2 kernel: [ 3491.600462] smsc95xx 1-1.1:1.0 enxb827eb395566: renamed from eth0 Nov 8 07:39:11 MagicMirror2 kernel: [ 3491.976302] smsc95xx 1-1.1:1.0 enxb827eb395566: hardware isn't capable of remote wakeup Nov 8 07:39:11 MagicMirror2 kernel: [ 3491.976719] IPv6: ADDRCONF(NETDEV_UP): enxb827eb395566: link is not ready ... Nov 8 08:33:09 MagicMirror2 kernel: [ 6730.310923] usb 1-1: USB disconnect, device number 8 Nov 8 08:33:09 MagicMirror2 kernel: [ 6730.310952] usb 1-1.1: USB disconnect, device number 9 Nov 8 08:33:09 MagicMirror2 kernel: [ 6730.311373] smsc95xx 1-1.1:1.0 enxb827eb395566: unregister 'smsc95xx' usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet Nov 8 08:33:09 MagicMirror2 kernel: [ 6730.311472] smsc95xx 1-1.1:1.0 enxb827eb395566: hardware isn't capable of remote wakeup Nov 8 08:33:09 MagicMirror2 kernel: [ 6730.580643] Indeed it is in host mode hprt0 = 00021501 Nov 8 08:33:10 MagicMirror2 kernel: [ 6730.790635] usb 1-1: new high-speed USB device number 10 using dwc_otg Nov 8 08:33:10 MagicMirror2 kernel: [ 6730.790867] Indeed it is in host mode hprt0 = 00001101 Nov 8 08:33:10 MagicMirror2 kernel: [ 6731.021176] usb 1-1: New USB device found, idVendor=0424, idProduct=9514 Nov 8 08:33:10 MagicMirror2 kernel: [ 6731.021204] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 Nov 8 08:33:10 MagicMirror2 kernel: [ 6731.022487] hub 1-1:1.0: USB hub found Nov 8 08:33:10 MagicMirror2 kernel: [ 6731.022594] hub 1-1:1.0: 5 ports detected Nov 8 08:33:10 MagicMirror2 kernel: [ 6731.340631] usb 1-1.1: new high-speed USB device number 11 using dwc_otg Nov 8 08:33:10 MagicMirror2 kernel: [ 6731.470918] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00 Nov 8 08:33:10 MagicMirror2 kernel: [ 6731.470937] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 Nov 8 08:33:10 MagicMirror2 kernel: [ 6731.474357] smsc95xx v1.0.5 Nov 8 08:33:10 MagicMirror2 mtp-probe: checking bus 1, device 11: "/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1" Nov 8 08:33:10 MagicMirror2 mtp-probe: bus: 1, device: 11 was not an MTP device Nov 8 08:33:10 MagicMirror2 kernel: [ 6731.565397] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:39:55:66 Nov 8 08:33:10 MagicMirror2 kernel: [ 6731.595975] smsc95xx 1-1.1:1.0 enxb827eb395566: renamed from eth0 Nov 8 08:33:11 MagicMirror2 kernel: [ 6731.864586] smsc95xx 1-1.1:1.0 enxb827eb395566: hardware isn't capable of remote wakeup Nov 8 08:33:11 MagicMirror2 kernel: [ 6731.865091] IPv6: ADDRCONF(NETDEV_UP): enxb827eb395566: link is not ready
/var/log/syslog
Nov 8 07:39:09 MagicMirror2 kernel: [ 3490.304393] usb 1-1: USB disconnect, device number 6 Nov 8 07:39:09 MagicMirror2 kernel: [ 3490.304419] usb 1-1.1: USB disconnect, device number 7 Nov 8 07:39:09 MagicMirror2 kernel: [ 3490.304833] smsc95xx 1-1.1:1.0 enxb827eb395566: unregister 'smsc95xx' usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet Nov 8 07:39:09 MagicMirror2 kernel: [ 3490.304927] smsc95xx 1-1.1:1.0 enxb827eb395566: hardware isn't capable of remote wakeup Nov 8 07:39:09 MagicMirror2 dhcpcd[384]: enxb827eb395566: removing interface Nov 8 07:39:09 MagicMirror2 kernel: [ 3490.554214] Indeed it is in host mode hprt0 = 00021501 Nov 8 07:39:10 MagicMirror2 kernel: [ 3490.754068] usb 1-1: new high-speed USB device number 8 using dwc_otg Nov 8 07:39:10 MagicMirror2 kernel: [ 3490.754318] Indeed it is in host mode hprt0 = 00001101 Nov 8 07:39:10 MagicMirror2 kernel: [ 3490.984336] usb 1-1: New USB device found, idVendor=0424, idProduct=9514 Nov 8 07:39:10 MagicMirror2 kernel: [ 3490.984355] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 Nov 8 07:39:10 MagicMirror2 kernel: [ 3490.985385] hub 1-1:1.0: USB hub found Nov 8 07:39:10 MagicMirror2 kernel: [ 3490.985487] hub 1-1:1.0: 5 ports detected Nov 8 07:39:10 MagicMirror2 kernel: [ 3491.324025] usb 1-1.1: new high-speed USB device number 9 using dwc_otg Nov 8 07:39:10 MagicMirror2 kernel: [ 3491.465152] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00 Nov 8 07:39:10 MagicMirror2 kernel: [ 3491.465186] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 Nov 8 07:39:10 MagicMirror2 kernel: [ 3491.469158] smsc95xx v1.0.5 Nov 8 07:39:10 MagicMirror2 mtp-probe: checking bus 1, device 9: "/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1" Nov 8 07:39:10 MagicMirror2 mtp-probe: bus: 1, device: 9 was not an MTP device Nov 8 07:39:10 MagicMirror2 kernel: [ 3491.568590] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:39:55:66 Nov 8 07:39:10 MagicMirror2 kernel: [ 3491.600462] smsc95xx 1-1.1:1.0 enxb827eb395566: renamed from eth0 Nov 8 07:39:11 MagicMirror2 dhcpcd[384]: enxb827eb395566: waiting for carrier Nov 8 07:39:11 MagicMirror2 dhcpcd[384]: enxb827eb395566: waiting for carrier Nov 8 07:39:11 MagicMirror2 kernel: [ 3491.976302] smsc95xx 1-1.1:1.0 enxb827eb395566: hardware isn't capable of remote wakeup Nov 8 07:39:11 MagicMirror2 kernel: [ 3491.976719] IPv6: ADDRCONF(NETDEV_UP): enxb827eb395566: link is not ready
Somebody got the same errors?
-
@barnosch hmmm… Thanks! I just replaced the 1,5A with a 2A one as I lack a 2,5A one. I’ll Keep that in mind, though!
-
First step i would do, is a replacement with another power supply.
Does it have enough power. At least 2.5A is recommened i guess!?I guess it is not related to the MM itself, its a Pi problem.
-
@barnosch hmmm… Thanks! I just replaced the 1,5A with a 2A one as I lack a 2,5A one. I’ll Keep that in mind, though!
-
the only “original” RaspPi3 powersupply they sell has 5V/2.5A
But i guess a 2A is good to go.
If the old one has some problems or drops the voltage from time to time, the issues you have can happen easily.
Just try with the other one?
You are using the internal Wifi or with a external USB-Wlan Dongle? -
Have you?
Disable WiFi Power Save
Disable power saving
For Raspberry Pi 3
Edit /etc/network/interfacessudo nano /etc/network/interfaces
Add the following line under the wlan0 sectionwireless-power off
Reboot your PIsudo reboot
-
Honestly I think this happens when you update the Pi…I don’t believe it’s MM doing this.
-
Just a short information, after changing the powersupply to 5V/2A instead 5V/1,5A it now seems stable. I now only get a rekeying-message every 10mins in the syslog, which I suppose is my FritzBox. :)
I’m using the internal WiFi - apparently withou power saving off. But seems OK.
-
@binderth I found that 2A isn’t enough for the pi3, when under heavy load it would fail. The raspberry 2,5A power unit is highly recommended.
-
@barnosch
I am also having the same issue. I tried this method, But still i am facing this issue. Any other solutions.