Monday, 20 June 2016

Navio2 Wifi Config

Navio2 Wifi

I have a Raspberry Pi 3 and have configured the onboard Wifi module to talk to my home network.
The second Wifi dongle will be used in the field for Telemetry. No idea what the range will be yet...



#!/bin/sh -e
# rc.local
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
# In order to enable or disable this script just change the execution
# bits.
# By default this script does nothing.

# Print the IP address
_IP=$(hostname -I) || true
if [ "$_IP" ]; then
  printf "My IP address is %s\n" "$_IP"

sudo ArduCopter-hexa -A udp: -C /dev/ttyAMA0 > /home/pi/star$
#sudo ArduCopter-hexa -A udp: -C /dev/ttyAMA0 > /home/pi/star$

exit 0

 # interfaces(5) file used by ifup(8) and ifdown(8)

# Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'

# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d

allow-hotplug lo
iface lo inet loopback

allow-hotplug wlan0
iface wlan0 inet dhcp
    wpa-conf /boot/wpa_supplicantwlan0.conf

allow-hotplug wlan1
iface wlan1 inet dhcp
    wpa-conf /boot/wpa_supplicant_adhoc.conf

allow-hotplug eth0
iface eth0 inet manual

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev

        psk="My Wifi Key"


ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev


1 comment:

  1. If you get past the eighth deposit, have the ability to|you possibly can} profit from “The Double Up” at, and get 100% as much as} $150 + 30 free spins in your Monday deposit. We additionally beloved’s jackpot video games, with a few of them surpassing the $100k jackpot mark . This 다파벳 algorithm works behind whether or not a particular slot is performed or not. Thanks to this, no one can have any idea which number is going to be generated subsequent and at what time. Thanks to our superior graphics and super realistic sounds, might be} fully immersed in the Casino fantasy. That being said, the higher promotion most likely going} the weekend reload bonus of 200% as much as} $2,000.