Wi-Fi, ethernet, and Bluetooth suddenly stopped working https://askubuntu.com/questions/1564733/wi-fi-ethernet-and-bluetooth-suddenly-stopped-working

The situation is as the titles says. I have been using this computer running Ubuntu 24.04 for some time now, yet the Wi-Fi, ethernet, and Bluetooth suddenly stopped working. The Wi-Fi/Bluetooth is built into the motherboard. I don't think there was any update installed just before this occurred, but I could be misremembering.

I have noticed it still registers an ethernet connection, and it can ping devices on the same LAN, but there is no internet access. Strangely enough, my VPN still seems to connect, despite no internet usability either in or outside of it.

Wi-Fi is no longer even displayed as a setting. Settings where a Wi-Fi should be present, but isn't.


I'll try to include the information that I'm seen asked for in in response to questions similar to this one.

Output of uname -r is 6.17.0-14-generic.

Output of lspci -nnk | grep -iA3 net is:

29:00.0 Network controller [0280]: MEDIATEK Corp. MT7922 802.11ax PCI Express Wireless Network Adapter [14c3:0616]
    DeviceName: RTL8111E Giga LAN
    Subsystem: MEDIATEK Corp. MT7922 802.11ax PCI Express Wireless Network Adapter [14c3:0616]
    Kernel modules: mt7921e
2a:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
    Subsystem: Micro-Star International Co., Ltd. [MSI] RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1462:7c95]
    Kernel driver in use: r8169
    Kernel modules: r8169
2b:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:2d05] (rev a1)

Output of lshw -class network is:

WARNING: you should run this program as super-user.
  *-network UNCLAIMED       
       description: Network controller
       product: MT7922 802.11ax PCI Express Wireless Network Adapter
       vendor: MEDIATEK Corp.
       physical id: 0
       bus info: pci@0000:29:00.0
       version: 00
       width: 64 bits
       clock: 33MHz
       capabilities: cap_list
       configuration: latency=0
       resources: iomemory:7e0-7df memory:7e02100000-7e021fffff memory:fc300000-fc307fff
  *-network
       description: Ethernet interface
       product: RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:2a:00.0
       logical name: enp42s0
       version: 15
       serial: 34:5a:60:a1:a5:e5
       size: 1Gbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=6.14.0-37-generic duplex=full firmware=rtl8168h-2_0.0.2 02/26/15 ip=192.168.1.151 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
       resources: irq:34 ioport:f000(size=256) memory:fc204000-fc204fff memory:fc200000-fc203fff
WARNING: output may be incomplete or inaccurate, you should run this program as super-user.

Something that seems strange is that the output of sudo lshw -class network is different. The configuration on the first*-network and the capabilities on the second display different parameters:

*-network                 
       description: Network controller
       product: MT7922 802.11ax PCI Express Wireless Network Adapter
       vendor: MEDIATEK Corp.
       physical id: 0
       bus info: pci@0000:29:00.0
       logical name: /dev/fb0
       version: 00
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress msi pm cap_list fb
       configuration: depth=32 latency=0 mode=1920x1080 visual=truecolor xres=1920 yres=1080
       resources: iomemory:7e0-7df memory:7e02100000-7e021fffff memory:fc300000-fc307fff
  *-network
       description: Ethernet interface
       product: RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:2a:00.0
       logical name: enp42s0
       version: 15
       serial: 34:5a:60:a1:a5:e5
       size: 1Gbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=6.17.0-14-generic duplex=full firmware=rtl8168h-2_0.0.2 02/26/15 ip=192.168.1.151 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
       resources: irq:34 ioport:f000(size=256) memory:fc204000-fc204fff memory:fc200000-fc203fff

The first line of this output shows *-network UNCLAIMED if I run the command without sudo. I'm unsure why that is.

Output of nmcli device is:

DEVICE   TYPE      STATE                   CONNECTION 
lo       loopback  connected (externally)  lo         
enp42s0  ethernet  unavailable             --         

I have attempted to boot into an earlier version of the kernal (6.14.0-37-generic), but I was met with the same issue. I am unsure where to begin trying to solve this.

I could also just be imagining this, but it seems that the computer takes a strangely long time to boot up after this problem showed up.

Install a TP-Link T6E wifi adaptor https://askubuntu.com/questions/1564715/install-a-tp-link-t6e-wifi-adaptor

After many years of having windows turn my brain to mush I am exploring the interesting world of Ubuntu and I am loving it. I installed it successfully on a laptop quite some time ago but, now I have installed it on a PC which had some memory issues under the influence of Windows and it is happier with much Ubuntu! My issue is that it won't find he T6E adaptor so, I have no internet. I have spent a long time looking for a solution with the most promising advice here: https://ubuntu.pkgs.org. The only problem is I can't figure out which package to download or even how I get it. I am desperate so,any help would be hugely appreciated.

Would reinstalling Ubuntu mess up GRUB configuration? https://askubuntu.com/questions/1564710/would-reinstalling-ubuntu-mess-up-grub-configuration

I was wondering if I were to reinstall Ubuntu on my PC which has the OS on a separate SSD, would it reset the GRUB bootloader to like it's initial installed configuration?

Like, I'm planning to do an "erase disk and install Ubuntu" on the SSD that Ubuntu is already installed on and just starting fresh but I just want to be aware if I need to redo what changes I made to GRUB or not.

Just some background info: I am dual booting Ubuntu 24.04.4 LTS on a separate SSD with Windows 11 on another SSD, and using the GRUB bootloader to boot between the two OS.

Timeshift restore to new drive not working - /home and /boot folders empty https://askubuntu.com/questions/1564696/timeshift-restore-to-new-drive-not-working-home-and-boot-folders-empty

As per advice provided here, on YouTube and elsewhere, I used Timeshift for backups to my system files and sometimes for backing up data files, though I sometimes use another program for the data alone.

Lately my main SSD drive had the initramfs startup error.

Following the advice of others online with this issue, I did a file system check for the afflicted drive, following the prompts offered for fixing or ignoring and then rebooted.

Unfortunately, the reboot got stuck halfway through.

So I tried a system restore to the affected drive. Unfortunately I chose the leave /boot on root drive option so it didn't boot on restarting.

Subsequent efforts at restoring have failed and at this stage the Live USB Ubuntu 24.04.4 that I am using to admin things simply no longer "sees" the main SSD drive.

I have tried to restore to a new HDD drive (2 TB) but all I see at the end of this process is two empty folders in the partition that was to hold the restored system and data files. One is called home, the other is called boot.

Q1. Is Timeshift even intended for the eventuality of a main drive failing and restoring to be done onto a new drive ?

Q2. If yes to Q1. then why isn't it even trying to copy the system and boot files onto the new drive ?

In setting the restore, I set every part of the restore to sdb1 - the partition of the new HDD that is dedicated to my system and data.

EDIT

Eventually got the Timeshift restore going on the new HDD drive. Yet the predicted time to completion grew from 12 hours to 33 hours over 4 hours. This and the uncertainty of the final outcome meant I had to cancel it and go for a fresh system install instead, with data files being copied in later.

I have to question Timeshift and its usefulness. It seems to me that its main utility is in rolling back to previous versions of the system. It's not efficacious in situations of damaged system drives and restoring to a new drive. Its guidelines in setting up partitions for a restore to a new drive are quite at variance to that given elsewhere, e.g. other sources advise an EFI system partition (FAT32 or VFAT), a swap space partition, separate boot partition (FAT), etc. Some of the instructions in the Timeshift restore process are unclear or ambiguous.

I think it's time for a general discussion on Timeshift.

How to create file from terminal, with specific number of empty lines; and append text to specific ranges of lines? [closed] https://askubuntu.com/questions/1564680/how-to-create-file-from-terminal-with-specific-number-of-empty-lines-and-appen

(1) How to create a file from terminal, with specific number of empty lines; and then (2) append different strings to specific ranges of lines?

The following command (from previous question): sed -e '1,128s/^/00:0/' -e '129,713s/^/00:/' -e '714,2285s/^/0/' filename. Prefaces an existing ranges of lines, but doesn't create new lines.

This is a 2 part question, happy with 2 seperate commands, but also 1 compound command. Aim is to create different lists, e.g. Day 1 thru 20, and then append 5 push ups, 10 push ups, etc. to relevant lines.

Wi-Fi not working. iwlwifi firmware crashing on ubuntu 24.04.3 kernel 6.14.0-24-generic https://askubuntu.com/questions/1553364/wi-fi-not-working-iwlwifi-firmware-crashing-on-ubuntu-24-04-3-kernel-6-14-0-24

Wi-Fi not working

The main error message from dmesg

[    9.331463] iwlwifi 0000:00:14.3: Failed to start RT ucode: -110
[    9.331465] iwlwifi 0000:00:14.3: WRT: Collecting data: ini trigger 13 fired (delay=0ms).
[   10.578895] iwlwifi 0000:00:14.3: WRT: Collecting data: ini trigger 4 fired (delay=0ms).
[   10.608574] iwlwifi 0000:00:14.3: Failed to run INIT ucode: -110

iwlwifi Loaded firmware version: 77.ad46c98b.0 QuZ-a0-hr-b0-77.ucode

lspci output

$ lspci -nnk | grep -A3 Network
00:14.3 Network controller [0280]: Intel Corporation Comet Lake PCH CNVi WiFi [8086:06f0]
    DeviceName: Onboard - Ethernet
    Subsystem: Intel Corporation Dual Band Wi-Fi 6(802.11ax) AX201 160MHz 2x2 [Harrison Peak] [8086:0074]
    Kernel driver in use: iwlwifi
t

Below is the full relevant extract from dmesg.

[    6.002906] iwlwifi 0000:00:14.3: SecBoot CPU1 Status: 0x5853, CPU2 Status: 0x3
[    6.002934] iwlwifi 0000:00:14.3: WFPM_LMAC1_PD_NOTIFICATION: 0x0
[    6.002944] iwlwifi 0000:00:14.3: HPM_SECONDARY_DEVICE_STATE: 0x42
[    6.002954] iwlwifi 0000:00:14.3: WFPM_MAC_OTP_CFG7_ADDR: 0x0
[    6.002964] iwlwifi 0000:00:14.3: WFPM_MAC_OTP_CFG7_DATA: 0x0
[    6.002965] iwlwifi 0000:00:14.3: UMAC CURRENT PC: 0xa05c18
[    6.002966] iwlwifi 0000:00:14.3: LMAC1 CURRENT PC: 0xa05c1c
[    6.002967] iwlwifi 0000:00:14.3: WRT: Collecting data: ini trigger 13 fired (delay=0ms).
[    6.003109] iwlwifi 0000:00:14.3: Start IWL Error Log Dump:
[    6.003110] iwlwifi 0000:00:14.3: Transport status: 0x00000042, valid: 6
[    6.003111] iwlwifi 0000:00:14.3: Loaded firmware version: 77.ad46c98b.0 QuZ-a0-hr-b0-77.ucode
[    6.003113] iwlwifi 0000:00:14.3: 0x00000034 | NMI_INTERRUPT_WDG           
[    6.003114] iwlwifi 0000:00:14.3: 0x000022F0 | trm_hw_status0
[    6.003115] iwlwifi 0000:00:14.3: 0x00000000 | trm_hw_status1
[    6.003116] iwlwifi 0000:00:14.3: 0x004C938E | branchlink2
[    6.003117] iwlwifi 0000:00:14.3: 0x00015300 | interruptlink1
[    6.003118] iwlwifi 0000:00:14.3: 0x00015300 | interruptlink2
[    6.003119] iwlwifi 0000:00:14.3: 0x00014EAE | data1
[    6.003120] iwlwifi 0000:00:14.3: 0x0BADCAFE | data2
[    6.003121] iwlwifi 0000:00:14.3: 0x00000000 | data3
[    6.003122] iwlwifi 0000:00:14.3: 0x00000000 | beacon time
[    6.003123] iwlwifi 0000:00:14.3: 0x00000000 | tsf low
[    6.003123] iwlwifi 0000:00:14.3: 0x00000000 | tsf hi
[    6.003124] iwlwifi 0000:00:14.3: 0x00000000 | time gp1
[    6.003125] iwlwifi 0000:00:14.3: 0x0003D613 | time gp2
[    6.003126] iwlwifi 0000:00:14.3: 0x00000001 | uCode revision type
[    6.003127] iwlwifi 0000:00:14.3: 0x0000004D | uCode version major
[    6.003128] iwlwifi 0000:00:14.3: 0xAD46C98B | uCode version minor
[    6.003129] iwlwifi 0000:00:14.3: 0x00000351 | hw version
[    6.003130] iwlwifi 0000:00:14.3: 0x00C89001 | board version
[    6.003131] iwlwifi 0000:00:14.3: 0x00000000 | hcmd
[    6.003132] iwlwifi 0000:00:14.3: 0x00020000 | isr0
[    6.003133] iwlwifi 0000:00:14.3: 0x00000000 | isr1
[    6.003134] iwlwifi 0000:00:14.3: 0x08F00002 | isr2
[    6.003135] iwlwifi 0000:00:14.3: 0x00C0001C | isr3
[    6.003135] iwlwifi 0000:00:14.3: 0x00000000 | isr4
[    6.003136] iwlwifi 0000:00:14.3: 0x00000000 | last cmd Id
[    6.003137] iwlwifi 0000:00:14.3: 0x00014EAE | wait_event
[    6.003138] iwlwifi 0000:00:14.3: 0x00000000 | l2p_control
[    6.003139] iwlwifi 0000:00:14.3: 0x00000000 | l2p_duration
[    6.003140] iwlwifi 0000:00:14.3: 0x00000000 | l2p_mhvalid
[    6.003141] iwlwifi 0000:00:14.3: 0x00000000 | l2p_addr_match
[    6.003142] iwlwifi 0000:00:14.3: 0x0000004B | lmpm_pmg_sel
[    6.003142] iwlwifi 0000:00:14.3: 0x00000000 | timestamp
[    6.003143] iwlwifi 0000:00:14.3: 0x0000F81C | flow_handler
[    6.003191] iwlwifi 0000:00:14.3: Start IWL Error Log Dump:
[    6.003191] iwlwifi 0000:00:14.3: Transport status: 0x00000042, valid: 7
[    6.003193] iwlwifi 0000:00:14.3: 0x20000070 | NMI_INTERRUPT_LMAC_FATAL
[    6.003194] iwlwifi 0000:00:14.3: 0x00000000 | umac branchlink1
[    6.003195] iwlwifi 0000:00:14.3: 0x804561E2 | umac branchlink2
[    6.003196] iwlwifi 0000:00:14.3: 0x8047348E | umac interruptlink1
[    6.003196] iwlwifi 0000:00:14.3: 0xC0081548 | umac interruptlink2
[    6.003197] iwlwifi 0000:00:14.3: 0x00000400 | umac data1
[    6.003198] iwlwifi 0000:00:14.3: 0xC0081548 | umac data2
[    6.003199] iwlwifi 0000:00:14.3: 0x00000000 | umac data3
[    6.003200] iwlwifi 0000:00:14.3: 0x0000004D | umac major
[    6.003201] iwlwifi 0000:00:14.3: 0xAD46C98B | umac minor
[    6.003202] iwlwifi 0000:00:14.3: 0x0003D68B | frame pointer
[    6.003203] iwlwifi 0000:00:14.3: 0xC0887EE0 | stack pointer
[    6.003204] iwlwifi 0000:00:14.3: 0x00000000 | last host cmd
[    6.003205] iwlwifi 0000:00:14.3: 0x00200040 | isr status reg
[    6.003226] iwlwifi 0000:00:14.3: IML/ROM dump:
[    6.003226] iwlwifi 0000:00:14.3: 0x00000003 | IML/ROM error/state
[    6.003236] iwlwifi 0000:00:14.3: 0x00005853 | IML/ROM data1
[    6.003245] iwlwifi 0000:00:14.3: 0x00000080 | IML/ROM WFPM_AUTH_KEY_0
[    6.003251] iwlwifi 0000:00:14.3: Fseq Registers:
[    6.003253] iwlwifi 0000:00:14.3: 0x60000041 | FSEQ_ERROR_CODE
[    6.003255] iwlwifi 0000:00:14.3: 0x00290033 | FSEQ_TOP_INIT_VERSION
[    6.003258] iwlwifi 0000:00:14.3: 0x00090006 | FSEQ_CNVIO_INIT_VERSION
[    6.003260] iwlwifi 0000:00:14.3: 0x0000A481 | FSEQ_OTP_VERSION
[    6.003263] iwlwifi 0000:00:14.3: 0x00000003 | FSEQ_TOP_CONTENT_VERSION
[    6.003265] iwlwifi 0000:00:14.3: 0x4552414E | FSEQ_ALIVE_TOKEN
[    6.003268] iwlwifi 0000:00:14.3: 0x20000302 | FSEQ_CNVI_ID
[    6.003271] iwlwifi 0000:00:14.3: 0x01300504 | FSEQ_CNVR_ID
[    6.003273] iwlwifi 0000:00:14.3: 0x20000302 | CNVI_AUX_MISC_CHIP
[    6.003278] iwlwifi 0000:00:14.3: 0x01300504 | CNVR_AUX_MISC_CHIP
[    6.003284] iwlwifi 0000:00:14.3: 0x05B0905B | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
[    6.003307] iwlwifi 0000:00:14.3: 0x0000025B | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
[    6.003327] iwlwifi 0000:00:14.3: 0x00000000 | FSEQ_PREV_CNVIO_INIT_VERSION
[    6.003329] iwlwifi 0000:00:14.3: 0x00290033 | FSEQ_WIFI_FSEQ_VERSION
[    6.003331] iwlwifi 0000:00:14.3: 0x00290033 | FSEQ_BT_FSEQ_VERSION
[    6.003334] iwlwifi 0000:00:14.3: 0x00000000 | FSEQ_CLASS_TP_VERSION
[    6.003343] iwlwifi 0000:00:14.3: UMAC CURRENT PC: 0x80472fa4
[    6.003364] iwlwifi 0000:00:14.3: LMAC1 CURRENT PC: 0xd0
[    6.003367] iwlwifi 0000:00:14.3: Failed to start RT ucode: -110
[    6.003368] iwlwifi 0000:00:14.3: WRT: Collecting data: ini trigger 13 fired (delay=0ms).
[    6.112432] nvidia_uvm: module uses symbols nvUvmInterfaceDisableAccessCntr from proprietary module nvidia, inheriting taint.
[    6.647753] psmouse serio1: Failed to deactivate mouse on isa0060/serio1: -71
[    6.746869] psmouse serio1: Failed to enable mouse on isa0060/serio1
[    7.258556] iwlwifi 0000:00:14.3: WRT: Collecting data: ini trigger 4 fired (delay=0ms).
[    7.286880] iwlwifi 0000:00:14.3: Failed to run INIT ucode: -110
[    7.299003] iwlwifi 0000:00:14.3: retry init count 0
[    7.535535] kauditd_printk_skb: 179 callbacks suppressed
[    7.535538] audit: type=1400 audit(1753249177.382:190): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="rsyslogd" pid=1411 comm="apparmor_parser"
[    7.567922] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    7.567925] Bluetooth: BNEP filters: protocol multicast
[    7.567928] Bluetooth: BNEP socket layer initialized
[    7.568869] Bluetooth: MGMT ver 1.23
[    7.573671] NET: Registered PF_ALG protocol family
[    7.615598] nvme nvme0: using unchecked data buffer
[    7.705781] NET: Registered PF_QIPCRTR protocol family
[    7.869429] input: PS/2 Generic Mouse as /devices/platform/i8042/serio1/input/input6
[    7.935440] psmouse serio1: Failed to enable mouse on isa0060/serio1
[    9.330919] iwlwifi 0000:00:14.3: SecBoot CPU1 Status: 0x58a2, CPU2 Status: 0x3
[    9.330969] iwlwifi 0000:00:14.3: WFPM_LMAC1_PD_NOTIFICATION: 0x0
[    9.330979] iwlwifi 0000:00:14.3: HPM_SECONDARY_DEVICE_STATE: 0x42
[    9.330988] iwlwifi 0000:00:14.3: WFPM_MAC_OTP_CFG7_ADDR: 0x0
[    9.330998] iwlwifi 0000:00:14.3: WFPM_MAC_OTP_CFG7_DATA: 0x0
[    9.330999] iwlwifi 0000:00:14.3: UMAC CURRENT PC: 0xa05c18
[    9.331000] iwlwifi 0000:00:14.3: LMAC1 CURRENT PC: 0xa05c1c
[    9.331002] iwlwifi 0000:00:14.3: WRT: Collecting data: ini trigger 13 fired (delay=0ms).
[    9.331169] iwlwifi 0000:00:14.3: Start IWL Error Log Dump:
[    9.331170] iwlwifi 0000:00:14.3: Transport status: 0x00000042, valid: 6
[    9.331171] iwlwifi 0000:00:14.3: Loaded firmware version: 77.ad46c98b.0 QuZ-a0-hr-b0-77.ucode
[    9.331173] iwlwifi 0000:00:14.3: 0x00000034 | NMI_INTERRUPT_WDG           
[    9.331174] iwlwifi 0000:00:14.3: 0x000022F0 | trm_hw_status0
[    9.331175] iwlwifi 0000:00:14.3: 0x00000000 | trm_hw_status1
[    9.331176] iwlwifi 0000:00:14.3: 0x004C938E | branchlink2
[    9.331177] iwlwifi 0000:00:14.3: 0x00015300 | interruptlink1
[    9.331178] iwlwifi 0000:00:14.3: 0x00015300 | interruptlink2
[    9.331179] iwlwifi 0000:00:14.3: 0x00014EAE | data1
[    9.331180] iwlwifi 0000:00:14.3: 0x0BADCAFE | data2
[    9.331181] iwlwifi 0000:00:14.3: 0x00000000 | data3
[    9.331182] iwlwifi 0000:00:14.3: 0x00000000 | beacon time
[    9.331183] iwlwifi 0000:00:14.3: 0x00000000 | tsf low
[    9.331184] iwlwifi 0000:00:14.3: 0x00000000 | tsf hi
[    9.331185] iwlwifi 0000:00:14.3: 0x00000000 | time gp1
[    9.331186] iwlwifi 0000:00:14.3: 0x0003D561 | time gp2
[    9.331187] iwlwifi 0000:00:14.3: 0x00000001 | uCode revision type
[    9.331188] iwlwifi 0000:00:14.3: 0x0000004D | uCode version major
[    9.331188] iwlwifi 0000:00:14.3: 0xAD46C98B | uCode version minor
[    9.331189] iwlwifi 0000:00:14.3: 0x00000351 | hw version
[    9.331190] iwlwifi 0000:00:14.3: 0x18C89001 | board version
[    9.331191] iwlwifi 0000:00:14.3: 0x00000000 | hcmd
[    9.331192] iwlwifi 0000:00:14.3: 0x00020000 | isr0
[    9.331193] iwlwifi 0000:00:14.3: 0x00000000 | isr1
[    9.331194] iwlwifi 0000:00:14.3: 0x08F00002 | isr2
[    9.331195] iwlwifi 0000:00:14.3: 0x00C0001C | isr3
[    9.331196] iwlwifi 0000:00:14.3: 0x00000000 | isr4
[    9.331197] iwlwifi 0000:00:14.3: 0x00000000 | last cmd Id
[    9.331198] iwlwifi 0000:00:14.3: 0x00014EAE | wait_event
[    9.331198] iwlwifi 0000:00:14.3: 0x00000000 | l2p_control
[    9.331199] iwlwifi 0000:00:14.3: 0x00000000 | l2p_duration
[    9.331200] iwlwifi 0000:00:14.3: 0x00000000 | l2p_mhvalid
[    9.331201] iwlwifi 0000:00:14.3: 0x00000000 | l2p_addr_match
[    9.331202] iwlwifi 0000:00:14.3: 0x0000004B | lmpm_pmg_sel
[    9.331203] iwlwifi 0000:00:14.3: 0x00000000 | timestamp
[    9.331204] iwlwifi 0000:00:14.3: 0x0000F81C | flow_handler
[    9.331251] iwlwifi 0000:00:14.3: Start IWL Error Log Dump:
[    9.331252] iwlwifi 0000:00:14.3: Transport status: 0x00000042, valid: 7
[    9.331253] iwlwifi 0000:00:14.3: 0x20000070 | NMI_INTERRUPT_LMAC_FATAL
[    9.331254] iwlwifi 0000:00:14.3: 0x00000000 | umac branchlink1
[    9.331255] iwlwifi 0000:00:14.3: 0x804561E2 | umac branchlink2
[    9.331256] iwlwifi 0000:00:14.3: 0x8047348E | umac interruptlink1
[    9.331257] iwlwifi 0000:00:14.3: 0x804563A0 | umac interruptlink2
[    9.331258] iwlwifi 0000:00:14.3: 0x00000400 | umac data1
[    9.331259] iwlwifi 0000:00:14.3: 0x804563A0 | umac data2
[    9.331260] iwlwifi 0000:00:14.3: 0x00000000 | umac data3
[    9.331261] iwlwifi 0000:00:14.3: 0x0000004D | umac major
[    9.331261] iwlwifi 0000:00:14.3: 0xAD46C98B | umac minor
[    9.331262] iwlwifi 0000:00:14.3: 0x0003D5DA | frame pointer
[    9.331263] iwlwifi 0000:00:14.3: 0xC0887ED0 | stack pointer
[    9.331264] iwlwifi 0000:00:14.3: 0x00000000 | last host cmd
[    9.331265] iwlwifi 0000:00:14.3: 0x00200040 | isr status reg
[    9.331287] iwlwifi 0000:00:14.3: IML/ROM dump:
[    9.331288] iwlwifi 0000:00:14.3: 0x00000003 | IML/ROM error/state
[    9.331297] iwlwifi 0000:00:14.3: 0x000058A2 | IML/ROM data1
[    9.331306] iwlwifi 0000:00:14.3: 0x00000080 | IML/ROM WFPM_AUTH_KEY_0
[    9.331312] iwlwifi 0000:00:14.3: Fseq Registers:
[    9.331314] iwlwifi 0000:00:14.3: 0x60000000 | FSEQ_ERROR_CODE
[    9.331316] iwlwifi 0000:00:14.3: 0x80290033 | FSEQ_TOP_INIT_VERSION
[    9.331320] iwlwifi 0000:00:14.3: 0x00090006 | FSEQ_CNVIO_INIT_VERSION
[    9.331340] iwlwifi 0000:00:14.3: 0x0000A481 | FSEQ_OTP_VERSION
[    9.331343] iwlwifi 0000:00:14.3: 0x00000003 | FSEQ_TOP_CONTENT_VERSION
[    9.331345] iwlwifi 0000:00:14.3: 0x4552414E | FSEQ_ALIVE_TOKEN
[    9.331347] iwlwifi 0000:00:14.3: 0x20000302 | FSEQ_CNVI_ID
[    9.331350] iwlwifi 0000:00:14.3: 0x01300504 | FSEQ_CNVR_ID
[    9.331352] iwlwifi 0000:00:14.3: 0x20000302 | CNVI_AUX_MISC_CHIP
[    9.331358] iwlwifi 0000:00:14.3: 0x01300504 | CNVR_AUX_MISC_CHIP
[    9.331380] iwlwifi 0000:00:14.3: 0x05B0905B | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
[    9.331403] iwlwifi 0000:00:14.3: 0x0000025B | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
[    9.331424] iwlwifi 0000:00:14.3: 0x00090006 | FSEQ_PREV_CNVIO_INIT_VERSION
[    9.331426] iwlwifi 0000:00:14.3: 0x00290033 | FSEQ_WIFI_FSEQ_VERSION
[    9.331428] iwlwifi 0000:00:14.3: 0x00290033 | FSEQ_BT_FSEQ_VERSION
[    9.331431] iwlwifi 0000:00:14.3: 0x000000C8 | FSEQ_CLASS_TP_VERSION
[    9.331440] iwlwifi 0000:00:14.3: UMAC CURRENT PC: 0x80472fa4
[    9.331460] iwlwifi 0000:00:14.3: LMAC1 CURRENT PC: 0xd0
[    9.331463] iwlwifi 0000:00:14.3: Failed to start RT ucode: -110
[    9.331465] iwlwifi 0000:00:14.3: WRT: Collecting data: ini trigger 13 fired (delay=0ms).
[   10.578895] iwlwifi 0000:00:14.3: WRT: Collecting data: ini trigger 4 fired (delay=0ms).
[   10.608574] iwlwifi 0000:00:14.3: Failed to run INIT ucode: -110
[   10.620899] iwlwifi 0000:00:14.3: retry init count 1
[   12.658916] iwlwifi 0000:00:14.3: SecBoot CPU1 Status: 0x5754, CPU2 Status: 0x3
[   12.658944] iwlwifi 0000:00:14.3: WFPM_LMAC1_PD_NOTIFICATION: 0x0
[   12.658954] iwlwifi 0000:00:14.3: HPM_SECONDARY_DEVICE_STATE: 0x42
[   12.658964] iwlwifi 0000:00:14.3: WFPM_MAC_OTP_CFG7_ADDR: 0x0
[   12.658973] iwlwifi 0000:00:14.3: WFPM_MAC_OTP_CFG7_DATA: 0x0
[   12.658975] iwlwifi 0000:00:14.3: UMAC CURRENT PC: 0xa05c18
[   12.658976] iwlwifi 0000:00:14.3: LMAC1 CURRENT PC: 0xa05c1c
[   12.658977] iwlwifi 0000:00:14.3: WRT: Collecting data: ini trigger 13 fired (delay=0ms).
[   12.659086] iwlwifi 0000:00:14.3: Start IWL Error Log Dump:
[   12.659087] iwlwifi 0000:00:14.3: Transport status: 0x00000042, valid: 6
[   12.659089] iwlwifi 0000:00:14.3: Loaded firmware version: 77.ad46c98b.0 QuZ-a0-hr-b0-77.ucode
[   12.659090] iwlwifi 0000:00:14.3: 0x00000034 | NMI_INTERRUPT_WDG           
[   12.659092] iwlwifi 0000:00:14.3: 0x000022F0 | trm_hw_status0
[   12.659093] iwlwifi 0000:00:14.3: 0x00000000 | trm_hw_status1
[   12.659094] iwlwifi 0000:00:14.3: 0x004C938E | branchlink2
[   12.659095] iwlwifi 0000:00:14.3: 0x00015300 | interruptlink1
[   12.659096] iwlwifi 0000:00:14.3: 0x00015300 | interruptlink2
[   12.659097] iwlwifi 0000:00:14.3: 0x00014EAE | data1
[   12.659098] iwlwifi 0000:00:14.3: 0x0BADCAFE | data2
[   12.659099] iwlwifi 0000:00:14.3: 0x00000000 | data3
[   12.659100] iwlwifi 0000:00:14.3: 0x00000000 | beacon time
[   12.659101] iwlwifi 0000:00:14.3: 0x00000000 | tsf low
[   12.659102] iwlwifi 0000:00:14.3: 0x00000000 | tsf hi
[   12.659102] iwlwifi 0000:00:14.3: 0x00000000 | time gp1
[   12.659103] iwlwifi 0000:00:14.3: 0x0003D3A4 | time gp2
[   12.659104] iwlwifi 0000:00:14.3: 0x00000001 | uCode revision type
[   12.659105] iwlwifi 0000:00:14.3: 0x0000004D | uCode version major
[   12.659106] iwlwifi 0000:00:14.3: 0xAD46C98B | uCode version minor
[   12.659107] iwlwifi 0000:00:14.3: 0x00000351 | hw version
[   12.659108] iwlwifi 0000:00:14.3: 0x18C89001 | board version
[   12.659109] iwlwifi 0000:00:14.3: 0x00000000 | hcmd
[   12.659110] iwlwifi 0000:00:14.3: 0x00020000 | isr0
[   12.659111] iwlwifi 0000:00:14.3: 0x00000000 | isr1
[   12.659112] iwlwifi 0000:00:14.3: 0x08F00002 | isr2
[   12.659113] iwlwifi 0000:00:14.3: 0x00C0001C | isr3
[   12.659114] iwlwifi 0000:00:14.3: 0x00000000 | isr4
[   12.659115] iwlwifi 0000:00:14.3: 0x00000000 | last cmd Id
[   12.659116] iwlwifi 0000:00:14.3: 0x00014EAE | wait_event
[   12.659117] iwlwifi 0000:00:14.3: 0x00000000 | l2p_control
[   12.659118] iwlwifi 0000:00:14.3: 0x00000000 | l2p_duration
[   12.659119] iwlwifi 0000:00:14.3: 0x00000000 | l2p_mhvalid
[   12.659120] iwlwifi 0000:00:14.3: 0x00000000 | l2p_addr_match
[   12.659121] iwlwifi 0000:00:14.3: 0x0000004B | lmpm_pmg_sel
[   12.659122] iwlwifi 0000:00:14.3: 0x00000000 | timestamp
[   12.659122] iwlwifi 0000:00:14.3: 0x0000F81C | flow_handler
[   12.659173] iwlwifi 0000:00:14.3: Start IWL Error Log Dump:
[   12.659174] iwlwifi 0000:00:14.3: Transport status: 0x00000042, valid: 7
[   12.659175] iwlwifi 0000:00:14.3: 0x20000070 | NMI_INTERRUPT_LMAC_FATAL
[   12.659176] iwlwifi 0000:00:14.3: 0x00000000 | umac branchlink1
[   12.659177] iwlwifi 0000:00:14.3: 0x804561E2 | umac branchlink2
[   12.659178] iwlwifi 0000:00:14.3: 0x8047348E | umac interruptlink1
[   12.659179] iwlwifi 0000:00:14.3: 0xC0081598 | umac interruptlink2
[   12.659180] iwlwifi 0000:00:14.3: 0x00000400 | umac data1
[   12.659181] iwlwifi 0000:00:14.3: 0xC0081598 | umac data2
[   12.659182] iwlwifi 0000:00:14.3: 0x00000000 | umac data3
[   12.659183] iwlwifi 0000:00:14.3: 0x0000004D | umac major
[   12.659184] iwlwifi 0000:00:14.3: 0xAD46C98B | umac minor
[   12.659185] iwlwifi 0000:00:14.3: 0x0003D41D | frame pointer
[   12.659186] iwlwifi 0000:00:14.3: 0xC0887ECC | stack pointer
[   12.659186] iwlwifi 0000:00:14.3: 0x00000000 | last host cmd
[   12.659187] iwlwifi 0000:00:14.3: 0x00200040 | isr status reg
[   12.659207] iwlwifi 0000:00:14.3: IML/ROM dump:
[   12.659208] iwlwifi 0000:00:14.3: 0x00000003 | IML/ROM error/state
[   12.659217] iwlwifi 0000:00:14.3: 0x00005754 | IML/ROM data1
[   12.659227] iwlwifi 0000:00:14.3: 0x00000080 | IML/ROM WFPM_AUTH_KEY_0
[   12.659232] iwlwifi 0000:00:14.3: Fseq Registers:
[   12.659236] iwlwifi 0000:00:14.3: 0x60000000 | FSEQ_ERROR_CODE
[   12.659256] iwlwifi 0000:00:14.3: 0x80290033 | FSEQ_TOP_INIT_VERSION
[   12.659260] iwlwifi 0000:00:14.3: 0x00090006 | FSEQ_CNVIO_INIT_VERSION
[   12.659280] iwlwifi 0000:00:14.3: 0x0000A481 | FSEQ_OTP_VERSION
[   12.659283] iwlwifi 0000:00:14.3: 0x00000003 | FSEQ_TOP_CONTENT_VERSION
[   12.659285] iwlwifi 0000:00:14.3: 0x4552414E | FSEQ_ALIVE_TOKEN
[   12.659288] iwlwifi 0000:00:14.3: 0x20000302 | FSEQ_CNVI_ID
[   12.659291] iwlwifi 0000:00:14.3: 0x01300504 | FSEQ_CNVR_ID
[   12.659293] iwlwifi 0000:00:14.3: 0x20000302 | CNVI_AUX_MISC_CHIP
[   12.659298] iwlwifi 0000:00:14.3: 0x01300504 | CNVR_AUX_MISC_CHIP
[   12.659321] iwlwifi 0000:00:14.3: 0x05B0905B | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
[   12.659343] iwlwifi 0000:00:14.3: 0x0000025B | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
[   12.659364] iwlwifi 0000:00:14.3: 0x00090006 | FSEQ_PREV_CNVIO_INIT_VERSION
[   12.659367] iwlwifi 0000:00:14.3: 0x00290033 | FSEQ_WIFI_FSEQ_VERSION
[   12.659369] iwlwifi 0000:00:14.3: 0x00290033 | FSEQ_BT_FSEQ_VERSION
[   12.659372] iwlwifi 0000:00:14.3: 0x000000C8 | FSEQ_CLASS_TP_VERSION
[   12.659381] iwlwifi 0000:00:14.3: UMAC CURRENT PC: 0x80472fa4
[   12.659402] iwlwifi 0000:00:14.3: LMAC1 CURRENT PC: 0xd0
[   12.659405] iwlwifi 0000:00:14.3: Failed to start RT ucode: -110
[   12.659406] iwlwifi 0000:00:14.3: WRT: Collecting data: ini trigger 13 fired (delay=0ms).
[   13.863470] iwlwifi 0000:00:14.3: WRT: Collecting data: ini trigger 4 fired (delay=0ms).
[   13.892036] iwlwifi 0000:00:14.3: Failed to run INIT ucode: -110
[   13.903911] iwlwifi 0000:00:14.3: retry init count 2
How can I enable PMU driver in a LXD VM to get hardware events with perf https://askubuntu.com/questions/1528172/how-can-i-enable-pmu-driver-in-a-lxd-vm-to-get-hardware-events-with-perf

I run lxd 6.1 on an Intel i9-1390. On the host I can run perf and get all the hardware events. In the VM I can run perf but do not the hardware events.

The command line has the -cpu host,hv_passthrough set.

 701512 ?        Sl    13:41 /snap/lxd/30130/bin/qemu-system-x86_64 -S -name c0-rl -uuid 49ba3cce-de29-43ca-8400-4f1ded88a55d -daemonize -cpu host,hv_passthrough -nographic -serial chardev:console -nodefaults -no-user-config -sandbox on,obsolete=deny,elevateprivileges=allow,spawn=allow,resourcecontrol=deny -readconfig /var/snap/lxd/common/lxd/logs/xxx/qemu.conf -spice unix=on,disable-ticketing=on,addr=/var/snap/lxd/common/lxd/logs/xxx/qemu.spice -pidfile /var/snap/lxd/common/lxd/logs/xxx/qemu.pid -D /var/snap/lxd/common/lxd/logs/xxx/qemu.log -smbios type=2,manufacturer=Canonical Ltd.,product=LXD -runas lxd -bios /var/lib/snapd/hostfs/usr/share/seabios/bios-256k.bin

dmesg on the VM shows:

[    0.223566] Performance Events: unsupported p6 CPU model 183 no PMU driver, software events only.

perf on the VM shows:

root@rlsdwan-vnf:~# perf stat sleep 1

Performance counter stats for 'sleep 1':

          0.84 msec task-clock                #    0.001 CPUs utilized          
             1      context-switches          #    1.188 K/sec                  
             1      cpu-migrations            #    1.188 K/sec                  
            80      page-faults               #   95.079 K/sec                  
  <not supported>      cycles                                                      
  <not supported>      instructions                                                
  <not supported>      branches                                                    
  <not supported>      branch-misses                                               

   1.001526172 seconds time elapsed

   0.001466000 seconds user
   0.000000000 seconds sys

On the host I get the not supported values.

Can anybody help?

Andreas

How to fix black screen(background) by RDP remote(Remmina) From 20.04.4 LTS to windows server 2016 https://askubuntu.com/questions/1440287/how-to-fix-black-screenbackground-by-rdp-remoteremmina-from-20-04-4-lts-to-w

I am getting this error on the Windows 2016 server: "Your background is currently turned off by the remote desktop connection. How can I fix it?"

How to set up ubuntu server 22.04 minimal networking? https://askubuntu.com/questions/1407463/how-to-set-up-ubuntu-server-22-04-minimal-networking

And I know the title seems like dumb, But after some try I think I get into struggle with ubuntu server 22.04 minimal install:

When installing and first boot up, Everything working fine, But soon I notice there is no iproute2 installed. After install I reboot the system.

After reboot. Network is gone. Yes, gone.

I manually using iproute2 to config networking:

PS: ip is fake

ip link set dev ens160 up
ip address add dev ens160 10.0.0.50/24
ip route add 10.0.0.1 dev ens160
ip route add default via 10.0.0.1

Then

ping 1.1.1.1

Oh, come on. Ping is not even installed. Then I try to apt update but get an working 0% failed.

Question: How to config network in ubuntu server 22.04 ?

Should I just install netplan when first boot ?

Edit1: Something wired happend,I create another VM and do same install process, Ping and IPRouter2 netplan exist after install. And no matter how reboot , netplan will handle the networking

I can't reproduce this behiver again

Fail to connect to WSL2 via ssh https://askubuntu.com/questions/1392624/fail-to-connect-to-wsl2-via-ssh

I have managed to connect to WSL2(win11) once on my MacBook. Then I restart windows machine to test ssh connection. But in this time, it fails, reporting kex_exchange_identification: read: Connection reset by peer

I've already added sshd: ALL in WSL and restart ssh service. But I still cannot connect to WSL. What can I do?

Where to copy autoinstall.yaml file in iso image in Ubuntu 20.04 for auto installation https://askubuntu.com/questions/1314705/where-to-copy-autoinstall-yaml-file-in-iso-image-in-ubuntu-20-04-for-auto-instal

I am trying to do an unattended install of Ubuntu 20.04. I am mounting the ISO image from the root directory. I am updating the grubfile under /etc/grub.d/40_custom to update the boot loader. So when I reboot, I get the installer menu and I could go till the language and other selection.

But it is failing at block probing as the mounted partition of the ISO image is still not unmounted.

Installation goes fine if I manually unmount the partition by the below command. #losetup -d /dev/loop0 #umount -lfd /isodevice

I want this command to be executed before I do anything in the new installation.

So I found this link, https://ubuntu.com/server/docs/install/autoinstall-reference

I am adding early commands in /autoinstall.yaml the iso file but it's not reflected in the booted file structure.

So Where can I place this autoinstall.yaml file in ISO image and how to make the early commands gets executed.

Ubuntu 20.04 "Oh No! Something has gone wrong and the system can't recover" error on login https://askubuntu.com/questions/1268860/ubuntu-20-04-oh-no-something-has-gone-wrong-and-the-system-cant-recover-erro

I've been using Ubuntu 20.04 for several days and then at one point when I tried to login I was met with a "Oh No! Something has gone wrong and the system can't recover. Please log out and try again." message and if I clicked it, it sent me back to the login screen. In addition to this screen I also had access to my terminal, I think because I have it setup to open on login. Rebooting did not help.

I'm a noob to linux so I'm going to list everything I tried even if some of it isn't relevant. Sorry for the long post.

The only "big" thing I remember doing before I logged out/ shutdown my computer before I started getting these messages was I installed this vim plugin to enable opencl syntax highlighting by git cloning it in ~/.vim/pack/plugins/start the syntax highlighting was working fine before I logged out. I was able to remove the ~/.vim/ and ~/.vimrc files from my home directory but it did not help.

Then I tried this solution by doing

sudo apt update && sudo apt dist-upgrade
sudo apt clean && sudo apt autoremove && sudo reboot

It worked without any problems but I still could not login.

I had installed rocm opencl previously by following this installation guide, and it was working fine, but I thought maybe this could be causing some problems for some reason, so I uninstalled it from the same guide. Some of the directories weren't removed because they had stuff in them so i manually removed the last few directories in /opt/rocm so now my /opt directory is empty. This still did not fix my problem.

From this post I found out that maybe logging in as a different user could work. So I created a new test user and logged in and it worked! I think this means that my problem is with my main user configuration and not with my system but idk. From this test user I su - main to my main account and tried to reinstall gnome following this post, because I read somewhere that this might help so first I did:

sudo dpkg-reconfigure gnome-shell

which still gave me the error message on my main user account when I tried logging in, so then I tried:

sudo apt remove gnome-shell
sudo apt install gnome-shell

This still did not fix my issue when I tried logging in with my main account but now when I log in with my test account the dock on the left side is hidden by default, and I can only access it with the windows key or by pressing activities in the top left. I made a test2 account to see what would happen and again the dock was hidden. I am currently writing this from my test2 account.

The next thing I was going to try was to remove configuration files in my main account and see what happens but I'm not sure what I should remove and how to do this safely and if this is even a good idea at all.

I am not opposed to backing up my files and reinstalling ubuntu because I have only been using it for a few days and I need to reinstall rocm opencl again either way. However, I would still like to know what happened and if there is a way to fix it so that this doesn't happen again (and if it does so I know how to fix it) when I would be more opposed to reinstalling ubuntu in the future.

Sorry for the long post, I really appreciate you taking the time to read it.

Edit: I decided to just create a new admin account and remove my old one and reconfigure everything. So far there have been no login issues or anything. I was also able to get the dock to appear again by doing: sudo apt install gnome-shell-extension-ubuntu-dock Thanks for all your help everyone I couldn't have done it without you!

Can't boot after changing RAM https://askubuntu.com/questions/1245330/cant-boot-after-changing-ram

I tried to add another 4 GB RAM to my machine, but it failed to start so I decided to keep my already working RAM and removing the new one, but the same problem occurs. The problem which I am referring to is just prompting without any clue after Lenovo startup.

Someone suggested to test RAM using MemTest86. It simple ran 4 tests and all passed.

I've attached a screenshot for the state after starting my machine.

enter image description here

Can't boot into Ubuntu 19.10 unless using sudo mount -o remount,rw / https://askubuntu.com/questions/1226178/cant-boot-into-ubuntu-19-10-unless-using-sudo-mount-o-remount-rw

I was trying to set some mount for SFTP, in the process.

I think I messed up the fstab accidentally.

Now on reboot, it boots into recovery, and using

mount -o remount,rw /

can let me boot into the desktop.

I undo the edits for my mounts but unfortunately, I don't have backup of fstab. I tried a different fstab, e.g.: change to UUID, different directories etc., but I still haven't got a clue.

What could be the problem?

My fstab:

LABEL=system-boot /boot vfat defaults 0 1
LABEL=ssd /media/ubuntu/ssd auto nosuid,nodev,nofail,noauto,x-gvfs-show 0 0

Results of running sudo mount -o remount,rw / (starting at line 10) on reboot:

Ubuntu 19.10 ubuntu tty1

ubuntu login: ubuntu
Password:
Unable to setup logging. [Errno 30] Read-only file system: '/var/log/landscape/sysinfo.log'
run-parts: /etc/update-motd.d/50-landscape-sysinfo exited with return code 1
mktemp: failed to create file via template '/var/lib/update-notifier/tmp.XXXXXXXXXX': Read-only file system
run-parts: /etc/update-motd.d/95-hwe-eol exited with return code 1
/usr/lib/update-notifier/update-motd-fsck-at-reboot: 38: cannot create /var/lib/update-notifier/fsck-at-reboot: Read-only file system
ubuntu@ubuntu:~$ sudo mount -o remount,rw / 
[  250.787472] cloud-init[1839]: Traceback (most recent call last):
[  250.788150] cloud-init[1839]:   File "/usr/bin/cloud-init", line 11, in <module>
[  250.788785] cloud-init[1839]:     load_entry_point('cloud-init==19.4', 'console_scripts', 'cloud-init')()
[  250.789356] cloud-init[1839]:   File "/usr/lib/python3/dist-packages/cloudinit/cmd/main.py", line 893, in main
[  250.789908] cloud-init[1839]:     get_uptime=True, func=functor, args=(name, args))
[  250.790478] cloud-init[1839]:   File "/usr/lib/python3/dist-packages/cloudinit/util.py", line 2558, in log_time
[  250.791031] cloud-init[1839]:     ret = func(*args, **kwargs)
[  250.791478] cloud-init[1839]:   File "/usr/lib/python3/dist-packages/cloudinit/cmd/main.py", line 600, in status_wrapper
[  250.791938] cloud-init[1839]:     util.ensure_dirs((data_d, link_d,))
[  250.792446] cloud-init[1839]:   File "/usr/lib/python3/dist-packages/cloudinit/util.py", line 1585, in ensure_dirs
[  250.792933] cloud-init[1839]:     ensure_dir(d, mode)
[  250.793429] cloud-init[1839]:   File "/usr/lib/python3/dist-packages/cloudinit/util.py", line 1642, in ensure_dir
[  250.793924] cloud-init[1839]:     chmod(path, mode)
[  250.794328] cloud-init[1839]:   File "/usr/lib/python3/dist-packages/cloudinit/util.py", line 1874, in chmod
[  250.794827] cloud-init[1839]:     os.chmod(path, real_mode)
[  250.795289] cloud-init[1839]: OSError: [Errno 30] Read-only file system: '/var/lib/cloud/data'
[  250.795746] cloud-init[1839]: Error in sys.excepthook:
[  250.796235] cloud-init[1839]: Traceback (most recent call last):
[  250.796686] cloud-init[1839]:   File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 145, in apport_excepthook
[  250.797162] cloud-init[1839]:     os.O_WRONLY | os.O_CREAT | os.O_EXCL, 0o640), 'wb') as f:
[  250.797690] cloud-init[1839]: OSError: [Errno 30] Read-only file system: '/var/crash/_usr_bin_cloud-init.0.crash'
[  250.798209] cloud-init[1839]: Original exception was:
[  250.798699] cloud-init[1839]: Traceback (most recent call last):
[  250.799217] cloud-init[1839]:   File "/usr/bin/cloud-init", line 11, in <module>
[  250.799709] cloud-init[1839]:     load_entry_point('cloud-init==19.4', 'console_scripts', 'cloud-init')()
[  250.800233] cloud-init[1839]:   File "/usr/lib/python3/dist-packages/cloudinit/cmd/main.py", line 893, in main
[  250.800763] cloud-init[1839]:     get_uptime=True, func=functor, args=(name, args))
[  250.801295] cloud-init[1839]:   File "/usr/lib/python3/dist-packages/cloudinit/util.py", line 2558, in log_time
[  250.801770] cloud-init[1839]:     ret = func(*args, **kwargs)
[  250.802183] cloud-init[1839]:   File "/usr/lib/python3/dist-packages/cloudinit/cmd/main.py", line 600, in status_wrapper
[  250.802633] cloud-init[1839]:     util.ensure_dirs((data_d, link_d,))
[  250.803077] cloud-init[1839]:   File "/usr/lib/python3/dist-packages/cloudinit/util.py", line 1585, in ensure_dirs
[  250.803574] cloud-init[1839]:     ensure_dir(d, mode)
[  250.804086] cloud-init[1839]:   File "/usr/lib/python3/dist-packages/cloudinit/util.py", line 1642, in ensure_dir
[  250.804539] cloud-init[1839]:     chmod(path, mode)
[  250.805044] cloud-init[1839]:   File "/usr/lib/python3/dist-packages/cloudinit/util.py", line 1874, in chmod
[  250.805527] cloud-init[1839]:     os.chmod(path, real_mode)
[  250.805978] cloud-init[1839]: OSError: [Errno 30] Read-only file system: '/var/lib/cloud/data'
_
Startup Applications App is missing https://askubuntu.com/questions/1214634/startup-applications-app-is-missing

I'm running Ubuntu 19.10 and I uninstalled "Startup Applications" without realizing I would need to use it. I'm now having trouble finding the software.

I've tried running sudo apt install startup-applications as well as apt-get but I get the message E: Unable to locate package startup-applications.

How do I get this application back?

Boot: Why wait for a removable SCSI disk? https://askubuntu.com/questions/1123300/boot-why-wait-for-a-removable-scsi-disk

I have turned off quiet and splash to see why my boot takes so long on my new SSD.

I see the following at 3.xx seconds:

sd 4:0:0:0: Attached scsi generic sg2 type 0
sd 4:0:0:0: [sdb] Attached SCSI removable disk

then it sits there for 30 seconds and at 33.xx seconds:

Begin: Waiting for suspend/resume device ... Begin: Running /scripts/...
random: fast init done

I have only one disk (and this is only removable with a screw driver), I imagine it could be waiting for a card in the SD card reader?

Here is the extract from dmesg:

[    3.172236] sd 4:0:0:0: Attached scsi generic sg2 type 0
[    3.177895] sd 4:0:0:0: [sdb] Attached SCSI removable disk
[   33.999093] random: fast init done

I noticed more in my boot messages from the boot screen:

Begin: Mounting root file system ... Begin: Running /scripts/local-top ... [
m: uninitialized urandom read (4 bytes read)
WARNING: Failed to connect to lvmetad. Falling back to device scanning.
[    2.368965] random: lvm: uninitialized urandom read (2 bytes read)
done.
Begin: Running /scripts/local-premount ... [        3.170888] scsi 4:0:0:0: Direct-
D/MMC/MS PRO       1.00 PQ: 0 ANSI: 4
[    3.172236] sd 4:0:0:0: Attached scsi generic sg2 type 0
[    3.177895] sd 4:0:0:0: [sdb] Attached SCSI removable disk
Begin: Waiting for suspend/resume device ... Begin: Running /scripts/local-block
[   33.999093] random: fast init done
How to change the clock color on Xubuntu https://askubuntu.com/questions/1074719/how-to-change-the-clock-color-on-xubuntu

I'm using the adapta nokto theme on Xubuntu and the icons on my panel are white, but the problem arose when I switched to the binary clock. The clock dots are in blue! And that makes it very difficult to see when I have a bright wallpaper. I tried to change the color of the binary dots, but all attempts did fail.

I'm a noob to linux, so please give me the simplest method as possible.

Here is my desktop screenshot

How to resolve java : not found? https://askubuntu.com/questions/1037652/how-to-resolve-java-not-found

I execute the command sudo cassandra -R to start cassandra and I get the following error.

getopt: invalid option -- 'R'
/usr/sbin/cassandra: 158: exec: java: not found

It points to the following line in the cassandra script.

else
        exec $NUMACTL "$JAVA" $JVM_OPTS $cassandra_parms -cp "$CLASSPATH"

Is it because the environment variable JAVA is not set? If yes, how to set the variable?

The output of echo $JAVA_HOME is blank. This is the output of java -version:

java version "1.8.0_161"
Java(TM) SE Runtime Environment (build 1.8.0_161-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode)
gtk-WARNING **: cannot open display while running command-line-only script https://askubuntu.com/questions/1002914/gtk-warning-cannot-open-display-while-running-command-line-only-script

I'm trying to run several compute intensive python scripts on a server (Ubuntu 14.04.5 LTS) via ssh -Y and tmux. This works fine as long as I don't close the ssh connection. If I do close the connection, the currently running script will finish properly but the all scripts starting afterwards will get the error

gtk-WARNING **: cannot open display: localhost:10.0

The scripts are command-line-only but perhaps a library used for some reason needs a display. If I disconnect, the display is gone (my assumption). Is there a way to fix this (preferably without root access), perhaps a way to fool ubuntu into thinking there's a display while there is none?

EDIT:

  • I first connect to a vpn and then ssh into the server (with -Y flag)
  • I'm trying to run this script in a loop with different parameters each time. It uses matplotlib.use('Agg') so matplotlib shouldn't be the problem (?) I can't think of anything else.
  • echo $DISPLAY returns localhost:10.0 before the error. If I connect from a different computer it returns localhost:13.0. If I left the terminal on the original computer open, it will still return localhost:10.0 however if I open a new one it will now also return localhost:13.0
  • X11-Forwarding works normally, I can run any desktop app I tried so far. The problem are scripts that start after I disconnect/logout.
Connecting to CIFS Error 115 https://askubuntu.com/questions/1002358/connecting-to-cifs-error-115

I'm trying to connect to a data share via the VPN of my university. I have contacted support and set the following:

In my /et/fstab:

//serverlocatoin/share /mnt/Ldrive cifs credentials=/home/laurens/.smbcredentials,iocharset=utf8,sec=ntlm 0 0

And double checked the smbcredentials file.

When running sudo mount -a the following error is returned: enter image description here

My university IT guy simply told me to just revert to using a windows machine.

What I've tried

  • Read the wiki
  • Read this post, tried switching off ipv6, did not help
  • ping the server, returned 'unknown host'
  • Checked if VPN connection is active via ifconfig -a The VPN seems to be active. enter image description here
  • Tried to approach via chrome browser, returns a 'your file was not found' error, suggesting that the server returns something, right? enter image description here
  • Changing the SMB protocol as in the below answer. Rebooted, still error 115. enter image description here

Other post that had the same question but did not have an answer: post1

What could be the problem and/or how could I troubleshoot it?

Connect to Server is not working in Ubuntu 16.04 https://askubuntu.com/questions/949268/connect-to-server-is-not-working-in-ubuntu-16-04

I'm using Ubuntu 16.04. My server is also Ubuntu. Initially in my LAN I was able to connect to the server perfectly using the Connect to Server feature.

All of a sudden Connect to Server stopped working. It wouldn't allow me to connect to the server from my system. I tried reinstalling and reconfiguring Samba, but it still wouldn't work.

It keeps giving me errors as shown in the below screenshots.

I tried with smb://, ftp://, and sftp://, but they all give same result as in the below screenshots.

I also tried with the IP Address something like smb://192.168.0.20/

enter image description here

enter image description here

Getting ASUS USB-AC53 Nano (USB wifi adapter) working on Ubuntu 16.04 https://askubuntu.com/questions/944373/getting-asus-usb-ac53-nano-usb-wifi-adapter-working-on-ubuntu-16-04

Very much a noob but I am trying to get this wireless wi-fi adapter to work on an old computer my sister uses. Old wireless wifi adapter was an ASUS but it died. Any step by step help would be appreciated. I have computer on a wired connection currently. Thanks.

Ubuntu on HP Zbook 15 https://askubuntu.com/questions/911759/ubuntu-on-hp-zbook-15

I installed Ubuntu 16.04 LTS on a new HP ZBook 15 from a bootable USB.

I have problems booting up and shutting down normally, e.g. the machine just freezes after login.

As a temporary solution I boot in recovery mode:

On start up I navigate to the GRUB menu >> Ubuntu Advanced Options >> choose Ubuntu (recovery mode) >> run the fsck option >> continue booting

That works but I have to do this every time. Can someone point me to a permanent fix?

The sleep mode also does not work, so I need to restart every day currently.

Implications of manually adding a user to the staff group https://askubuntu.com/questions/834075/implications-of-manually-adding-a-user-to-the-staff-group

This came up as a permission issue on Ubuntu 16.04. I was unable to remove some R libraries installed in /usr/local/lib/R/site-library. It turned out that I did not have permission. The directory was owned by root and the group was staff.

I temporarily resolved the permission issue by manually adding my user to the staff group.

sudo usermod -a -G staff myusername    

# *see blockquote before using this!* 

That allows me to remove the libraries from IDE.

However, when I tried to look up more information on staff group and was not able to find any definite material on the topic. Not even what the group was primarily intended for. I could only guess it is used to give similar 'enhanced' access to users on certain directories.

Are there any implications of manually adding a user to the staff group?

As an aside, is there any command to know the system-wide permissions for a group? For instance, what all are the directories for which group staff will have write permission?

Thanks.

Edit: I must add here that using adduser instead of usermod is a much more sensible option for this operation [please see the comment below]

sudo adduser myusername staff

Changing Clock Font Colour in GTK 2.0 Theme https://askubuntu.com/questions/830654/changing-clock-font-colour-in-gtk-2-0-theme

I installed the Flattastic Blue Light theme and now I am looking for a way to change the font color of my clock in the panel.

the light blue clock, next to my battery icon

I already tried changing the font color in my GTK-2.0 configuration file (panel), but that only affects the Username and not the clock.

I am running Xubuntu 16.04 on a Lenovo ThinkPad.

iOS device contents e.g. "Pictures", "Documents" no longer accessible under Ubuntu https://askubuntu.com/questions/824991/ios-device-contents-e-g-pictures-documents-no-longer-accessible-under-ubun

Yesterday I updated my iPhone 6s to iOS 10, and now can't see "Documents" mount that allowed to access folders of individual apps when I was running iOS 9. My iPad which still runs iOS 9 mounts photos and documents so I can easily add films to VLC on iPad etc. How can I get the same behavior with iPhone running iOS 10?

I did install libimobiledevice1.2 but still no effect.

bluetooth problem after upgrade from ubuntu 14 to 16.04 https://askubuntu.com/questions/772706/bluetooth-problem-after-upgrade-from-ubuntu-14-to-16-04

after upgrade to ubuntu 16.04 i can't turn on bluetooth on my laptop . try reinstall bluez and other bluetooth application same as blueman and bluetooth but don't solve problem

service bluetooth status

● bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
   Active: active (running) since Sun 2016-05-15 10:14:59 IRDT; 5h 40min ago
     Docs: man:bluetoothd(8)
 Main PID: 1104 (bluetoothd)
   Status: "Running"
    Tasks: 1 (limit: 512)
   CGroup: /system.slice/bluetooth.service
           └─1104 /usr/lib/bluetooth/bluetoothd

May 15 10:15:03 morteza-CX61-2PC bluetoothd[1104]: Not enough free handles to register service
May 15 10:15:03 morteza-CX61-2PC bluetoothd[1104]: Not enough free handles to register service
May 15 10:15:03 morteza-CX61-2PC bluetoothd[1104]: Sap driver initialization failed.
May 15 10:15:03 morteza-CX61-2PC bluetoothd[1104]: sap-server: Operation not permitted (1)
May 15 10:15:04 morteza-CX61-2PC bluetoothd[1104]: Loading LTKs timed out for hci0
May 15 10:15:41 morteza-CX61-2PC bluetoothd[1104]: Failed to set mode: Not Powered (0x0f)
May 15 10:15:41 morteza-CX61-2PC bluetoothd[1104]: Failed to get connections: Not Powered (0x0f)
May 15 10:16:52 morteza-CX61-2PC bluetoothd[1104]: Failed to set mode: Failed (0x03)
May 15 10:17:02 morteza-CX61-2PC bluetoothd[1104]: Failed to set mode: Failed (0x03)
May 15 14:13:45 morteza-CX61-2PC bluetoothd[1104]: Failed to set mode: Failed (0x03)

lsusb

Bus 002 Device 002: ID 8087:8000 Intel Corp. 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 13d3:3394 IMC Networks Bluetooth
Bus 003 Device 003: ID 046d:c52f Logitech, Inc. Unifying Receiver
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

rfkill list

0: phy0: Wireless LAN
    Soft blocked: yes
    Hard blocked: no
1: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no 

when i go to setting and choose bluetooth show "no bluetooth found" screenshot : http://storage6.static.itmages.com/i/16/0515/h_1463312053_7827113_7a4e2df260.png

dmesg | egrep -i 'blue|firm'

[    0.147244] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored
[    0.816454] [Firmware Bug]: ACPI(PEGP) defines _DOD but not _DOS
[    1.761166] usb 3-7: Product: RT Bluetooth Radio
[    1.776032] psmouse serio1: elantech: assuming hardware version 3 (with firmware version 0x550f00)
[   15.773162] Using firmware rtlwifi/rtl8723fw_B.bin
[   18.901441] Bluetooth: Core ver 2.21
[   18.901451] Bluetooth: HCI device and connection manager initialized
[   18.901454] Bluetooth: HCI socket layer initialized
[   18.901455] Bluetooth: L2CAP socket layer initialized
[   18.901459] Bluetooth: SCO socket layer initialized
[   19.093565] Bluetooth: hci0: rtl: examining hci_ver=06 hci_rev=000b lmp_ver=06 lmp_subver=1200
[   19.093568] Bluetooth: hci0: rtl: loading rtl_bt/rtl8723a_fw.bin
[   40.996583] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   40.996585] Bluetooth: BNEP filters: protocol multicast
[   40.996588] Bluetooth: BNEP socket layer initialized
[   41.247665] Bluetooth: RFCOMM TTY layer initialized
[   41.247670] Bluetooth: RFCOMM socket layer initialized
[   41.247673] Bluetooth: RFCOMM ver 1.11
[   42.998956] Bluetooth: hci0 command 0x0c56 tx timeout
[  102.826854] Bluetooth: hci0 urb ffff8800c6322d80 failed to resubmit (113)
[  112.790161] Bluetooth: hci0 urb ffff8800a66bf240 failed to resubmit (113)

when i try search device in blueman software receive this error

Resource Not Ready
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/blueman/bluez/errors.py", line 146, in warp
    return func(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/blueman/bluez/Adapter.py", line 135, in start_discovery
    self.get_interface().StartDiscovery()
  File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.bluez.Error.NotReady: Resource Not Ready

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/blueman-manager", line 210, in inquiry
    self.List.DiscoverDevices()
  File "/usr/lib/python3/dist-packages/blueman/gui/DeviceList.py", line 401, in DiscoverDevices
    self.Adapter.start_discovery()
  File "/usr/lib/python3/dist-packages/blueman/bluez/errors.py", line 148, in warp
    raise parse_dbus_error(exception)
blueman.bluez.errors.DBusNotReadyError: Resource Not Ready

when i trye to restart bluetooth service from terminal popup error message with this content

Connection to BlueZ failed
Bluez daemon is not running, blueman-manager cannot continue.
This probably means that there were no Bluetooth adapters detected or Bluetooth daemon was not started.
How to install Canon Pixma E400 on Ubuntu 14.10? https://askubuntu.com/questions/574684/how-to-install-canon-pixma-e400-on-ubuntu-14-10

Fair warning: I am a complete noob to Linux and Ubuntu.

I have been trying to install the Canon Pixma E400 printer but have not succeeded so far.

I tried:

  • locating the driver through the built-in Printer Settings option, but there wasn't any driver available for my printer (found one for PIXMAE500, installed that but it did not work).
  • The generic driver for pdfs also did not work; my printer didn't take any jobs through that driver.
  • installing the driver from the .exe file that came with the setup disk of the printer, but wine did not recognise that file.
  • Downloaded the binary .deb file but it didn't work either.
  • I downloaded the relevant driver packages (tar.gz) from the web, extracted them, read through the README file in there, but could not figure out its instructions. I then tried to execute the three-step compilation process, having changed to the extracted directory (via CD), suggested here to get an error saying bash: ./configure: No such file or directory.

I could not find any duplicate questions and have tried the usual solutions I found here. I am probably missing some basic detail due to my ignorance about Ubuntu.

Could someone here advise me how to handle this?

Login screen - set default user https://askubuntu.com/questions/157133/login-screen-set-default-user

On login screen i have two options: my default user (let's say User1) and "Other User". When i work as "Other user" and make "Log out", on logon screen the 'active' one is "Other User". I wish that after every log out/reboot/start the active one is my default user. Is it possible to set default user on login screen? Thx for help in advance.

Regards, A

How can I add a separator to the Place sidebar in nautilus? https://askubuntu.com/questions/1829/how-can-i-add-a-separator-to-the-place-sidebar-in-nautilus

I'd like to drag a few more folders to the places sidebar in nautilus, but want to group these new ones separately to the default folders (like Dropbox, Downloads and Documents). Is there a way to add a new separator to the list?