From 142a1e7064964b2e92d2287f9d86b23ffdbe5165 Mon Sep 17 00:00:00 2001 From: Armonius Date: Tue, 26 Apr 2022 18:39:30 +0200 Subject: [PATCH] Update DOC and add UCI defaults script ModemManager config --- TODO.txt | 0 doc/bug_fixed/README.md | 2 ++ doc/bug_fixed/dbus.md | 9 +++++++ doc/config.md | 35 +++++++++++++++++++++++++- doc/flash.md | 8 +++++- files/etc/uci-defaults/10-modemmanager | 12 +++++++++ 6 files changed, 64 insertions(+), 2 deletions(-) create mode 100644 TODO.txt create mode 100644 doc/bug_fixed/README.md create mode 100644 doc/bug_fixed/dbus.md create mode 100644 files/etc/uci-defaults/10-modemmanager diff --git a/TODO.txt b/TODO.txt new file mode 100644 index 0000000..e69de29 diff --git a/doc/bug_fixed/README.md b/doc/bug_fixed/README.md new file mode 100644 index 0000000..f35e550 --- /dev/null +++ b/doc/bug_fixed/README.md @@ -0,0 +1,2 @@ +# Bug Fixed Section +This section is dedied to the bugs than we had from OpenWRT and the other components around. \ No newline at end of file diff --git a/doc/bug_fixed/dbus.md b/doc/bug_fixed/dbus.md new file mode 100644 index 0000000..1dbe6fa --- /dev/null +++ b/doc/bug_fixed/dbus.md @@ -0,0 +1,9 @@ +# DBus Bug +The bug was been on dev branch and was [patched](http://lists.openwrt.org/pipermail/openwrt-devel/2021-April/034805.html) +## Problem +DBus doesn't want launch it. So if DBus doesn't launch, we can't use modemManager to have an internet connection. + +We have: +``` + +``` \ No newline at end of file diff --git a/doc/config.md b/doc/config.md index 9e28c2e..3e973b7 100644 --- a/doc/config.md +++ b/doc/config.md @@ -7,7 +7,40 @@ 3. Copy/paste scripts in the `files/` folder if they are not shipped with the ROM 4. Set IP range: `192.168.0.254/24` -### ModemManager +### ModemManager config automatic +The image of this project relies on [UCI](https://openwrt.org/docs/guide-developer/uci-defaults) to configure ModemManager from the installation. +In *files/etc/uci-defaults/10-modemmanager*: +``` +uci -q batch < Backup/Flash Firmware* +You can **Uncheck** the **"Keep Settings"**, if you suppose than the problem come from a corruption of settings or you want erase the settings. + ## Flash OpenWRT from Compex ROM (MimoAP) *Not written* diff --git a/files/etc/uci-defaults/10-modemmanager b/files/etc/uci-defaults/10-modemmanager new file mode 100644 index 0000000..34e8a01 --- /dev/null +++ b/files/etc/uci-defaults/10-modemmanager @@ -0,0 +1,12 @@ +uci -q batch <