From 7364f311b472055070884320b497cf21efc5aae5 Mon Sep 17 00:00:00 2001 From: Jonathan Cave Date: Tue, 20 Aug 2019 13:54:02 +0100 Subject: data: import all p-p-snappy data files --- data/gpio-loopback.pi2.in | 1 + data/gpio-loopback.pi3.in | 1 + data/gpio-loopback.ubuntu-core-18-pi2.in | 1 + data/gpio-loopback.ubuntu-core-18-pi3.in | 23 +++++++++++++++++++++++ data/hostapd.conf.in | 21 +++++++++++++++++++++ 5 files changed, 47 insertions(+) create mode 120000 data/gpio-loopback.pi2.in create mode 120000 data/gpio-loopback.pi3.in create mode 120000 data/gpio-loopback.ubuntu-core-18-pi2.in create mode 100644 data/gpio-loopback.ubuntu-core-18-pi3.in create mode 100644 data/hostapd.conf.in diff --git a/data/gpio-loopback.pi2.in b/data/gpio-loopback.pi2.in new file mode 120000 index 0000000..1421770 --- /dev/null +++ b/data/gpio-loopback.pi2.in @@ -0,0 +1 @@ +gpio-loopback.ubuntu-core-18-pi3.in \ No newline at end of file diff --git a/data/gpio-loopback.pi3.in b/data/gpio-loopback.pi3.in new file mode 120000 index 0000000..1421770 --- /dev/null +++ b/data/gpio-loopback.pi3.in @@ -0,0 +1 @@ +gpio-loopback.ubuntu-core-18-pi3.in \ No newline at end of file diff --git a/data/gpio-loopback.ubuntu-core-18-pi2.in b/data/gpio-loopback.ubuntu-core-18-pi2.in new file mode 120000 index 0000000..1421770 --- /dev/null +++ b/data/gpio-loopback.ubuntu-core-18-pi2.in @@ -0,0 +1 @@ +gpio-loopback.ubuntu-core-18-pi3.in \ No newline at end of file diff --git a/data/gpio-loopback.ubuntu-core-18-pi3.in b/data/gpio-loopback.ubuntu-core-18-pi3.in new file mode 100644 index 0000000..e21666f --- /dev/null +++ b/data/gpio-loopback.ubuntu-core-18-pi3.in @@ -0,0 +1,23 @@ +# +# The GPIO IDs as presented by sysfs correspond to the BCM IDs presented on +# https://pinout.xyz/ +# !!! The numbers below are therefore NOT the physical pin location on the header +# +# See the gadget snap slot definitions here: +# https://github.com/snapcore/pi3-gadget/blob/master/snapcraft.yaml +# +# These pairs have been chosen to be physically close and so easier to connect: +# +2,3 +4,17 +27,22 +10,9 +11,0 +5,6 +13,19 +18,23 +24,25 +8,7 +1,12 +16,20 +26,21 diff --git a/data/hostapd.conf.in b/data/hostapd.conf.in new file mode 100644 index 0000000..9a5bb78 --- /dev/null +++ b/data/hostapd.conf.in @@ -0,0 +1,21 @@ +interface=$WIFI-DEV-NAME +ctrl_interface=/var/run/hostapd +ctrl_interface_group=0 + +ssid=UbuntuCoreTest + +# a = IEEE 802.11a, b = IEEE 802.11b, g = IEEE 802.11g, ad = IEEE 802.11ad +hw_mode=$PROTOCOL +channel=1 + +# IEEE 802.11 specifies two authentication algorithms. hostapd can be +# configured to allow both of these or only one. Open system authentication +# should be used with IEEE 802.1X. +# Bit fields of allowed authentication algorithms: +# bit 0 = Open System Authentication +# bit 1 = Shared Key Authentication (requires WEP) +auth_algs=3 + +wpa=1 +wpa_passphrase=snappyubuntucore +wpa_key_mgmt=WPA-PSK WPA-EAP -- cgit v1.2.3