Git Product home page Git Product logo

uas-remote-id's Introduction

Remote identification for UAS using WiFi beacon frames

Raspberry Pi Quick Setup

First, clone this repository and install hostapd.

$ git clone https://github.com/michael-platzer/uas-remote-id.git
# apt install hostapd

Next, make sure that WiFi is not blocked by rfkill (which is the default on a fresh install of Raspi OS). Note that this setting is restored at boot time.

# rfkill unblock wlan

Run the gen_uas_remote_id.py script to start generating test beacon frames.

# ./gen_uas_remote_id.py [-i INTERFACE] [-s SSID] LONG,LAT,ALT

The option -i allows to specify the WiFi interface to use (use iw dev to show all available WiFi interfaces) and -s allows to specify an SSID name to be used in the beacon frames. LONG, LAT, and ALT are the longitude, latitude, and altitude, respectively, of the desired start point in WGS84 (EPSG 4326) coordinates.

Example use:

# ./gen_uas_remote_id.py -i wlan0 -s Test 13.5,47,200.5

Verifying with Wireshark

In order to verify whether the beacon frames are correctly generated, create a monitor for WiFi frames on a separate machine and use Wireshark to capture frames.

# systemctl stop NetworkManager
# iw dev <wlan-interface> interface add mon0 type monitor
# ip link set mon0 up

Within Wireshark, open the monitor interface mon0 for capturing. In order to filter only beacon frames, use the wlan.fc.type_subtype == 0x0008 filter rule.

uas-remote-id's People

Contributors

michael-platzer avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.