I bought new Pi b+. So i found my hungry wifi dongle can work on it well, I decided to put my Pi running headlessly over wifi. But problem is if wifi disconnects, the Pi wont reconnect.
I'm using Arch Linux.
The netctl profile I use:
Description='wifi "mikroskeem" with ip 192.168.1.192'
Interface=wlan0
Connection=wireless
Security=wpa
ESSID='mikroskeem'
Key='<ransom key>'
IP=static
Address='192.168.1.192/24'
Gateway='192.168.1.1'
DNS=('192.168.1.1')
ExecUpPost='/usr/bin/ntpd -gq || true'
EDIT: I'm using Arch Linux, so no /etc/network/interfaces
I've enabled netctl-auto@wlan0
I've tried Wicd, but if i set IP manually, Pi can't reach internet(LAN works, ping google doesn't)
What do i need to change in that profile?
ping 8.8.8.8
. Sometimes it's just DNS what's cause problems. Pinging specific IP could help./etc/network/interfaces
and/etc/wpa_supplicant/wpa_supplicant.conf
/etc/network/interfaces
for me. Netctl handles thisRestart=always
at the end of netctl configuration. Let's see if network goes off after 3hrs