|
|
@@ -29,8 +29,13 @@ apt-get update
|
|
|
apt-get install ppp screen minicom
|
|
|
|
|
|
# disable rpi serial interface so we can use it from FONA
|
|
|
+# also disable bluetooth and wifi as we don't need it
|
|
|
#
|
|
|
-echo 'enable_uart=1' >> /boot/config.txt
|
|
|
+cat >> /boot/config.txt <<EOF
|
|
|
+enable_uart=1
|
|
|
+dtoverlay=pi3-disable-bt
|
|
|
+dtoverlay=pi3-disable-wifi
|
|
|
+EOF
|
|
|
|
|
|
# setup ppp configuration
|
|
|
#
|
|
|
@@ -46,6 +51,7 @@ noauth
|
|
|
nocrtscts
|
|
|
local
|
|
|
EOF
|
|
|
+
|
|
|
shutdown -r now
|
|
|
```
|
|
|
|
|
|
@@ -60,9 +66,6 @@ AT
|
|
|
* The `AT` command should show up because the FONA should echo the commands
|
|
|
* The FONA should respond with `OK`
|
|
|
|
|
|
-I **think** I only had to add the `enable_uart=1` in the `/boot/config.txt` and wire the serial connection
|
|
|
-for this to work...
|
|
|
-
|
|
|
---
|
|
|
|
|
|
To setup a `ppp` connection, issuing:
|