5 ms·
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 interfac
by Spivak 7y ago
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.
- caro_douglos 7y agoA 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.
- Fnoord 7y agoThis 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 https://www.crowdsupply.com/lime-micro/limesdr-mini
- 0xEFF 7y agoThanks for the link, lots of great stuff on that site.
- gsich 7y agoTrue. 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.
- terminalhealth 7y agoAFAIK there is no easy way of flashing the most recent firmware (e.g. 21.326.62.00.55).
- gsich 7y agoDoesn't need to be the newest one.
- terminalhealth 7y agoI know, but once you are on the newest one, it seems impossible to flash to switch to a different firmware.
- KirinDave 7y agoYeah, 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.
- Mary-Jane 7y agoEveryone's gotta start somewhere.
- KirinDave 7y agoTrue. I confess I screwed up on the battery choices more times than I care to admit.
- voltagex_ 7y agoCan you comment on Ethernet being more power hungry than Wifi? That's the first time I've heard that.
- eigenloss 7y agoEthernet usually requires isolation magnetics and transformers, while WiFi is basically just a wire sticking out of an RFIC.
- pjc50 7y agoIt'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.
- terminalhealth 7y agoI was also disappointed. This is basically just the following two tutorials combined in one: https://www.raspberrypi.org/documentation/installation/installing-images/ https://www.raspberrypi.org/documentation/installation/insta... https://pimylifeup.com/raspberry-pi-wifi-bridge/ 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.
- londons_explore 7y agoWhen 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...
- terminalhealth 7y agoMerely out of personal interest. It is interesting interacting with the modem more directly.