Gemtek Outdoor Gateway

That is a shame.

Can you log in to the gateway? If so, could you run ‘ps ax’ and post (or PM) the result?

Sorry my late,

ps ax
PID TTY STAT TIME COMMAND
1 ? Ss 0:02 /sbin/init
2 ? S 0:00 [kthreadd]
3 ? S 0:00 [ksoftirqd/0]
4 ? S 0:00 [kworker/0:0]
5 ? S 0:00 [kworker/u:0]
6 ? S 0:00 [migration/0]
7 ? S 0:00 [migration/1]
9 ? S 0:00 [ksoftirqd/1]
10 ? S 0:00 [migration/2]
11 ? S 0:00 [kworker/2:0]
12 ? S 0:00 [ksoftirqd/2]
13 ? S 0:00 [migration/3]
14 ? S 0:00 [kworker/3:0]
15 ? S 0:00 [ksoftirqd/3]
16 ? S< 0:00 [khelper]
17 ? S< 0:00 [suspend_sys_syn]
18 ? S< 0:00 [suspend]
19 ? S 0:01 [kconsole]
20 ? S< 0:00 [rk29xx_spim.0]
21 ? S 0:00 [kworker/u:1]
22 ? S< 0:00 [rk29xx_spim.1]
23 ? S 0:00 [sync_supers]
24 ? S 0:00 [bdi-default]
25 ? S< 0:00 [kblockd]
26 ? S 0:00 [khubd]
27 ? S 0:00 [cfinteractive]
28 ? S< 0:00 [rk3188_cpufreqd]
29 ? S 0:00 [kswapd0]
31 ? S 0:00 [fsnotify_mark]
32 ? S< 0:00 [crypto]
52 ? S< 0:00 [dwc_otg]
53 ? S< 0:00 [dwc_otg]
54 ? S 0:00 [ddrfreqd]
58 ? S 0:00 [kworker/3:1]
78 ? S< 0:00 [rknand_buffer]
79 ? S< 0:00 [mtdblock0]
80 ? S< 0:00 [mtdblock1]
113 ? S 0:00 [kworker/1:1]
164 ? S 0:00 [jbd2/mtdblock1-]
165 ? S< 0:00 [ext4-dio-unwrit]
166 ? S 0:00 [kworker/0:2]
172 ? S 0:00 [kworker/1:2]
306 ? S 0:00 upstart-udev-bridge --daemon
324 ? Ss 0:00 /lib/systemd/systemd-udevd --daemon
389 ? Ssl 0:00 rsyslogd
510 ? S 0:00 upstart-socket-bridge --daemon
513 ? S 0:00 upstart-file-bridge --daemon
515 ? S 0:00 [flush-31:1]
516 ? S 0:00 [kworker/2:2]
538 ? Ss 0:00 dhclient -1 -v -pf /run/dhclient.eth0.pid -lf /var/li
682 tty4 Ss+ 0:00 /sbin/getty -8 38400 tty4
683 tty5 Ss+ 0:00 /sbin/getty -8 38400 tty5
686 tty2 Ss+ 0:00 /sbin/getty -8 38400 tty2
687 tty3 Ss+ 0:00 /sbin/getty -8 38400 tty3
690 tty6 Ss+ 0:00 /sbin/getty -8 38400 tty6
704 ? Ss 0:00 /usr/sbin/sshd -D
717 ? Ss 0:00 cron
764 ? Ssl 0:03 /usr/sbin/mysqld
1052 ? Ss 0:00 /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 105:108
1092 ? S 0:00 /usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf
1152 ttyFIQ0 Ss 0:00 /bin/login -f
1153 tty1 Ss+ 0:00 /sbin/getty -8 38400 tty1
1176 ttyFIQ0 S+ 0:00 -bash
1191 ? Ss 0:00 sshd: root@pts/0
1210 pts/0 Ss 0:00 -bash
1248 ? S 0:00 [kworker/0:1]
1316 pts/0 R+ 0:00 ps ax

There is nothing in the process list I immediately recognize as LoRaWAN related software. Is the gateway configured to receive LoRaWAN packets at all?

No, this gateway came with Loriot Software installed. I have desistalled it. I have been trying, without sucess, to put ttn ones.

Ok, could you run ‘uname -a’?

The response for the command follows: Linux ttn-gateway 3.0.36+ #22 SMP PREEMPT Wed Nov 2 14:17:30 CST 2016 armv7l armv7l armv7l GNU/Linux

When I try to execute the lora_pkt_fwd a ihave following result:

Note: SPI port opened and configured ok
Note: SPI read success
lgw_connect:532: INFO: no FPGA detected or version not supported (v0)
Note: SPI read success
lgw_connect:555: ERROR: NOT EXPECTED CHIP VERSION (v0)
ERROR: FAIL TO CONNECT BOARD
ERROR: [main] failed to start the concentrator

Anyone knows the workaround this ?

Which software are you using?

I have downloaded the Lora packet forwarder from TTN github.

Which build did you download?

Hi! Sorry my late. I have downloaded the 3.1.0 version.

I made it work. I discovered a version of the manufacturer already installed on the gateway, in a folder “/ app”. Studying this version, I noticed that this is version 1.6.0 of libloragw.
I tried, unsuccessfully, to put version 3.1.0 but I get error feedback from the FPGA version.

You downloaded a version for which hardware platform?

Hi, I have chosen Kerlink platform.

Looks like a Kerlink version is not cmpatible with a Gemtek gateway…

You could try one of the other builds (RPi).

I have tried without sucess. I am getting this error msgs:

Note: success connecting the concentrator
setup_sx125x:358: Note: SX125x #0 version register returned 0x07
setup_sx125x:363: Note: SX125x #0 clock output enabled
setup_sx125x:377: ERROR: UNEXPECTED VALUE 0 FOR RADIO TYPE
setup_sx125x:424: Note: SX125x #0 kept in standby mode
setup_sx125x:358: Note: SX125x #1 version register returned 0x1f
setup_sx125x:366: Note: SX125x #1 clock output disabled
setup_sx125x:377: ERROR: UNEXPECTED VALUE 0 FOR RADIO TYPE
setup_sx125x:424: Note: SX125x #1 kept in standby mode
lgw_start:861: ERROR: UNEXPECTED VALUE 0 FOR RADIO TYPE

I think this error is because Gemtek’s gateway is 64 channels, and there is a mistake in global_conf.
I don’t get examples of global conf files with more than 8 channels.

I have gotten this error even using the config.json file, which already works with the application provided by gemtek.

I have modified the .json file for US configuration.

{
“SX1301_array_conf”: {
“board_center_freq”: 908600000,
“rssi_offset”: 150,
“FSK_sync”: “C194C1”,
“loramac_public”: true,
“SX1301_0_conf”: {
“chip_center_freq”: 903000000,
“chan_multiSF_0”: { “chan_rx_freq”: 902300000, “spread_factor”: “7-10” },
“chan_multiSF_1”: { “chan_rx_freq”: 902500000, “spread_factor”: “7-10” },
“chan_multiSF_2”: { “chan_rx_freq”: 902700000, “spread_factor”: “7-10” },
“chan_multiSF_3”: { “chan_rx_freq”: 902900000, “spread_factor”: “7-10” },
“chan_multiSF_4”: { “chan_rx_freq”: 903100000, “spread_factor”: “7-10” },
“chan_multiSF_5”: { “chan_rx_freq”: 903300000, “spread_factor”: “7-10” },
“chan_multiSF_6”: { “chan_rx_freq”: 903500000, “spread_factor”: “7-10” },
“chan_multiSF_7”: { “chan_rx_freq”: 903700000, “spread_factor”: “7-10” },
“chan_LoRa_std” : { “chan_rx_freq”: 903000000, “bandwidth”: 500000, “spread_factor”: 8 },
“chan_FSK” : { “chan_rx_freq”: 903000000, “bandwidth”: 250000, “bit_rate”: 100000 }
},
“SX1301_1_conf”: {
“chip_center_freq”: 904600000,
“chan_multiSF_0”: { “chan_rx_freq”: 903900000, “spread_factor”: “7-10” },
“chan_multiSF_1”: { “chan_rx_freq”: 904100000, “spread_factor”: “7-10” },
“chan_multiSF_2”: { “chan_rx_freq”: 904300000, “spread_factor”: “7-10” },
“chan_multiSF_3”: { “chan_rx_freq”: 904500000, “spread_factor”: “7-10” },
“chan_multiSF_4”: { “chan_rx_freq”: 904700000, “spread_factor”: “7-10” },
“chan_multiSF_5”: { “chan_rx_freq”: 904900000, “spread_factor”: “7-10” },
“chan_multiSF_6”: { “chan_rx_freq”: 905100000, “spread_factor”: “7-10” },
“chan_multiSF_7”: { “chan_rx_freq”: 905300000, “spread_factor”: “7-10” },
“chan_LoRa_std” : { “chan_rx_freq”: 904600000, “bandwidth”: 500000, “spread_factor”: 8 },
“chan_FSK” : { “chan_rx_freq”: 904600000, “bandwidth”: 250000, “bit_rate”: 100000 }
},
“SX1301_2_conf”: {
“chip_center_freq”: 906200000,
“chan_multiSF_0”: { “chan_rx_freq”: 905500000, “spread_factor”: “7-10” },
“chan_multiSF_1”: { “chan_rx_freq”: 905700000, “spread_factor”: “7-10” },
“chan_multiSF_2”: { “chan_rx_freq”: 905900000, “spread_factor”: “7-10” },
“chan_multiSF_3”: { “chan_rx_freq”: 906100000, “spread_factor”: “7-10” },
“chan_multiSF_4”: { “chan_rx_freq”: 906300000, “spread_factor”: “7-10” },
“chan_multiSF_5”: { “chan_rx_freq”: 906500000, “spread_factor”: “7-10” },
“chan_multiSF_6”: { “chan_rx_freq”: 906700000, “spread_factor”: “7-10” },
“chan_multiSF_7”: { “chan_rx_freq”: 906900000, “spread_factor”: “7-10” },
“chan_LoRa_std” : { “chan_rx_freq”: 906200000, “bandwidth”: 500000, “spread_factor”: 8 },
“chan_FSK” : { “chan_rx_freq”: 906200000, “bandwidth”: 250000, “bit_rate”: 100000 }
},
“SX1301_3_conf”: {
“chip_center_freq”: 907800000,
“chan_multiSF_0”: { “chan_rx_freq”: 907100000, “spread_factor”: “7-10” },
“chan_multiSF_1”: { “chan_rx_freq”: 907300000, “spread_factor”: “7-10” },
“chan_multiSF_2”: { “chan_rx_freq”: 907500000, “spread_factor”: “7-10” },
“chan_multiSF_3”: { “chan_rx_freq”: 907700000, “spread_factor”: “7-10” },
“chan_multiSF_4”: { “chan_rx_freq”: 907900000, “spread_factor”: “7-10” },
“chan_multiSF_5”: { “chan_rx_freq”: 908100000, “spread_factor”: “7-10” },
“chan_multiSF_6”: { “chan_rx_freq”: 908300000, “spread_factor”: “7-10” },
“chan_multiSF_7”: { “chan_rx_freq”: 908500000, “spread_factor”: “7-10” },
“chan_LoRa_std” : { “chan_rx_freq”: 907800000, “bandwidth”: 500000, “spread_factor”: 8 },
“chan_FSK” : { “chan_rx_freq”: 907800000, “bandwidth”: 250000, “bit_rate”: 100000 }
},
“SX1301_4_conf”: {
“chip_center_freq”: 909400000,
“chan_multiSF_0”: { “chan_rx_freq”: 908700000, “spread_factor”: “7-10” },
“chan_multiSF_1”: { “chan_rx_freq”: 908900000, “spread_factor”: “7-10” },
“chan_multiSF_2”: { “chan_rx_freq”: 909100000, “spread_factor”: “7-10” },
“chan_multiSF_3”: { “chan_rx_freq”: 909300000, “spread_factor”: “7-10” },
“chan_multiSF_4”: { “chan_rx_freq”: 909500000, “spread_factor”: “7-10” },
“chan_multiSF_5”: { “chan_rx_freq”: 909700000, “spread_factor”: “7-10” },
“chan_multiSF_6”: { “chan_rx_freq”: 909900000, “spread_factor”: “7-10” },
“chan_multiSF_7”: { “chan_rx_freq”: 910100000, “spread_factor”: “7-10” },
“chan_LoRa_std” : { “chan_rx_freq”: 909400000, “bandwidth”: 500000, “spread_factor”: 8 },
“chan_FSK” : { “chan_rx_freq”: 909400000, “bandwidth”: 250000, “bit_rate”: 100000 }
},
“SX1301_5_conf”: {
“chip_center_freq”: 911000000,
“chan_multiSF_0”: { “chan_rx_freq”: 910300000, “spread_factor”: “7-10” },
“chan_multiSF_1”: { “chan_rx_freq”: 910500000, “spread_factor”: “7-10” },
“chan_multiSF_2”: { “chan_rx_freq”: 910700000, “spread_factor”: “7-10” },
“chan_multiSF_3”: { “chan_rx_freq”: 910900000, “spread_factor”: “7-10” },
“chan_multiSF_4”: { “chan_rx_freq”: 911100000, “spread_factor”: “7-10” },
“chan_multiSF_5”: { “chan_rx_freq”: 911300000, “spread_factor”: “7-10” },
“chan_multiSF_6”: { “chan_rx_freq”: 911500000, “spread_factor”: “7-10” },
“chan_multiSF_7”: { “chan_rx_freq”: 911700000, “spread_factor”: “7-10” },
“chan_LoRa_std” : { “chan_rx_freq”: 911000000, “bandwidth”: 500000, “spread_factor”: 8 },
“chan_FSK” : { “chan_rx_freq”: 911000000, “bandwidth”: 250000, “bit_rate”: 100000 }
},
“SX1301_6_conf”: {
“chip_center_freq”: 912600000,
“chan_multiSF_0”: { “chan_rx_freq”: 911900000, “spread_factor”: “7-10” },
“chan_multiSF_1”: { “chan_rx_freq”: 912100000, “spread_factor”: “7-10” },
“chan_multiSF_2”: { “chan_rx_freq”: 912300000, “spread_factor”: “7-10” },
“chan_multiSF_3”: { “chan_rx_freq”: 912500000, “spread_factor”: “7-10” },
“chan_multiSF_4”: { “chan_rx_freq”: 912700000, “spread_factor”: “7-10” },
“chan_multiSF_5”: { “chan_rx_freq”: 912900000, “spread_factor”: “7-10” },
“chan_multiSF_6”: { “chan_rx_freq”: 913100000, “spread_factor”: “7-10” },
“chan_multiSF_7”: { “chan_rx_freq”: 913300000, “spread_factor”: “7-10” },
“chan_LoRa_std” : { “chan_rx_freq”: 912600000, “bandwidth”: 500000, “spread_factor”: 8 },
“chan_FSK” : { “chan_rx_freq”: 912600000, “bandwidth”: 250000, “bit_rate”: 100000 }
},
“SX1301_7_conf”: {
“chip_center_freq”: 914200000,
“chan_multiSF_0”: { “chan_rx_freq”: 913500000, “spread_factor”: “7-10” },
“chan_multiSF_1”: { “chan_rx_freq”: 913700000, “spread_factor”: “7-10” },
“chan_multiSF_2”: { “chan_rx_freq”: 913900000, “spread_factor”: “7-10” },
“chan_multiSF_3”: { “chan_rx_freq”: 914100000, “spread_factor”: “7-10” },
“chan_multiSF_4”: { “chan_rx_freq”: 914300000, “spread_factor”: “7-10” },
“chan_multiSF_5”: { “chan_rx_freq”: 914500000, “spread_factor”: “7-10” },
“chan_multiSF_6”: { “chan_rx_freq”: 914700000, “spread_factor”: “7-10” },
“chan_multiSF_7”: { “chan_rx_freq”: 914900000, “spread_factor”: “7-10” },
“chan_LoRa_std” : { “chan_rx_freq”: 914200000, “bandwidth”: 500000, “spread_factor”: 8 },
“chan_FSK” : { “chan_rx_freq”: 914200000, “bandwidth”: 250000, “bit_rate”: 100000 }
}
},
“gateway_conf”: {
“gateway_ID”: “xxxxxxxxxxx”,
/* change with default server address/ports /
/
“server_address”: “router.us.thethings.network”,/
“server_address”: “router.us.thethings.network”,
“serv_port_up”: 1700,
“serv_port_down”: 1700,
“serv_enabled”:true,
/
adjust the following parameters for your network /
“keepalive_interval”: 10,
“stat_interval”: 10,
“push_timeout_ms”: 100,
/
forward only valid packets */
“forward_crc_valid”: true,
“forward_crc_error”: false,
“forward_crc_disabled”: false
}
}

Hi All,

I have a issue with my Gemtek outdoor gateway. My gateway can’t join WAN network. I know the MAC address of it and when i check my router, I dont see it’s MAC address in DHCP list of router same as manufacturer document said. So, i don’t know what is IP to config my gateway.

Anybody ever face with this issue ?

Are u using Ethernet WAN or Wirless Extender?
Once you login and configured the Gateway with right Server address and Port under GIOT .
Try to connect with Internet . It should work.

Or share the Config for better understanding

Hi @madhuvarsha,

Thank you for your respone. I am using Ethernet WAN. I think my issue is related hardware. I don’t know my Lora gateway IP because it’s not exist in my router DHCP list. How can you know your Lora gateway IP.

Capture

I tried the connection as shown in the picture but it’s not work.

The problem is due to the Power Supply. When i use other Power over Ethernet device, it’s work.
Did anybody get this gateways working with TTN ?

Check this link :slight_smile:https://www.router-reset.com/default-password-ip-list/Gemtek

There will be IP allocated by Router from the pool. You can check from the router stats.