Skip to main content
Tweeted twitter.com/#!/StackRaspi/status/498687656948428800
added 61 characters in body
Source Link

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?

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'

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?

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?

formatting
Source Link

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='' IP=static Address='192.168.1.192/24' Gateway='192.168.1.1' DNS=('192.168.1.1') ExecUpPost='/usr/bin/ntpd -gq || true'

   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'

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?

NB! Mods edit this, seems like markdown doesnt work well on android client

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='' IP=static Address='192.168.1.192/24' Gateway='192.168.1.1' DNS=('192.168.1.1') ExecUpPost='/usr/bin/ntpd -gq || true'

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?

NB! Mods edit this, seems like markdown doesnt work well on android client

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'

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?

Source Link

Headless Pi server over Wifi

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='' IP=static Address='192.168.1.192/24' Gateway='192.168.1.1' DNS=('192.168.1.1') ExecUpPost='/usr/bin/ntpd -gq || true'

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?

NB! Mods edit this, seems like markdown doesnt work well on android client