You are not logged in.
I recently installed Arch Linux with encrypted root on a USB key and I noticed some strange behavior ongoing. I installed Arch Linux as a removable medium only last week and there has been little use of the computer.
I am a newbie and I don't know much about Arch Linux.
My Arch Linux is pretty much lightweight and fast most of the time. Sometimes however, when I get connected to a public wifi, I notice that when I entered "sudo bash" (for general purposes like pacman -Syu), the exit command may take a long time to exit (several minutes), and it will often only respond once I enable Airplane mode, as if the wifi could interfere with it.
I also noticed that sometimes the screen goes blank for a micro second while I am working on the computer and connected to a public wifi (as if it was a screenshot).
I don't know if I should associate this behavior with me badly setting up the USB key, or if it comes from some program not running smoothly on the USB key, or if it could be a virus, and what I should do in this case.
I installed my USB key following a mixture of the official recommendations, from the following links:
https://mags.zone/help/arch-usb.html
https://wiki.archlinux.org/title/Dm-cry … _partition
https://wiki.archlinux.org/title/Instal … ting_Linux
https://wiki.archlinux.org/title/Installation_guide
https://wiki.archlinux.org/title/Genera … mendations (more mags.zone for the setup itself)
Besides installing gnome and some general softwares (libreoffice, firefox, etc.) on my Arch Linux, there are no changes. (Simple stateful firewall has been set up, but there no servers that I installed that could cause interference with the wifi settings). I tried installing Flatpak and then removed it.
Any guess on what is going on?
I need to work from time to time with some sensitive data and I can compartmentalize my work on a different USB key that is not connected to the wifi if it could help protect the privacy of my data.
Any recommendations on how I should proceed?
Offline
PSA: a usb key is not a cheap SSD and not a very good root partition. You want to read up https://wiki.archlinux.org/title/Instal … ble_medium
On topic: is the wifi wired via PCI or USB (lspci/lsusb)?
Is the lag limited to
when I get connected to a public wifi, I notice that when I entered "sudo bash"
?
=> What's the output of "hostnamectl"?
PSA/2: don't open root shells unless you mean to and if you do, use "sudo -i", not "sudo bash". But don't. You can just "sudo pacman -…"
Offline
It is connected via lspci (Everything is). lsusb gives out "command not found".
I will be more careful about opening root and focus only on sudo command. (What is the difference between sudo -i and sudo bash?)
Offline
What are you looking for with hostnamectl? There is nothing that I find unusual there.
Offline
If you have not set a valid hostname, a transient hostname will be used which can be changed on connection to a network. This breaks hostname based authentication.
Please post the full system journal for a boot with the issue. Redact anything you do not wish to share. Please use a unique token for each redacted string.
Offline
Whether you have a valid static hostname that isn't localhost. lsusb is part of the usbutils package. In general if we ask for output, please post the output, there's very little of actually private and identifying information (or post the output and CLEARLY mark things that you alter for privacy reasons) in most of these and they can be vital and it can be very annoying to have to play a teeth pulling game because someone isn't willing to disclose vital information, while not knowing what kind of information we'd want/need
Offline
To answer the remaining
What is the difference between sudo -i and sudo bash?
"sudo -i" will open a login shell for the shell configured for the root user, not an interactive bash.
https://man.archlinux.org/man/core/sudo/sudo.8.en#i
https://man.archlinux.org/man/core/bash … INVOCATION
Offline