Quantcast
Channel: The Things Network - Latest posts
Viewing all articles
Browse latest Browse all 115652

FAQ - Kerlink Gateway

$
0
0

Right, so here's what ifconfig brings up

eth0      Link encap:Ethernet  HWaddr 02:4B:08:05:02:CA
          inet addr:192.168.0.138  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::4b:8ff:fe05:2ca/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:25389 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3111 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3018068 (2.8 MiB)  TX bytes:573352 (559.9 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:1935 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1935 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:124558 (121.6 KiB)  TX bytes:124558 (121.6 KiB)

ppp0      Link encap:Point-to-Point Protocol
          inet addr:2.65.132.105  P-t-P:10.64.64.64  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:82 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:5128 (5.0 KiB)  TX bytes:367 (367.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)

The modem is being assigned an IP address by the network operator, and there is some data being sent.
But when testing with a loramote, all information is sent via the ethernet conection instead.
Bearer priorities are set to "ppp0, eth0, eth1".
Checking the log, I find this:

daemon.warn pppd[1214]: Could not determine remote IP address: defaulting to 10.64.64.64

Here is the network configuration.

# defines hostname prefix
HOSTNAME=Wirgrid_

# activates lo0 at startup
LOOP=yes

# activates eth0 at startup
ETHERNET=yes
# claims dhcp request on eth0
ETHDHCP=yes
# if fix addr is selected on eth0
ETHIPADDR=192.168.4.155
ETHNETMASK=255.255.255.0
ETHBROADCAST=192.168.4.255
ETHGATEWAY=192.168.4.1

# Disable Ethernet Power if no link detected
ETHAUTODETECT=no

# activates eth0:1 at startup
ETHERVIRT=no

# activates sl0 at startup
SLIP=yes

# Selector operator APN
GPRSAPN=data.tre.se
# Enter pin code if activated
GPRSPIN=
# Update /etc/resolv.conf to get dns facilities
GPRSDNS=yes
# PAP authentication
GPRSUSER=	
GPRSPASSWORD=

# activates router at startup
ROUTER=yes
DEVOUT=eth0
DEVIN=ppp0
DHCPD=yes
DHCPDSTARTADDRPOST=90
DHCPDSTOPADDRPOST=120

# manual DNS server                            
DNSSERVER1=8.8.8.8
DNSSERVER2=8.8.4.4

#Bearer priority order
BEARERS_PRIORITY="ppp0,eth0,eth1"

Viewing all articles
Browse latest Browse all 115652

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>