Phone arrived advice

The Librem 5 has a builtin Ethernet over USB. Connect it to a computer with the USB cable and you have a network.

It might need some configuring on gnome. On Plasma it’s pretty much flawless.

5 Likes

Well, I have a couple of updates.

Apparently my WiFi isn’t actually broken. It looked like it was toggling between there-but-in-airplane-mode and not-there-at-all; but it turns out the setup screen was just taking five or six seconds to load. However, once I finally took the sim card in my old phone and stuck it in this phone, it turns out my modem receives absolutely no signal. My old phone was getting four or even five bars.

I also tried plugging a physical keyboard into the phone via the USB port (luckily I have an adapter that will convert one of the old rectangular plugs into USB-C–those seem to be uncommon for some reason, but my car has nothing but USB-C outlets and ALL of my charging cables (except this one) have the old style rectangular plug, so I had already bought a couple of them). That does work, which is good, because the virtual keyboard is a true trial to use for linux commands.

(At some point should I keep this phone, I will be asking how to create a keyboard layout.)

So major outstanding issue at this time is my modem. Lots of minor ones, many amenable to me hacking the source code, once I figure out how to do that.

https://world.pages.gitlab.gnome.org/Phosh/squeekboard/

… in addition, because you have a vanilla USB port, even if no networking works at all, you can always download packages on another computer and put them on a flash drive / portable drive and apply them that way.

However this is not the topic for resolving that issue. I suggest support@puri.sm

So for troubleshooting, it may help to specify

  • what country you are in
  • what modem variant you have
  • state of the hardware kill switches
  • whether the modem is showing up at all e.g. before you even put a SIM in, and after
  • what bands out of 2G / 3G / 4G you anticipate are available to you - and in any case what subset of bands you have enabled in settings
  • whether you have enabled “data” in mobile settings
  • what MNO and, where applicable, MVNO you are attempting to use
  • whether you have had the opportunity to enter an APN and what APN you entered

support@puri.sm

It’s good to confirm that the SIM is positioned, oriented and seated correctly in the SIM tray (same tray as holds the uSD card, if you are using one).

I believe it would be recommended practice (on any phone) to power off the phone before inserting or removing cards.

So do we take it that WiFi is working reliably now?

That’s a USB-A connector. It is useful to have adapters for both directions (and that is true regardless of the Librem 5, since most people these days are juggling old devices in new ports and new devices in old ports).

I’m not the only one that doesn’t think so:

@SteveC, I need to go out now (and to make it short) but you can try to fix related with:
uname -r
update-initramfs --help
sudo update-initramfs -u -k 5.16.0-1-librem5
sudo reboot

If above doesn’t help, using -c option is up to you.

No, my WiFi is indeed actually working; I was able to load web pages through it. I simply didn’t know I had to go to the setup page. (The icons on the settings panel don’t function the way I thought they did.)

You’re right about the other thing though, I do still have the busted clock. The phone clock drifts horribly without a WiFi network. Early on Monday the phone was claiming it as 3 AM on Sunday. (Which is a huge improvement over claiming it was sometime last July!)

I have emailed support about the issue.

1 Like

I have emailed support and I gave them some of that information. Among the things I didn’t state, I have no idea what an APN is (never heard of it before), nor what I should set it to, so of course I didn’t mention that. Likewise MNO/MVNO. I imagine they’ll ask me. (I did specify my timezone and country.)

MNO=Mobile Network Operator

Most countries only have a small number (3 or so) of distinct mobile networks.

MVNO=Mobile Virtual Network Operator

Any number of other companies can be a mobile network company by buying wholesale access to an MNO’s network i.e. reselling it

In other words … who’s ya SIM from?

APN=Access Point Name

A given mobile network may offer more than one service, differing in the level of service, functionality, … etc. offered to the connecting mobile client device. The APN selects that service. In many cases, the plan that you are on with your mobile provider implies what the APN should be (but connecting with the wrong APN may or may not work anyway and may or may not have negative consequences).

Linux comes pre-installed with a global list of all known MNOs/MVNOs and the valid APNs for each provider. However that list is not fully up to date.

If you mentioned that info here then someone could chime in as to whether your provider is working for that person in that country.

One successful connection to WiFi can cause a computer to notice that its clock is out of whack relative to the correct time and it can then deliberately drift its clock in order to synchronize (rather than just suddenly jumping by 9 months or whatever). In other words, drift can be a good thing.

1 Like

Re the clock: The clock updates to be correct instantly on connecting to wifi. So it’s not a slow “tactful” correction. I suspect (but have not tested, this is me “spitballing”) that the clock simply doesn’t increment at all when the phone is off. So if that’s true, I turn it on where there’s no wifi, it would start up at whatever time it had shown when I turned it off. (I can test this a multitude of ways, obviously–I just had the thought a couple of hours ago.)

Really right now my major concern is the cell modem; if that’s working the clock will be updated at almost all times (though ideally I’d like that fixed, too). Plus, I still wear a watch (and half of my personal library is on clay tablets, too).

1 Like

…annnnndddddd, it appears my clock issues were due to a nearly drained battery.

It appears to be fine now. I shut off automatic updates, was able to change the time without any trouble; the time was retained when I rebooted the phone, and reverted to the correct time when I turned on automatic updates again.

So that leaves the modem issue. ANd I am going to experiment with keyboard layouts (I hate the one that came with the phone).

4 Likes

Makes sense. In your typical desktop, there is a button cell battery that provides power to the real-time-clock (RTC) chip, which therefore runs even when the desktop is completely powered off (switched off at the wall) and maintains the time from shutdown to boot.

In devices that run off battery, it would be inefficient to include two batteries but then you get the downside that if the laptop or phone battery goes completely flat, you have lost the time out of the RTC chip.

(For regular phones, without a killswitch, that’s not such a big deal because as soon as you are on the mobile network, you can use NTP to get the time from the internet and/or as soon as you manage to connect to WiFi presuming that the WiFi gets you to the internet and again, without a killswitch.)

3 Likes

OK, the modem seems to be responsive…somewhat. It can’t find T-mobile (USA) usually, and when it does, calls hang up before I even lift my finger off the call button (which tells me something is wrong with phone calls). I don’t know yet about data; unfortunately mobile data with T-mobile here where I am at right now barely exists.

Another thing.

Under privacy you can supposedly set how long it takes for the screen to go dark, and how long afterwards it locks (or disable that, entirely). But no matter what I set it to, the phone locks the screen immediately after the screen goes dark. That’s rather annoying when I’m sitting right next to it (no security issue) but doing something else. I can either leave the screen on for half an hour or longer and drain the battery, or have to enter the dang passcode every time I pick the thing up.

Are you using byzantium?

Yes, it’s Byzantium

News about the modem, according to support it has the wrong firmware. New modem is going to be sent to me.

2 Likes

I’ve just had a look at this - unfortunately the parts of the settings app that are needed to set this up on the L5 are not adaptive, and I found them impossible to use. I know that it is possible to do the setting up from the cli instead, but that needs knowledge, and is fiddly on the built-in terminal anyway. (By comparison, the corresponding functionality under Sailfish once you have installed the developer utilities is plug-and-play, I think that Sailfish starts up a DHCP server on connection so the host computer’s USB network address is set up automatically too.)

My advice for a wired connection on the L5 would still be to connect to an ethernet network if possible. Virtually all consumer ISP-supplied routers in their default configuration will have a DHCP server running, and the L5 will get an address on the network without any issues in most cases.

You don’t need to do anything on the phone. It connects to DHCP automatically.

What kind of an oscillator runs the CPU? In this day and age, an accurate clock, to within mili-seconds of drift per day, is pretty much standard on every low-end device. How could the Librem 5 be so impaired when it comes to keeping time? A fifty year old mechanical wrist watch does better. Any real-time clock circuit with even a reasonably good (lower resolution) RC oscillator should perform much better. These performance of these time-keeping components are all specified in the manufacturer’s datasheets. It’s kind of hard to get wrong unless you make easily-fixable mistakes in the code and then choose not to fix those mistakes. Does anyone know why the device is having difficulty keeping time?

The phone’s time algorithms should keep all external network connections away from affecting the phone’s time, except perhaps (maybe) when changing time zones or adjusting for daylight savings time changes twice per year. In a phone that has network kill switches as a prominent feature, I wouldn’t want any network to have access or the phone itself, or to have any reliance on any network, especially by default, to always display an accurate time. It just doesn’t make sense to let any network be a part of that equation any more than is absolutely needed, which should leave “never” as a default and valid option in user defined time settings.

But doesn’t this require the L5 to be able to find a DHCP server? In my experience, a typical desktop or laptop Linux distribution doesn’t have one enabled by default (although maybe a Librem laptop or Librem mini does?). Anyway, when I connect my L5 to my Linux desktop or Linux laptop by USB, it only sets up a IPv6 address on the USB interface, not an IPv4 one, which limits its usefulness, and certainly doesn’t allow the L5 to check for updates via the USB-connected computer (which was the question that started this thread).