Travelmate support thread

I've tried that, but It doesn't work and I don't think it's a redirect problem.

When I execute the curl command on my laptop, that is connected directly to the Hotel Wifi it works flawlessly, but when I'm connected to my router I get a DNS error.

So what's interesting is, that the main page without the subdomain, so xxxxxx.de works fine, but with the login.xxxxxx.de address I get the DNS error or cannot reach it at all on the router.

Again, does travelmate detect that captive portal? Maybe you could send me your /etc/config/dhcp and full travelmate debug logs during a connection attempt via PM.

If travelmate doesn't detect that portal, then I would guess that's a rebind protection problem. Just disable that in your dnsmasq config.

1 Like

Thanks, now it seems to work.
I've disabled the "DNS-Rebind-Schutz" (DNS-Rebind-Protection).

I am experiencing an issue when running Travelmate where the STA connection drops and the AP connection no longer responds until the STA connection re-connects. As long as the STA is connected, everything works fine. If the STA is no longer connected to an upstream wireless router, the AP connection stops working.

I have setup Travelmate 1.5.4-3 on OpenWRT 19.07.03 on ZBT WE826 hardware with a single Radio. I am performing the tests on a fresh new OpenWRT installation with only the Travelmate and Travelmate-Luci packages added. Nothing else in the configuration has been modified other than adding a wireless STA via the travelmate Luci GUI and enabling WPA2 security/password on the AP connection.

Travelmate Config

config travelmate 'global'
	option trm_captive '1'
	option trm_proactive '1'
	option trm_netcheck '0'
	option trm_autoadd '0'
	option trm_triggerdelay '2'
	option trm_debug '0'
	option trm_maxretry '5'
	option trm_listexpiry '0'
	option trm_minquality '35'
	option trm_maxwait '30'
	option trm_timeout '60'
	option trm_rtfile '/tmp/trm_runtime.json'
	option trm_iface 'wwan_wifi'
	option trm_enabled '1'

wireless config
config wifi-device 'radio0'
	option type 'mac80211'
	option channel '11'
	option hwmode '11g'
	option path 'platform/10180000.wmac'
	option htmode 'HT20'

config wifi-iface 'default_radio0'
	option device 'radio0'
	option network 'lan'
	option mode 'ap'
	option ssid 'OpenWRT'
	option encryption 'psk2'
	option key '12345678'

config wifi-iface 'radio0_Test_Router_'
	option network 'wwan_wifi'
	option device 'radio0'
	option mode 'sta'
	option ssid 'Test-Router'
	option key 'abcdefgh'
	option encryption 'psk2'
	option disabled '0'

Any help or insights are appreciated!

can't say anything to your router. In a first step reduce the above parameter to 1 or 2.

I adjusted the setting to 1 however no change.

I noticed while testing that when the STA connection drops, travelmate correctly applies disable = 1 to the appropriate interface (Seen via editing the /etc/config/wireless) however the wifi status shows the STA interface as still available. If I run the wifi command from the command line once the STA connection drops, the AP works correctly at that point. I am wondering if it is not reloading the wifi interface when the STA connection drops? Happy to provide additional logs if it would be helpful.

Thank you for your help.

Maybe a radio timeout issue, please try one of the following options:

  • increase "trm_maxwait" to "60" and "trm_timeout" to "90"

or

  • change line 251 in /usr/bin/travelmate.sh:
    old: sleep $((trm_maxwait/6))
    new: sleep $((trm_maxwait/2))

If this issue still persist, please send me full travelmate debug logs via PM.

I updated the timeout values, restarted the travelmate service, and tried again but no luck. I have the debug logs, where would you like me to PM them to?

Please write to my maintainers address, see online readme - thanks!

Thanks, the bugfix worked perfectly!

1 Like

Fix will be backported to stable 19.07, see https://github.com/openwrt/packages/pull/13688

Thanks for bringing this up!

I have a problem I posted in GL iNet AR750 5GHz radio0 not working (with/without travelmate) @dibdot I don't know if it's an issue with travelmate or openwrt

Works for me - tested with AR750 (19.07.3, travelmate 1.5.5).
Change the following option in /etc/config/wireless for radio0:

option htmode 'VHT40'
root@OpenWrt:~# /etc/init.d/travelmate status_service
::: travelmate runtime information
  + travelmate_status  : connected (net ok/70)
  + travelmate_version : 1.5.5
  + station_id         : radio0/blackhole/-
  + station_interface  : trm_wwan
  + faulty_stations    : 
  + wpa_capabilities   : -/-/-
  + last_rundate       : 2020.10.25-19:46:30
  + system             : GL.iNet GL-AR750, OpenWrt 19.07.3 r11063-85e04e9f46

It did not work.

root@OpenWrt:~# /etc/init.d/travelmate status_service
::: travelmate runtime information
  + travelmate_status  : running / not connected
  + travelmate_version : 1.5.5
  + station_id         : -/-/-
  + station_interface  : -
  + faulty_stations    : 
  + wpa_capabilities   : -/-/-
  + last_rundate       : 2020.10.25-20:32:55
  + system             : GL.iNet GL-AR750, OpenWrt 19.07.4 r11208-ce6496d796

I enabled more logging and the scan on radio0 finds nothing, unlike with radio1. Where can I get more logs to find the problem?

Try to set the country as well, e.g.:

option country 'DE'

Also I'm using the ATH10K-ct drivers ... works flawlessly.

I doubt it has to do with travelmate now. I tried flashing openwrt-19.07.4-ar71xx-generic-gl-ar750-squashfs-sysupgrade without keeping my settings, all combinations of ath10k-firmware-qca9887 + kmod-ath10k-ct, ath10k-firmware-qca9887-ct + kmod-ath10k-ct (default), ath10k-firmware-qca9887 + kmod-ath100k, ath10k-firmware-qca9887 + kmod-ath100k-ct, 40/80 as above, N/AC, setting the country to mine / US / default, removing kmod-ath9-ct. None of these work. I might have some wrong settings somewhere even with a new firmware. I don't know what to try. I will post it in my main thread.

Hi,
I was looking into this package as i live now in a place wich has a shared wifi with all the neighbours so i find this very convinient.
Wanted to use an old raspberry pi b+ wich i wasnt using right now but the usb wifi adapters that i had had poor support, only one worked but couldnĀ“t make it run on sta+ap at the same time.
I wanted to ask you know for know cheap routers that could be used as travel routers with latest version of openwrt. With all that implies... being small but powerful enough to work, dual band preferable. I searched a lot before posting this but i really couldnĀ“t find a propper answer... I ended searching on amazon and checking router by router wich didnĀ“t really answer my question cause i don't know if i'm going to find any problems setting travelmate later. So, please... could you recomend me any routers know to work as travel routers, budget and dual band?

EDIT: and just after posting this, i see your post above this talking about the AR750 , thats a good option, right? Could i do sta+ap with this ? i dont need lan at all.

Hi,
my travel routers currently in use are:

  • GL-AR750
  • GL-AR750S
  • TP-RE650
  • and finally a RPI4 with an additional usb radio

All of above are working just fine.
I've configured all my devices the same way: My AP is always on the 5G radio and I'm using the 2.4 radio for scanning/for travelmate.

Hope this helps.

1 Like

hi can you provide how to use travelmate with the commands in this guide? https://support.nordvpn.com/Connectivity/Router/1047411192/OpenWRT-CI-setup-with-NordVPN.htm setting up travelmate after following it all does not work

I'm in an RV park where the available WiFi is public and has no password. Travelmate does not seem to be attempting to connect to any of the four available uplinks I have added to the Wireless Stations tab. I'm not sure what to do, as there are no configurable options!