0

I installed my old Pi 1B with Jessie intending to run it headless over wifi, accessed via ssh from a laptop. It worked fine for a couple of weeks, then suddenly I couldn't get a connection. I found that if I plug the TV in via hdmi I can get connected again over ssh/wifi. Then remove the hdmi and my ssh/wifi connection drops again. The Pi is not rebooting as I can get my connection again the instant the hdmi cable goes back in (well there is a couple seconds delay). I am using a 2.5A power supply endorsed by the Raspberry Pi Foundation so I don't think it's that. My wifi dongle is a tiny Edimax (I forget the model) that has always worked well in the past. I can't really tell whether it is the ssh or the wifi that is dropping out - though I can't ping it from my laptop either (with hdmi out) so that would suggest wifi rather than ssh.

Any ideas? Why would it suddenly stop working after two weeks? I didn't make any changes to the config on the Pi in that time.

1

I think I found the answer by myself:

Edit /etc/modprobe.d/8192cu.conf (or create it if it doesn't exist)

Add the following line:

options 8192cu rtw_power_mgnt=0 rtw_enusbss=0 rtw_hwpwrp_detect=0 rtw_ips_mode=1

Some posters say that this:

options 8192cu rtw_power_mgnt=0 rtw_enusbss=0

is sufficient. But on my pi only the longer incantation works.

Frankly I don't know what all those options mean but the magic works for me.

You need to sudo reboot after.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.