| Enabling Pure-FTP Virtual Users Posted: 16 Jul 2021 10:20 AM PDT |
| What are the advantages of hardware-accelerated terminal emulators? Posted: 16 Jul 2021 10:13 AM PDT What distinguishes kitty from the vast majority of terminal emulators? It offers GPU-acceleration combined with a wide feature set. It's targeted at power keyboard users. It's billed as a modern, hackable, featureful, OpenGL based terminal emulator. What are the advantages of hardware-accelerated terminal emulators? Is it speed? How you notice that in daily command execution? Classic terminals seem not too slow, the bottleneck is mostly the human typing.  |
| Linux Mint 20.2 : No wireless internet connection option randomly Posted: 16 Jul 2021 09:58 AM PDT This question is a continuation of Linux Mint 20.1 : No wireless internet connection option When I boot the PC, sometimes I get the option to connect it to wireless networks but others not (for example, this morning it was connected to WiFi (bad quality connection), but at the evening, no wireless option appears). I have update from Linux Mint 20.1 to 20.2, the problem happened before and after the update. I write down some information that might be useful according to the previous question. System info: System: Kernel: 5.4.0-77-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon 5.0.5 wm: muffin dm: LightDM Distro: Linux Mint 20.2 Uma base: Ubuntu 20.04 focal Machine: Type: Laptop System: ASUSTeK product: VivoBook_ASUSLaptop X571GD_X571GD v: 1.0 serial: <filter> Mobo: ASUSTeK model: X571GD v: 1.0 serial: <filter> UEFI: American Megatrends v: X571GD.309 date: 12/17/2020 Battery: ID-1: BAT1 charge: 30.1 Wh condition: 30.1/42.3 Wh (71%) volts: 12.7/11.6 model: ASUS A32-K55 serial: <filter> status: Full CPU: Topology: Quad Core model: Intel Core i5-8300H bits: 64 type: MT MCP arch: Kaby Lake rev: A L2 cache: 8192 KiB flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 36799 Speed: 4000 MHz min/max: 800/4000 MHz Core speeds (MHz): 1: 4000 2: 3900 3: 4000 4: 4000 5: 3998 6: 3904 7: 3989 8: 3884 Graphics: Device-1: Intel UHD Graphics 630 vendor: ASUSTeK driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:3e9b Device-2: NVIDIA GP107M [GeForce GTX 1050 Mobile] vendor: ASUSTeK driver: nvidia v: 460.80 bus ID: 01:00.0 chip ID: 10de:1c92 Display: x11 server: X.Org 1.20.9 driver: modesetting,nvidia unloaded: fbdev,nouveau,vesa resolution: 1920x1080~60Hz OpenGL: renderer: GeForce GTX 1050/PCIe/SSE2 v: 4.6.0 NVIDIA 460.80 direct render: Yes Audio: Device-1: Intel Cannon Lake PCH cAVS vendor: ASUSTeK driver: snd_hda_intel v: kernel bus ID: 00:1f.3 chip ID: 8086:a348 Sound Server: ALSA v: k5.4.0-77-generic Network: Device-1: Intel Wi-Fi 6 AX200 driver: N/A port: 4000 bus ID: 03:00.0 chip ID: 8086:2723 Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASUSTeK driver: r8169 v: kernel port: 3000 bus ID: 04:00.0 chip ID: 10ec:8168 IF: enp4s0 state: up speed: 100 Mbps duplex: full mac: <filter> Drives: Local Storage: total: 1.14 TiB used: 153.06 GiB (13.1%) ID-1: /dev/nvme0n1 vendor: SK Hynix model: HFM256GDJTNG-8310A size: 238.47 GiB speed: 15.8 Gb/s lanes: 2 serial: <filter> ID-2: /dev/sda vendor: Toshiba model: MQ04ABF100 size: 931.51 GiB speed: 6.0 Gb/s serial: <filter> RAID: Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci v: 3.0 bus ID: 00:17.0 chip ID: 8086.282a Partition: ID-1: / size: 91.17 GiB used: 29.77 GiB (32.7%) fs: ext4 dev: /dev/sda1 ID-2: /home size: 457.35 GiB used: 123.26 GiB (27.0%) fs: ext4 dev: /dev/sda3 ID-3: swap-1 size: 14.90 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda2 Sensors: System Temperatures: cpu: 69.0 C mobo: 27.8 C gpu: nvidia temp: 60 C Fan Speeds (RPM): cpu: 0 Repos: No active apt repos in: /etc/apt/sources.list Active apt repos in: /etc/apt/sources.list.d/megasync.list 1: deb https: //mega.nz/linux/MEGAsync/xUbuntu_20.04/ ./ Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 1: deb http: //packages.linuxmint.com uma main upstream import backport #id:linuxmint_main 2: deb http: //archive.ubuntu.com/ubuntu focal main restricted universe multiverse 3: deb http: //archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse 4: deb http: //archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse 5: deb http: //security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse 6: deb http: //archive.canonical.com/ubuntu/ focal partner Info: Processes: 257 Uptime: 9m Memory: 15.49 GiB used: 2.04 GiB (13.2%) Init: systemd v: 245 runlevel: 5 Compilers: gcc: 9.3.0 alt: 9 Client: Unknown python3.8 client inxi: 3.0.38 Output of lspci -nn | grep 0280: 03:00.0 Network controller [0280]: Intel Corporation Wi-Fi 6 AX200 [8086:2723] (rev 1a) Output of iwconfig: enp4s0 no wireless extensions. lo no wireless extensions. I already tried to update the system via update and upgrade. EDIT 1: According to @Artem S. Tashkinov Output of sudo dmesg -t --level=alert,crit,err,warn MDS CPU bug present and SMT on, data leak possible. See https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/mds.html for more details. #5 #6 #7 ENERGY_PERF_BIAS: Set to 'normal', was 'performance' ACPI BIOS Error (bug): Failure creating named object [\_TZ.ETMD], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.GPLD], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.TPLD], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.GUPC], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.TUPC], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.HS01._UPC], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.HS01._PLD], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.HS02._UPC], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.HS02._PLD], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.HS03._UPC], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.HS03._PLD], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.HS04._UPC], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.HS04._PLD], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.HS05._UPC], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.HS05._PLD], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.HS06._UPC], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.HS06._PLD], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.HS07._UPC], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.HS07._PLD], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.HS08._UPC], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.HS08._PLD], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.HS09._UPC], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.HS09._PLD], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.HS10._UPC], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.HS10._PLD], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.HS11._UPC], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.HS11._PLD], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.HS12._UPC], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.HS12._PLD], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.HS13._UPC], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.HS13._PLD], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.HS14._UPC], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.HS14._PLD], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.USR1._UPC], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.USR1._PLD], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.USR2._UPC], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.USR2._PLD], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.SS01._UPC], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.SS01._PLD], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.SS02._UPC], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.SS02._PLD], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.SS03._UPC], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.SS03._PLD], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.SS04._UPC], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.SS04._PLD], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.SS05._UPC], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.SS05._PLD], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.SS06._UPC], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.SS06._PLD], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.SS07._UPC], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.SS07._PLD], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.SS08._UPC], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.SS08._PLD], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.SS09._UPC], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.SS09._PLD], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.SS10._UPC], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.SS10._PLD], AE_ALREADY_EXISTS (20190816/dswload2-326) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20190816/psobject-220) ACPI: Invalid active0 threshold [Firmware Bug]: Invalid critical threshold (0) usb: port power management may be unreliable i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp platform eisa.0: EISA: Cannot allocate resource for mainboard platform eisa.0: Cannot allocate resource for EISA slot 1 platform eisa.0: Cannot allocate resource for EISA slot 2 platform eisa.0: Cannot allocate resource for EISA slot 3 platform eisa.0: Cannot allocate resource for EISA slot 4 platform eisa.0: Cannot allocate resource for EISA slot 5 platform eisa.0: Cannot allocate resource for EISA slot 6 platform eisa.0: Cannot allocate resource for EISA slot 7 platform eisa.0: Cannot allocate resource for EISA slot 8 acpi PNP0C14:03: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:02) acpi PNP0C14:04: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:02) r8169 0000:04:00.0: can't disable ASPM; OS doesn't have ASPM control i2c_hid i2c-ELAN1200:00: i2c-ELAN1200:00 supply vdd not found, using dummy regulator i2c_hid i2c-ELAN1200:00: i2c-ELAN1200:00 supply vddl not found, using dummy regulator iwlwifi: probe of 0000:03:00.0 failed with error -110 nvidia: loading out-of-tree module taints kernel. nvidia: module license 'NVIDIA' taints kernel. Disabling lock debugging due to kernel taint NVRM: loading NVIDIA UNIX x86_64 Kernel Module 460.80 Fri May 7 06:55:54 UTC 2021 kauditd_printk_skb: 12 callbacks suppressed ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20190816/nsarguments-59) mce: CPU3: Core temperature above threshold, cpu clock throttled (total events = 1) mce: CPU7: Core temperature above threshold, cpu clock throttled (total events = 1) mce: CPU0: Package temperature above threshold, cpu clock throttled (total events = 1) mce: CPU6: Package temperature above threshold, cpu clock throttled (total events = 1) mce: CPU2: Package temperature above threshold, cpu clock throttled (total events = 1) mce: CPU4: Package temperature above threshold, cpu clock throttled (total events = 1) mce: CPU7: Package temperature above threshold, cpu clock throttled (total events = 1) mce: CPU3: Package temperature above threshold, cpu clock throttled (total events = 1) mce: CPU1: Package temperature above threshold, cpu clock throttled (total events = 1) mce: CPU5: Package temperature above threshold, cpu clock throttled (total events = 1) mce: CPU3: Core temperature above threshold, cpu clock throttled (total events = 5) mce: CPU4: Package temperature above threshold, cpu clock throttled (total events = 5) mce: CPU0: Package temperature above threshold, cpu clock throttled (total events = 5) mce: CPU6: Package temperature above threshold, cpu clock throttled (total events = 5) mce: CPU1: Package temperature above threshold, cpu clock throttled (total events = 5) mce: CPU2: Package temperature above threshold, cpu clock throttled (total events = 5) mce: CPU5: Package temperature above threshold, cpu clock throttled (total events = 5) mce: CPU7: Core temperature above threshold, cpu clock throttled (total events = 5) mce: CPU7: Package temperature above threshold, cpu clock throttled (total events = 5) mce: CPU3: Package temperature above threshold, cpu clock throttled (total events = 5) mce: CPU3: Core temperature above threshold, cpu clock throttled (total events = 28) mce: CPU7: Core temperature above threshold, cpu clock throttled (total events = 28) mce: CPU0: Package temperature above threshold, cpu clock throttled (total events = 28) mce: CPU4: Package temperature above threshold, cpu clock throttled (total events = 28) mce: CPU7: Package temperature above threshold, cpu clock throttled (total events = 28) mce: CPU3: Package temperature above threshold, cpu clock throttled (total events = 28) mce: CPU2: Package temperature above threshold, cpu clock throttled (total events = 28) mce: CPU6: Package temperature above threshold, cpu clock throttled (total events = 28) mce: CPU5: Package temperature above threshold, cpu clock throttled (total events = 28) mce: CPU1: Package temperature above threshold, cpu clock throttled (total events = 28) Output of sudo dmesg -t | grep -i firm Spectre V2 : Enabling Restricted Speculation for firmware calls [Firmware Bug]: Invalid critical threshold (0) [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4) Bluetooth: hci0: Minimum firmware build 1 week 10 2014 Bluetooth: hci0: Found device firmware: intel/ibt-20-1-3.sfi Bluetooth: hci0: Waiting for firmware download to complete Bluetooth: hci0: Firmware loaded in 2161510 usecs Output of sudo rfkill ID TYPE DEVICE SOFT HARD 0 wlan asus-wlan unblocked unblocked 1 bluetooth asus-bluetooth blocked unblocked 2 bluetooth hci0 blocked unblocked  |
| Loop to read a file and use the contents as a variable Posted: 16 Jul 2021 10:06 AM PDT #!/usr/local/bin/bash #Variable Setup #Clear screen cls #Delete template files rm numbers.txt rm CONMATTSU rm CONMATTDU Create template files and set up permissions touch CONMATTSU chmod 777 CONMATTSU touch CONMATTDU chmod 777 CONMATTDU touch numbers.txt chmod 777 numbers.txt #prompts for how many stores the user wants to update echo "How many stores do you want to update ?" echo "The max allowed is 8" echo "" read br2update #Loop to read 8 stores or less input by user until [ $br2update -le 8 ] do echo "How many stores do you want to update ?" echo "The max allowed is 8" echo "" read br2update done Prompts user for the stores they want to create scripts for echo "Enter up to $br2update stores one at a time" echo "press enter after each store entered" echo echo "Each store must be 4 digits" echo echo "If you make a mistake do CTRL and C to exit" echo "and restart the process again" echo Loop to check the numbers entered by user are valid and outputs them to a file called numbers.txt The loop will only let you enter store names from 1000 to 9999 x=0 until [ ! $x -ne $br2update ] do echo "Enter branch" read store if [ $store -gt 1000 ] && [ $store -lt 9999 ] then echo $store >> numbers.txt x=echo "$x + 1" | bc else echo "Invalid store number" fi Template for setting up stores with numbers and ouput to CONMATTSU echo "Branch..........:$store" >> CONMATTSU echo "Description.....:MATALAN $store" CONMATTSU echo "Tel No..........:" >> CONMATTSU Template for deleting stores and outputting to CONMATTDU echo "Branch...........:$store" >> CONMATTDU echo "Delete...........:y" >> CONMATTDU echo "Confirm..........:Y" >> CONMATTDU done so I want the output file CONMATTSU to look like this: echo "Branch..........:2845" >> CONMATTSU echo "Description.....:NEW 2845" >> CONMATTSU echo "Tel No..........:" >> CONMATTSU echo "Branch..........:3845" >> CONMATTSU echo "Description.....:NEW 3845" >> CONMATTSU echo "Tel No..........:" >> CONMATTSU echo "Branch..........:4815" >> CONMATTSU echo "Description.....:NEW 4815" >> CONMATTSU echo "Tel No..........:" >> CONMATTSU  |
| speech recording and translate Posted: 16 Jul 2021 08:50 AM PDT I have a problem with converting from "wav" to "flac". Command: arecord -D plughw:0,0 -f cd -t wav -d 0 -q -r 16000 | flac - -s -f --best --sample-rate 16000 -o daveconroy.flac Always gives: ERROR: raw format options (--endian, --sign, --channels, --bps, and --sample-rate) are not allowed for non-raw input While I can record with the following command, playback is extremely noisy: arecord -t raw -f S16_LE -r 8000 | flac - -f --endian little --sign unsigned --channels 1 --bps 16 --sample-rate 8000 -s -c -o test.flac Project link: https://daveconroy.com/how-to/turn-raspberry-pi-translator-speech-recognition-playback-60-languages/ https://makezine.com/projects/universal-translator/ I have searched with my colleague for hours, unfortunately unsuccessfully, and have also tried with sox. Maybe there is a Linux professional among you who can help me.  |
| What does !cp:$ do? Posted: 16 Jul 2021 09:31 AM PDT I saw this command in the documentation of one of the programs in my work: cp company-sso /usr/local/bin/company-sso ; sudo chmod +x !cp:$ I'm aware that : will stop the next command from being executed, it'll only be evaluated, but how does this work with $? I've only seen $ used before a variable name, like $USER or $HOME but never alone. Also, how does !cp work? It won't execute cp? What's the purpose of this? Does this whole line make any sense?  |
| How to monitor production system health, generate crash reports etc Posted: 16 Jul 2021 10:02 AM PDT I have a homeserver running on quite decent hardware (CPU is a Threadripper 2970WX with 24/48 cores). There is a lot of different stuff running on it, a handful of virtual machines with different software, partly office software, but also servers, bots and many other tools. Sometimes, the computer crashes out of nowhere, which is not good, as this is a production system and multiple people are dependent on it. It crashes rarely, and most of the times I was home and could restart it immediately. Still, I would like to know if there is a tool which can monitor my system health and try to warn of a system failure beforehand, or generate crash reports so I know what exactly caused the problem and how to fix it. Is there a tool to handle this, preferably GUI? I don't think manually crawling through various logfiles is a good option for a production system. I am running Debian 10 Buster as my host system and also for all of my important virtual machines.  |
| TCP/IP network behaviour with USB-ETH adapter Posted: 16 Jul 2021 08:22 AM PDT I found a strange situation with a Debian machine (machineA) regarding TCP/IP connection: Let's say there is a pipe with a constant X Mbps traffic, which machineA encapsulates into SSL then forwards to machineB. In case machineB is a fast and modern architecture, machineA's CPU usage is around 60-70% during the transmission, and everything is perfectly fine. In case however, machineB is a low-end architecture with slow network, machineA's CPU usage is put to 100% (measured by htop), and there are quite significant lost packets. What I don't understand, how can TCP/IP destination endpoint affect the source endpoint's CPU? On machineA, network is provided by an USB-ETH adapter (LAN9512-based). I thought LAN9512 offers full TCP/IP stack by hardware, but is it possible, due to slow endpoints, CPU needs to do heavy and aggressive work to repeat, or buffer/reorganize packets which is not needed in case the endpoint is capable of doing fast connections? Please note: I'm using fast, slow adjectives to illustrates correlations between devices' capabilities and traffic parameters relatively.  |
| How can I remove an error from the beginning of my script without setting my variable as null? Posted: 16 Jul 2021 08:13 AM PDT I'm running into an issue where my script will only set the integer that I need for the variable $alive if I allow the following error to show. uptime: /dev/ttys001: No such file or directory I've attempted to remove this by adding &>/dev/null either behind uptime or behind the command in this context below, (( uptime | grep -ohe 'up .*' | sed 's/,//g' | awk '{ print $2 }')&>/dev/null) or ( uptime &>/dev/null | grep -ohe 'up .*' | sed 's/,//g' | awk '{ print $2 }') but this causes the following to happen whereas I need it to set the variable and perform like so  This is more of a personal project for me to understand scripting using bash within MacOS so any additional insight is greatly appreciated! Here is the script in its context. It is intended to be an infinite loop to keep the computer on for remote access at all times and can be stopped by simply terminating the running process. #!/bin/bash alive=$( uptime | grep -ohe 'up .*' | sed 's/,//g' | awk '{ print $2 }') until [[ $alive -lt 0 ]]; do Caffeinate -d -t 2 sleep 2 echo "This computer has been awake for $alive days" done Eventually I'd like to have the computer hit a certain amount of days, then break and restart, automatically login, and launch the process over again to ensure that performance is not hindered by the computer being awake for months on end. But I haven't had the time to work on that just yet ;)  |
| What security is there for socketcan interfaces, such as can0, on Linux/Android? Posted: 16 Jul 2021 07:31 AM PDT As far as I understand, can0 and can1 are networking interfaces like eth0, but using different addressing and flags. How do you control which user accounts or Android Apps have permission to read and write to CANbus on a particular system? Is there a tool similar to iptables to manage CANbus?  |
| Recover Formatted NTFS Partion Posted: 16 Jul 2021 07:25 AM PDT Please don't mark this as duplicate - I have read many other questions and proposed answers and can't seem to get them to work. I have 3 1TB hard drives, 2 SSDs and 1 HDD. I accidentally deleted the partition table and possibly formatted the HDD whilst trying to install Windows 10 on one of the SSDs. I'm trying to recover my data from the HDD, it has a lot of photos from about 10 years ago. HHD is just a data disk, although it briefly had a Linux installation on it in 2018. Disk Model: ST1000DM003-1SB1 I have been trying to recover the photos using TestDisk to mixed results. I have been unable to restore the partition table, however I know the data is still on the disk because I was able to extract it using Photorec. The only problem is that photo rec has removed all structuring and order on approx 8K photos. The results from TestDisk are as follows: Disk /dev/sda - 1000 GB / 931 GiB - CHS 121601 255 63 Current partition structure: Partition Start End Size in sectors 1 * FAT32 0 1 1 242 254 63 3903732 [RECOVERY] 2 P FAT32 LBA 243 0 1 7401 254 63 115009335 [NO NAME] 3 E extended LBA 7402 0 1 102927 254 63 1534625190 5 L FAT32 LBA 7402 1 1 12160 254 63 76453272 [NO NAME] X extended 102927 97 1 102927 232 38 8543 Invalid FAT boot sector 6 L FAT16 <32M 102927 98 62 102927 232 38 8419 6 L FAT16 <32M 102927 98 62 102927 232 38 8419 Running fdisk -l returns: Disk /dev/sda: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors Disk model: ST1000DM003-1SB1 Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disklabel type: dos Disk identifier: 0x17556621 Device Boot Start End Sectors Size Id Type /dev/sda1 * 63 3903794 3903732 1.9G b W95 FAT32 /dev/sda2 3903795 118913129 115009335 54.9G c W95 FAT32 (LBA) /dev/sda3 118913130 1653538319 1534625190 731.8G f W95 Ext'd (LBA) /dev/sda5 118913193 195366464 76453272 36.5G c W95 FAT32 (LBA) /dev/sda6 1653528490 1653536908 8419 4.1M 4 FAT16 <32M Partition 1 does not start on physical sector boundary. Partition 2 does not start on physical sector boundary. Partition 3 does not start on physical sector boundary. Partition 5 does not start on physical sector boundary. Partition 6 does not start on physical sector boundary. Trying to mount returns: billy@billy-Mint:~$ ntfsfix -b /dev/sda3 Mounting volume... Error opening read-only '/dev/sda3': Permission denied FAILED Attempting to correct errors... Error opening read-only '/dev/sda3': Permission denied FAILED Failed to startup volume: Permission denied Error opening '/dev/sda3': Read-only file system Volume is corrupt. You should run chkdsk. sudo fsck /dev/sda3 yielded the following: fsck.ext2: Attempt to read block from filesystem resulted in short read while trying to open /dev/sda3 Could this be a zero-length partition? Any help would be greatly appreciated. I'm stumped about how to proceed.  |
| Samba has a module vfs_full_audit, what does each object actually mean within the module? Posted: 16 Jul 2021 06:54 AM PDT The module vfs_full_audit in Samba lists objects that can be added to the module to increase the logging specificity or verbosity generally of syscalls. Example: # defaults for auditing full_audit:priority = notice full_audit:facility = local6 full_audit:failure = create_file open opendir rmdir unlink unlinkat connect connectpath disconnect full_audit:success = rename opendir rmdir unlink open create_file opendir unlinkat connect connectpath disconnect full_audit:prefix = %U|%d|%u|%R|%I|%S However in the man page located here: https://www.samba.org/samba/docs/current/man-html/vfs_full_audit.8.html It fails to define explicitly what each object actually does - I understand that some of them are fairly obvious such as "open" or "rmdir" but a sentence just describing what each part does would be very useful for more questionable ones such as "kernel_flock" Does anyone know of any resource/URL that defines these values explicitly? Or perhaps this has been asked previously by one of you and had data back from Sernet detailing it? Thanks for looking ;)  |
| How to change default terminal environment varible in Manjaro? Posted: 16 Jul 2021 06:52 AM PDT How can I change my default terminal env variable in manjaro linux. echo $TERM gives xterm-256 as output. And when I open htop or ranger from app drawer it is opening up in xterm. I want to change it to alacritty. How can I do that?  |
| How to grep text between two commas Posted: 16 Jul 2021 09:38 AM PDT i have a string in text file, i want to grep the email address but it is not working 26,2,12,1,1,0,1,0,12,20,648130864.573339,,"iCloud - Device Locator",,,69FFBE2F-6626-4A4B-8A78-BF7D06DE59C7,7F223B27-9588-4719-81B9-074666A76E1D,com.apple.accountsd,youremail@yahoo.com, i try: grep -Eo "\b@'[^']*'" but it not working i need output: youremail@yahoo.com P/s: maybe the field isn't 19th but email is always at the end of the line  |
| With awk, how can I delete the current line if the previous has the same $3 value? Posted: 16 Jul 2021 07:48 AM PDT as the title says, how can I compare the current $3 with the previous line's $3, and, if equal, delete the current line? So for example this file 100.824 4 Packet to 101.027 1 Received 102.23 1 Received 229.393 4 Packet to 229.605 1 Received Becomes 100.824 4 Packet to 101.027 1 Received 229.393 4 Packet to 229.605 1 Received  |
| Recursively traverse directories and retrieve las timestamp file Posted: 16 Jul 2021 09:12 AM PDT Let's suppose I have the following timestamp like directory tree: root |__ parent1 | |__ 2021 | | |__ 01 | | | |__ 22 | | | | |__ 12H | | | | | |__ file1 | | | | | |__ file2 | | | | |__ 13H | | | | | |__ file1 | | | | | |__ file2 | | | |__ 23 | | | | |__ 12H | | | | | |__ file1 | | | | | |__ file2 | | | | |__ 13H | | | | | |__ file1 | | | | | |__ file2 |__ parent2 | |__ etc What I would like is to recursively navigate through this folder structure, so that, for each folder "parent1, parent2" etc would display the most recent timestamp found, along with a count of the files contained. For example, something like: PARENT | LAST_TIMESTAMP | COUNT | -------------------------------------------- parent1 | 2021-01-23T13:00:00 | 2 | parent2 | 2022-01-01T00:00:00 | 5 | (dummy example) ... ... ... I have seen other answers but all of them take into account just the modification date of the files in all the folders, while in this case it would have to do with the name of the folders only.  |
| Map over file tree, preserving structure Posted: 16 Jul 2021 09:19 AM PDT I have a file tree that looks like: $ tree src src ├── bible │ ├── index.md │ └── README.md ├── index.md └── other.md I want to render every Markdown file within this file tree to HTML via pandoc(1) -- preserving structure. This new file tree should be rooted at out, like so: $ tree out out ├── bible │ ├── index.html │ └── README.html ├── index.html └── other.html Ideally, I'd like to do this via make(1). This is what I have so far: SRC_DIR=src OUT_DIR=out .PHONY: all all: $(SRC_DIR)/*.md find . -name "*.md" -exec pandoc '{}' -o '{}'.html \; find -name "*.html" -exec bash -c 'mv {} $(OUT_DIR)/`dirname {}`/`basename {} .md.html`.html' \; # mv $(SRC_DIR)/*.html $(OUT_DIR) firefox $(OUT_DIR)/index.html .PHONY: clean clean: rm $(OUT_DIR)/*.html This fails: $ make find . -name "*.md" -exec pandoc '{}' -o '{}'.html \; find . -name "*.html" -exec bash -c 'mv {} `basename {} .md.html`.html' \; mv src/*.html out mv: cannot stat 'src/*.html': No such file or directory make: *** [Makefile:8: all] Error 1  |
| Graphics artifacts when using Ubuntu Posted: 16 Jul 2021 06:41 AM PDT I'm having this problem since I installed Ubuntu for a course that I'm doing. I am getting graphics artifacts (see screenshot below) in many applications (some buttons on Zoom, but mostly on games like Minecraft, CSGO and Krunker.io). If someone could help me I would be grateful.   |
| Gnome enable left top app name thing? Posted: 16 Jul 2021 07:22 AM PDT I am running Pop!_OS 21.04. I don't really know why I haven't got it, but it appeared once when I connected HDMI. Disappeared after reboot. I even removed Workspaces and Applications buttons, but no luck. Little "Terminal" menu here is what I'm talking about.  And "Pop!_Shop" there   |
| dwm doesn't load fontawesome Posted: 16 Jul 2021 07:37 AM PDT I want to set up icons for my tags in dwm. I have downloaded the ttf-font-awesome package with sudo pacman -S ttf-font-awesome and I changed this line in my config.h of dwm: static const char *fonts[] = { "FontAwesome:size=16", "consolas:size=16" }; But it still doesn't work. Some icons show up correctly, while others show up slightly or even completely different. I copied the unicode glyph from fontawesome.com and added it to my *tags array in config.h. Did I miss something? Any help is greatly appreciated!  |
| How should I enable discard and no workqueue for LUKS in Arch/Manjaro Posted: 16 Jul 2021 08:10 AM PDT So I've read the wiki and this answer, and I'm still a bit overwhelmed. In the wiki it feels like a lot of these are optional. Here's what I did. I used Manjaro to install into a single partition, which I may be regretting, and I enabled full disk encryption. What I observe when booting, to either windows or Linux, is I'm prompted for a password, and then I see the actual grub menu. I'm not then certain which options will work. I think that LVM is enabled, but not 100% and I'm sure I selected ext4. I looked at modifying the grub.conf generation scripts, but I'm not sure where, nor am I sure if that's the right place. What's the right answer for adding discard, no_read_workqueue, and no_write_workqueue on Manjaro? UPDATE: here's what my most current configuration is, but I keep getting dropped into a rescue shell. I'm trying to used the systemd cryptsetup to do all the things, which seems to suggest that I use luks.* parameters. note: the name root is coming from my manual mounting in the rescue shell. NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS MOUNTPOINT UUID loop0 7:0 0 450.2M 1 loop /var/lib/snapd/snap/wickrme/543 /var/lib/snapd/snap/wickrme/543 loop1 7:1 0 55.4M 1 loop /var/lib/snapd/snap/core18/2074 /var/lib/snapd/snap/core18/2074 loop2 7:2 0 65.1M 1 loop /var/lib/snapd/snap/gtk-common-themes/1515 /var/lib/snapd/snap/gtk-common-themes/1515 loop3 7:3 0 32.3M 1 loop /var/lib/snapd/snap/snapd/12398 /var/lib/snapd/snap/snapd/12398 zram0 253:0 0 1.5G 0 disk [SWAP] [SWAP] nvme0n1 259:0 0 953.9G 0 disk ├─nvme0n1p1 259:1 0 100M 0 part /boot/efi /boot/efi 6CEB-F417 ├─nvme0n1p2 259:2 0 16M 0 part ├─nvme0n1p3 259:3 0 780.6G 0 part ├─nvme0n1p4 259:4 0 508M 0 part CA343C30343C223D ├─nvme0n1p5 259:5 0 146.5G 0 part 74c51543-eb14-4f61-afeb-b5de6c10a32a │ └─root 254:0 0 146.5G 0 crypt / / e0a93c98-88a8-4fc9-9948-acdb423d05fd └─nvme0n1p6 259:6 0 18.6G 0 part [SWAP] [SWAP] 72db96da-87e4-4b17-a622-6a4d56b314c6 4 ❯ cryptsetup luksDump /dev/nvme0n1p5 # ~ LUKS header information for /dev/nvme0n1p5 Version: 1 Cipher name: aes Cipher mode: xts-plain64 Hash spec: sha256 Payload offset: 4096 MK bits: 512 UUID: 74c51543-eb14-4f61-afeb-b5de6c10a32a ❯ cat /etc/default/grub | grep -v -e '^[[:space:]]*$' -e '^#' # ~ GRUB_DEFAULT=saved GRUB_TIMEOUT=5 GRUB_TIMEOUT_STYLE=hidden GRUB_DISTRIBUTOR="Manjaro" GRUB_CMDLINE_LINUX_DEFAULT="quiet luks.uuid=74c51543-eb14-4f61-afeb-b5de6c10a32a luks.options=discard,no_read_workqueue,no_write_workqueue root=/dev/mapper/luks-e0a93c98-88a8-4fc9-9948-acdb423d05fd splash apparmor=1 security=apparmor udev.log_priority=3" GRUB_CMDLINE_LINUX="" GRUB_SAVEDEFAULT=true GRUB_PRELOAD_MODULES="part_gpt part_msdos" GRUB_TERMINAL_INPUT=console GRUB_GFXMODE=1280x768x32,auto GRUB_DISABLE_RECOVERY=false GRUB_DISABLE_OS_PROBER=false GRUB_COLOR_NORMAL="light-gray/black" GRUB_COLOR_HIGHLIGHT="green/black" GRUB_THEME="/usr/share/grub/themes/manjaro/theme.txt" GRUB_ROOT_FS_RO=true GRUB_ENABLE_CRYPTODISK=y from what I understand systemd-cryptsetup-generator shouldn't need more options, I do have an /etc/crypttab but everything is commented out. I'm fairly confident that GRUB_CMDLINE_LINUX_DEFAULT is my only problem, I'm not certain what it should be though. google isn't finding me a lot of (read no) examples of how to do this with the output of blkid or lsblk.  |
| Error no matching VNC server running for this user Posted: 16 Jul 2021 07:06 AM PDT guys, I'm running Kali Nethunter but when I try to run it in graphical mode by running the command kex & I have this error: vncserver: No matching VNC server running for this user! Does anyone know how I can solve this?  |
| Getting 404 errors when trying to install clang and libclang-dev packages using ‘apt install’ Posted: 16 Jul 2021 10:02 AM PDT I am running into 404 errors when trying to install clang and libclang-dev packages using 'apt install' on PureOS. I am seeing the following error messages when running the command sudo apt install clang Err:1 https://repo.pureos.net/pureos amber/main amd64 libclang-common-7-dev amd64 1:7.0.1-8 404 Not Found [IP: 138.201.228.45 443] Err:2 https://repo.pureos.net/pureos amber/main amd64 libclang1-7 amd64 1:7.0.1-8 404 Not Found [IP: 138.201.228.45 443] Err:3 https://repo.pureos.net/pureos amber/main amd64 clang-7 amd64 1:7.0.1-8 404 Not Found [IP: 138.201.228.45 443] Err:4 https://repo.pureos.net/pureos amber/main amd64 libomp5-7 amd64 1:7.0.1-8 404 Not Found [IP: 138.201.228.45 443] Err:5 https://repo.pureos.net/pureos amber/main amd64 libomp-7-dev amd64 1:7.0.1-8 404 Not Found [IP: 138.201.228.45 443] Err:6 https://repo.pureos.net/pureos amber/main amd64 llvm-7-runtime amd64 1:7.0.1-8 404 Not Found [IP: 138.201.228.45 443] Err:7 https://repo.pureos.net/pureos amber/main amd64 llvm-7 amd64 1:7.0.1-8 404 Not Found [IP: 138.201.228.45 443] Err:8 https://repo.pureos.net/pureos amber/main amd64 llvm-7-dev amd64 1:7.0.1-8 404 Not Found [IP: 138.201.228.45 443] E: Failed to fetch https://repo.pureos.net/pureos/pool/main/l/llvm-toolchain-7/libclang-common-7-dev_7.0.1-8_amd64.deb 404 Not Found [IP: 138.201.228.45 443] E: Failed to fetch https://repo.pureos.net/pureos/pool/main/l/llvm-toolchain-7/libclang1-7_7.0.1-8_amd64.deb 404 Not Found [IP: 138.201.228.45 443] E: Failed to fetch https://repo.pureos.net/pureos/pool/main/l/llvm-toolchain-7/clang-7_7.0.1-8_amd64.deb 404 Not Found [IP: 138.201.228.45 443] E: Failed to fetch https://repo.pureos.net/pureos/pool/main/l/llvm-toolchain-7/libomp5-7_7.0.1-8_amd64.deb 404 Not Found [IP: 138.201.228.45 443] E: Failed to fetch https://repo.pureos.net/pureos/pool/main/l/llvm-toolchain-7/libomp-7-dev_7.0.1-8_amd64.deb 404 Not Found [IP: 138.201.228.45 443] E: Failed to fetch https://repo.pureos.net/pureos/pool/main/l/llvm-toolchain-7/llvm-7-runtime_7.0.1-8_amd64.deb 404 Not Found [IP: 138.201.228.45 443] E: Failed to fetch https://repo.pureos.net/pureos/pool/main/l/llvm-toolchain-7/llvm-7_7.0.1-8_amd64.deb 404 Not Found [IP: 138.201.228.45 443] E: Failed to fetch https://repo.pureos.net/pureos/pool/main/l/llvm-toolchain-7/llvm-7-dev_7.0.1-8_amd64.deb 404 Not Found [IP: 138.201.228.45 443] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? similar happens with libclang-dev: Err:1 https://repo.pureos.net/pureos amber/main amd64 libclang1-7 amd64 1:7.0.1-8 404 Not Found [IP: 138.201.228.45 443] Err:2 https://repo.pureos.net/pureos amber/main amd64 libclang-common-7-dev amd64 1:7.0.1-8 404 Not Found [IP: 138.201.228.45 443] Err:3 https://repo.pureos.net/pureos amber/main amd64 libclang-7-dev amd64 1:7.0.1-8 404 Not Found [IP: 138.201.228.45 443] E: Failed to fetch https://repo.pureos.net/pureos/pool/main/l/llvm-toolchain-7/libclang1-7_7.0.1-8_amd64.deb 404 Not Found [IP: 138.201.228.45 443] E: Failed to fetch https://repo.pureos.net/pureos/pool/main/l/llvm-toolchain-7/libclang-common-7-dev_7.0.1-8_amd64.deb 404 Not Found [IP: 138.201.228.45 443] E: Failed to fetch https://repo.pureos.net/pureos/pool/main/l/llvm-toolchain-7/libclang-7-dev_7.0.1-8_amd64.deb 404 Not Found [IP: 138.201.228.45 443] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? Browsing the https://repo.pureos.net/pureos/pool/main/l/llvm-toolchain-7, I can see the packages are there, but all of them have a "+deb10u2" included in the name. For example, if you look at the first 404 you'll see apt is trying to find a package with the name libclang-common-7-dev_7.0.1-8_amd64.deb, but the package on the repository is named libclang-common-7-dev_7.0.1-8+deb10u2_amd64.deb. I only face this problem with these two specific packages, I've used apt to install several other packages and everything worked fine. I already tried the solutions suggested by apt ("maybe run apt-get update or try with --fix-missing?"). In fact, when I try running apt install with --fix-missing, I get an additional error line which says: "Unable to correct missing packages." I also tried using apt-get instead, and I also tried running a clean, update and upgrade before installing the package with both apt and apt-get, but also without success.  |
| An installation step failed. You can try to run the failing item again from the menu, or skip it and choose something else Posted: 16 Jul 2021 09:17 AM PDT I'm having an issue installing Kali in VirtualBox from the iso. I've followed these instructions, but I'm getting an error: An installation step failed. You can try to run the failing item again from the menu, or skip it and choose something else. The failing step is: Select and install software. This type of question has been asked by others, but all the solutions seem to be increasing disk space, which I've done. I'm using VB 6.1.6 r137129 (Qt5.6.2) and the latest Kali I think I'm installing a rather minimal setup. I've set up what should be plenty of RAM and hard drive space: Setup: https://i.stack.imgur.com/k6Vz6.png https://i.stack.imgur.com/qGXYv.png Installing: https://i.stack.imgur.com/Orj5C.png Error occurs during the middle of the "select and install software" process: https://i.stack.imgur.com/FKHIh.png  |
| undefined reference, even when the linked library does exist Posted: 16 Jul 2021 07:02 AM PDT I'm trying to compile VTK from source and I received the following error. I'm running Fedora 27, kernel version 4.14.11-300.fc27.x86_64 /usr/lib64/libSM.so: undefined reference to `uuid_generate@UUID_1.0' /usr/lib64/libSM.so: undefined reference to `uuid_unparse_lower@UUID_1.0' ldd /usr/lib64/libSM.so shows $ldd /usr/lib64/libSM.so linux-vdso.so.1 (0x00007ffd4998b000) libICE.so.6 => /lib64/libICE.so.6 (0x00007f3aa36ff000) libuuid.so.1 => /lib64/libuuid.so.1 (0x00007f3aa34fa000) libc.so.6 => /lib64/libc.so.6 (0x00007f3aa3115000) /lib64/ld-linux-x86-64.so.2 (0x00007f3aa3b23000) Further looking at the symbols in libuuid.so.1 shows $objdump -T /lib64/libuuid.so.1 | grep 'uuid_generate$' 0000000000002370 g DF .text 0000000000000087 UUID_1.0 uuid_generate $objdump -T /lib64/libuuid.so.1 | grep 'uuid_unparse_lower' 0000000000002710 g DF .text 0000000000000002 UUID_1.0 uuid_unparse_lower The output of ldconfig is $sudo ldconfig -p | grep libuuid libuuid.so.1 (libc6,x86-64) => /lib64/libuuid.so.1 libuuid.so.1 (libc6) => /lib/libuuid.so.1 $ sudo ldconfig -p | grep libSM libSM.so.6 (libc6,x86-64) => /lib64/libSM.so.6 libSM.so.6 (libc6) => /lib/libSM.so.6 libSM.so (libc6,x86-64) => /lib64/libSM.so I'm not sure, what is going on here. Can someone please help? Thank you Senthil  |
| Adding multiple user accounts on different primary/secondary groups Posted: 16 Jul 2021 10:02 AM PDT I am trying to create several user accounts with different groups in an imx6 board. Currently, no users are created in the device. Hence, I see 1000:1000 as my default user:group ID. The scenario I need to implement is as follows: Create two groups: grp1, grp2 Create three users: A, B, C User A: primary group-grp1, User B: primary group-grp1, secondary group- grp2 User C: primary group-grp2 Also, these users should be able to communicate via message queues. Users (A & B) and (B & C) should be able to communicate via message queues. Users (A & C) should not be able to communicate. In a Server/Client program, I have already set mq_open file permissions as (S_IRWXU | S_IRWXG ), so that only users in the same group can be communicated. The steps I followed to create different users are: adduser abc This creates a user with uid:guid 1000:1000 in /etc/passwd abc:$1$SqakfDG7$cPlfYQT8YmkcvgzazVKvZ/:1000:1000:Linux User,,,:/home/abc:/bin/sh addgroup grp1 addgroup grp2 Above step creates two groups in /etc/group as below. grp1:x:1001: grp2:x:1002: Create user A,B with grp1, and C with grp2 adduser -G grp1 A adduser -G grp1 B adduser -G grp2 C This creates user A in /etc/passwd A:$1$E8MDq2ND$/qU4011IYRaisq7EfJh00/:1001:1001:Linux User,,,:/home/A:/bin/sh B:$1$l2iSdPAh$ggD5NQAC1nJzbVfNVO/Kk.:1002:1001:Linux User,,,:/home/B:/bin/sh C:$1$2Y6v67Wz$TYNxHBltTNeCDhAnnAFd3.:1003:1002:Linux User,,,:/home/C:/bin/sh And in /etc/group A:x:1003: B:x:1004: C:x:1005: As you can see users A and B has the same group id (grp1) (i.e. 1001), and my server/client program successfully run. The issue is to add group B into the secondary group "grp2". Typing "id A" "id B" and "id C" gives me: uid=1001(A) gid=1001(grp1) groups=1001(grp1) uid=1002(B) gid=1001(grp1) groups=1001(grp1) uid=1003(C) gid=1002(grp2) groups=1002(grp2) Tried adding user "B" to "grp2" using usermod command as explained in Primary and secondary groups usermod -a -G grp2 B but "id B" doesn't change uid=1002(B) gid=1001(grp1) groups=1001(grp1) I even tried adding user "B" to groups grp1 and grp2 when creating it for the first time adduser -G grp1,grp2 B However, I get the following error. adduser: unknown group grp1,grp2 Any idea what could I have done wrong? Thanks alot!!  |
| Bind C-i and TAB keys to different commands in terminal applications via .inputrc Posted: 16 Jul 2021 09:27 AM PDT For what I have tried, TAB and C-i in .inputrc seems to mean the same thing, whatever I bind to one is bound to the other. I know that originally, it was the same thing and that this behavior is kind of inherited from the old times but nowadays, apart from terminal emulators, all X applications makes the difference between a C-i and a TAB press. So is there a way to run a terminal command ("complete" for example) when I press the TAB key and run another command when I press C-i? (the same question applies for C-m and ENTER, C-z, C-d, and all these control sequences that I would like to send by other means than their original binding and apply my own commands to these precious keybindings) And by the way, if you could explain a little bit the process from a keypress to a shell interpretation that would help me understand. For now I understood that keyboard events are translated by Xmodmap, then by .inputrc and that the result is interpreted by the shell or something like this. I am currently using Guake, and sometimes gnome-terminal, as terminal emulators. After following the link proposed in a comment, it appears that the terminal emulator is the element of the chain that transforms TAB keysym from X server into C-i, and sends it to the bash shell because it doesn't understand such things as TAB, ENTER and siblings. So configuring readline itself won't work as it comes after the terminal emulator and before the bash shell. The question could be then precised like this: How to configure my terminal emulator so it translates TAB and C-i, ENTER and C-m, etc, to different pairs of character sequences? Maybe make TAB and ENTER send a new custom escape sequence, that could be mapped in .inputrc later to the original commands, and finally be able to use C-i and C-m for other purposes. Or leave TAB and ENTER and make C-i and C-m send escape sequences instead.  |
| Iptables not forwarding. Input instead Posted: 16 Jul 2021 08:09 AM PDT I have set up iptables on my ubuntu headless server: iptables -S -P INPUT ACCEPT -P FORWARD DROP -P OUTPUT ACCEPT -A INPUT -s 10.1.3.90/32 -i eth0 -j LOG --log-prefix "INPUT: " -A INPUT -i eth1 -j ACCEPT -A INPUT -i ppp0 -j ACCEPT -A FORWARD -s 10.1.3.90/32 -i eth0 -j LOG --log-prefix "FORWARD: " -A FORWARD -i eth0 -j ACCEPT -A FORWARD -i eth1 -o eth0 -j ACCEPT -A FORWARD -i ppp0 -o eth0 -j ACCEPT iptables -S -t nat -P PREROUTING ACCEPT -P INPUT ACCEPT -P OUTPUT ACCEPT -P POSTROUTING ACCEPT -A PREROUTING -s 10.1.3.90/32 -j LOG --log-prefix "ROUTE: " -A PREROUTING -i eth0 -p tcp -m tcp --dport 22 -j ACCEPT -A PREROUTING -i eth0 -p tcp -m tcp --dport 11108 -j DNAT --to-destination 169.254.1.2:11108 -A PREROUTING -i eth0 -p udp -m udp --dport 11108 -j DNAT --to-destination 169.254.1.2:11108 -A PREROUTING -i eth0 -p tcp -m tcp --dport 5555 -j DNAT --to-destination 169.254.1.2:5555 -A PREROUTING -i eth0 -j DNAT --to-destination 169.254.2.2 -A POSTROUTING -o eth0 -j MASQUERADE -A POSTROUTING -s 169.254.1.2/32 -o eth0 -j MASQUERADE -A POSTROUTING -s 169.254.2.2/32 -o eth0 -j MASQUERADE When i send UDP packet to port 11108 it should be routed to ppp0 169.254.1.2:11108 and FORWARD rule should apply. instead a INPUT rule is applied and packet is not routed. this is the log from kernel. there is no FORWARD: Jun 20 10:58:51 ubuntu kernel: [ 337.871043] INPUT: IN=eth0 OUT= MAC=00:1c:42:02:04:dd:00:1c:42:d7:b0:24:08:00 SRC=10.1.3.90 DST=10.1.3.117 LEN=52 TOS=0x00 PREC=0x00 TTL=128 ID=22127 PROTO=UDP SPT=11108 DPT=11108 LEN=32 Jun 20 10:58:53 ubuntu kernel: [ 339.865420] INPUT: IN=eth0 OUT= MAC=00:1c:42:02:04:dd:00:1c:42:d7:b0:24:08:00 SRC=10.1.3.90 DST=10.1.3.117 LEN=68 TOS=0x00 PREC=0x00 TTL=128 ID=22484 PROTO=UDP SPT=11108 DPT=11108 LEN=48 Jun 20 10:58:55 ubuntu kernel: [ 341.864446] INPUT: IN=eth0 OUT= MAC=00:1c:42:02:04:dd:00:1c:42:d7:b0:24:08:00 SRC=10.1.3.90 DST=10.1.3.117 LEN=68 TOS=0x00 PREC=0x00 TTL=128 ID=22818 PROTO=UDP SPT=11108 DPT=11108 LEN=48 Jun 20 10:58:57 ubuntu kernel: [ 343.707469] ROUTE: IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:1c:42:d7:b0:24:08:00 SRC=10.1.3.90 DST=10.1.3.255 LEN=229 TOS=0x00 PREC=0x00 TTL=128 ID=23133 PROTO=UDP SPT=138 DPT=138 LEN=209 Jun 20 10:58:57 ubuntu kernel: [ 343.863994] INPUT: IN=eth0 OUT= MAC=00:1c:42:02:04:dd:00:1c:42:d7:b0:24:08:00 SRC=10.1.3.90 DST=10.1.3.117 LEN=68 TOS=0x00 PREC=0x00 TTL=128 ID=23266 PROTO=UDP SPT=11108 DPT=11108 LEN=48 Jun 20 10:58:59 ubuntu kernel: [ 345.877465] INPUT: IN=eth0 OUT= MAC=00:1c:42:02:04:dd:00:1c:42:d7:b0:24:08:00 SRC=10.1.3.90 DST=10.1.3.117 LEN=52 TOS=0x00 PREC=0x00 TTL=128 ID=23684 PROTO=UDP SPT=11108 DPT=11108 LEN=32 Jun 20 10:58:59 ubuntu kernel: [ 345.879215] INPUT: IN=eth0 OUT= MAC=00:1c:42:02:04:dd:00:1c:42:d7:b0:24:08:00 SRC=10.1.3.90 DST=10.1.3.117 LEN=68 TOS=0x00 PREC=0x00 TTL=128 ID=23707 PROTO=UDP SPT=11108 DPT=11108 LEN=48 Jun 20 10:59:00 ubuntu kernel: [ 346.010347] ROUTE: IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:1c:42:d7:b0:24:08:00 SRC=10.1.3.90 DST=10.1.3.255 LEN=78 TOS=0x00 PREC=0x00 TTL=128 ID=23798 PROTO=UDP SPT=137 DPT=137 LEN=58 Jun 20 10:59:00 ubuntu kernel: [ 346.759893] ROUTE: IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:1c:42:d7:b0:24:08:00 SRC=10.1.3.90 DST=10.1.3.255 LEN=78 TOS=0x00 PREC=0x00 TTL=128 ID=23811 PROTO=UDP SPT=137 DPT=137 LEN=58 Jun 20 10:59:01 ubuntu kernel: [ 347.509887] ROUTE: IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:1c:42:d7:b0:24:08:00 SRC=10.1.3.90 DST=10.1.3.255 LEN=78 TOS=0x00 PREC=0x00 TTL=128 ID=23944 PROTO=UDP SPT=137 DPT=137 LEN=58 Jun 20 10:59:01 ubuntu kernel: [ 347.878185] INPUT: IN=eth0 OUT= MAC=00:1c:42:02:04:dd:00:1c:42:d7:b0:24:08:00 SRC=10.1.3.90 DST=10.1.3.117 LEN=68 TOS=0x00 PREC=0x00 TTL=128 ID=24086 PROTO=UDP SPT=11108 DPT=11108 LEN=48 Jun 20 10:59:01 ubuntu kernel: [ 347.881900] INPUT: IN=eth0 OUT= MAC=00:1c:42:02:04:dd:00:1c:42:d7:b0:24:08:00 SRC=10.1.3.90 DST=10.1.3.117 LEN=52 TOS=0x00 PREC=0x00 TTL=128 ID=24109 PROTO=UDP SPT=11108 DPT=11108 LEN=32  |
| How can I remove the text from a line after a certain character with awk Posted: 16 Jul 2021 08:47 AM PDT How can I use awk to remove all text after a certain character ";" that appears on every line of my text file? (I then need to run for loops on the text) Jenny,Sarah,John;North Dakota Henry,Frank;Illinois Aaron,Kathryn,Caitlin,Harris;New York  |
No comments:
Post a Comment