LTE Cat 1 Pi HAT internet via Cellular

Same question here! After a couple of hours I now have some better understanding on how most things should work. The MT is now connected to the LTE carrier and I’m able to do things like DNS resolving and HTTP requests. But how to get an actual ethernet connection from the Raspberry Pi host?



We are using the Seeed LTE Cat.1 Pi HAT (LARA R211) on a Raspberry Pi 3 B+ (Raspbian) connected through the GPIO interface. Is it actually possible to get an ethernet connection over the GPIO interface? Or do I need to use USB for the connection? Our bandwidth requirements are very minimal. Would somebody be willing to write an example or give us some clues?



This is what I have so far to connect to the carrier (4G Vodafone in The Netherlands) and to do successful DNS resolving.

[code=python]
from ublox_lara_r2 import *

u = Ublox_lara_r2()
u.initialize()
u.reset_power()

u.debug = True

u.sendAT(‘AT+COPS=2\r\n’)
u.sendAT(‘AT+CGDCONT=1,“IP”,“internet”\r\n’)
u.sendAT(‘AT+COPS=0\r\n’)
u.sendAT(‘AT+COPS?\r\n’)
u.sendAT(‘AT+CGDCONT?\r\n’)
u.sendAT(‘AT+CGACT=1,1\r\n’)
u.sendAT(‘AT+UPSD=0,100,1\r\n’)
u.sendAT(‘AT+UPSD=0,0,0\r\n’)
u.sendAT(‘AT+UPSDA=0,3\r\n’)
u.sendAT(‘AT+UDNSRN=0,“mediaserve.nl”\r\n’)
[/code]

So how to get an ethernet connection on the Raspberry Pi host?