Hosting a website on a PinePhone, etc.
#7
(02-14-2021, 03:50 AM)a-l Wrote: 2. I've tried connecting a computer to the Internet via the phone's Wifi (hotspot), but have never been able to keep it going - it always seems to cut off after some time. Obviously, a web server must have a persistent connection.

Remember I said I don't like Verizon?  This is another one of many reasons why...  In addition to pioneering artificial scarcity marketing/pricing (charging per GB, lol) they also think you should pay extra if you dare try and share your data connection with any other device.  I am not sure whether you are paying for (or your plan supposed to include) "Wi-Fi hotspot" or not, but I would at least check that first.  BTW, there are ways around that, too, in either case...

(02-14-2021, 03:50 AM)a-l Wrote: 3. Since I only make a few phone calls, my 1st choice was to have a laptop or tablet with a cellular modem that is capable of voice calls (not VoIP, because I can't assume that the people I'm calling, like a doctor's office, are on a computer). However, to my knowledge, no such device exists - I think iPads, Samsung laptops, etc. with LTE capability are only for WiFi, right?

Well, at risk of confusing the issue, technically almost all businesses are on VOIP already, and also almost all cellular networks are too, at this point.  The only reason we still have to use their networks and "phone numbers" are due to Normie familiarity and legacy lock in business models.  But as I said, I digress...

Your thoughts are on the right track, however in practice I think it will probably be easier to find hardware and software to support "cell phone plan and share hotspot with other devices" sort of workflow, rather than the other way around.  As you apparently found out.  I mean, that's what I do (and I imagine many others do, too).

(02-14-2021, 03:50 AM)a-l Wrote: 4. So when I discovered the PinePhone (actually, heard about the Librem5 1st, but PinePhone is so much cheaper, and almost as capable), it seemed like a great solution. I'm hoping that it's compatible with Verizon as far as the bands they use, GSM vs. CDMA, etc.

Any "smart" phone (Android, etc.) would probably work for this "cell phone plan and share hotspot" workflow, but PinePhone have a lot of other advantages (IMO) like real GNU/Linux and other things.  OTOH, it is still "early days" for PinePhone...

(02-14-2021, 03:50 AM)a-l Wrote: TRS-80, you bring up the issue of static vs. dynamic IP - are you sure that a carrier like Verizon will always assign different addresses, and if so, is there a workaround when I set up the DNS records, etc.?

It's not about static vs dynamic, it's about "carrier grade NAT" as another poster have now also pointed out in the meantime. This is not like your internet service at home, where you have an IP address which is reachable from the rest of the Internet. Inside your mobile carrier's network, you only have some internal IP address. Nothing that can be reached from the outside coming in. Your data connection is essentially outbound only. Look in your phone settings and you might be able to see this.

(02-14-2021, 03:50 AM)a-l Wrote: And as far as the Sim card goes, isn't that just used by the carrier for billing purposes? Because I think you're right about the IMEI and also maybe something else (IMSI?), but the question is, how do you change them?

In Verizon's case, they are also using it to lock down their network, to try and force you to either buy a device from them, or at least introduce some hurdles to anyone trying to bring their own device.  Remember what I said about Verizon.  Wink

(02-14-2021, 03:50 AM)a-l Wrote: By the way, when you were talking about SBC's, were you thinking of the Raspberry Pi? Because that looks like a fantastic machine, but again, I don't believe it has a cell modem.

Well, the point I apparently failed to make was that there are a ton of other devices available than "Raspberry Pi" and in fact I am personally sick of RPi seemingly becoming synonymous with SBC in the minds of so many people.  RPi are only one of hundreds of options.  And many of those other options are less locked down, have more interesting (better) hardware, etc...

And as for "cell modem" I still don't think you have got your head around why that's not going to work, and therefore, why that is ultimately an irrelevant criteria.  Wink

Let's try to strike at the heart of this "hosting a web site" issue, shall we?

Because I don't recall reading what exactly you had in mind when you said "hosting a web site" because that could mean quite a lot of different things.  Are you talking about something personal, private, and available only on your local network to your other personal devices?  Or a public facing website?  Static or dynamic?  Etc...  Or do you just want to tinker and learn?  Depending on answers to these questions, we could probably get you going in some better direction.

I personally eschew all proprietary social media and "cloud" providers, instead preferring to self host my own (and have been doing so for years).  But I am not sure this is what you are really after or not (we need answers to above questions about "what is your real end goal" first).

(02-14-2021, 03:50 AM)a-l Wrote: Zebulon Walton, I was originally thinking Apache, but people say that's overdoing it, and many recommend NGINX.  When I finally get a hold of a machine, I'll definitely try the IBM server also.

Thanks for your help, guys.

Nginx (pronounced "Engine X") would be the modern, maintained, lightweight choice of many people nowadays.  There are some others, too, but Nginx will certainly be a name you hear thrown around a lot.
Cheers,
TRS-80

What is Free Software and why is it so important for society?

Protocols, not Platforms

For the most Linux-y experience on your Linux phone, try SXMO!

I am (nominally) the Armbian Maintainer for PineBook Pro (although severely lacking in time these days).
  Reply


Messages In This Thread
Hosting a website on a PinePhone, etc. - by a-l - 02-12-2021, 06:09 PM
RE: Hosting a website on a PinePhone, etc. - by TRS-80 - 02-16-2021, 01:04 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  eSIM on PinePhone just_a_q 8 4,639 11-05-2024, 11:10 AM
Last Post: zetabeta
  Want to buy second hand PinePhone 3G version rudi.timmermans 0 166 11-01-2024, 09:58 AM
Last Post: rudi.timmermans
  Can use PlayStation on Pinephone? willharper 6 5,654 10-30-2024, 08:07 AM
Last Post: biketool
  Ordered PinePhone till today have no info or confirmation about order hennadiyt 1 348 10-05-2024, 02:20 PM
Last Post: KC9UDX
  US Mobile, via T-Mobile, won't support Pinephone Pro - SOLVED, SIMPLY jovval 11 5,752 07-28-2024, 03:42 PM
Last Post: dchang0
  How can I record video on a Pinephone? kk22 18 7,111 07-22-2024, 05:18 PM
Last Post: baptx
  Pinephone not booting, always vibrating alexander12 8 6,863 07-19-2024, 07:50 PM
Last Post: Blackheart
  PinePhone Pro P. Siera 2 818 07-17-2024, 12:41 AM
Last Post: P. Siera
  PinePhone Boots but only Shows Black Screen with Backlight danyeaw 1 677 06-30-2024, 10:18 AM
Last Post: danyeaw
  Pinephone won't boot. spha 13 5,870 05-15-2024, 10:31 PM
Last Post: Richy_T

Forum Jump:


Users browsing this thread: 2 Guest(s)