How do I share my screen with Teams in Firefox / Ubuntu 26.04 (Wayland)? https://askubuntu.com/questions/1567512/how-do-i-share-my-screen-with-teams-in-firefox-ubuntu-26-04-wayland

Screen sharing used to be simple, but since Ubuntu 26.04 uses GNOME without X11 support, only Wayland, the situation changed. Wayland is more secure than X11 and makes it harder for one app access the contents of other apps windows.

If I try to share the screen in Firefox (149.0.2, distributed with Ubuntu), the following happens: first, a dialog appears:

enter image description here

I click on "Allow", select the display to share, briefly a screen sharing icon appears in the GNOME toolbar:

enter image description here

and then disappears. Screen is not shared. The same thing happens if I try to share a window, even a Firefox Window. How can you share a screen with Teams in Firefox on Ubuntu 26.04?

Printer is seen, nothing is sent to it, though https://askubuntu.com/questions/1567511/printer-is-seen-nothing-is-sent-to-it-though

Ubuntu 25.10, USB-printer Brother DCP-L2530DW. This printer worked on this system when I still uses wayland. I moved back to X for compatibility with both hard- and software. Since then the printer can be found, but nothing gets sent to it. I juggled around with cups ind brother-drivers and am just getting deeper in a mess. So how can I remove all printer-related material from Ubuntu, and what do I then need to make it use this printer properly?

Need working procudure to update 24.04.4 LTC [duplicate] https://askubuntu.com/questions/1567510/need-working-procudure-to-update-24-04-4-ltc

can I update from 24.04.4 LTS to newest version yet? If not when will 26.04.01 LTS be available

In Ubuntu 24.04 there's no sound from the headphones, only from the speakers https://askubuntu.com/questions/1567509/in-ubuntu-24-04-theres-no-sound-from-the-headphones-only-from-the-speakers

I have a new ThinkPad-E16-Gen-3, bought without any OS, on which I put Ubuntu 24.04.3 LTS. My CPU is Intel Core 3 100U × 8.

While sound works from the laptop's integrated speaker, no sound whatsoever has ever come out of my (otherwise working) headphones/earplugs - and this, despite them being recognized by the system when I test the sound in vain.

Following advice on this website, I checked the codec and this is what I got:

My input:

~$ grep "Codec:" /proc/asound/card*/codec*

My terminal’s output:

/proc/asound/card0/codec#0:Codec: Conexant SN6140
/proc/asound/card0/codec#2:Codec: Intel Raptor Lake P HDMI

How can I fix this? I can't code, just copy and paste the right input on my terminal if I have clear instructions.

Ubuntu freezes and a force quit pop-up shows up https://askubuntu.com/questions/1567502/ubuntu-freezes-and-a-force-quit-pop-up-shows-up

I am using Ubuntu 26.04. Whenever I open any app, after few seconds the app freezes and a force quit pop-up notification shows up frequently.

enter image description here

installing ubuntu 20.04 isnt working for me [closed] https://askubuntu.com/questions/1567500/installing-ubuntu-20-04-isnt-working-for-me

i had tried first to boot from live usb (gpt partition). removed quiet splash, modified nomodeset etc, tried the safe graphics and normal mode.

it resulted in a black lit up screen, nothing appears after the grub menu.

then i switched to MBR partition, enabled CSM and legacy boot. doesn't work too, same black screen.

secure boot and fast boot are disabled. my PC uses AMD processor, how to make it work? previously i managed to get ubuntu 26.04 but as i need to run ROS Foxy, i deleted it and wanted to switch to 20.04. thanks.

trying to install ubuntu 26.4 and apparently something is stuck https://askubuntu.com/questions/1567495/trying-to-install-ubuntu-26-4-and-apparently-something-is-stuck

The spinning wheel above the Ubuntu logo has been spinning for hours. So my question is what do to drop that screen so that I can see what's going on behind it?

How to run a .bat file? https://askubuntu.com/questions/1567493/how-to-run-a-bat-file

I'm on Ubuntu 24.04 and I have the 9.something version of Wine installed. I have a few games which require running a .bat file (since it wasn't made for Linux) in order to work. When I try to right-click -> Open with wine installer, nothing happens. Then I tried this:

~$ wine cmd.exe /c home/myself/Downloads/thegamefiles/Start—thegame.bat

I got this result:

007c:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\winebth": c0000135
Can't recognize '/home/myself/Downloads/thegamefiles/Start—thegame.bat' as 
an internal or external command, or batch script.

What is the problem and how can I get this to work?

I also tried to make a .sh copy of the file (with #!/bin/bash instead of @echo off), but the terminal tells me command not found for every line. edit: As asked I made this output on the terminal

~$ ls -l /home/myself/Downloads/thegamefiles/Start—thegame.bat

And I got this:

ls: cannot access '/home/myself/Downloads/thegamefiles/Start—thegame.bat': No such file or driectory

And I can also give the code inside the bat file :

@echo off
title title of the game
echo.
echo   ++++++++++++++++++++++++++++++++++
echo          title of the game
echo         the game
echo   ++++++++++++++++++++++++++++++++++
echo.
echo   Opening browser...
START http://127.0.0.1:29595/
echo   Starting server...
echo.
echo   Closing this window will stop the server
"server/miniweb.exe" -p 29595 -i 127.0.0.1 -r game/thegame >nul 2>&1
echo.
echo   Shutting down...
echo.
Computer is responding slowly since the recent upgrade https://askubuntu.com/questions/1567492/computer-is-responding-slowly-since-the-recent-upgrade

I'm running Ubuntu Studio 26.04, and have had a problem with the keyboard and mouse responding very slowly. Also when playing video on Firefox the picture is very jerky and appears to be running at a very low frame rate, 2 or 3 fps.

I think the hardware is OK as I can run Firefox from a live USB stick, and everything runs as it should.

While I was running the live distro I checked the filesystem using fsck -f /dev/sda5. It found a couple of errors with an inode (something about a wide tree) which I fixed. When I rebooted into Ubuntu it was just as slow.

I haven't seen any similar faults reported. Where should I start looking?

Automatically swtiched from interim release to LTS https://askubuntu.com/questions/1567490/automatically-swtiched-from-interim-release-to-lts

I have installed Ubuntu 23.10, not LTS, but recently when I updated, I see that I have the LTS version installed. Was this release upgrade done on purpose by Ubuntu? What is the deal with this?

trying to set up multiple IP on a bond , getting a deprecation message https://askubuntu.com/questions/1567489/trying-to-set-up-multiple-ip-on-a-bond-getting-a-deprecation-message

I have a netplan below with a bond and 2 IP addresses I was looking on how to handle the default route and the route for the real routable

network:
  version: 2
  renderer: networkd
  ethernets:
    eno12399np0:
      dhcp4: no
    eno12409np1:
      dhcp4: no
    enp160s0f0np0:
      dhcp4: no
    enp160s0f1np1:
      dhcp4: no
  bonds:
    bond0:
      interfaces: [eno12399np0, eno12409np1, enp160s0f0np0, enp160s0f1np1]
      addresses:
        - 10.221.163.75/24
        - 142.165.6.7/26
      gateway4: 142.165.6.1
        #      gateway4: 10.221.163.1
      nameservers:
              addresses: [8.8.8.8,142.165.21.5]
                # routes:
                #- to: "default"
                #via: 10.221.163.1
      parameters:
        mode: 802.3ad  # Or 'active-backup'
        mii-monitor-interval: 100

  vlans:
    vlan.163:
        id: 163
        link: bond0
        addresses: [10.221.163.75/24]
        nameservers:
              addresses: [142.165.21.5, 8.8.8.8]
        routes:
        - to: "default"
          via: 10.221.163.1
          #      parameters:
          #mode: 802.3ad
          #mii-monitor-interval: 100

when I apply it I get deprecation warnings

custadmin@gpurafay-1:~$ sudo netplan apply

** (generate:3966219): WARNING **: 16:12:25.535: `gateway4` has been deprecated, use default routes instead.
See the 'Default routes' section of the documentation for more details.

** (generate:3966219): WARNING **: 16:12:25.535: Problem encountered while validating default route consistency.Please set up multiple routing tables and use `routing-policy` instead.
Error: Conflicting default route declarations for IPv4 (table: main, metric: default), first declared in bond0 but also in vlan.163

** (process:3966217): WARNING **: 16:12:26.023: `gateway4` has been deprecated, use default routes instead.
See the 'Default routes' section of the documentation for more details.

** (process:3966217): WARNING **: 16:12:26.023: Problem encountered while validating default route consistency.Please set up multiple routing tables and use `routing-policy` instead.
Error: Conflicting default route declarations for IPv4 (table: main, metric: default), first declared in bond0 but also in vlan.163

** (process:3966217): WARNING **: 16:12:26.635: `gateway4` has been deprecated, use default routes instead.
See the 'Default routes' section of the documentation for more details.

** (process:3966217): WARNING **: 16:12:26.635: Problem encountered while validating default route consistency.Please set up multiple routing tables and use `routing-policy` instead.
Error: Conflicting default route declarations for IPv4 (table: main, metric: default), first declared in bond0 but also in vlan.163

googling around I can't see how to properly enter routes in UBUNTU 24.04

here is the more complicated routing and vlaning

  vlans:
    vlan.163:
        id: 163
        link: bond0
        addresses: [10.221.163.75/24]
        nameservers:
              addresses: [142.165.21.5, 8.8.8.8]
        routes:
        - to: "default"
          via: 10.221.163.1

    vlan.209:
        id: 209
        link: bond0
        addresses: [142.165.6.7/25]
        nameservers:
              addresses: [142.165.21.5, 8.8.8.8]
        routes:
        - to: 142.165.6.0/25
          via: 142.165.6.1
Trial of Lubuntu running from USB stick but MacBook wireless is not working https://askubuntu.com/questions/1567486/trial-of-lubuntu-running-from-usb-stick-but-macbook-wireless-is-not-working

I have found that the correct wireless driver for my MacBook is broadcom-sta-dkms. I followed advice about installing it, but nothing had changed after rebooting. I suspect this is because I'm booting from a USB as 'Try Lubuntu' rather than running an installed version. Is it possible to get the driver to load after/during booting from a USB stick? MacBook Air does not have an Ethernet port, but I managed to run via a USB tether to my phone and the installation of the correct driver seems to have succeeded.

How to use the Raspicam on a Raspberry Pi 4B with Ubuntu 24 Server https://askubuntu.com/questions/1567475/how-to-use-the-raspicam-on-a-raspberry-pi-4b-with-ubuntu-24-server

enter image description here

I'm encountering difficulties running the Raspicam on Ubuntu 24.04.4 LTS Server

I got the raspicam working by compiling libcamera from source, then using MJPG webserver streaming. latency is good at less than 150ms but is CPU heavy. it's 350mA idle, and 700mA when streaming.. So ?m sure the pipeline can work.

I ought to be using the hardware h264 encoder and stream h264

I attempted to do it with OpenCV. My plan is to use the V4L2 linux driver without libcamera, and open the media sources with opencv. Get a stream from /dev/video0 feed it to the transcoder /dev/video10 take the frames and send the stream this way.

(.venv) sona@rpi4-orso-sdbh:~/HowTo-Ubuntu24S-Raspicam-Webserver-Streaming$ v4l2-ctl --list-devices
bcm2835-codec-decode (platform:bcm2835-codec):
        /dev/video10
        /dev/video11
        /dev/video12
        /dev/video18
        /dev/video31
        /dev/media3

bcm2835-isp (platform:bcm2835-isp):
        /dev/video13
        /dev/video14
        /dev/video15
        /dev/video16
        /dev/video20
        /dev/video21
        /dev/video22
        /dev/video23
        /dev/media1
        /dev/media4

unicam (platform:fe801000.csi):
        /dev/video0
        /dev/media2

rpivid (platform:rpivid):
        /dev/video19
        /dev/media0

OpenCV does open the camera, but I only get black frames, and I don't understand why...

"""
uv pip install opencv-python-headless
python demo-opencv-snap-still.py
"""

import subprocess
import cv2
import numpy as np

DEVICE = "/dev/video0"
#DEVICE = "/dev/media0"
NUM_FRAMES = 10

print(f"\n=== Inspecting {DEVICE} ===\n")

# --- 1. Device info ---------------------------------------------------------
def print_device_info(dev):
    print("Device info:")
    try:
        out = subprocess.check_output(
            ["v4l2-ctl", "-d", dev, "--info"],
            stderr=subprocess.STDOUT
        ).decode()
        print(out)
    except Exception as e:
        print("  Could not read device info:", e)

# --- 2. Supported resolutions -----------------------------------------------
def print_resolutions(dev):
    print("Supported formats & resolutions:")
    try:
        out = subprocess.check_output(
            ["v4l2-ctl", "-d", dev, "--list-formats-ext"],
            stderr=subprocess.STDOUT
        ).decode()
        print(out)
    except Exception as e:
        print("  Could not list resolutions:", e)

# --- 3. OpenCV capture + brightness test ------------------------------------
def test_capture(dev):
    print(f"\nOpening {dev} with OpenCV...\n")
    cap = cv2.VideoCapture(dev)

    if not cap.isOpened():
        print("ERROR: OpenCV cannot open device")
        return

    # --- Show what OpenCV actually selected ---
    w = cap.get(cv2.CAP_PROP_FRAME_WIDTH)
    h = cap.get(cv2.CAP_PROP_FRAME_HEIGHT)
    fourcc = int(cap.get(cv2.CAP_PROP_FOURCC))
    fmt = "".join([chr((fourcc >> 8*i) & 0xFF) for i in range(4)])

    print(f"OpenCV selected resolution: {int(w)}x{int(h)}")
    print(f"OpenCV selected pixel format: {fmt}")

    brightness_values = []
    last_frame = None

    for i in range(NUM_FRAMES):
        ret, frame = cap.read()
        if not ret:
            print(f"Frame {i}: FAILED")
            continue

        print("Frame shape:", frame.shape, "dtype:", frame.dtype)
        print("First 32 bytes:", frame.flatten()[:32])


        last_frame = frame

        gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY)
        brightness = float(np.mean(gray))
        brightness_values.append(brightness)

        print(f"Frame {i}: brightness={brightness:.2f}")

    cap.release()

    if brightness_values:
        avg = sum(brightness_values) / len(brightness_values)
        print(f"\nAverage brightness: {avg:.2f}")
    else:
        print("No valid frames captured.")

    if last_frame is not None:
        cv2.imwrite("test.jpg", last_frame)
        print("Saved test.jpg")


# --- Run all diagnostics ----------------------------------------------------
print_device_info(DEVICE)
print_resolutions(DEVICE)
test_capture(DEVICE)
(.venv) sona@rpi4-orso-sdl:~/HowTo-Ubuntu24S-Raspicam-Webserver-Streaming$ python demo-opencv-snap-still.py

=== Inspecting /dev/video0 ===

Device info:
Driver Info:
        Driver name      : unicam
        Card type        : unicam
        Bus info         : platform:fe801000.csi
        Driver version   : 6.8.12
        Capabilities     : 0xa5a00001
                Video Capture
                Metadata Capture
                I/O MC
                Read/Write
                Streaming
                Extended Pix Format
                Device Capabilities
        Device Caps      : 0x25200001
                Video Capture
                I/O MC
                Read/Write
                Streaming
                Extended Pix Format
Media Driver Info:
        Driver name      : unicam
        Model            : unicam
        Serial           : 
        Bus info         : platform:fe801000.csi
        Media version    : 6.8.12
        Hardware revision: 0x00000000 (0)
        Driver version   : 6.8.12
Interface Info:
        ID               : 0x03000005
        Type             : V4L Video
Entity Info:
        ID               : 0x00000003 (3)
        Name             : unicam-image
        Function         : V4L2 I/O
        Flags            : default
        Pad 0x01000004   : 0: Sink
          Link 0x02000007: from remote pad 0x1000002 of entity 'ov5647 10-0036' (Camera Sensor): Data, Enabled, Immutable

Supported formats & resolutions:
ioctl: VIDIOC_ENUM_FMT
        Type: Video Capture

        [0]: 'YUYV' (YUYV 4:2:2)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [1]: 'UYVY' (UYVY 4:2:2)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [2]: 'YVYU' (YVYU 4:2:2)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [3]: 'VYUY' (VYUY 4:2:2)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [4]: 'RGBP' (16-bit RGB 5-6-5)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [5]: 'RGBR' (16-bit RGB 5-6-5 BE)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [6]: 'RGBO' (16-bit A/XRGB 1-5-5-5)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [7]: 'RGBQ' (16-bit A/XRGB 1-5-5-5 BE)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [8]: 'RGB3' (24-bit RGB 8-8-8)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [9]: 'BGR3' (24-bit BGR 8-8-8)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [10]: 'RGB4' (32-bit A/XRGB 8-8-8-8)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [11]: 'BA81' (8-bit Bayer BGBG/GRGR)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [12]: 'GBRG' (8-bit Bayer GBGB/RGRG)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [13]: 'GRBG' (8-bit Bayer GRGR/BGBG)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [14]: 'RGGB' (8-bit Bayer RGRG/GBGB)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [15]: 'pBAA' (10-bit Bayer BGBG/GRGR Packed)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [16]: 'BG10' (10-bit Bayer BGBG/GRGR)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [17]: 'pGAA' (10-bit Bayer GBGB/RGRG Packed)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [18]: 'GB10' (10-bit Bayer GBGB/RGRG)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [19]: 'pgAA' (10-bit Bayer GRGR/BGBG Packed)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [20]: 'BA10' (10-bit Bayer GRGR/BGBG)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [21]: 'pRAA' (10-bit Bayer RGRG/GBGB Packed)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [22]: 'RG10' (10-bit Bayer RGRG/GBGB)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [23]: 'pBCC' (12-bit Bayer BGBG/GRGR Packed)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [24]: 'BG12' (12-bit Bayer BGBG/GRGR)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [25]: 'pGCC' (12-bit Bayer GBGB/RGRG Packed)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [26]: 'GB12' (12-bit Bayer GBGB/RGRG)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [27]: 'pgCC' (12-bit Bayer GRGR/BGBG Packed)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [28]: 'BA12' (12-bit Bayer GRGR/BGBG)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [29]: 'pRCC' (12-bit Bayer RGRG/GBGB Packed)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [30]: 'RG12' (12-bit Bayer RGRG/GBGB)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [31]: 'pBEE' (14-bit Bayer BGBG/GRGR Packed)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [32]: 'BG14' (14-bit Bayer BGBG/GRGR)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [33]: 'pGEE' (14-bit Bayer GBGB/RGRG Packed)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [34]: 'GB14' (14-bit Bayer GBGB/RGRG)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [35]: 'pgEE' (14-bit Bayer GRGR/BGBG Packed)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [36]: 'GR14' (14-bit Bayer GRGR/BGBG)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [37]: 'pREE' (14-bit Bayer RGRG/GBGB Packed)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [38]: 'RG14' (14-bit Bayer RGRG/GBGB)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [39]: 'BYR2' (16-bit Bayer BGBG/GRGR)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [40]: 'GB16' (16-bit Bayer GBGB/RGRG)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [41]: 'GR16' (16-bit Bayer GRGR/BGBG)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [42]: 'RG16' (16-bit Bayer RGRG/GBGB)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [43]: 'GREY' (8-bit Greyscale)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [44]: 'Y10P' (10-bit Greyscale (MIPI Packed))
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [45]: 'Y10 ' (10-bit Greyscale)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [46]: 'Y12P' (12-bit Greyscale (MIPI Packed))
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [47]: 'Y12 ' (12-bit Greyscale)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [48]: 'Y14P' (14-bit Greyscale (MIPI Packed))
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [49]: 'Y14 ' (14-bit Greyscale)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1
        [50]: 'Y16 ' (16-bit Greyscale)
                Size: Stepwise 16x16 - 16376x16376 with step 1/1


Opening /dev/video0 with OpenCV...

OpenCV selected resolution: 640x480
OpenCV selected pixel format: BGR3
Frame shape: (480, 640, 3) dtype: uint8
First 32 bytes: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]
Frame 0: brightness=0.00
Frame shape: (480, 640, 3) dtype: uint8
First 32 bytes: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]
Frame 1: brightness=0.00
Frame shape: (480, 640, 3) dtype: uint8
First 32 bytes: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]
Frame 2: brightness=0.00
Frame shape: (480, 640, 3) dtype: uint8
First 32 bytes: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]
Frame 3: brightness=0.00
Frame shape: (480, 640, 3) dtype: uint8
First 32 bytes: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]
Frame 4: brightness=0.00
Frame shape: (480, 640, 3) dtype: uint8
First 32 bytes: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]
Frame 5: brightness=0.00
Frame shape: (480, 640, 3) dtype: uint8
First 32 bytes: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]
Frame 6: brightness=0.00
Frame shape: (480, 640, 3) dtype: uint8
First 32 bytes: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]
Frame 7: brightness=0.00
Frame shape: (480, 640, 3) dtype: uint8
First 32 bytes: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]
Frame 8: brightness=0.00
Frame shape: (480, 640, 3) dtype: uint8
First 32 bytes: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]
Frame 9: brightness=0.00

Average brightness: 0.00
Saved test.jpg

I added some diagnostics, and it seems to be imx219 V4L2 but I only grab black, and I don't understand why.

Frame snapped by the libcamera webserver streaming based script to test that hardware works enter image description here

Frame snapped by the opencv based still script that is black. It seems to open the camera, but it just grabs black.

enter image description here

I'd like help understand what I'm doing wrong here.

Laptop does not wake up from suspend https://askubuntu.com/questions/1567470/laptop-does-not-wake-up-from-suspend

My laptop does not wake up from suspend, both when closing the lid or when clicking power off -> suspend in the top right corner of the screen.

I'm aware that this has been asked a lot of times before here, but most of these threads are 10+ years old and the most common fix of editing grub didn't work for me.

I have tried adding acpi=force apm=power_off reboot=bios to /etc/default/grub and updating with sudo update-grub:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_iommu=igfx_off acpi=force apm=power_off reboot=bios"

to no avail.

OS: Ubuntu 24.04.4 LTS Model: Lenovo ThinkPad T460s

The issue might be related to the machine not powering off correctly either

How to kill a running snapd instance? [duplicate] https://askubuntu.com/questions/1567450/how-to-kill-a-running-snapd-instance

Edit:

My question is different from How to remove snap from Ubuntu? because I am asking how to kill the daemon snapd, not how to remove snap.

I have re-arranged rant/question to try to make this clearer.


Question

After eventually getting a terminal up, and running top, each time I kill snapd another one immediately takes it's place! It's a monster.

Should I have used a systemd command?
If so, which one?


Rant

Is there a campaign to have snap removed from Ubuntu?

If so, I'd like to join it, sign it, wear the tee shirt, and bang the ruddy drum!

It's a reasonable idea, but it's not production ready!

Yet again, I fire up my Virtualbox instance only to have it hang because snapd is hammering my processor and gobbling up all my RAM causing kswapd0 to also hammer my CPU.

How do I get the `usg` (Ubuntu Security Guide) tooling in Ubuntu 26.04? https://askubuntu.com/questions/1567430/how-do-i-get-the-usg-ubuntu-security-guide-tooling-in-ubuntu-26-04

I ran USG under earlier version of Ubuntu but it does not appear to be available on 26.04. Is there a replacement? I see there is a compliance section on the security center but there is a big splash screen that says it is only recommended for certain hardneing requirements and everything is greyed out.

BackupPC fails to backup Clients running Kubuntu 26.04LTS https://askubuntu.com/questions/1567415/backuppc-fails-to-backup-clients-running-kubuntu-26-04lts

I have been using BackupPC for very many years. I have 2 backup systems (belt and braces) backing up about 25 clients of various sorts all running Linux in various flavours. All the backups use rsync for the backups,

Currently both BackupPCs are Raspberry Pi5s running RaspiOS. Both have the same problem, so I think the problem lies with the Clients, not the Hosts.

BackupPC is Version 4.4.0-8
rsync_bpc version 3.1.3.0

I recently changed the OS on my PC and Laptop to Kubuntu 26.04 (previously running Gentoo with BackupPC working fine) and have the same sudo settings as before. I have no Firewall running. I picked the main command out and issued it from the command line with -vvv added and I get this:

/usr/libexec/backuppc-rsync/rsync_bpc -vvv --bpc-top-dir /var/lib/backuppc --bpc-host-name scorpio --bpc-share-name / --bpc-bkup-num 24 --bpc-bkup-comp 3 --bpc-bkup-prevnum -1 --bpc-bkup-prevcomp -1 --bpc-bkup-inode0 6677154 --bpc-log-level 1 --bpc-attrib-new -e /usr/bin/ssh\ -l\ backuppc --rsync-path=/usr/bin/sudo\ \ /usr/bin/rsync --super --recursive --protect-args --numeric-ids --perms --owner --group -D --times --links --hard-links --delete --delete-excluded --one-file-system --partial --log-format=log:\ %o\ %i\ %B\ %8U,%8G\ %9l\ %f%L --stats --timeout=72000 --exclude=/proc --exclude=/dev --exclude=/cdrom --exclude=/media --exclude=/floppy --exclude=/lost+found --exclude=/sys --exclude=/tmp --exclude=\*~\* --exclude=\*.iso --exclude=/home/francis/storage --exclude=.cache --exclude=.Trash\* 10.6.10.10:/ /

opening connection using: /usr/bin/ssh -l backuppc 10.6.10.10 "/usr/bin/sudo  /usr/bin/rsync" --server --sender -svvvlHogDtprxe.iLsfxC  (8 args)
protected args: --timeout=72000 --numeric-ids . /  (4 args)
sudo: A terminal is required to authenticate
rsync_bpc: connection unexpectedly closed (0 bytes received so far) [Receiver]
Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 filesTotal, 0 sizeTotal, 0 filesNew, 0 sizeNew, 0 sizeNewComp, 6677154 inode
rsync error: error in rsync protocol data stream (code 12) at io.c(226) [Receiver=3.1.3.0]
[Receiver] _exit_cleanup(code=12, file=io.c, line=226): about to call exit(12)

The ssh keys work fine using the client name or the IP address. I can ssh in without a password. I can run a simple rsync command from the host to the client and rsync a folder from /etc/ from the client, no problem. I have this in my sudoers file, same as all the other clients:

backuppc  ALL=(root) NOPASSWD: /usr/bin/rsync  --server --sender *

I have also tried this simpler version:

backuppc  ALL=NOPASSWD: /usr/bin/rsync

I have disabled %admin and %sudo and have User_Alias instead, but the error is the same. What is it about Kubuntu 26.04 that can be causing this?

When I try to print while using VPN, the system says "Printing", but nothing is happening https://askubuntu.com/questions/1567344/when-i-try-to-print-while-using-vpn-the-system-says-printing-but-nothing-is

On Ubuntu 24.04.4, with a Brother MFC-L2700DW printer and Proton VPN. I used to be able to print without any issues. Then I started having a problem where, when I initiate a print job, I get system messages every few minutes that say "Printing", but the printer is not doing anything.

Searching around online, I found the suggestion to use systemctl restart cups-browsed which did solve the problem once or twice (maybe with some restarting, I don't remember anymore that was a while ago).

But now I'm trying to print something and getting this "Printing" hang problem and I've tried the above command and restarting and nothing has helped. No idea what to try next. Thanks.

Update: I just tried a new thing which is turning off my Proton VPN. I do not remember exactly when I installed that vs. when this problem began, but maybe it was about the same time! So maybe restarting cups-browsed did nothing, but maybe restarting the computer helped because Proton doesn't come on automatically, so if I restarted and then went straight to printing, the VPN would have been off.

Yes, this is relevant. VPN off, I can print. VPN on, the printing hangs in the way I described above. No restart needed to get printing going again, just turn off the VPN, cancel the job that is hanging, and initiate a new print job and it works. I went back and forth several times.

I am leaving this question active because it would be awesome to be able to just print and not have to worry about thinking about is my VPN on or not. Added VPN to the title and tags.

Update: I reached out to Proton support and they said that I need to add the printer by ip address rather than hostname. I got the printer to print a network configuration page and it shows the ip address. I follow these steps to add the printer

  1. Settings
  2. Printers
  3. Click Add printer
  4. In the search box labeled "Enter a network address or search for a printer", I put the ip address of the printer
  5. More printers are found (but they are all the same printer, I just have the one). My choices of name are "JetDirect-Printer" "LPD-printer" and "MFC-L2700DW" (there are also two more "MFC-L2700DW" choices but they show up even without entering they ip address, so I don't think these are added by ip)
  6. I pick one.
  7. It prompts me to pick a driver. I pick the one that looks appropriate (has "MFC-L2700DW" in the name. there are two choices, the only difference is one says "Fax" in the description and the other doesn't. Both drivers have "driverless" in the description though which is odd.)

But now, I tried to print something to the "ip address printer" while having the VPN on. The printer was activated! And it started just spewing blank pages like a maniac. I pressed cancel on the printer, and tried some variations of the "printer name" and "driver" but the result is the same.

So the new question is: how do I add a printer by ip address on my setup? Particularly, it seems like the driver may be an issue? Thanks if you can help. (Meta question: should I create a whole new question?)

RTL8723de or RTL88x2B USB drivers for Ubuntu 26.04 LTS https://askubuntu.com/questions/1567309/rtl8723de-or-rtl88x2b-usb-drivers-for-ubuntu-26-04-lts

I am experiencing persistent issues with the Realtek RTL8723DE WiFi driver on Ubuntu 26.04 LTS. The main problems are that the wireless signal is very slow, and after suspending the laptop, the WiFi adapter stops working entirely—no networks are detected until a reboot.

I have tried installing multiple drivers, including different versions and community-supported alternatives, but none have resolved the issue. I also configured the system to prevent the WiFi adapter from being disabled during suspension, but this did not help.

Additionally, I downgraded to Ubuntu 22.04 LTS to test compatibility with an older kernel version, but the problem persisted. As a potential hardware solution, I researched replacing the internal WiFi card with an Intel model. However, based on available information, Intel cards are not compatible with my laptop model (HP 14-dq1003la).

As an alternative, I considered purchasing a USB WiFi adapter, specifically the TP-Link Archer T3U Nano (RTL88x2B USB). However, I found reports indicating that it may also have similar driver or compatibility issues on Linux systems.

What can I do in this situation?

Ubuntu freezes and keyboard not responding https://askubuntu.com/questions/1567306/ubuntu-freezes-and-keyboard-not-responding

I'm using Ubuntu 24.04 and it freezes regularly. The mouse and keyboard stops responding so I can't even open a terminal.

I don't know what to do or how to identify the problem...

Hardware specifications :

  • Kernel : 6.17.0-29-generic
  • Distro : Ubuntu 24.04.4
  • CPU : Intel Core i5-4460
  • Graphics : NVIDIA GM107 [GeForce GTX 750 Ti]
Monitor mode captures 0 packets on QCN9274(ath12k) with Ubuntu 22.04 https://askubuntu.com/questions/1567141/monitor-mode-captures-0-packets-on-qcn9274ath12k-with-ubuntu-22-04

I am currently using QCN9274(compex WLE7002E25) to test monitor mode, according to ‘iw phy’, it does support monitor mode. It appears I have successfully set it up, but I haven't been able to capture any data packages with tcpdump.

jack@jack-pc:~/Desktop$ iw dev
phy#1
    Interface mon12
        ifindex 5
        wdev 0x100000002
        addr 04:f0:21:c5:1b:99
        type monitor
    Interface wlan1
        ifindex 4
        wdev 0x100000001
        addr 04:f0:21:c5:1b:99
        type managed
        multicast TXQ:
            qsz-byt qsz-pkt flows   drops   marks   overlmt hashcoltx-bytes tx-packets
            0   0   0   0   0   0   0   00
phy#0
    Interface wlp1s0
        ifindex 3
        wdev 0x1
        addr 04:f0:21:c5:1b:98
        type managed
        multicast TXQ:
            qsz-byt qsz-pkt flows   drops   marks   overlmt hashcoltx-bytes tx-packets
            0   0   0   0   0   0   0   00

jack@jack-pc:~/Desktop$ sudo tcpdump -i mon12 -w ath12k.pcap
tcpdump: listening on mon12, link-type IEEE802_11_RADIO (802.11 plus radiotap header), snapshot length 262144 bytes
^C0 packets captured
0 packets received by filter
0 packets dropped by kernel

jack@jack-pc:~/Desktop$ uname -a
Linux jack-pc 6.18.7-061807-generic #202601231045 SMP PREEMPT_DYNAMIC Fri Jan 23 11:25:00 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux

Does anyone know why?

Caps lock now used to switch languages (I can't get rid of it) https://askubuntu.com/questions/1261255/caps-lock-now-used-to-switch-languages-i-cant-get-rid-of-it

After an update, now the caps lock is also used to switch language keyboard (rather than Super key+space) which is super annoying. I have not found a way to disable it in the keyboard shortcuts. Can anyone help?

Thanks a lot

SSH freezes at pledge: network https://askubuntu.com/questions/1141206/ssh-freezes-at-pledge-network

I setup passwordless ssh login. I could connect through ssh and also used sftp. suddenly I could not connect any more and ssh freezed.

  • Server: Ubuntu 16.04
  • Client: Ubuntu 18.04

ssh --vvv user@host freezes at pledge: network

...
debug2: we sent a publickey packet, wait for reply
debug3: receive packet: type 60
debug1: Server accepts key: pkalg rsa-sha2-512 blen 279
debug2: input_userauth_pk_ok: fp SHA256:w7sj+s08FJPpL09IVtmXmGZOUgxVHGcgpjCL3vxzSaQ
debug3: sign_and_send_pubkey: RSA SHA256:w7sj+s08FJPpL09IVtmXmGZOUgxVHGcgpjCL3vxzSaQ
debug3: send packet: type 50
debug3: receive packet: type 52
debug1: Authentication succeeded (publickey).
Authenticated to <host> ([<IP>]:22).
debug1: channel 0: new [client-session]
debug3: ssh_session2_open: channel_new: 0
debug2: channel 0: send open
debug3: send packet: type 90
debug1: Requesting no-more-sessions@openssh.com
debug3: send packet: type 80
debug1: Entering interactive session.
debug1: pledge: network
debug3: send packet: type 80
debug3: send packet: type 80
debug3: send packet: type 80
Timeout, server <host> not responding.

Before this happens, I started another ssh on the same host with same user and it freezed at sign_and_send_pubkey so I started the previously said ssh.

...
debug2: we sent a publickey packet, wait for reply
debug3: receive packet: type 60
debug1: Server accepts key: pkalg rsa-sha2-512 blen 279
debug2: input_userauth_pk_ok: fp SHA256:w7sj+s08FJPpL09IVtmXmGZOUgxVHGcgpjCL3vxzSaQ
debug3: sign_and_send_pubkey: RSA SHA256:w7sj+s08FJPpL09IVtmXmGZOUgxVHGcgpjCL3vxzSaQ
debug3: send packet: type 50
Connection to <IP> port 22 timed out
  • I tried reinstalling openssh-server from server and ssh from client. also restarted both of them (Server and client computer).

  • Also tried to force connecting by password. It just changed the line Authentication succeeded (password) at output.

  • Somebody said set UsePAM no, It did not work.

  • Tried by -o IPQoS=0 and had the same output.

At server recorded these at syslog:

...
May  7 07:26:10 host systemd[1]: Started Session c103 of user <user>.
May  7 07:26:10 host systemd[1]: Started Session c104 of user <user>.
May  7 07:26:26 host systemd[1]: Started Session 47 of user <user>.
May  7 07:26:33 host systemd[1]: Started Session 48 of user <user>.

I think this problem is from client. Because my friend could connect to server from his own computer.

Can't use Ubuntu after opening laptop lid https://askubuntu.com/questions/970501/cant-use-ubuntu-after-opening-laptop-lid

I am running Xubuntu 17.10, I upgraded from 17.04. When I open laptop lid, it stays in blank screen. Power is on, wired mouse doesn't get power, it doesn't respond to anything. I tried pressing keys and pressing power button. I always have to restart my laptop to use it. Xfce Power Manager says that it locks screen when lid is closed.

Search files with snap https://askubuntu.com/questions/962519/search-files-with-snap

I've started to use snap, but I couldn't find all features I had with dpkg.

  1. How to find which snap provides a given file (dpkg -S)?
  2. How to find which snap will provide a given file (apt-file search)?
  3. How to find list of files in a given snap (dpkg -L)?

Thanks.

How to fix Qt5 unmet dependencies https://askubuntu.com/questions/880028/how-to-fix-qt5-unmet-dependencies

I'm running Ubuntu 16.10 with Qt4.8.7 and I'd like to install Qt5 in order to compile a package. I installed qt5-qmake from the repo, and set the default to qt5:

export QT_SELECT=qt5
./configure && make
...fatal error: QtCore/QTextCodec: No such file or directory

So the package wouldn't compile, apparently because of an include statement:

include "<"QtCore/QtGlobal

for which I think I need the development environment. First, I tried to install it from the Qt site, by downloading qt-opensource-linux-x64-5.6.1.run, then I tried to install qtbase5-dev from Synaptic.

That didn't work because of unmet dependencies. All the installed files mentioned are ubuntu7-2 versions from the main Ubuntu Yakkety repo; the required ubuntu6-4 versions are also available. They are also used in a great many other packages which I can't afford to break.

$ sudo aptitude install qtbase5-dev
The following NEW packages will be installed: libegl1-mesa-dev{a} libgles2-mesa-dev{a} libglu1-mesa-dev{a} libmirclient-dev{ab} libmircommon-dev{ab} libmircookie-dev{ab} libprotobuf-dev{a} libqt5opengl5-dev{ab} libwayland-bin{a} libwayland-dev{a} libxkbcommon-dev{a} qt5-qmake{a} qtbase5-dev{b} qtbase5-dev-tools{a} 
0 packages upgraded, 14 newly installed, 0 to remove and 8 not upgraded.
Need to get 4,473 kB of archives. After unpacking 33.6 MB will be used.
The following packages have unmet dependencies:
 libqt5opengl5-dev : Depends: libqt5opengl5 (= 5.6.1+dfsg-3ubuntu6~4) but 5.6.1+dfsg-3ubuntu7~2 is installed
 libmirclient-dev : Depends: libmirclient9 (= 0.24.0+16.10.20160815.3-0ubuntu2) but 0.24.1+16.10.20160928-0ubuntu1 is installed
 libmircommon-dev : Depends: libmircommon6 (= 0.24.0+16.10.20160815.3-0ubuntu2) but 0.24.1+16.10.20160928-0ubuntu1 is installed
 qtbase5-dev : Depends: libqt5concurrent5 (= 5.6.1+dfsg-3ubuntu6~4) but 5.6.1+dfsg-3ubuntu7~2 is installed
               Depends: libqt5core5a (= 5.6.1+dfsg-3ubuntu6~4) but 5.6.1+dfsg-3ubuntu7~2 is installed
               Depends: libqt5dbus5 (= 5.6.1+dfsg-3ubuntu6~4) but 5.6.1+dfsg-3ubuntu7~2 is installed
               Depends: libqt5gui5 (= 5.6.1+dfsg-3ubuntu6~4) but 5.6.1+dfsg-3ubuntu7~2 is installed
               Depends: libqt5network5 (= 5.6.1+dfsg-3ubuntu6~4) but 5.6.1+dfsg-3ubuntu7~2 is installed
               Depends: libqt5printsupport5 (= 5.6.1+dfsg-3ubuntu6~4) but 5.6.1+dfsg-3ubuntu7~2 is installed
               Depends: libqt5sql5 (= 5.6.1+dfsg-3ubuntu6~4) but 5.6.1+dfsg-3ubuntu7~2 is installed
               Depends: libqt5test5 (= 5.6.1+dfsg-3ubuntu6~4) but 5.6.1+dfsg-3ubuntu7~2 is installed
               Depends: libqt5widgets5 (= 5.6.1+dfsg-3ubuntu6~4) but 5.6.1+dfsg-3ubuntu7~2 is installed
               Depends: libqt5xml5 (= 5.6.1+dfsg-3ubuntu6~4) but 5.6.1+dfsg-3ubuntu7~2 is installed
 libmircookie-dev : Depends: libmircookie2 (= 0.24.0+16.10.20160815.3-0ubuntu2) but 0.24.1+16.10.20160928-0ubuntu1 is installed
The following actions will resolve these dependencies:
         Keep the following packages at their current version:     1)     libegl1-mesa-dev [Not Installed]                        2)     libgles2-mesa-dev [Not Installed]                  
3)     libmirclient-dev [Not Installed]                   
4)     libmircommon-dev [Not Installed]                   
5)     libmircookie-dev [Not Installed]                   
6)     libqt5opengl5-dev [Not Installed]                  
7)     qtbase5-dev [Not Installed]                        



Accept this solution? [Y/n/q/?] ?

Apt-get's solution is to leave it unchanged.

It seems odd that the main repo version of Qt 5.6.1 requires different libraries to the other packages.

It looks like I need to downgrade these libraries from 7.2 to to 6.4. Can I do this safely, and install Qt 5.6.1? Or is there a better way to fix the problem?

$ apt-cache policy libqt5core5a
libqt5core5a:
  Installed: 5.6.1+dfsg-3ubuntu7~2
  Candidate: 5.6.1+dfsg-3ubuntu7~2
  Version table:
 *** 5.6.1+dfsg-3ubuntu7~2 100
        100 /var/lib/dpkg/status
     5.6.1+dfsg-3ubuntu6~4 500
        500 http://mirrors.psu.ac.th/ubuntu yakkety/main amd64 Packages

I eventually sorted this out by using Synaptic to force the qtbase5-dev dependencies to the previous (Yakkety-upgrades or Yakkety) versions.

This left the libmir files. Manually installing them failed, but shows the problematic dependencies. Repeating for the dependencies and working down through them eventually led to one or two files which needed to be downgraded.

Forcing that via Synaptic also removed a host of basic Yakkety applications; it's a pity I couldn't find a way to downgrade them in parallel, keeping a consistent system, but in the end I let them go, installed Qt5, and manually reinstalled the missing packages by using Synaptic's Status 'Not installed (residual config)' section to identify and reinstall them.

I had a couple of minor issues with security-related packages on reboot, but quickly solved with Google.

Can't use bluetooth audio device despite Pulseaudio modules loaded and device connected https://askubuntu.com/questions/838311/cant-use-bluetooth-audio-device-despite-pulseaudio-modules-loaded-and-device-co

I already spent hours and hours to get my bluetooth audio device running.

  • System: Ubuntu 16.04 LTS Xenial, all updates installed, running on a Lenovo Y50 Notebook

  • Device: Bluetooth receiver MR230, with analog audio output. It is meant to connect to an old hi-fi system. The device won't connect automatically, but I can find, pair, trust, and connect it with bluetoothctl without problems. The bluetooth manager shows it as a headphone.

  • the pactl list short command shows, that the modules module-bluetooth-discover, module-bluez5-discover, module-switch-on-connect, and module-bluetooth-policy are all running (after I started them manually)

But still, I can't choose the device in pavucontrol because it doesn't appear there. I might have messed up some of my config files during these tries, though it should still work as all necessary modules are loaded and the device is connected.

Any ideas?

Network unclaimed shown for network controller https://askubuntu.com/questions/725590/network-unclaimed-shown-for-network-controller

I am facing difficulties connecting to wifi on my Lenovo Flex 3 1480 laptop on Ubuntu 14.04. It works fine on Windows. I am attaching wireless-info.txt that I got from : http://ubuntuforums.org/showthread.php?t=370108


########## wireless info START ##########

Report from: 25 Jan 2016 13:52 MST -0700
Booted last: 25 Jan 2016 13:47 MST -0700
Script from: 27 Sep 2015 00:34 UTC +0000

##### release ###########################

Distributor ID: Ubuntu
Description:    Ubuntu 14.04.3 LTS
Release:    14.04
Codename:   trusty

##### kernel ############################

Linux 3.19.0-49-generic #55~14.04.1-Ubuntu SMP Fri Jan 22 11:24:31 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Parameters: ro, quiet, splash, vt.handoff=7

##### desktop ###########################

sed: can't read /root/.dmrc: No such file or directory

Could not be determined.

##### lspci #############################

02:00.0 Network controller [0280]: Qualcomm Atheros Device [168c:0042] (rev 30)
    Subsystem: Lenovo Device [17aa:4035]

03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
    Subsystem: Lenovo Device [17aa:3835]
    Kernel driver in use: r8169

##### lsusb #############################

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 0cf3:e360 Atheros Communications, Inc. 
Bus 001 Device 004: ID 04f3:2083 Elan Microelectronics Corp. 
Bus 001 Device 003: ID 5986:0670 Acer, Inc 
Bus 001 Device 002: ID 046d:c535 Logitech, Inc. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

##### PCMCIA card info ##################

##### rfkill ############################

0: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no

##### lsmod #############################

mac80211              638976  0 
cfg80211              532480  1 mac80211
compat                 28672  2 cfg80211,mac80211
ideapad_laptop         24576  0 
sparse_keymap          16384  1 ideapad_laptop
wmi                    20480  0 

##### interfaces ########################

auto lo
iface lo inet loopback

##### ifconfig ##########################

eth0      Link encap:Ethernet  HWaddr   
          inet addr:10.218.104.240  Bcast:10.218.111.255  Mask:255.255.248.0
          inet6 addr: fe80::/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:8295 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1212 errors:0 dropped:25 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1871640 (1.8 MB)  TX bytes:156822 (156.8 KB)

##### iwconfig ##########################

eth0      no wireless extensions.

lo        no wireless extensions.

##### route #############################

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         10.218.104.1    0.0.0.0         UG    0      0        0 eth0
10.218.104.0    0.0.0.0         255.255.248.0   U     1      0        0 eth0

##### resolv.conf #######################

nameserver 127.0.1.1
search cidse.dhcp.asu.edu

##### network managers ##################

Installed:

    NetworkManager

Running:

root      1017     1  0 13:47 ?        00:00:00 NetworkManager

##### NetworkManager info ###############

NetworkManager Tool

State: connected (global)

- Device: eth0  [Wired connection 1] -------------------------------------------
  Type:              Wired
  Driver:            r8169
  State:             connected
  Default:           yes
  HW Address:        

  Capabilities:
    Carrier Detect:  yes
    Speed:           1000 Mb/s

  Wired Properties
    Carrier:         on

  IPv4 Settings:
    Address:         10.218.104.240
    Prefix:          21 (255.255.248.0)
    Gateway:         10.218.104.1

    DNS:             129.219.17.200
    DNS:             129.219.17.5
    DNS:             129.219.13.81

##### NetworkManager.state ##############

[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true
WimaxEnabled=true

##### NetworkManager.conf ###############

[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq

[ifupdown]
managed=false

##### NetworkManager profiles ###########

[[/etc/NetworkManager/system-connections/Wi-Fi connection 1]] (600 root)
[connection] id=Wi-Fi connection 1 | type=802-11-wireless
[802-11-wireless] ssid=asu
[ipv6] method=auto
[ipv4] method=auto

##### iw reg get ########################

Region: America/Phoenix (based on set time zone)

country 00:
    (2402 - 2472 @ 40), (3, 20)
    (2457 - 2482 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS
    (2474 - 2494 @ 20), (3, 20), NO-OFDM, PASSIVE-SCAN, NO-IBSS
    (5170 - 5250 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS
    (5735 - 5835 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS

##### iwlist channels ###################

eth0      no frequency information.

lo        no frequency information.

##### iwlist scan #######################

eth0      Interface doesn't support scanning.

lo        Interface doesn't support scanning.

##### module infos ######################

[mac80211]
filename:       /lib/modules/3.19.0-49-generic/updates/dkms/mac80211.ko
license:        GPL
description:    IEEE 802.11 subsystem
version:        backported from  () using backports 
srcversion:     BEF453E7AC487F911F8EDBF
depends:        cfg80211,compat
vermagic:       3.19.0-49-generic SMP mod_unload modversions 
parm:           max_nullfunc_tries:Maximum nullfunc tx tries before disconnecting (reason 4). (int)
parm:           max_probe_tries:Maximum probe tries before disconnecting (reason 4). (int)
parm:           beacon_loss_count:Number of beacon intervals before we decide beacon was lost. (int)
parm:           probe_wait_ms:Maximum time(ms) to wait for probe response before disconnecting (reason 4). (int)
parm:           ieee80211_default_rc_algo:Default rate control algorithm for mac80211 to use (charp)

[cfg80211]
filename:       /lib/modules/3.19.0-49-generic/updates/dkms/cfg80211.ko
version:        backported from  () using backports 
description:    wireless configuration support
license:        GPL
author:         Johannes Berg
srcversion:     F6775E4370E54D5795E4BE2
depends:        compat
vermagic:       3.19.0-49-generic SMP mod_unload modversions 
parm:           ieee80211_regdom:IEEE 802.11 regulatory domain code (charp)
parm:           cfg80211_disable_40mhz_24ghz:Disable 40MHz support in the 2.4GHz band (bool)

##### module parameters #################

[mac80211]
beacon_loss_count: 7
ieee80211_default_rc_algo: minstrel_ht
max_nullfunc_tries: 2
max_probe_tries: 5
probe_wait_ms: 500

[cfg80211]
cfg80211_disable_40mhz_24ghz: N
ieee80211_regdom: 00

##### /etc/modules ######################

lp
rtc

##### modprobe options ##################

[/etc/modprobe.d/ath10k_core.conf]
options ath10k_core skip_otp=y

[/etc/modprobe.d/ath10k-dkms.conf]
options ath10k_core skip_otp=1

[/etc/modprobe.d/ath9k.conf]
options ath9k nohwcrypt=1

[/etc/modprobe.d/blacklist-ath_pci.conf]
blacklist ath_pci

[/etc/modprobe.d/blacklist-bcm43.conf]
blacklist b43
blacklist b43legacy
blacklist ssb
blacklist bcm43xx
blacklist brcm80211
blacklist brcmfmac
blacklist brcmsmac
blacklist bcma

[/etc/modprobe.d/blacklist.conf]
blacklist evbug
blacklist usbmouse
blacklist usbkbd
blacklist eepro100
blacklist de4x5
blacklist eth1394
blacklist snd_intel8x0m
blacklist snd_aw2
blacklist i2c_i801
blacklist prism54
blacklist bcm43xx
blacklist garmin_gps
blacklist asus_acpi
blacklist snd_pcsp
blacklist pcspkr
blacklist amd76x_edac

[/etc/modprobe.d/blacklist-rare-network.conf]
alias net-pf-3 off
alias net-pf-6 off
alias net-pf-9 off
alias net-pf-11 off
alias net-pf-12 off
alias net-pf-19 off
alias net-pf-21 off
alias net-pf-36 off

[/etc/modprobe.d/iwlwifi.conf]
remove iwlwifi \
(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
&& /sbin/modprobe -r mac80211

[/etc/modprobe.d/mlx4.conf]
softdep mlx4_core post: mlx4_en

##### rc.local ##########################

exit 0

##### pm-utils ##########################

##### udev rules ########################

[/etc/udev/rules.d/70-persistent-net.rules]
# PCI device 0x10ec:0x8168 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

##### dmesg #############################

[   13.723430] wl: module license 'MIXED/Proprietary' taints kernel.
[   13.725722] wl: disagrees about version of symbol wiphy_new_nm
[   13.725723] wl: Unknown symbol wiphy_new_nm (err -22)
[   13.725736] wl: disagrees about version of symbol wiphy_register
[   13.725737] wl: Unknown symbol wiphy_register (err -22)
[   13.725783] wl: disagrees about version of symbol wiphy_unregister
[   13.725784] wl: Unknown symbol wiphy_unregister (err -22)
[   13.725798] wl: disagrees about version of symbol __ieee80211_get_channel
[   13.725799] wl: Unknown symbol __ieee80211_get_channel (err -22)
[   13.725832] wl: disagrees about version of symbol wiphy_free
[   13.725833] wl: Unknown symbol wiphy_free (err -22)
[   14.123327] ath: disagrees about version of symbol wiphy_apply_custom_regulatory
[   14.123331] ath: Unknown symbol wiphy_apply_custom_regulatory (err -22)
[   14.123338] ath: disagrees about version of symbol __ieee80211_get_channel
[   14.123339] ath: Unknown symbol __ieee80211_get_channel (err -22)
[   14.123346] ath: disagrees about version of symbol freq_reg_info
[   14.123347] ath: Unknown symbol freq_reg_info (err -22)
[   21.831480] r8169 0000:03:00.0 eth0: link down
[   21.831527] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   26.392468] r8169 0000:03:00.0 eth0: link up
[   26.392477] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   51.394064] r8169 0000:03:00.0 eth0: link down (repeated 2 times)
[  120.582163] r8169 0000:03:00.0 eth0: link up

########## wireless info END ############

Please indicate why I am getting "network unclaimed". I have tried following the following, without any positive results. Ethernet works fine.

https://askubuntu.com/a/708103/497674 https://askubuntu.com/a/481221/497674

Edit 1: Adding dkms status

root@ankita-Flex-3-1480:/home/ankita# dkms status
backath10k, 2.0, 3.13.0-77-generic, x86_64: installed
backath10k, 2.0, 3.19.0-47-generic, x86_64: installed
backath10k, 2.0, 3.19.0-49-generic, x86_64: installed
bcmwl, 6.30.223.248+bdcom, 3.13.0-77-generic, x86_64: installed
bcmwl, 6.30.223.248+bdcom, 3.19.0-47-generic, x86_64: installed
bcmwl, 6.30.223.248+bdcom, 3.19.0-49-generic, x86_64: installed
root@ankita-Flex-3-1480:/home/ankita# sudo apt-get remove bcmwl-kernel-source broadcom-sta-common broadcom-sta-dkms
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package broadcom-sta-common
E: Unable to locate package broadcom-sta-dkms

Thanks in advance

hadoop fs command is not working in my system https://askubuntu.com/questions/395546/hadoop-fs-command-is-not-working-in-my-system

I installed a single cluster node on my personal laptop. It has successfully installed and jps is displaying all 5 demons, but when I try to enter into on top of hdfs by using hadoop fs command it shows "command not found".

Can anyone explain what is the problem and what we have to do to run hdfs commands?

How can I disable truncated long filename in icon view? https://askubuntu.com/questions/49345/how-can-i-disable-truncated-long-filename-in-icon-view

I would like to know how I can disable the feature in nautilus which truncates long filenames in icon view? I beleive there may be a gconf key which controls this but I'm not sure which specific key, if it exists, or has to be added manually.