Commit Graph

81 Commits

Author SHA1 Message Date
Dirk Brenken 58a3cf1f01
travelmate: update to 2.0.5-3
* simplify the scan logic, to get rid of nifty IFS tricks
* limit the nearby scan results to process only the strongest uplinks, set 'trm_maxscan' accordingly (default '10')
* update the readme

Signed-off-by: Dirk Brenken <dev@brenken.org>
2021-08-15 15:49:35 +02:00
Dirk Brenken e6e3c9481d
travelmate: update to 2.0.5-2
* scan for open uplinks even if no other station has been added/configured

Signed-off-by: Dirk Brenken <dev@brenken.org>
2021-08-13 08:28:29 +02:00
Dirk Brenken c6328bad6c
travelmate: update to 2.0.5
* support the new travelmate option 'macaddr' to use a pre-defined MAC address (per uplink)
* vpn connections are now handled separately for each uplink
* The autoadd-feature for adding open uplinks will now be limited by the 'trm_maxautoadd' option. The default is '5', '0' disables this limitation.
* more code cleanups und optimizations to reduce the repetitive connection handling workload
* bugfixes regarding multiple radio support
* refine cp detection (no longer write and parse an error file)

Signed-off-by: Dirk Brenken <dev@brenken.org>
2021-08-11 19:14:56 +02:00
Dirk Brenken 380a5110b4
travelmate: update to 2.0.4
* code cleanup
* add auto login script for Julianahoeve beach resort (NL)
* add auto login script for Vodafone hotspots (DE)
* add auto login script for telekom hotspots (DE)
* enhance captive portal detection to support html redirects as well
* change default captive portal detection url to
  'detectportal.firefox.com'

Signed-off-by: Dirk Brenken <dev@brenken.org>
2021-07-25 21:50:27 +02:00
Dirk Brenken 2b476ffd38
travelmate: update to 2.0.3
* refine the wifi reconfigure logic

Signed-off-by: Dirk Brenken <dev@brenken.org>
2021-02-26 19:46:53 +01:00
Dirk Brenken ae138431b4
travelmate: handle invalid wireless sections
* ignore invalid wireless sections

Signed-off-by: Dirk Brenken <dev@brenken.org>
2020-11-21 18:17:51 +01:00
Dirk Brenken 404dc5b101
travelmate: update 2.0.2
* 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>
2020-10-03 16:26:06 +02:00
Dirk Brenken de8ce5d025
travelmate: update to 2.0.1
* fix some remaining vpn issues
* various cleanups

Signed-off-by: Dirk Brenken <dev@brenken.org>
2020-09-27 06:57:44 +02:00
Dirk Brenken dd70304ca0
travelmate: update to release 2.0
- 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>
2020-09-19 06:20:19 +02:00
Dirk Brenken 1aa4518dfc
travelmate: fix captive portal detection
* made captive portal detection more bullet proof, fixes #11990

Signed-off-by: Dirk Brenken <dev@brenken.org>
2020-04-29 14:48:36 +02:00
Dirk Brenken 9eebb43159
travelmate: refine logical interface selection
Signed-off-by: Dirk Brenken <dev@brenken.org>
2020-04-24 08:28:16 +02:00
Dirk Brenken 59cca01a23
travelmate: release 1.5.4
* 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>
2020-04-22 21:00:03 +02:00
Dirk Brenken 05c3153bb7
travelmate: update 1.5.3
* 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>
2019-11-18 19:28:23 +01:00
Dirk Brenken 0d406b2a42
travelmate: update 1.5.2
* 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>
2019-11-06 21:02:17 +01:00
Dirk Brenken 7554f5d891
travelmate: update 1.5.1
* 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>
2019-10-22 07:44:34 +02:00
Dirk Brenken ab51b1ba34
travelmate: update 1.5.0
* add WPA3 support
* fix service status message
* refine trigger handling

Signed-off-by: Dirk Brenken <dev@brenken.org>
2019-10-18 13:25:51 +02:00
Johannes Rothe a7f87f939d travelmate: add support for optional args in auto-login script
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>
2019-09-20 22:15:17 +02:00
Dirk Brenken 1d90509b03
travelmate: update 1.4.12
* 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>
2019-08-29 15:45:35 +02:00
Dirk Brenken 751f312334
travelmate: update 1.4.11
* fix logical glitch in last commit

Signed-off-by: Dirk Brenken <dev@brenken.org>
2019-08-08 12:57:59 +02:00
Dirk Brenken 5a2a4fa20a
travelmate: update 1.4.10
* 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>
2019-08-06 15:29:00 +02:00
Dirk Brenken 59a69ee059
travelmate: update 1.4.9
* 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>
2019-07-08 14:02:47 +02:00
Dirk Brenken 8335e6e76c
travelmate: update 1.4.8
* 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>
2019-06-26 22:30:36 +02:00
Dirk Brenken be22a007ff
travelmate: update 1.4.7
* tweak 'f_check' function
* code cleanup

Signed-off-by: Dirk Brenken <dev@brenken.org>
2019-05-24 14:39:53 +02:00
Dirk Brenken 65d69b9606
travelmate: update 1.4.6
* fix connection to uplinks with special char '/' in essid
* cosmetics

Signed-off-by: Dirk Brenken <dev@brenken.org>
2019-05-18 11:42:39 +02:00
Dirk Brenken a429a5699f travelmate: update 1.4.5
* 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>
2019-04-09 16:53:24 +02:00
Dirk Brenken a2611c4cd2 travelmate: Update to 1.4.4
* 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>
2019-03-28 23:24:02 +00:00
Dirk Brenken 2428944680 travelmate: 1.4.3
* remove leftover from last commit
* enhance rebind protection whitelisting: support multiple,
  cascaded captive portal domains

Signed-off-by: Dirk Brenken <dev@brenken.org>
2019-03-27 09:25:30 +01:00
Dirk Brenken bd806eb908 travelmate: 1.4.2
* 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>
2019-03-20 19:49:09 +01:00
Dirk Brenken b433738e31 travelmate: bugfix 1.4.1
* 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>
2019-03-07 18:43:32 +01:00
Dirk Brenken fc4858f99e travelmate: release 1.4.0
* various small tweaks & fixes
* widely tested, ready for forthcoming 19.x branching

Signed-off-by: Dirk Brenken <dev@brenken.org>
2019-02-27 15:08:28 +01:00
Dirk Brenken feca82971a travelmate: bugfix 1.3.7
* fix a possible 'reload' race condition

Signed-off-by: Dirk Brenken <dev@brenken.org>
2019-02-23 07:55:26 +01:00
Dirk Brenken a423fd57bb travelmate: update 1.3.6
* 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>
2019-02-22 12:04:37 +01:00
Dirk Brenken 9caef6ca4f travelmate: update 1.3.5
* 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>
2019-02-15 09:29:58 +01:00
Dirk Brenken 2e93d26f51 travelmate: bugfix 1.3.4
* 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>
2019-01-24 15:35:55 +01:00
Dirk Brenken 2abae00f16 travelmate: release 1.3.3
* re-fine/optimize re-connection logic in 'ProActive' mode,
  prevent needless ubus calls

Signed-off-by: Dirk Brenken <dev@brenken.org>
2019-01-22 16:05:30 +01:00
Dirk Brenken 11c4abe51e travelmate: update 1.3.2
- support named 'wifi-iface' sections correctly

Signed-off-by: Dirk Brenken <dev@brenken.org>
2019-01-05 23:21:20 +01:00
Dirk Brenken 37ab0bde59 travelmate: update 1.3.1
* 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>
2018-11-30 21:20:46 +01:00
Dirk Brenken 4e8da997db travelmate: update 1.3.0
* 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>
2018-10-30 15:40:07 +01:00
Dirk Brenken 6baea8155b travelmate: update 1.2.4
* 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>
2018-10-05 10:37:41 +02:00
Dirk Brenken 1d69658670 travelmate: update 1.2.3
* 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>
2018-09-08 22:28:04 +02:00
Dirk Brenken bc78ad8200 travelmate: update 1.2.2
* 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>
2018-08-10 15:46:53 +02:00
Dirk Brenken bfe8850ee5 travelmate: update 1.2.1
* 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>
2018-07-29 21:18:51 +02:00
Dirk Brenken 2d25b194d2 travelmate: update 1.2.0
* 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>
2018-04-05 14:29:32 +02:00
Dirk Brenken fe7d6d7522 travelmate: update 1.1.3
* fix remaining status oddities
* LuCI: show WiFi QR codes from all configured Access Points

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-03-02 18:09:34 +01:00
Dirk Brenken 9cc8de86c9 travelmate: update 1.1.2
* 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>
2018-02-27 14:26:18 +01:00
Dirk Brenken c68ebbec63 travelmate: update 1.1.1
* various backend bugfixes
* refine default connection threshold

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-02-22 17:32:17 +01:00
Dirk Brenken 76e068dc2d travelmate: release 1.1.0
* 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>
2018-02-19 21:59:03 +01:00
Dirk Brenken a196f2bb0e travelmate: update 1.0.2
* 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>
2018-01-10 19:42:48 +01:00
Dirk Brenken 84c7ebaeec travelmate: update 1.0.1
* 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>
2018-01-03 09:18:26 +01:00
Dirk Brenken 1995e0e632 travelmate: release 1.0.0
* 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>
2017-12-15 19:10:17 +01:00