aboutsummaryrefslogtreecommitdiff
path: root/net/travelmate
Commit message (Collapse)AuthorAge
* travelmate: fix possible race conditionDirk Brenken2020-11-26
| | | | | | * prevent possible duplicate script execution due to multiple ntp events in parallel Signed-off-by: Dirk Brenken <dev@brenken.org>
* travelmate: handle invalid wireless sectionsDirk Brenken2020-11-21
| | | | | * ignore invalid wireless sections Signed-off-by: Dirk Brenken <dev@brenken.org>
* travelmate: adapt openwrt rc.common changesDirk Brenken2020-11-03
| | | | | | | * since openwrt master has merged the depending P/R, the old extra_help/extra_commands syntax is no longer working, see #13798 for reference Signed-off-by: Dirk Brenken <dev@brenken.org>
* travelmate: update 2.0.2Dirk Brenken2020-10-03
| | | | | | | | | * fix a vpn/iptables race condition * remove needless dnsmasq dependency * synchronize code-base of all auto-login scripts, due to COVID-19 restrictions all of them are still untested/WIP * various small cleanups Signed-off-by: Dirk Brenken <dev@brenken.org>
* travelmate: update to 2.0.1v2Dirk Brenken2020-09-27
| | | | | | * makefile fix, forgot to copy the vpn script Signed-off-by: Dirk Brenken <dev@brenken.org>
* travelmate: update to 2.0.1Dirk Brenken2020-09-27
| | | | | | * fix some remaining vpn issues * various cleanups Signed-off-by: Dirk Brenken <dev@brenken.org>
* travelmate: update to release 2.0Dirk Brenken2020-09-19
| | | | | | | | | | | | | | | | | | | | - new package dependency: curl (plus one of the wpad variants) - optional package dependencies: - 'msmtp' for email notification support - 'wireguard' or 'openvpn' for vpn support - removed WEP support, only WPA/WPA2/WPA3 are supported! - new, more robust setup wizard (CLI and LuCI) - more robust captive portal detection - randomize mac addresses with every uplnk connect - automatic vpn handling during uplink switch (only classic/simple client-setups for wireguard or openvpn are supported) - email notifications after successful uplink connections - automatically disable uplinks after n minutes, e.g. for timed connections - automatically (re-)enable uplinks after n minutes, e.g. after failed login attempts - complete LuCI rewrite - migrated to client side JS (separate PR) Signed-off-by: Dirk Brenken <dev@brenken.org>
* travelmate: fix captive portal detectionDirk Brenken2020-04-29
| | | | | * made captive portal detection more bullet proof, fixes #11990 Signed-off-by: Dirk Brenken <dev@brenken.org>
* travelmate: refine logical interface selectionDirk Brenken2020-04-24
| | | Signed-off-by: Dirk Brenken <dev@brenken.org>
* travelmate: release 1.5.4Dirk Brenken2020-04-22
| | | | | | | | | * add 'status_service' as workaround to init for 19.07 * fix 'wifionice' auto-login script * fix autologin script matching * change wifi scanning to logical interface name, no longer use the radio device Signed-off-by: Dirk Brenken <dev@brenken.org>
* travelmate: update 1.5.3Dirk Brenken2019-11-18
| | | | | | | | * some init tweaks * use the usual wifi wrapper for reloads * compatibility fix for latest wifi-related changes in master (dynamic wireless radio reconfiguration) Signed-off-by: Dirk Brenken <dev@brenken.org>
* travelmate: update 1.5.2Dirk Brenken2019-11-06
| | | | | | | * print to stdout if 'logger' is not available * add support to set the service nice level (default is 0) * small fixes / polish up for forthcoming 19.07 release Signed-off-by: Dirk Brenken <dev@brenken.org>
* travelmate: update 1.5.1Dirk Brenken2019-10-22
| | | | | | | * fix section naming in wireless & travelmate config * check/enable disabled 'wifi-device' sections * fix LuCI frontend issues (separate PR) Signed-off-by: Dirk Brenken <dev@brenken.org>
* travelmate: update 1.5.0Dirk Brenken2019-10-18
| | | | | | | * add WPA3 support * fix service status message * refine trigger handling Signed-off-by: Dirk Brenken <dev@brenken.org>
* travelmate: add support for optional args in auto-login scriptJohannes Rothe2019-09-20
| | | | | | | This can be helpful for example in hotels where you need to enter a new user/password combination every week. Signed-off-by: Johannes Rothe <mail@johannes-rothe.de>
* treewide: Change .*GPL.*+ licenses to SPDX compatible identifierSven Eckelmann2019-09-10
| | | | | | | | The CONTRIBUTING.md requests an (or multiple) SPDX identifier for GPL licenses. But a lot of packages did use a different, non-SPDX style with a "+" at the end instead of "-or-later". Signed-off-by: Sven Eckelmann <sven@narfation.org>
* travelmate: update 1.4.12Dirk Brenken2019-08-29
| | | | | | | | * automatically add open uplinks to your wireless config, e.g. hotel captive portals (disabled by default) * shift net status check in a separate function * (s)hellcheck cosmetics Signed-off-by: Dirk Brenken <dev@brenken.org>
* travelmate: update 1.4.11Dirk Brenken2019-08-08
| | | | | | * fix logical glitch in last commit Signed-off-by: Dirk Brenken <dev@brenken.org>
* travelmate: update 1.4.10Dirk Brenken2019-08-06
| | | | | | | | | | * add missing dnsmasq dependency * add a captive portal auto-login hook (configurable via uci/LuCI), you could reference an external auto-login script - see readme * provide an auto-login script for german ICE hotspots (/etc/travelmate/wifionice.login), requires 'curl' * small fixes Signed-off-by: Dirk Brenken <dev@brenken.org>
* travelmate: update 1.4.9Dirk Brenken2019-07-08
| | | | | | * fix a corner case issue with auto expiry of the 'Faulty Station' list (the last run information was not updated) Signed-off-by: Dirk Brenken <dev@brenken.org>
* travelmate: update 1.4.8Dirk Brenken2019-06-26
| | | | | | | | | | | * optimize the main scan/iwinfo call (performance & system load): - remove a needless f_trim function call - remove a redundant awk call - reduce the scan buffer size and make it configurable (trm_scanbuffer, default 1024 bytes) * cosmetics Signed-off-by: Dirk Brenken <dev@brenken.org>
* travelmate: update 1.4.7Dirk Brenken2019-05-24
| | | | | | | * tweak 'f_check' function * code cleanup Signed-off-by: Dirk Brenken <dev@brenken.org>
* travelmate: update 1.4.6Dirk Brenken2019-05-18
| | | | | | * fix connection to uplinks with special char '/' in essid * cosmetics Signed-off-by: Dirk Brenken <dev@brenken.org>
* travelmate: update 1.4.5Dirk Brenken2019-04-09
| | | | | | | | | | | | * add a 'Net Error Check' which treats a missing internet availability as an error (disabled by default) * add a 'List Auto Expiry' which automatically resets the 'Faulty Stations' list after n minutes, default is '0' which means no expiry (old behaviour). * rework major parts of the check subroutine * add both features to LuCI frontend (separate PR/commit) Signed-off-by: Dirk Brenken <dev@brenken.org>
* travelmate: Update to 1.4.4Dirk Brenken2019-03-28
| | | | | | | | | | | * refine captive portal detection/rebind protection handling, heavily tested with Deutsche Bahn hotspots ... ;-) * add rebind whitelist logging Signed-off-by: Dirk Brenken <dev@brenken.org> Added "Update to" in commit message Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* travelmate: 1.4.3Dirk Brenken2019-03-27
| | | | | | | * remove leftover from last commit * enhance rebind protection whitelisting: support multiple, cascaded captive portal domains Signed-off-by: Dirk Brenken <dev@brenken.org>
* travelmate: 1.4.2Dirk Brenken2019-03-20
| | | | | | | | * fix a json related ressource leak * add a reload trigger when the wireless config gets changed * set an interface default 'trm_wwan' (like the LuCI frontend) * reordered nested loops to optimize the connection handling Signed-off-by: Dirk Brenken <dev@brenken.org>
* travelmate: bugfix 1.4.1Dirk Brenken2019-03-07
| | | | | | | | | * fix for #8357 * fix unexpectedy calling option_cb() during wireless config_load * react immediately when the current active uplink connection gets deleted Signed-off-by: Dirk Brenken <dev@brenken.org>
* travelmate: update readme.mdDirk Brenken2019-03-06
| | | | | | * fix typos (provided by @cybrnook) * add optional wpad requirement (provided by @sindastra) Signed-off-by: Dirk Brenken <dev@brenken.org>
* travelmate: release 1.4.0Dirk Brenken2019-02-27
| | | | | | | * various small tweaks & fixes * widely tested, ready for forthcoming 19.x branching Signed-off-by: Dirk Brenken <dev@brenken.org>
* travelmate: bugfix 1.3.7Dirk Brenken2019-02-23
| | | | | * fix a possible 'reload' race condition Signed-off-by: Dirk Brenken <dev@brenken.org>
* travelmate: update 1.3.6Dirk Brenken2019-02-22
| | | | | | | * add captive portal domains automatically to the related domain whitelist (dhcp option 'rebind_domain'), if rebind protection/RFC1918 is enabled Signed-off-by: Dirk Brenken <dev@brenken.org>
* travelmate: update 1.3.5Dirk Brenken2019-02-15
| | | | | | | * rework procd trigger handling - react immediately on if down network events - remove needless apply hook in LuCI Signed-off-by: Dirk Brenken <dev@brenken.org>
* travelmate: bugfix 1.3.4Dirk Brenken2019-01-24
| | | | | | | * fix runtime behaviour with empty scan results on radioX * fix radiolist preparation (prevent dups) * further optimize 'ProActive' mode Signed-off-by: Dirk Brenken <dev@brenken.org>
* travelmate: release 1.3.3Dirk Brenken2019-01-22
| | | | | | * re-fine/optimize re-connection logic in 'ProActive' mode, prevent needless ubus calls Signed-off-by: Dirk Brenken <dev@brenken.org>
* travelmate: update 1.3.2Dirk Brenken2019-01-05
| | | | | - support named 'wifi-iface' sections correctly Signed-off-by: Dirk Brenken <dev@brenken.org>
* travelmate: update 1.3.1Dirk Brenken2018-11-30
| | | | | | | * remove the "--spider" download option from captive portal detection to make the heartbeat function more robust. Keep the uplink connection 'alive' with all sorts of portals. Signed-off-by: Dirk Brenken <dev@brenken.org>
* travelmate: update 1.3.0Dirk Brenken2018-10-30
| | | | | | | | | | | * proactively scan and switch to a higher prioritized uplink, despite of an already existing connection, this is configurable via 'trm_proactive' option (default '1', enabled) * fix some minor list trim issues * optimize wlan scanning behavior * refine debug messages Signed-off-by: Dirk Brenken <dev@brenken.org>
* travelmate: update 1.2.4Dirk Brenken2018-10-05
| | | | | | | | | * with the config option 'trm_radio' you can now restrict travelmate to a single radio (e.g. 'radio1') or change the overall scanning order (e.g. 'radio1 radio2 radio0') * LuCI: show QR codes now inline on the overview page (collapsed by default) Signed-off-by: Dirk Brenken <dev@brenken.org>
* travelmate: update 1.2.3Dirk Brenken2018-09-08
| | | | | | | | | * remove needless third status "not connected", use only "running / not connected" and "connected" * change indentation from spaces to tabs (saves 4kb) * small fixes * update readme Signed-off-by: Dirk Brenken <dev@brenken.org>
* travelmate: update 1.2.2Dirk Brenken2018-08-10
| | | | | | | | | | | * fix restart behaviour after successful connection * fix labeling of faulty stations * optimize re-connect behaviour at locations where multiple uplinks with the same SSID are in range * use procd pidfile handling * refine logging * small fixes Signed-off-by: Dirk Brenken <dev@brenken.org>
* travelmate: update 1.2.1Dirk Brenken2018-07-29
| | | | | | | * no longer rename faulty uplinks in /etc/config/wireless, but save uplink state in json runtime information. To reset the saved state simply restart travelmate processing. Signed-off-by: Dirk Brenken <dev@brenken.org>
* travelmate: update 1.2.0Dirk Brenken2018-04-05
| | | | | | | | | | | | * union 'automatic' and 'trigger' mode, now much more responsive if an uplink suddenly disappears * tidy up (disable) travelmate related uplink connections if you disable the service * change default config ('trm_automatic' removal) * documentation update * LuCI: remove needless 'automatic' and 'trigger' options plus small fixes Signed-off-by: Dirk Brenken <dev@brenken.org>
* travelmate: update 1.1.3Dirk Brenken2018-03-02
| | | | | | * fix remaining status oddities * LuCI: show WiFi QR codes from all configured Access Points Signed-off-by: Dirk Brenken <dev@brenken.org>
* travelmate: update 1.1.2Dirk Brenken2018-02-27
| | | | | | | | | * validate input timings/ranges * fix an eap detection issue * refine re-connection handling in case of an error * refine debug logging Signed-off-by: Dirk Brenken <dev@brenken.org>
* travelmate: update 1.1.1Dirk Brenken2018-02-22
| | | | | | * various backend bugfixes * refine default connection threshold Signed-off-by: Dirk Brenken <dev@brenken.org>
* travelmate: release 1.1.0Dirk Brenken2018-02-19
| | | | | | | | * checks continuously the signal quality for conditional uplink (dis-) connections * captive portal detection with internet online check and a 'heartbeat' function to keep the uplink connection up & running Signed-off-by: Dirk Brenken <dev@brenken.org>
* travelmate: update 1.0.2Dirk Brenken2018-01-10
| | | | | | | | * add new 'running' status * rework debug & status output * LuCI: refine status view * LuCI: add two missing eap auth variants Signed-off-by: Dirk Brenken <dev@brenken.org>
* travelmate: update 1.0.1Dirk Brenken2018-01-03
| | | | | | | | | * corner case fix with multiple (partly disabled) radios * LuCI: BSSID will be ignored by default in 'wireless add' dialog * LuCI: Textarea 'autoscroll down' in logfile view * LuCI: refine logfile search term Signed-off-by: Dirk Brenken <dev@brenken.org>
* travelmate: release 1.0.0Dirk Brenken2017-12-15
| | | | | | | | | | | | * limit sta interface selection/handling to defined travelmate interface (trm_iface) only * check eap capabilities and ignore enterprise uplinks as long as eap support is not available * documentation update * cosmetics * LuCI: various cleanups Signed-off-by: Dirk Brenken <dev@brenken.org>