News for hackers. Stuff that matters.
Re:Building an LTE Access Point with a Raspberry Pi by Spivak on Sunday June 23, 2019 @05:49PM (#20258888)
I don't with to diminish the author's work but there's nothing all that special about the LTE portion. From the perspective of the Pi it's just another interface/network.

This is more akin to building a basic consumer all-in-one router -- which I think actually sounds cooler.

So the pieces that this article puts together:

* Bridging the Pi's ethernet and wireless interface and setting up DHCP pointing to a forwarding DNS server on the bridge with dnsmasq.

* Setting up Linux IP forwarding and the iptables rules needed to perform NAT over the WAN.

* Setting up a wireless access point on the Pi with hostapd.

It really is super cool that for $35 and an hour you can have a functioning, albeit not super fast, router that's basically ready to be plugged into a modem and work.

Re:Building an LTE Access Point with a Raspberry Pi by Fnoord on Sunday June 23, 2019 @06:39PM (#20259178)
This specific Huawei modem also works with the Pineapple (it is plug & play IIRC). Its also worth noting that some routers allow a USB modem as fallback (Fritz!Box IIRC).

For anyone who is interested in setting up their own LTE base station (which can be legal, btw) consider the LimeSDR Mini [1]

[1] https://www.crowdsupply.com/lime-micro/limesdr-mini

Re:Building an LTE Access Point with a Raspberry Pi by 0xEFF on Sunday June 23, 2019 @08:06PM (#20259538)
Thanks for the link, lots of great stuff on that site.
Re:Building an LTE Access Point with a Raspberry Pi by caro_douglos on Sunday June 23, 2019 @06:04PM (#20258968)
A lot of how-tos that involve raspberry pi’s networking are no longer relevant or are just confusing because it contains conflicting information specific to some version of raspian. It’s sort of like trying to give new Lts Ubuntu a static IP only to discover it’s been changed. It’s nice to see it all pieced together.
Re:Building an LTE Access Point with a Raspberry Pi by KirinDave on Sunday June 23, 2019 @08:25PM (#20259597)
Yeah, I did this myself not long ago as part of a mobile office rig and ... I didn't write about it or share about it becuase it was mostly just putting USB male connectors into USB female connectors and sourcing the right kind of batteries to charge things.

Oh, and learning ethernet cables are a monstrous power draw and you're much better off using wifi for everything.

I mean, yeah it's cool to have. But I can't help but feel like it's a bit trivial.

Re:Building an LTE Access Point with a Raspberry Pi by voltagex_ on Monday June 24, 2019 @12:35AM (#20260585)
Can you comment on Ethernet being more power hungry than Wifi? That's the first time I've heard that.
Re:Building an LTE Access Point with a Raspberry Pi by eigenloss on Monday June 24, 2019 @12:43AM (#20260614)
Ethernet usually requires isolation magnetics and transformers, while WiFi is basically just a wire sticking out of an RFIC.
Re:Building an LTE Access Point with a Raspberry Pi by pjc50 on Monday June 24, 2019 @07:59AM (#20262597)
It's not so much that the transformers consume more power than just radiating it into the air, but that Ethernet is not designed with power efficiency as a goal. Ethernet devices that need more power usually get it from PoE instead.

Without doing any analysis at all, I suspect the idle behaviour is a big difference; Wifi goes silent if there's no traffic, apart from AP beacons, but Ethernet continuously transmits "fast link pulses" every 16 miliseconds to maintain autonegotiation and detect connection lost.

Re:Building an LTE Access Point with a Raspberry Pi by KirinDave on Monday June 24, 2019 @06:56PM (#20269393)
Honestly I dunno why it was the case for me. What I know is that I thought I'd save power pushing pulses over copper rather than using a radio. I didn't. In fact it was consistently about 40% worse than wifi.

That might be unique to the RPi hardware I used. It might not.

Maybe I should have written that article. :)

Re:Building an LTE Access Point with a Raspberry Pi by londons_explore on Monday June 24, 2019 @07:38PM (#20269671)
The Pi does Ethernet with a seperate and pretty power hungry chip.

If the ethernet cable is disconnected, that chip mostly powers down.

I think it's a Pi related thing rather than being inherent to Ethernet. In fact, if I were to guess, the energy per bit per meter of ethernet is probably far far lower than WiFi.

Re:Building an LTE Access Point with a Raspberry Pi by Mary-Jane on Sunday June 23, 2019 @10:29PM (#20260057)
Everyone's gotta start somewhere.
Re:Building an LTE Access Point with a Raspberry Pi by KirinDave on Monday June 24, 2019 @01:59AM (#20260860)
True.

I confess I screwed up on the battery choices more times than I care to admit.

Re:Building an LTE Access Point with a Raspberry Pi by terminalhealth on Monday June 24, 2019 @06:30AM (#20262019)
I was also disappointed. This is basically just the following two tutorials combined in one:

https://www.raspberrypi.org/documentation/installation/insta...

https://pimylifeup.com/raspberry-pi-wifi-bridge/

Secondly, I hoped it was about the using the LTE dongle in modem mode via vwdial (or similar) rather than in RNDIS/network interface mode.

Re:Building an LTE Access Point with a Raspberry Pi by londons_explore on Monday June 24, 2019 @07:35PM (#20269653)
When you're already behind 2 levels of NAT, adding one more probably doesn't do much harm... It's not like you're going to be punching many holes through it either way...
Re:Building an LTE Access Point with a Raspberry Pi by terminalhealth on Monday June 24, 2019 @10:25PM (#20270641)
Merely out of personal interest. It is interesting interacting with the modem more directly.
Re:Building an LTE Access Point with a Raspberry Pi by gsich on Sunday June 23, 2019 @07:05PM (#20259306)
True. Using "Hilink" is easy mode. Using NCM (in this case) is slightly harder but saves you from double NAT.

E3372 can be reflashed to do this.

Re:Building an LTE Access Point with a Raspberry Pi by terminalhealth on Monday June 24, 2019 @05:53AM (#20261868)
AFAIK there is no easy way of flashing the most recent firmware (e.g. 21.326.62.00.55).
Re:Building an LTE Access Point with a Raspberry Pi by gsich on Monday June 24, 2019 @07:16PM (#20269525)
Doesn't need to be the newest one.
Re:Building an LTE Access Point with a Raspberry Pi by terminalhealth on Monday June 24, 2019 @08:02PM (#20269832)
I know, but once you are on the newest one, it seems impossible to flash to switch to a different firmware.