I observed, that after a while (some hours) my Pi isn't reachable over the wlan any more. If I do some excessive ping
-ing (i.e. for 70-100 times) the Pi starts at some point to respond and I can successfully establish an ssh
-connection.
Q1. Can somebody explain why the above approach works?
Q2. What can I do to keep the Pi connected?
EDIT 1
- distribution: Raspbian GNU/Linux 7 (wheezy), Linux version 3.12.28+
- wifi-dongle: Edimax Technology Co., Ltd EW-7811Un
/etc/interfaces:
allow-hotplug wlan0 auto wlan0 iface wlan0 inet manual wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf iface default inet dhcp
the Pi has a static IP
EDIT 2
Today, I received a wifi-dongle from the The Pi Hut which does not suffer from the aforementioned problem up to now. ping
and ssh
work immediately.
wicd-curses
but you must ditch suplicant. When you configure your wifi there is an option to autmotically connect. Each wifi you tick this on, wicd will try to connect to those wifi until connected. – Piotr Kula Oct 28 '14 at 19:05