Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

command failed: Connection timed out (-110) #221

Open
ev01ing opened this issue May 15, 2018 · 2 comments
Open

command failed: Connection timed out (-110) #221

ev01ing opened this issue May 15, 2018 · 2 comments

Comments

@ev01ing
Copy link

ev01ing commented May 15, 2018

after i installed patches on my pi3
i run
iw phy iw dev wlan0 info | gawk '/wiphy/ {printf "phy" $2}' interface add mon0 type monitor

but has error:
command failed: Connection timed out (-110)

@jjdbrrr
Copy link

jjdbrrr commented May 16, 2018

Hi,
I encountered the same problem on the Raspberry Pi Zero W 2 days ago, and have been investigation the issue since. I've noticed that this happens when brcmfmac (the broadcom driver) crashes . For me this happens every time wlan0 has no internet access. If there's no internet access during boot up, or if the connection drops at a later time, brcmfmac seems to crash.

A quick fix for me is to run sudo modprobe -r brcmfmac && sudo modprobe brcmfmac , which restarts the driver. However, I need to run this command twice in order for the driver to actually restart. The first time I run the command, the driver just instantly crashes again. It's also important that wlan0 actually has internet access at this point, because without it, it won't restart the driver at all.

Could you check if you get similar errors in the kernel logs? You can do so by running dmesg | grep brcmfmac > driver_crash.txt, which will store the output in the file driver_crash.txt. If you share the contents here, it could show us if we're in fact dealing with the same issue. Perhaps as a community we'd than be able to find a permanent solution rather than the quick fix I mentioned above.

@Kazhuu
Copy link

Kazhuu commented Nov 12, 2020

I run into similar issue when I'm using Pi in AP + station mode at the same time. And the fix is to run indeed to following twice

sudo modprobe -r brcmfmac && sudo modprobe brcmfma

I also found this issue which might be related. So the problem basically is WiFi driver from Cypress that comes with Raspberry Pi Linux kernel. I specifically have version 7.45.206 which sometimes freezes and becomes unresponsive. I haven't tried downgrading to 7.45.18.0 version from 2015 yet.

Hopefully this gives some insight.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants