FAQ - Kerlink Gateway

Check with ifconfig: is there a ppp0 interface? It should have the IP assigned by the operator.

Donā€™t forget to use the test leds on the case. There are 2 leds dedicated to the 3g/gprs modem, instruction in the cover.

1 Like

We have been looking at different ways to SSH into the Kerlink using a different port other than port 22 and although Dropbear is supposed to be able to listen on 10 ports the implementation is so stripped back it can only listen on one. If you are looking to change your SSH port you can change it in /etc/services :
[ā€¦]
ftp 21/tcp
ssh new port/tcp
ssh new port/udp
telnet 23/tcp
[ā€¦]

Thank you!

Good morning. How i can configure my Kerlink gateway on my own server host and port ?

Edit the local_conf.json config file and restart the packet forwarder.

Ok. I using the settings from the[ wiki:semtech [Wirnetā„¢ Station]](Config to semtech demonstration) .
Edit the local_conf.json config file. But gps_pkt_fwd file in /mnt/fsuser-1/demo_gps_loramote/ didnā€™t started.
What iā€™m doing wrong?
ERROR: global_conf.json is not a valid JSON file

What does http://jsonlint.com/ tell you about the validity?

Thank you very much! Itā€™s was my mistake)

most likely youā€™re missing a comma somewhere :slight_smile:

yep :grin:

Hi, Iā€™ve been attempting to configure my Kerlink gateway to use the 3G modem, but I get no internet access.
According to the LEDs on the case, there is not a SIM error and the gateway is getting a strong signal.
I applied the patch provided in this FAQ, but there is still no internet connection, and the LEDs still indicate that I have a signal.

Is there any more information on this issue?

Check with ifconfig: is there a ppp0 interface? It should have the IP assigned by the operator like this:

ifconfig

eth0 Link encap:Ethernet HWaddr 02:4B:08:05:03:A4
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:1010 errors:22 dropped:0 overruns:0 frame:22
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:118907 (116.1 KiB) TX bytes:1527 (1.4 KiB)
Interrupt:29

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:314 errors:0 dropped:0 overruns:0 frame:0
TX packets:314 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:20278 (19.8 KiB) TX bytes:20278 (19.8 KiB)

ppp0 Link encap:Point-to-Point Protocol
inet addr:10.98.255.113 P-t-P:10.64.64.64 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:208 (208.0 B) TX bytes:265 (265.0 B)

sl0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:172.16.0.1 P-t-P:172.16.0.2 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:296 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:10
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

No, there is no ppp0 interface when I check with ifconfig. Does this mean my APN settings are incorrect? Or is there something else complicating the issue?

Launch pppd by just typing it in the command line, then look again.

Still nothing, running pppd brings up a bunch of indiscernible nonsense, and ifconfig is identical.
See attached screenshot

Have a look in the logfile

cat /var/log/messages

What do you see?

Question: do you have sim-code enabled?

Yesterday I had a nice debug-session @Deloitte. Couple of things:

  1. Why is there a different software source in Kerlink Getting Started and my original settings page? I believe the iot.semtech.com one is even older than the one of Kerlink. There are wierd autostartscrips in it and I believe it also doesnā€™t send a status update. Can someone confirm this with me, or am I seeing ghosts. @maarts?
  • Deloitte had a really unstable 3G connection. I believe this was also due to connection monitoring software which checked a 192.168.x.x address (obvious not there), and the packet forwarder did not keep up with the new network connection when 3G connection autostarts. Had to add killall gps_pkt_fwd in /etc/init.d/gprs.

Will have to change wikiā€¦

There is no SIM code enabled, I double checked using a home network 3G modem.
Checking the log files, I see this when running pppd:

daemon.notice pppd[1417]: pppd 2.4.5 started by root, uid 0
daemon.info pppd[1417]: Using interface ppp0
daemon.notice pppd[1417]: Connect: ppp0 <ā€“> /dev/pts/1
daemon.warn pppd[1417]: LCP: timeout sending Config-Requests
daemon.notice pppd[1417]: Connection terminated.
daemon.notice pppd[1417]: Modem hangup
daemon.info pppd[1417]: Exit.

What operator are you using? What APN did you set?

Please paste relevant parts of /etc/sysconfig/network