makezurich / makezurich-hardware-intro

MIT License
5 stars 4 forks source link

LoRaWAN Gateway App not available #3

Closed derrickoswald closed 3 years ago

derrickoswald commented 3 years ago

The LoRaWAN Gateway item says: _"The included gateway is a Tabs Hub that works with TheThingsNetwork."_

The referenced PDF from 2017 says that: "The Hub may be installed into an existing WLAN network as a repeater or create a new WLAN network while acting as a WiFi Access Point. In both scenarios the Hub is configure via TrackNet’s Tab Application available for both iOS and Android."

The Tabs.io App on the Google Android Playstore (March 21, 2018, Version 1.3.15, Requires Android version 4.1 and up) seems to be incompatible with all my devices, both new and old (Android version 10 and 9), so I suspect the Tabs.io App is too old.

1) Is there a supported configuration app? 2) Is there another way to configure the hub - like from a browser on a computer attached to one of the ethernet LAN ports?

tamberg commented 3 years ago

Thanks for your report.

gonzalocasas commented 3 years ago

We reconfigure the device to be just a LoRaWAN gateway, and disabled all TrackNet/Tabs features because the company does not exist anymore and things like the app don't work.

Specifically the wifi access point / repeater behavior was disabled also.

The device can be reconfigured via ssh but it's not documented in the official docs. If you are interested, I can help you get access to it.

It's a fair point to ask about security of plugging a device in your network. As far I could see when i configured the device, it's pretty safe because now that all extra features are disabled, it's the same network behavior than the open source DIY gateways in which a simple udp connection is opened as outgoing to the TTN router and there's no incoming connection possible.

I will address some of these points and questions tomorrow at the workshop, and I can hand out reconfig scripts for those how want to hack the device.

gonzalocasas commented 3 years ago

You need to connect it on the black lan port to the ethernet port on your computer

gonzalocasas commented 3 years ago

@derrickoswald does that answer your questions?

gonzalocasas commented 3 years ago

I removed the credentials in case these are used in other devices out there in the wild, per recommendation of @tamberg

derrickoswald commented 3 years ago

I would add to that makezurich-hardware-intro.md section something along the lines of:

Regarding security:

The device is configured to be just a LoRaWAN gateway, and all TrackNet/Tabs features are disabled (because the company does not exist anymore and things like the app don't work).

Specifically the WiFi access point / repeater behavior was disabled also.

It should be pretty safe because now that all extra features are disabled, it's the same network behavior that the open source DIY gateways have, in which a simple UDP connection is opened as outgoing to the TTN router and no incoming connection is possible.

The device can be reconfigured via ssh. If you are interested, SSH credentials can allow you to connect to it on the black LAN port to the Ethernet port on your computer. Ask one of the organizers for the SSH credentials.

Consider it closed with the above documentation.

gonzalocasas commented 3 years ago

Cool! Thanks! I just added it (after a bit of a rewording) https://github.com/make-zurich/makezurich-hardware-intro/blob/master/README.md#lorawan-gateway

tamberg commented 3 years ago

Thanks @gonzalocasas. I shortened the text a bit. A small thing: Is any setup required, or does it go to your TTN account?

gonzalocasas commented 3 years ago

No setup required. When connected, it will work as "unclaimed gateway". If you want to claim it, to get access to the traffic tab on the TTN console, you need to register it (the usual setup with "using legacy pkt fwd"). The EUI of the gateway is printed on the bottom and also on the bags, but it's a 6-bytes EUI which needs the two extra bytes FFFE to be inserted right in the middle. For example, if the printed label says (the EUI is the second one in the label): (92) 580011AABBCC, you need to register using 580011FFFEAABBCC.