No more WiFi after today OS update

Confirmed. I just didn’t feel like writing the whole thing.

Yes, from a terminal on the phone enter

ip addr show usb0

The line starts with “Inet” and will show an IP address (probably in the 10.42.0.x range). From your latop it’s standard ssh purism@<IP Address>

4 Likes

OK, yes. That works. Thanks. I wasn’t sure how to do ssh over the shared connection.

1 Like

I understand your concern but here is a data point. My phone is using amber and I let it upgrade to 5.11.0-1-librem5 without even realising that this could give me the problems being discussed here - and the WiFi is working normally after the upgrade, as it was before.

Output from dmesg

[   10.057150] redpine_91x: FW Version: 1.2.20.0
[   10.057158] redpine_91x: RSI FW Version:  0000.1.2.0.0502
[   10.057164] redpine_91x: Driver Version: RS9116.NB0.NL.GNU.LNX.OSD.2.0.0.0024
[   10.057170] redpine_91x: Operating mode: 13 [Wi-Fi STA + BT DUAL]
[   10.057174] redpine_91x: Firmware file: (null)

Thanks for this. My output is slightly different. Maybe because you have already upgraded? For example the driver version says:
RS9116.NB0.NL.PURISM.LNX.1.3

Here is dmesg | grep redpine:

purism@pureos:~$ sudo dmesg | grep redpine
[ 81.975947] redpine_91x: rsi_probe: ***** 9116 Module *****
[ 81.976053] redpine_91x: redpine_hal_device_init: oper_mode = 13, coex_mode = 2
[ 81.978258] redpine_91x: ***** Loading Firmware from Flash *****
[ 81.980463] redpine_91x: ***** Loaded Firmware to RAM - Waiting for Card Ready *****
[ 85.041120] redpine_91x: ================================================
[ 85.041127] redpine_91x: ================ RSI Version Info ==============
[ 85.041129] redpine_91x: ================================================
[ 85.041135] redpine_91x: FW Version : 1.2.20.0
[ 85.041138] redpine_91x: Driver Version : RS9116.NB0.NL.PURISM.LNX.1.3
[ 85.041141] redpine_91x: Operating mode : 13 [Wi-Fi STA + BT DUAL]
[ 85.041143] redpine_91x: ================================================
[ 85.045417] redpine_91x: rsi_send_bt_reg_params: Sending BT reg frame
[ 85.045743] redpine_91x: HCI module init done…
[ 85.045747] redpine_91x: RSI HCI DEVICE “hci0” open
[ 85.076632] redpine_91x: Max Stations Allowed = 1
[ 85.097884] redpine_91x: RSI hci0' flush [ 85.097894] redpine_91x: RSI HCI DEVICE "hci0" closed [ 85.097897] redpine_91x: rsi_hci_close: device hci0’ not running
[ 85.144680] redpine_91x: ===> Interface UP <===
[ 85.145784] redpine_91x: ===> Interface DOWN <===
[ 85.146860] redpine_91x: ===> Interface UP <===
[ 92.662579] redpine_91x: ===> Interface DOWN <===
[ 92.664392] redpine_91x: ===> Interface UP <===
purism@pureos:~$

Yes, sorry. That it is the output after upgrading (letting it apply the latest updates in the amber stream).

It was working before. It is still working.

I should emphasise that I am using only the 5 GHz band. (That may hurt in terms of signal strength and power consumption, but I restrict the 2.4 GHz band to those devices that are incapable of using the 5 GHz band i.e. legacy devices, which probably also require less advanced WiFi settings in general.)

Happy to report that @dos solved my problem with a firmware update. My WiFi and BT are up and running again; everything’s back to normal.
:slightly_smiling_face:
Thanks, @dos!

10 Likes

Hi, firstposter here! Been for my first 2 weeks with the phone trying to get WIFI and BT to work in what seems a similar problem. I can see with “rfkill” that my HKS are working properly, but then I get a “No Wifi adapter found” and same for Bluetooth.
@amarok, @dos could you share how to replicate the firmware update?

here is my dmesg:

purism@pureos:~$ sudo dmesg | grep redpine
[ 10.902930] redpine_91x: rsi_probe: ***** 9116 Module *****
[ 10.903752] redpine_91x: redpine_hal_device_init: oper_mode = 13, coex_mode = 2
[ 10.908258] redpine_91x: ***** Loaded Firmware *****
[ 14.487761] redpine_91x: ================================================
[ 14.487788] redpine_91x: ================ RSI Version Info ==============
[ 14.487792] redpine_91x: ================================================
[ 14.487795] redpine_91x: FW Version : 1.2.20.0
[ 14.487803] redpine_91x: RSI FW Version : 0000.1.2.0.0502
[ 14.487809] redpine_91x: Driver Version : RS9116.NB0.NL.GNU.LNX.OSD.2.0.0.0024
[ 14.487814] redpine_91x: Operating mode : 13 [Wi-Fi STA + BT DUAL]
[ 14.487819] redpine_91x: Firmware file : (null)
[ 14.487823] redpine_91x: ================================================

Great @amarok and @dos Maybe you could post the solution or inform us that if it was a bug it will be pushed through an update. What was the issue?

2 Likes

@antonis Not sure yet. It still needs some investigation.

2 Likes

OK @dos It is important for us you are so helpful. I very much appreciate your help in the forum. When you learn what could have gone wrong please inform us.
I will try to upgrade to 5.11 tomorrow and see how it goes.

3 Likes

My understanding of this low level stuff is limited, but did you try to set date and time manually?

1 Like

AND time zone, remember.

2 Likes

Thanks for the response, yes, date, time, and timezone is the first I do after reflashing everytime. cc: @amarok
Not the source of the problem. I don’t get to the level of seeing any wifi. Cellular fails to connect a lot of times but the device shows up, with wifi+bt is just as if there is no adapter recognised.

My uname -a:
Linux pureos 5.11.0-1-librem5 #1 SMP PREEMPT Wed Mar 10 00:43:59 PST 2021 aarch64 GNU/Linux

$ nmcli radio is responsive to toggling the HKS, so is rfkill.

purism@pureos:~$ rfkill
ID TYPE DEVICE SOFT HARD
0 microphone mic-hks unblocked unblocked
1 wlan wlan-hks unblocked unblocked
2 wwan wwan-hks unblocked unblocked
purism@pureos:~$ ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: usb0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether 02:3f:05:0d:91:fc brd ff:ff:ff:ff:ff:ff
3: wwan0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN mode DEFAULT group default qlen 1000
link/none

I would expect there to see a wlan0 interface, not sure how the BT would appear, but there is no sign of it.

Tried a bunch of things I’ve read in this thread and others (thanks for the useful stuff). Such as reflashing the system, downgrading from 5.11 to 5.9, but no luck with anything, I was curious on the firmware flashing of @amarok since I already discarded other stuff. A bit above I’ve shared my dmesg results.

1 Like

Welcome to the forum @beltrandroid Was the phone wifi working before the upgrade to kernel5.11? Because it was either faulty from the start or the upgrade to 5.11 created the problem as with @amarok Because as you can see above @amarok had wrong FW Version (247.18.27.178) after his update but your dmesg shows the correct one (1.2.20). Could it be that the wifi adapter is not seated properly on the M2?

Glad to be here! No, the wifi or BT didn’t work since the the phone shipped. Thought I haven’t memorised which version o the kernel was coming with originally.
So it seems my FW version is okay.

I have read about the “reseating” of the Wifi adapter module, but didn’t dare for it. In case my device is faulty, would open the back and reseating the module void the warranty?

I do not think there is a problem with the warranty, but better to wait @dos answer. If it never worked then maybe the correct is to write to support of purism. But how did you get to kernel 5.11 if you did not have a working wifi? I guess that it came like that (with 5.11 pre-installed). Right? You did not upgrade, correct?

Connected via usb to my linux laptop, flashed the phone from there, got the 5.11 kernel. My gsm-SIM internet works sometimes, can also run an apt update && apt upgrade from there, thought after flashing it claims all packets are up to date.

Didn’t check which one was coming installed with in the first place, but followed some other comment in the forum to downgrade to 5.9, which didn’t change anything in regards of BT+WIFI. Now reflashed back to 5.11. Will wait for @dos answer on opening the back and reseating the wifi module :slight_smile:

I’m sure @dos or someone in support will be able to identify the problem for you and find a fix. Hang in there!

1 Like

This thread is dealing with a number of different wifi issues.

  1. No Wifi on boot with the 5.11 kernel please add your info to this issue
    https://source.puri.sm/Librem5/linux-next/-/issues/264
  2. poor wifi performance, please go here and add information
    https://source.puri.sm/Librem5/linux-next/-/issues/286
  3. Scrambled wifi firmware please go here
    https://source.puri.sm/Librem5/linux-next/-/issues/290
7 Likes