diff options
author | Jonathan Cave <jonathan.cave@canonical.com> | 2019-08-20 13:54:02 +0100 |
---|---|---|
committer | Jonathan Cave <jonathan.cave@canonical.com> | 2019-08-20 13:54:02 +0100 |
commit | 7364f311b472055070884320b497cf21efc5aae5 (patch) | |
tree | 2622cd127157cde7617d045a0e61853c92fd570d | |
parent | fd5b40c5aed8b91efc936a3b64a57f870e630ac1 (diff) |
data: import all p-p-snappy data files
l--------- | data/gpio-loopback.pi2.in | 1 | ||||
l--------- | data/gpio-loopback.pi3.in | 1 | ||||
l--------- | data/gpio-loopback.ubuntu-core-18-pi2.in | 1 | ||||
-rw-r--r-- | data/gpio-loopback.ubuntu-core-18-pi3.in | 23 | ||||
-rw-r--r-- | data/hostapd.conf.in | 21 |
5 files changed, 47 insertions, 0 deletions
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 |