summaryrefslogtreecommitdiffstats
path: root/networking
Commit message (Collapse)AuthorAgeFilesLines
* modem: workaround silence not finding the SIM card when it is "launched"Denis 'GNUtoo' Carikli2020-01-172-0/+2
| | | | | | | | | When silence is present in the app switcher, it still doesn't find the SIM card after a reboot. This seems to make it find the SIM card again. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* modem_enable.sh: workaround silence not finding the SIM card.replicant-6.0-0004-rc1Denis 'GNUtoo' Carikli2020-01-091-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using disable_modem.sh and disable_modem.sh results in a popup displaying the following text: Select SIM card Ask every time Not available with Silence When that happens, encrypted sessions are shown as not encrypted and new message ends up being displayed as "Bad encrypted message". The exact same symptoms also happens if we do the following operations: - enter flight mode - run disable_modem.sh - run enable_modem.sh - wait for libsamsung-ipc to initialize as much as it can and reach the SIM_NOT_INSERTED status. As the modem is in low power mode (due to the flight mode), it cannot go further without exiting the flight mode. - exit flight mode As there are no obvious fix known yet, it's better to also reboot the device once libsamsung-ril is put back in place, to lower the probability of loosing any SMS. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* network: modem: fix bash pathDenis 'GNUtoo' Carikli2019-12-132-2/+2
| | | | | | | On all supported devices, on Replicant 6.0, bash is installed to /system/xbin/bash Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* networking: modem: Android.mk: fix enable_modem.sh installDenis 'GNUtoo' Carikli2019-11-291-0/+1
| | | | | | Without that fix, only disable_modem.sh was shipped. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* networking: modem: setup.sh: use the same paths than Android.mkDenis 'GNUtoo' Carikli2019-11-131-1/+1
| | | | | | | This is to have a single path in the script documentation on the Replicant wiki. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* networking: modem: Ship the scripts on the deviceDenis 'GNUtoo' Carikli2019-11-133-0/+14
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* networking: usb: Ship the script on the deviceDenis 'GNUtoo' Carikli2019-11-132-0/+9
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Move COPYING to root folder.JeremyRand2017-08-282-1350/+0
| | | | Reviewed-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* Added scripts for disabling and enabling the modem on devices that use ↵JeremyRand2017-08-284-0/+763
| | | | | | Samsung-RIL. Reviewed-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* remove unused write_config scriptWolfgang Wiedmeyer2017-08-132-48/+0
| | | | Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* usb/networking: abort if no gateway is foundWolfgang Wiedmeyer2017-03-101-0/+7
| | | | Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* networking/usb: rename the device scriptWolfgang Wiedmeyer2017-03-101-0/+0
| | | | | | Makes it easier to link to it from the wiki. Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* wifi: be more sensitive about permissions and remove unneeded stuffWolfgang Wiedmeyer2017-03-016-192/+3
| | | | | | | | The wifi directory should be kept in place with its default ownership and permissions. Unfortunately, this reverts Timothy's fix for the issue where files were not pushed correctly to the device. Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* wifi: import Timothy Magee's changesWolfgang Wiedmeyer2017-03-014-38/+78
| | | | | | Fixes an issue where the scripts aren't pushed to the right directory on the device. Connecting to unsecured networks is now also supported. Full credit for these improvements goes to Timothy Magee.
* Import version 1.4 of Filippo "Fil" Bergamo's wifi scriptsWolfgang Wiedmeyer2017-03-0114-0/+1495
| | | | I changed the path of the scripts from "scripts" to "device-files".
* reverse tether scriptWolfgang Wiedmeyer2017-02-281-0/+96
Works together with the network manager on the host and uses dhcp. Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>