Re: package 'travelmate', a wlan connection manager for travel router

sheen17861 wrote:

I keep seeing a message in LuCi which says "your hardware does not support multi-SSID". Does this mean i will not be able to use travelmate?

No, should probably work. Which router model did you use? Please follow the setup guide in the online documentation - login via SSH and edit the described configuration files.

27

Re: package 'travelmate', a wlan connection manager for travel router

I haven't had a chance to use this yet, but I wanted to give a huge thank you!  It sounds like its pretty much exactly what I needed to make some of my personal OpenWRT  "appliances" (like AirPlay server) easier to use/maintain too.

28 (edited by stangri 2017-01-20 01:29:50)

Re: package 'travelmate', a wlan connection manager for travel router

Hey Dirk, I haven't had the time to test the travelmate 3.0 yet, but my automated builds for travel routers include it. I've noticed the following error:

.../build_dir/target-mipsel_24kc_musl-1.1.16/root-ramips/etc/init.d/travelmate: line 7: uci: command not found

This refers to:

trm_iface="$(uci -q get travelmate.global.trm_iface)"

which I'm guessing cannot be executed on the build system thus throwing an error. I wonder if you can fold it into some of the functions to prevent the error message.

Also, AFAIK, if the init-script cannot be executed without error on the build system, the script is not automatically enabled in the image.

Re: package 'travelmate', a wlan connection manager for travel router

stangri wrote:

Hey Dirk, I haven't had the time to test the travelmate 3.0 yet, but my automated builds for travel routers include it. I've noticed the following error:

.../build_dir/target-mipsel_24kc_musl-1.1.16/root-ramips/etc/init.d/travelmate: line 7: uci: command not found

Thanks for "heads up" ... I've applied a fix to the still pending PR for travelmate 0.3.2 on github.

br
dirk

Re: package 'travelmate', a wlan connection manager for travel router

would you mind please give us the last soloution . thanks

Re: package 'travelmate', a wlan connection manager for travel router

I've updated the first post with the changes in new release cycle 0.4.x.

This version fully supports devices with multiple radios and adds an "active mode", where travelmate will be restarted every n seconds (default 60) and checks the existing uplink connection or connects to a new uplink, regardless of ifdown event trigger.

Have fun!
Dirk

32 (edited by Freek 2017-06-07 15:23:00)

Re: package 'travelmate', a wlan connection manager for travel router

I have used travelmate on a GL.iNet AR150 running LEDE 17.01.1.
This worked wonderfull. Much faster and more stable then the firmware provide by GL.iNet.

I now installed travelmate on a Xiaomi Mi Wifi Mini. I use the 5 GHz radio as accespoint and the 2.4 GHz radio as client.
Travelmate is not connecting to one of the clients.
When I enable a nearby client in Luci | Network | Wireless then travelmate shows the client as connected.

Tue Jun  6 09:21:21 2017 user.notice travelmate-[0.7.4] debug: mode: ap, radio: radio0, config: default_radio0, disabled: 
Tue Jun  6 09:21:21 2017 user.notice travelmate-[0.7.4] debug: mode: ap, radio: radio0, config: cfg043579, disabled: 
Tue Jun  6 09:21:21 2017 user.notice travelmate-[0.7.4] debug: mode: sta, radio: radio1, config: cfg073579, disabled: 1
Tue Jun  6 09:21:21 2017 user.notice travelmate-[0.7.4] debug: mode: sta, radio: radio1, config: cfg093579, disabled: 1
Tue Jun  6 09:21:21 2017 user.notice travelmate-[0.7.4] debug: mode: sta, radio: radio1, config: cfg0b3579, disabled: 1
Tue Jun  6 09:21:21 2017 user.notice travelmate-[0.7.4] debug: mode: sta, radio: radio1, config: cfg0d3579, disabled: 1
Tue Jun  6 09:21:52 2017 user.notice travelmate-[0.7.4] debug: mode: ap, name: , status: false, count: 31, max-wait: 30, automatic: 1
Tue Jun  6 09:21:52 2017 user.notice travelmate-[0.7.4] debug: ap-list: , sta-list:  cfg073579_radio1 cfg093579_radio1 cfg0b3579_radio1 cfg0d3579_radio1
Wed Jun  7 16:03:13 2017 user.notice travelmate-[0.7.4] debug: mode: initial, name: wlan1, status: true, count: 1, max-wait: 30, automatic: 1
Wed Jun  7 16:03:35 2017 user.notice travelmate-[0.7.4] info : travelmate is currently disabled, please set 'trm_enabled' to '1' to use this service
Wed Jun  7 16:03:42 2017 user.notice travelmate-[0.7.4] debug: mode: initial, name: wlan1, status: true, count: 1, max-wait: 30, automatic: 1

Date and time changed when client interface connected.

Re: package 'travelmate', a wlan connection manager for travel router

Freek wrote:
Tue Jun  6 09:21:52 2017 user.notice travelmate-[0.7.4] debug: mode: ap, name: , status: false, count: 31, max-wait: 30, automatic: 1
Tue Jun  6 09:21:52 2017 user.notice travelmate-[0.7.4] debug: ap-list: , sta-list:  cfg073579_radio1 cfg093579_radio1 cfg0b3579_radio1 cfg0d3579_radio1

travelmate didn't find any active ap (after 30 seconds), maybe you have to raise the trm_maxwait parameter, e.g. to 40. Check that the APs are working without travelmate.

Freek wrote:
[...]
Wed Jun  7 16:03:35 2017 user.notice travelmate-[0.7.4] info : travelmate is currently disabled, please set 'trm_enabled' to '1' to use this service
[...]

that looks strange, did you disable travelmate during the test?

Re: package 'travelmate', a wlan connection manager for travel router

dibdot wrote:
Freek wrote:
Tue Jun  6 09:21:52 2017 user.notice travelmate-[0.7.4] debug: mode: ap, name: , status: false, count: 31, max-wait: 30, automatic: 1
Tue Jun  6 09:21:52 2017 user.notice travelmate-[0.7.4] debug: ap-list: , sta-list:  cfg073579_radio1 cfg093579_radio1 cfg0b3579_radio1 cfg0d3579_radio1

travelmate didn't find any active ap (after 30 seconds), maybe you have to raise the trm_maxwait parameter, e.g. to 40. Check that the APs are working without travelmate.

I even tried 50, but that didn't help.
Disable the guest network had no effect either. (I use this on a boat, not in a hotel).
APs are working fine without travelmate. I enabled the client network manually and now travelmate reports that it is enabled.

dibdot wrote:
Freek wrote:
[...]
Wed Jun  7 16:03:35 2017 user.notice travelmate-[0.7.4] info : travelmate is currently disabled, please set 'trm_enabled' to '1' to use this service
[...]

that looks strange, did you disable travelmate during the test?

I confes. I thougt travelmate would pick up the changes faster when I disabled and then re-enable travelmate.

Re: package 'travelmate', a wlan connection manager for travel router

Freek wrote:

I even tried 50, but that didn't help.

OK, for further debugging please send me your /etc/config/wireless (without passwords of course) to my maintainers address - thanks.

Re: package 'travelmate', a wlan connection manager for travel router

I would *love* to use this on my zsun running 15.05 chaos calmer build.  It has a single radio but multiple SSID support. 

I'm a newbie, so though I have managed to get my zsun useful running openwrt and openvpn, I wouldn't know where to start trying to fork a build of travelmate for it.  Has anyone tried?

Re: package 'travelmate', a wlan connection manager for travel router

JohnMurrayUK wrote:

I wouldn't know where to start trying to fork a build of travelmate for it.  Has anyone tried?

Just download & install current travelmate package via opkg, you'll find the download links in the first post.

Re: package 'travelmate', a wlan connection manager for travel router

OK, so the travelmate opkg install worked, but the luci-app-travelmate fails to install as the luci-lib-jsonc_git-17.194.28316-2224714-1_x86_64.ipk isn't available.
Any ideas?  Obv not compatible with my 15.05 chaos calmer build on the zsun.

Re: package 'travelmate', a wlan connection manager for travel router

OK, I found the right version of it here:
downloads.lede-project.org/releases/packages-17.01/mipsel_24kc/luci/luci-app-travelmate_git-17.194.52964-580f012-1_all.ipk

Hope it helps someone.  Now to have a play with travelmate....

Re: package 'travelmate', a wlan connection manager for travel router

Just for your information:

Openwrt development pretty much stopped in April/May 2016 when practically all active core developers left for LEDE - best is to head over to LEDE, stable release 17.01 or current LEDE snapshots. The active travelmate LEDE-forum thread with download links can be found here

Re: package 'travelmate', a wlan connection manager for travel router

That's great thanks dibdot.  I upgraded to LEDE using a build from forum.lede-project.org/t/supporting-zsun-wifi-card-reader-16mb-flash-64mb-ram-ar9331/2142/24
Now travelmate works great. Very impressed.

42 (edited by rdragonrydr 2017-07-29 17:21:08)

Re: package 'travelmate', a wlan connection manager for travel router

It sounds like this works in OpenWRT as well as LEDE. Is this the case, and how might I install the package into a firmware image? I have limited space in the non-read-only filesystem.

Re: package 'travelmate', a wlan connection manager for travel router

rdragonrydr wrote:

It sounds like this works in OpenWRT as well as LEDE. Is this the case, and how might I install the package into a firmware image? I have limited space in the non-read-only filesystem.

Please read my former post and head over to LEDE-forum for support, download links etc. - thanks.
BTW, I've never tested travelmate with ancient CC/OpenWrt ... but I think that it should work ...