I believe this should accomplish the task:
Hi,
Would someone know if the Librem 5 can be used as a hotspot while being connected to a WiFi spot ?
I find it quite useful to be able to have only my phone connected to a WiFi somewhere and then my or othersâ computer connected to my phone.
Cheers,
The iw list
command also has a section valid interface combinations
for my card it supports 3 connections on 2 channels. So its possible.
valid interface combinations:
* #{ managed } <= 1, #{ AP, P2P-client, P2P-GO } <= 1, #{ P2P-device } <= 1,
total <= 3, #channels <= 2
For the phone as far as i know the redpine rs9116 is used and this indicates that multiple connections at the same time are possible. It says even multiple APs. So chances are good.
I donât know if the gnome settings gui is capable of handling this. So one might need to get the hands dirty in the commandline to do it.
Tethering on WLAN (Hotspot) it already fixed and work out of box on ByzantiumâŚ
This is one of the big advantages of a free phone that doesnât receive much attention. The owner can decide how to use their data subscription that they purchased, sharing it with others, if they want to. That is their personal decision, similar to allowing a guest to use a home WiFi network. This offers a lot of potential privacy benefits too, e.g. allowing a stranger within WiFi distance to access the Tor network through my internet connection.
I donât understand why a Wayland vs X11 display needs to even be relevant. The Wifi server configuration on the Librem 5 can be defined in a file that can be modified by any text editor, just like any other Linux text file. The WiFi clients on Android and Apple devices can install a customized crude terminal program (that should be relatively easy to write), that facilitates the configuration in the client device, via the selection of Wifi sources and password entry that are required to make a secure connection between the devices, but that could all be entered from a terminal in the client device. After the devices have connected, all that happens are streams of data transferring between the devices, none of which need a display.
Am I wrong in thinking that the Wifi connection can be setup via terminal connections and that the data itself is independent of any display?
I received a Librem 5 USA on 2022-05-02 and have been setting it up to be my âdaily driverâ.
Just today I verified that the Wi-Fi hotspot works fine, sharing cellular data (T-Mobile USA).
I connect to a VPN over cellular. A great thing I noticed is that the data to the Wi-Fi hotspot is also routed through the VPN. GNU/Linux does the right thing. This is NOT the case with Android 10, so whatever device you are connecting to the phoneâs Wi-Fi hotspot has to separately connect to a VPN. I bet this is by design on Googleâs part, all the better to surveil you.
[edited] Iâm seeing the VPN connection drop a lot. Not sure why. Iâm using OpenVPN in exactly the same way as I do on my Librem 15v4, where it stays connected for hours.
I have to admit, I got my Librem 5 almost a month ago and I didnât realize it could do hotspot. In my defense, the setting to turn it on is a little hidden in the 3 dots menu of the WiFi. I think having a larger toggle to turn it on or off would be beneficial.
So how in blazes did you get your phone to do ANYTHING with T-Mobile?
Mine cannot make calls, cannot receive data, cannot even see the T-Mobile network.
And Iâve already been sent a replacement modemâŚno good.
Thatâs really weird because I am using it on T-Mobile too. Everything was automatic once I inserted the SIM card.
I just popped in the nano-SIM card I had on my previous Android phone. Cell calls and data worked. In the Settings app > Mobile, I did have to toggle âMobile Dataâ to turn that on. I found US T-Mobile settings for data and MMS and used those settings with one exception: I chose âNetwork Modeâ as â3G, 4G (Preferred)â because there is no 2G on T-Mobile as far as I can tell, and they gave me a new nano-SIM card a couple of months ago because they said they were going to be dumping 3G. So I might try â4G Onlyâ to see how that goes, but I did notice â3Gâ appeared on the status bar once.
I also had to edit the settings in Chatty so that MMS works, though when I get an image, it does not show up inline in Chatty. Instead thereâs a link to where it got downloaded to a buried folder in ~/.local/share/chatty
I just tested the Hotspot of Librem 5.
In the GUI as security type it is stated WPA and it is not clickable to edit.
I would definitely want to achieve WPA3 or at least WPA2.
Could somebody give me hints on how should I proceed to get to the more advanced settings?
I would think its a given that its WPA2. Does the device connecting to the hotspot tell you what it is?
I want to get to the full settings. I am not getting a Linux phone in order to have a worse WiFi security than a modern Android/iPhone so I will never be satisfied with WPA2.
WPA3 when it is in a WPA3 only mode has not been cracked yet, while WPA2 is crackable. Only the WPA2/WPA3 combo mode has been cracked by downgrading to WPA2 which is not possible when you use WPA3 only mode.
And I have seen WPA3 working on old hardware as well.
I flashed a more than 5 years old Archer router with OpenWRT and after loading the right packages WPA3 was working on it without a problem.
So honestly, I really really really really want to see WPA3 on Librem 5.
Does anybody knows where to find the config files that gnome creates for setting up the hotspot?
Edit: I found it. It is in:
/etc/NetworkManager/system-connections/Hotspot.nmconnection
Edit 2:
I used nmcli to create a new hotspot from the cli.
Unfortunately it does not work. I can start the hotspot using nmcli, but WPA3 capable devices canât establish a connection.
Does anyone knows if I miss some settings or if some are wrong?
I used as group and pairwise ccmp as this seems for me to be the correct one for WPA3.
pmf = 3 to enforce pmf. This is a tricky one because 1 is NOT âyesâ but it is on the contrary -> disable pmf. So be careful with this one.
psk seems to stay psk even when using WPA3. In wpa_supplicant on the contrary it changes to sae_password.
P.S. editing the files without going through nmcli does not work. The network manager overrides changes not made using nmcli.