Case by pimoroni.com
oh dear. Seems like all the time when SSH got the hick-ups on my mac and I blamed the raspberry pi that I was wrong. SSH on my mac sometimes loses connection and tells me the host is down, but when I call top it tells a long uptime. That is weird. Not sure what happens.
I'm installing php and mysql right now, all over a ssh-client on my phone.
Change the names of your raspberryPIs if you have had more than one.
sudo service dhcpcd status
told me to do reload my daemons with
sudo systemctl daemon-reload
No clue and final thoughts for today:
whenever my ssh terminal or the browser tells me that the IP address is not reachable, my cellphone has no problems and likewise the browser, if I connect over dynamicDNS. Whenever I cannot connect over IP, the pizero.local address is also unreachable from my mac. If I then refresh or try to reconnect, it gets back again. Power supply is 1A and it is only the pizero with an OTG connected edimax usb wifi dongle. It must be something with routing in general. I've seen this at my grandmas place too. Gnargh. Is DHCP on jessy a bad thing? I have no idea. Just more questions than before.
This morning I had to wake it up with multiple requests, that made google a bit more. Found kbd settings to play with.
sudo nano /etc/kbd/config
Powersaving and monitor blank set to 0 now
Seems to be a valid thing turning the PI headless (that's what I want for all of them anyway, so, hurray!)
http://www.sbprojects.com/projects/raspberrypi/tweaks.php
https://www.bitpi.co/2015/02/14/prevent-raspberry-pi-from-sleeping/
I ran out of mojo again. Maybe it's the WiFi dongle.
sudo nano /etc/modprobe.d/8192cu.conf
options 8192cu rtw_power_mgnt=0
http://raspberrypi.stackexchange.com/questions/1384/how-do-i-disable-suspend-mode
http://www.mikeslab.net/?p=178
http://electronut.in/preventing-raspberry-pi-wifi-from-going-into-sleep-mode/
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.
Hurrah! I told you Pis are great :-)
Are you sure? yes | no
I think it also helps A LOT to change the name of the raspberry. At least that's the conclusion for now. I have these weird hick-ups with http as well. I hope it was a DHCP IP vs. computer name thing.
Are you sure? yes | no
or not. I have no idea. Just don't call the raspi over IPs for now.
Are you sure? yes | no
hmmm... intriguing. I have never used a Mac with mine but have had no problems with windows. I will have a feck about with mine tomorrow and see if I can recreate your issues buddy!
Are you sure? yes | no
thanks @Craig Hissett
Are you sure? yes | no