Ubuntu 24.04.4: Bluetooth is not enabled on startup https://askubuntu.com/questions/1564811/ubuntu-24-04-4-bluetooth-is-not-enabled-on-startup

Bluetooth is not enabled on startup, every time I want to use it, I first have to run those commands in the terminal:

sudo rfkill unblock all
sudo hciconfig hci0 down
sudo rmmod btusb
sudo modprobe btusb

It does the trick, but is there any way to enable Bluetooth right from the get-go?

can't copy files on my WALKMAN https://askubuntu.com/questions/1564810/cant-copy-files-on-my-walkman

Can you help me copy files on my Walkman device. I have Kubuntu 23.10. I inserted Walkman (Sony) in my USB port and it detected very well, but when I try to copy files in Walkman and type in console:

sudo cp "file.mp3" /media/user/WALKMAN

it is showing:

cp: cannot create regular file '/media/user/WALKMAN/file.mp3': Read-only file system

I installed gmtp, but it showed:

Detect: No raw devices found

How do I can get full access to my Walkman?

ubuntu 24.04, GUI activated hotspot works, nmcli activated doesn't https://askubuntu.com/questions/1564808/ubuntu-24-04-gui-activated-hotspot-works-nmcli-activated-doesnt

I currently have my laptop (ubuntu 24.04) plugged into an ethernet connection. In Settings/Wi-Fi, I have it set NOT to auto connect to my local wi-fi. If I click "Turn on Wi-Fi Hotspot", the hotspot comes up, the dialog shows a QR code for connecting, and the hotspot has a name which matches my machine name (lets call that my-sys). If I look at my phone, I see a connection for my-sys and can connect to it.

I can turn that connection on and off from the command line using:

nmcli con up Hotspot
nmcli con down Hotspot

If I try

nmcli con up my-sys

it says "unknown connection my-sys"

ok so far, although a bit confusing. If I try to set up a separate wi-fi connection name:

nmcli con add type wifi ifname "wlp170s0" con-name "my-hotspot" autoconnect no ssid "my-hotspot"
nmcli con modify "my-hotspot" 802-11-wireless.mode ap ipv4.method shared
nmcli con modify "my-hotspot" wifi-sec-key-mgmt wpa-psk
nmcli con modify "my-hotspot" wifi-sec.psk "my-pw"
nmcli con up "my-hotspot"

The connection appears to come up:

Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/35)

If the Settings/Wi-Fi window is showing, the hotspot active QR code shows with the disconnect button, and "my-hotspot" shows as the network name, etc. However, there is no signal (no bars on my phone), and my phone does not see the network.

If I do "nmcli con show my-hotspot" and compare that with the results of the default Hotspot started from the Settings screen, there are two main differences. First, the default Hotspot has 3 sets of parameters listed, while my-hotspot has only one set. Second, the only thing that stands out are these three lines:

                                   my-hotspot   Hotspot
802-11-wireliss-security.proto:      --          rsn
802-11-wireliss-security.pairwise:   --          ccmp
802-11-wireliss-security.group:      --          ccmp

I tried setting those and it made no difference.

Here's the output of nmcli con show my-hotspot:

connection.id:                          my-hotspot
connection.uuid:                        bbacbcd1-48eb-4d9a-a42e-79ce308fc0dc
connection.stable-id:                   --
connection.type:                        802-11-wireless
connection.interface-name:              wlp170s0
connection.autoconnect:                 no
connection.autoconnect-priority:        0
connection.autoconnect-retries:         -1 (default)
connection.multi-connect:               0 (default)
connection.auth-retries:                -1
connection.timestamp:                   1773465934
connection.permissions:                 --
connection.zone:                        --
connection.controller:                  --
connection.master:                      --
connection.slave-type:                  --
connection.port-type:                   --
connection.autoconnect-slaves:          -1 (default)
connection.autoconnect-ports:           -1 (default)
connection.secondaries:                 --
connection.gateway-ping-timeout:        0
connection.metered:                     unknown
connection.lldp:                        default
connection.mdns:                        -1 (default)
connection.llmnr:                       -1 (default)
connection.dns-over-tls:                -1 (default)
connection.mptcp-flags:                 0x0 (default)
connection.wait-device-timeout:         -1
connection.wait-activation-delay:       -1
802-11-wireless.ssid:                   my-hotspot
802-11-wireless.mode:                   ap
802-11-wireless.band:                   --
802-11-wireless.channel:                0
802-11-wireless.bssid:                  --
802-11-wireless.mac-address:            --
802-11-wireless.cloned-mac-address:     --
802-11-wireless.generate-mac-address-mask:--
802-11-wireless.mac-address-blacklist:  --
802-11-wireless.mac-address-randomization:default
802-11-wireless.mtu:                    auto
802-11-wireless.seen-bssids:            4C:77:CB:1E:68:E2
802-11-wireless.hidden:                 no
802-11-wireless.powersave:              0 (default)
802-11-wireless.wake-on-wlan:           0x1 (default)
802-11-wireless.ap-isolation:           -1 (default)
802-11-wireless-security.key-mgmt:      wpa-psk
802-11-wireless-security.wep-tx-keyidx: 0
802-11-wireless-security.auth-alg:      --
802-11-wireless-security.proto:         rsn
802-11-wireless-security.pairwise:      ccmp
802-11-wireless-security.group:         ccmp
802-11-wireless-security.pmf:           0 (default)
802-11-wireless-security.leap-username: --
802-11-wireless-security.wep-key0:      <hidden>
802-11-wireless-security.wep-key1:      <hidden>
802-11-wireless-security.wep-key2:      <hidden>
802-11-wireless-security.wep-key3:      <hidden>
802-11-wireless-security.wep-key-flags: 0 (none)
802-11-wireless-security.wep-key-type:  unknown
802-11-wireless-security.psk:           <hidden>
802-11-wireless-security.psk-flags:     0 (none)
802-11-wireless-security.leap-password: <hidden>
802-11-wireless-security.leap-password-flags:0 (none)
802-11-wireless-security.wps-method:    0x0 (default)
802-11-wireless-security.fils:          0 (default)
ipv4.method:                            shared
ipv4.dns:                               --
ipv4.dns-search:                        --
ipv4.dns-options:                       --
ipv4.dns-priority:                      0
ipv4.addresses:                         --
ipv4.gateway:                           --
ipv4.routes:                            --
ipv4.route-metric:                      -1
ipv4.route-table:                       0 (unspec)
ipv4.routing-rules:                     --
ipv4.replace-local-rule:                -1 (default)
ipv4.ignore-auto-routes:                no
ipv4.ignore-auto-dns:                   no
ipv4.dhcp-client-id:                    --
ipv4.dhcp-iaid:                         --
ipv4.dhcp-dscp:                         --
ipv4.dhcp-timeout:                      0 (default)
ipv4.dhcp-send-hostname:                yes
ipv4.dhcp-hostname:                     --
ipv4.dhcp-fqdn:                         --
ipv4.dhcp-hostname-flags:               0x0 (none)
ipv4.never-default:                     no
ipv4.may-fail:                          yes
ipv4.required-timeout:                  -1 (default)
ipv4.dad-timeout:                       -1 (default)
ipv4.dhcp-vendor-class-identifier:      --
ipv4.link-local:                        0 (default)
ipv4.dhcp-reject-servers:               --
ipv4.auto-route-ext-gw:                 -1 (default)
ipv6.method:                            auto
ipv6.dns:                               --
ipv6.dns-search:                        --
ipv6.dns-options:                       --
ipv6.dns-priority:                      0
ipv6.addresses:                         --
ipv6.gateway:                           --
ipv6.routes:                            --
ipv6.route-metric:                      -1
ipv6.route-table:                       0 (unspec)
ipv6.routing-rules:                     --
ipv6.replace-local-rule:                -1 (default)
ipv6.ignore-auto-routes:                no
ipv6.ignore-auto-dns:                   no
ipv6.never-default:                     no
ipv6.may-fail:                          yes
ipv6.required-timeout:                  -1 (default)
ipv6.ip6-privacy:                       -1 (unknown)
ipv6.addr-gen-mode:                     default
ipv6.ra-timeout:                        0 (default)
ipv6.mtu:                               auto
ipv6.dhcp-pd-hint:                      --
ipv6.dhcp-duid:                         --
ipv6.dhcp-iaid:                         --
ipv6.dhcp-timeout:                      0 (default)
ipv6.dhcp-send-hostname:                yes
ipv6.dhcp-hostname:                     --
ipv6.dhcp-hostname-flags:               0x0 (none)
ipv6.auto-route-ext-gw:                 -1 (default)
ipv6.token:                             --
proxy.method:                           none
proxy.browser-only:                     no
proxy.pac-url:                          --
proxy.pac-script:                       --
GENERAL.NAME:                           my-hotspot
GENERAL.UUID:                           bbacbcd1-48eb-4d9a-a42e-79ce308fc0dc
GENERAL.DEVICES:                        wlp170s0
GENERAL.IP-IFACE:                       wlp170s0
GENERAL.STATE:                          activated
GENERAL.DEFAULT:                        no
GENERAL.DEFAULT6:                       no
GENERAL.SPEC-OBJECT:                    /org/freedesktop/NetworkManager/AccessPoint/77
GENERAL.VPN:                            no
GENERAL.DBUS-PATH:                      /org/freedesktop/NetworkManager/ActiveConnection/42
GENERAL.CON-PATH:                       /org/freedesktop/NetworkManager/Settings/38
GENERAL.ZONE:                           --
GENERAL.MASTER-PATH:                    --
IP4.ADDRESS[1]:                         10.42.0.1/24
IP4.GATEWAY:                            --
IP4.ROUTE[1]:                           dst = 10.42.0.0/24, nh = 0.0.0.0, mt = 600
IP6.ADDRESS[1]:                         fe80::bb85:5d09:86af:2468/64
IP6.GATEWAY:                            --
IP6.ROUTE[1]:                           dst = fe80::/64, nh = ::, mt = 1024

So, why isn't the named hotspot broadcasting?

Can't install Webmin because perlapi-5.28.0 is an unmet dependency https://askubuntu.com/questions/1564807/cant-install-webmin-because-perlapi-5-28-0-is-an-unmet-dependency

I'm on Ubuntu 22.04. Only a few months ago, I had Webmin installed, but I had to remove to free up space. When I try to install now, I get an error message about an unmet dependency:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libauthen-pam-perl : Depends: perlapi-5.28.0
E: Unable to correct problems, you have held broken packages.

Trying to install perlapi-5.28.0 with APT told me that it couldn't be found or sometihing. I found this Launchpad page that says the package I can download from there provides perlapi-5.28.0. I downloaded it and tried intalling it manually. I got some errors, so I reinstalled perlapi-5.34.0 and now I'm getting this on trying to install Webmin:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libauthen-pam-perl : Depends: perlapi-5.28.0
E: Unable to correct problems, you have held broken packages.

Given that I had Webmind installed not too long, this should be working. How do I fix it?

Unable to install webmin; https://askubuntu.com/questions/1564806/unable-to-install-webmin

I'm on Ubuntu 22.04. Only a few months ago, I had Webmin installed, but I had to remove to free up space. When I try to install now, I get an error message about an unmet dependency:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libauthen-pam-perl : Depends: perlapi-5.28.0
E: Unable to correct problems, you have held broken packages.

Trying to install perlapi-5.28.0 with APT told me that it couldn't be found or sometihing. I found this Launchpad page that says the package I can download from there provides perlapi-5.28.0. I downloaded it and tried intalling it manually. I got some errors, so I reinstalled perlapi-5.34.0 and now I'm getting this on trying to install Webmin:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libauthen-pam-perl : Depends: perlapi-5.28.0
E: Unable to correct problems, you have held broken packages.

Given that I had Webmind installed not too long, this should be working. How do I fix it?

How to setting LibreWolf as the default web browser https://askubuntu.com/questions/1564803/how-to-setting-librewolf-as-the-default-web-browser

I am using Ubuntu Mate 24.04.4, downloaded from here:

https://cdimage.ubuntu.com/ubuntu-mate/releases/noble/release/ubuntu-mate-24.04.4-desktop-amd64.iso

Installed on a 480 gig SSD disk, as the only operating system, with gpt partitioning

And I use Librewolf as my preferred web browser

Installed using the procedure described here:

How to install LibreWolf?

And as the title says, I want to know

How to setting LibreWolf as the default web browser

Thank you in advance

Missing Output from some scripts https://askubuntu.com/questions/1564799/missing-output-from-some-scripts

i reinstalled ubuntu on my pc. Now I have a problem with the terminal. When I call cmake --build . I get no output in the terminal only if I run cmake --build . 2>&1 .
Other commands like ls are working just fine. But from Julia I also get no output.
Im using oh my zsh, but with bash I had the same issue.

ls -l /proc/self/fd
total 0
lrwx------ 1 mario ma 64 Mar 13 23:14 0 -> /dev/pts/0
lrwx------ 1 mario ma 64 Mar 13 23:14 1 -> /dev/pts/0
l-wx------ 1 mario ma 64 Mar 13 23:14 2 -> /dev/null
l-wx------ 1 mario ma 64 Mar 13 23:14 25 -> /home/mario/.vscode-server/data/logs/20260313T192318/remoteagent.log
lr-x------ 1 mario ma 64 Mar 13 23:14 3 -> /proc/194645/fd


if [ -n "$force_color_prompt" ]; then
    if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
        # We have color support; assume it's compliant with Ecma-48
        # (ISO/IEC-6429). (Lack of such support is extremely rare, and such
        # a case would tend to support setf rather than setaf.)
        color_prompt=yes
    else
        color_prompt=
    fi
fi

if [ "$color_prompt" = yes ]; then
    PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
else
    PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
fi
unset color_prompt force_color_prompt

This was the only part with /dev/null in my .bashrc. The PC is on my workplace. I only connect with ssh. Tryed with "normal" terminal and vscode. No difference.

Wifi not working because of missing linux-firmware https://askubuntu.com/questions/1564770/wifi-not-working-because-of-missing-linux-firmware

After I did a update of my Ubuntu 25.10 the wifi stopped working. I have tried reinstalling but when I did a update the wifi stopped working again. I am using TPM encryption on my disk.

The PC is a Dell Precision 7680.

I found that sudo dmesg | grep wifi shows

[    9.903015] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-gf-a0-89.ucode failed with error -2
[    9.903028] iwlwifi 0000:00:14.3: no suitable firmware found!
[    9.906650] iwlwifi 0000:00:14.3: iwlwifi-so-a0-gf-a0-89 is required
[    9.911118] iwlwifi 0000:00:14.3: check git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git

So the iwlwifi-so-a0-gf-a0-89 is missing and I guess this should be part of linux-firmware.

When I do sudo apt install linux-firmware I get

Solving dependencies... Error!  
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

Unsatisfied dependencies:
 boot-managed-by-snapd : Conflicts: linux-firmware but 20250901.git993ff19b-0ubuntu1.9 is to be installed

Cannot install linux-firmware on system as boot is managed by snapd.
Error: Unable to satisfy dependencies. Reached two conflicting decisions:
   1. linux-firmware:amd64=20250901.git993ff19b-0ubuntu1.9 is selected for install
   2. linux-firmware:amd64=20250901.git993ff19b-0ubuntu1.9 is not selected for install because:
      1. boot-managed-by-snapd:amd64 is selected for install
      2. boot-managed-by-snapd:amd64 Conflicts linux-firmware
         [selected boot-managed-by-snapd:amd64]

How can I solve this dependency error ?

Update

I have tried reinstalling again and the wifi works in the installer but once I boot the installed OS it stops working.

I am also using Secure Boot and here is the output from some typical diagnostic commands:

$ lspci -nnk | grep -A2 0280
0000:00:14.3 Network controller [0280]: Intel Corporation Raptor Lake-S PCH CNVi WiFi [8086:7a70] (rev 11)
    Subsystem: Intel Corporation Device [8086:4090]
    Kernel modules: iwlwifi
$ lspci | grep -i network
0000:00:14.3 Network controller: Intel Corporation Raptor Lake-S PCH CNVi WiFi (rev 11)
$ lsmod | grep iwlwifi
iwlwifi               651264  0
cfg80211             1474560  1 iwlwifi
$ sudo dmesg | grep iwl
[    8.438932] iwlwifi 0000:00:14.3: enabling device (0000 -> 0002)
[    8.444539] iwlwifi 0000:00:14.3: Detected crf-id 0x400410, cnv-id 0x80401 wfpm id 0x80000020
[    8.444564] iwlwifi 0000:00:14.3: PCI dev 7a70/4090, rev=0x430, rfid=0x2010d000
[    8.444566] iwlwifi 0000:00:14.3: Detected Intel(R) Wi-Fi 6E AX211 160MHz
[    8.444606] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-gf-a0-89.ucode failed with error -2
[    8.444608] iwlwifi 0000:00:14.3: no suitable firmware found!
[    8.446252] iwlwifi 0000:00:14.3: iwlwifi-so-a0-gf-a0-89 is required
[    8.447179] iwlwifi 0000:00:14.3: check git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
$ rfkill list && iwconfig
1: dell-wifi: Wireless LAN
    Soft blocked: no
    Hard blocked: no
2: dell-bluetooth: Bluetooth
    Soft blocked: no
    Hard blocked: no
3: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no
Command 'iwconfig' not found, did you mean:
  command 'iconfig' from deb ipmiutil (3.2.1-1)
  command 'ifconfig' from deb net-tools (2.10-1.3ubuntu2)
Try: sudo apt install <deb name>
$ modinfo iwlwifi|grep -i sign
signer:         Build time autogenerated kernel key
signature:      72:E4:0A:69:D0:09:3B:A6:12:F8:65:1D:D9:F5:67:9D:D2:29:24:0E:

Thanks

Repeating error message from Cronopete [closed] https://askubuntu.com/questions/1564749/repeating-error-message-from-cronopete

I am using Ubuntu 20.04 with Cronopete 4.13.0 as my backup software. This has worked without issue for a number of years. I have 485GB of space left of 984GB on my backup hard drive.

Every time the backup runs I get an error message similar to the following. How can I resolve this?

Starting backup  
Backing up folder /home/xxxx/  
Excluding folder /home/xxxx/.cache/  
Excluding folder /home/xxxx/.\*  
Syncing disk  
Syncing disk  
Deleting old backup 2026_01_16_11:38:13_1768563493  
\<span foreground="#FF7F00"\>WARNING:\</span\>   
Failed to delete old backup 2026_01_16_11:38:13_1768563493: 
Error renaming file /media/xxxx/7cf1182d-4c41-4a68-839a-8f5f1bd815321/cronopete/xxxx/2026_01_16_11:38:13_1768563493: Bad message  

Backup done. Elapsed time: 0:45 
Ubuntu 24.04 - HID works only with sudo despite udev rule https://askubuntu.com/questions/1564556/ubuntu-24-04-hid-works-only-with-sudo-despite-udev-rule

INFO:

  • Linux Ubuntu 24.04.4 LTS
  • Python - lib: hid
  • SteelSeries Nova 5

I made a program that communicates with my headphones through HID, but I can only run it with sudo. I tried changing the device access rules to 0660, 0666, and other values recommended online by creating a new udev rule and adding it to plugdev (since my user is in that group).

I also tried making it accessible to everyone and directly to my user, but nothing worked. The permissions look correct, yet it still requires sudo to run.

When I plug in the device, these show up. I only use one interface, but in the end I tried moding all of them just to be sure:

/dev/hidraw9  
/dev/hidraw10  
/dev/hidraw11

When I check permissions, it looks fine:

crw-rw---- 1 root plugdev

This is the new rule I tried (without specifying the interface at the endt, to match all):

SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1038", ATTRS{idProduct}=="2232", ATTRS{bInterfaceNumber}=="03", MODE="0660", GROUP="plugdev"

I tried both restarting the system and running:

sudo udevadm control --reload  
sudo udevadm trigger

But it did not work.

Error:

# python
import hid

...

shome_device.open_path(the_path) # -> open failed

...

When I run it with sudo, everything works correctly and as expected.

Lexy

Access Issues to Documents on Cryptomator Vault - Ubuntu 24.04 https://askubuntu.com/questions/1564029/access-issues-to-documents-on-cryptomator-vault-ubuntu-24-04

I'm using Ubuntu 24.04 and I'm encrypting all my documents via Cryptomator to upload them to a cloud service. The HDD is formated in NTFS.

The problem is that when I try to access those documents in the mounted unit or vault, I can't open either Word or Excel files, or even listen to audio documents. For example, VLC gives me the following error: "VLC is unable to open the MRL" and LibreOffice Calc shows me this error when I try to open documents: "Acces to "XXX" was denied". I've checked the permissions and they look good, actually I can modify .txt files with the Ubuntu text editor and it gives no error.

This is a problem since I cannot open my documents directly on the vault so they are are not synchronized automatically after modifying them. I have to open them in the Desktop (for instance), modify them, and then copy and paste them to the crypto vault.

Thank you in advance.

Can no longer ping ("operation not permitted") https://askubuntu.com/questions/1537785/can-no-longer-ping-operation-not-permitted

Recently (likely due to an upgrade but not due to a reboot), my system stopped letting me ping other hosts, though root can do so just fine. It provides an informative error message, but it wasn't quite informative enough for me:

$ ping 1.1.1.1
ping: socktype: SOCK_RAW
ping: socket: Operation not permitted
ping: => missing cap_net_raw+p capability or setuid?
$ sudo ping 1.1.1.1
PING 1.1.1.1 (1.1.1.1) 56(84) bytes of data.
64 bytes from 1.1.1.1: icmp_seq=1 ttl=59 time=31.9 ms
64 bytes from 1.1.1.1: icmp_seq=2 ttl=59 time=28.6 ms
^C
--- 1.1.1.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 28.552/30.231/31.911/1.679 ms
$ ping -V
ping from iputils 20240905
libcap: yes, IDN: yes, NLS: no, error.h: yes, getrandom(): yes, __fpending(): yes

How do I fix this?

"No WiFi adapter found", Ubuntu 22.04, Broadcom wireless drivers [14e4:4331] (rev 02) MacBook Pro https://askubuntu.com/questions/1461046/no-wifi-adapter-found-ubuntu-22-04-broadcom-wireless-drivers-14e44331-re

I used to have another version of Ubuntu on my old MacBook Pro and one day WiFi disappeared with the "No Wi-Fi Adapter Found" in the Settings. I tried to follow various options found on different forums, but it didn't help. I installed Ubuntu 22.04, but the problem is still the same.

Results of lshw -c network:

yuliia@yuliia-MacBookPro:~$ lshw -c network
WARNING: you should run this program as super-user.
  *-network UNCLAIMED
       description: Ethernet controller
       product: NetXtreme BCM57786 Gigabit Ethernet PCIe
       vendor: Broadcom Inc. and subsidiaries
       physical id: 0
       bus info: pci@0000:02:00.0
       version: 21
       width: 64 bits
       clock: 33MHz
       capabilities: cap_list
       configuration: latency=0
       resources: memory:a0400000-a040ffff memory:a0410000-a041ffff memory:8fa00000-8fa007ff
  *-network
       description: Network controller
       product: BCM4331 802.11a/b/g/n
       vendor: Broadcom Inc. and subsidiaries
       physical id: 0
       bus info: pci@0000:03:00.0
       version: 02
       width: 64 bits
       clock: 33MHz
       capabilities: bus_master cap_list
       configuration: driver=bcma-pci-bridge latency=0
       resources: irq:17 memory:a0500000-a0503fff
WARNING: output may be incomplete or inaccurate, you should run this program as super-user.
yuliia@yuliia-MacBookPro:~$

Results of lspci:

yuliia@yuliia-MacBookPro:~$ lspci
00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09)
00:01.1 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C216 Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 1 (rev c4)
00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation QS77 Express Chipset LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C216 Chipset Family SMBus Controller (rev 04)
02:00.0 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM57786 Gigabit Ethernet PCIe (rev 21)
02:00.1 SD Host controller: Broadcom Inc. and subsidiaries BCM57765/57785 SDXC/MMC Card Reader (rev 21)
03:00.0 Network controller: Broadcom Inc. and subsidiaries BCM4331 802.11a/b/g/n (rev 02)
04:00.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)
05:00.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)
05:03.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)
05:04.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)
05:05.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)
05:06.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)
06:00.0 System peripheral: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)
yuliia@yuliia-MacBookPro:~$

Results of rfkill list all:

yuliia@yuliia-MacBookPro:~$ rfkill list all
0: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no
yuliia@yuliia-MacBookPro:~$ grep b43 /etc/modprobe.d/*
/etc/modprobe.d/blacklist.conf:# replaced by b43 and ssb.
yuliia@yuliia-MacBookPro:~$ sudo dmesg | grep b43
[sudo] password for yuliia:
[    4.157642] b43-phy0: Broadcom 4331 WLAN found (core revision 29)
[    4.158838] b43-phy0: Found PHY: Analog 9, Type 7 (HT), Revision 1
[    4.158853] b43-phy0: Found Radio: Manuf 0x17F, ID 0x2059, Revision 0, Version 1
[    4.158857] b43-phy0 warning: 5 GHz band is unsupported on this PHY
[    4.165618] b43 bcma0:1: Direct firmware load for b43/ucode29_mimo.fw failed with error -2
[    4.165657] b43 bcma0:1: Direct firmware load for b43/ucode29_mimo.fw failed with error -2
[    4.165698] b43 bcma0:1: Direct firmware load for b43-open/ucode29_mimo.fw failed with error -2
[    4.165729] b43 bcma0:1: Direct firmware load for b43-open/ucode29_mimo.fw failed with error -2
[    4.165733] b43-phy0 ERROR: Firmware file "b43/ucode29_mimo.fw" not found
[    4.165831] b43-phy0 ERROR: Firmware file "b43-open/ucode29_mimo.fw" not found
[    4.165909] b43-phy0 ERROR: You must go to [https://wireless.wiki.kernel.org/en/users/Drivers/b43#devicefirmware](https://www.google.com/search?q=https://wireless.wiki.kernel.org/en/users/Drivers/b43%23devicefirmware) and download the correct firmware for this driver version. Please carefully read all instructions on this website.

Results of lspci -vvnn | grep -A 9 Network:

yuliia@yuliia-MacBookPro:~$ lspci -vvnn | grep -A 9 Network
03:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM4331 802.11a/b/g/n [14e4:4331] (rev 02)
        Subsystem: Broadcom Inc. and subsidiaries BCM4331 802.11a/b/g/n [14e4:4331]
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-ParErr-Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 256 bytes
        Interrupt: pin A routed to IRQ 17
        Region 0: Memory at a0500000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: 
        Kernel driver in use: bcma-pci-bridge
        Kernel modules: bcma
yuliia@yuliia-MacBookPro:~$

I downloaded a file from here (http://www.lwfinger.com/b43-firmware/?C=D;O=A), but I don't know where I should locate it.

Update: after sudo dmesg | grep b43 - the following answer

Permissions do not allow pasting files in this directory https://askubuntu.com/questions/1417836/permissions-do-not-allow-pasting-files-in-this-directory

I'm using Tower PC with 500GB SSD & 1 TB HDD, installed Ubuntu 22.04 LTS on the SSD, The 1TB HDD I'm not able to use, while copy paste a file from SSD to HDD it says "Permissions do not allow pasting files in this directory". Only using Ubuntu OS.

Response received during the copy paste:

enter image description here

And here for you to look at my SSD & HDD in gparted

View of my gparted Disk of HDD:

View of my gparted Disk of HDD

and View of my gparted Disk of SSD:

View of my gparted Disk of SSD

HDD "in terminal"

sudo gdisk /dev/sda
GPT fdisk (gdisk) version 1.0.8

The protective MBR's 0xEE partition is oversized! Auto-repairing.

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.

Have a look at the Properties - Permissions of the HDD:

Properties - Permissions of the HDD

I do need to utilize the 1TB HDD for accessing files such Documents, Images, Videos with read, write etc., Please help me to resolve this I'm a beginner in Linux and Ubuntu OS

20.04 Xbox One controller not working via Bluetooth? https://askubuntu.com/questions/1394906/20-04-xbox-one-controller-not-working-via-bluetooth

I'm trying to connect an Xbox One controller to my Ubuntu machine. What happens when I try to pair it over Bluetooth this:

  1. I open the Bluetooth devices panel in Ubuntu
  2. I hold the button on top of the controller until the light starts flashing rapidly
  3. I pair with the controller in Ubuntu

The problem is, even though it shows as connected in Ubuntu, the light on the controller doesn't stop flashing and it's not recognized in HTML5 games.

Can anyone advise?

Edit: I'm on Ubuntu 20.04.3 LTS

How to configure onedrive to sync Business shared folders https://askubuntu.com/questions/1391757/how-to-configure-onedrive-to-sync-business-shared-folders

I'm quite new to Linux, and have been trying this client to sync OneDrive files. It initially works for personal files, but not for shared folders. I believe I need to configure this functionality as per

https://github.com/abraunegg/onedrive/blob/master/docs/BusinessSharedFolders.md

However, I find this step hard to understand:


Configuring OneDrive Business Shared Folders

  • Create a new file called 'business_shared_folders' in your config directory
  • On each new line, list the OneDrive Business Shared Folder you wish to sync
[alex@centos7full onedrive]$ cat ~/.config/onedrive/business_shared_folders
# comment
Child Shared Folder
# Another comment
Top Level to Share
[alex@centos7full onedrive]$

I created a text file 'business_shared_folders' inside .config, but I can't figure out what "Child Shared Folder" and "Top Level to Share" mean, neither what I should write in "[alex@centos7full onedrive]" (maybe exactly as it appears in the terminal before '$'?). Sorry if the question is too basic.

I tried other clients such as Onedriver, but couldn't find instructions about how to configure it to cync shared folders from Business.

How to handle permissions of unzipped files? https://askubuntu.com/questions/1359438/how-to-handle-permissions-of-unzipped-files

I have been trying to install a software called ABAQUS on my UBUNTU laptop and as a part of the installation, I'm trying to run a script file called 'StartGUI.sh' using the command "bash ./StartGUI.sh" in the terminal. It then shows the following error every time: "Error: This media has been unzipped or copied in such a way that the permissions of some files have been lost. Please unzip or copy the media again."

enter image description here

I have tried selecting all the files and gave read and write permissions, yet I am facing the same issue. When I looked for a solution in Google, some articles suggested using 'chmod' but I couldn't figure out how to use it exactly. Could you guys please help?

xdg-desktop-portal always crashes at startup in Ubuntu 19.10 https://askubuntu.com/questions/1187668/xdg-desktop-portal-always-crashes-at-startup-in-ubuntu-19-10

xdg-document-portal always crashes when Ubuntu 19.10 starts up. Is there a way to prevent it crashing or to disable it without interfering with system functionality?

update:

It crashes almost on every system boot.

ProblemType: Crash
Architecture: amd64
CrashCounter: 1
CurrentDesktop: ubuntu:GNOME
Date: Fri Mar  6 13:18:09 2020
DistroRelease: Ubuntu 19.10
ExecutablePath: /usr/libexec/xdg-document-portal
ExecutableTimestamp: 1578493564
ProcCmdline: /usr/libexec/xdg-document-portal
ProcCwd: /home/usr
ProcEnviron:
 LANG=en_US.UTF-8
 LC_ADDRESS=en_US.UTF-8
 LC_IDENTIFICATION=en_US.UTF-8
 LC_MEASUREMENT=en_US.UTF-8
 LC_MONETARY=en_US.UTF-8
 LC_NAME=en_US.UTF-8
 LC_NUMERIC=en_US.UTF-8
 LC_PAPER=en_US.UTF-8
 LC_TELEPHONE=en_US.UTF-8
 LC_TIME=en_US.UTF-8
 PATH=(custom, user)
 SHELL=/bin/bash
 XDG_RUNTIME_DIR=<set>
ProcMaps:

update2:

Look at the syslog, I have error like this:

xdg-document-portal.service: Failed to set 'memory.limit_in_bytes' attribute on '/user.slice/user-1000.slice/user@1
000.service/xdg-document-portal.service' to '-1': No such file or directory
xdg-document-portal.service: Failed to set 'pids.max' attribute on '/user.slice/user-1000.slice/user@1000.service/x
dg-document-portal.service' to '4915': No such file or directory
How do I enter the BIOS/UEFI from Ubuntu? https://askubuntu.com/questions/1166120/how-do-i-enter-the-bios-uefi-from-ubuntu

Windows 10 has a feature to enter BIOS/UEFI directly from the OS, which is handy for machines that do not allow you to enter them during startup.

I would like to install Ubuntu on an OEM device and obviously I will be using the Windows feature to do this, but I will still require BIOS access in the future.

How can I access the BIOS from Ubuntu?

Use grub4dos to boot ubuntu 18.04 https://askubuntu.com/questions/1065303/use-grub4dos-to-boot-ubuntu-18-04

I am using grub4dos 0.4.4 to boot Ubuntu 17.04 successfully. Here are lines in the file MENU.LST

title Ubuntu 17 (64bit)

fallback 6

find --set-root /iso/ubt1704.iso

map --mem /iso/ubt1704.iso (0xff) || map --heads=0 --sectors-per-track=0 /iso/ubt1704.iso (0xff)

map --hook

root (0xff)

kernel /casper/vmlinuz.efi  file=/cdrom/preseed/ubuntu.seed boot=casper iso-scan/filename=/iso/ubt1704.iso splash

initrd /casper/initrd.lz

But for Ubuntu 18.04, they did not work. The computer restarted after menu Ubuntu 18.04 was selected.

Please help me to fix the problem. Thanks in advanced.

Update on 15-Aug-2018.

I have changed the content of MENU.LST as bellow and it worked.

find --set-root /iso/ubt1804.iso

map --mem /iso/ubt1804.iso (0xff) || map --heads=0 --sectors-per-track=0 /iso/ubt1804.iso (0xff)

map --hook

root (0xff)

kernel /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper iso-scan/filename=/iso/ubt1804.iso splash

initrd /casper/initrd.lz
AMD graphics card not detected - Ubuntu 16.04 https://askubuntu.com/questions/809985/amd-graphics-card-not-detected-ubuntu-16-04

I recently installed Ubuntu 16.04 (64-bit) alongside Windows 10 on my laptop. It picked up my Intel integrated graphics just fine, but my AMD graphics card does not appear at all in Additional Drivers. Although Ubuntu works fine without using my AMD card at all, I get pretty poor battery life. Any ideas how to fix this problem?

Additional info: My computer is a Toshiba L50-B025D with an AMD Radeon R7 M260 graphics card.

appstreamcli hanging with 100% CPU usage during update https://askubuntu.com/questions/774986/appstreamcli-hanging-with-100-cpu-usage-during-update

appstreamcli is overheating my laptop by constantly using 100% of a core. My only solution is to kill it. Here's a screenshot of top:

output of top showing appstreamcli with 100% cpu usage

I can kill appstreamcli with either sudo kill pid or sudo killall appstreamcli. But once I do sudo apt update, the appstreamcli process returns again and hangs the update. If I then kill it, I get the following output:

Reading package lists... Done
E: Problem executing scripts APT::Update::Post-Invoke-Success
'if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli;
 then appstreamcli refresh > /dev/null;
 fi'
E: Sub-process returned an error code

What is this process and why is it using so much CPU?

How to boot to a terminal from a black screen and flashing cursor after updating the NVIDA graphics driver https://askubuntu.com/questions/757224/how-to-boot-to-a-terminal-from-a-black-screen-and-flashing-cursor-after-updating

I'm running Ubuntu 14.04 LTS and updated my graphics card to Nvidia Quadro K4200 in order to get stereo capability. It worked with the recommended Ubuntu driver (nvidia-352), although I struggled to get stereo working, so I installed the latest Nvidia driver (361.42). To do this, I got a terminal with

Alt-Ctrl-F1

stopped X with

sudo service lightdm stop

and then ran the install script from NVIDIA. When I restarted X with

sudo service lightdm start

I got a black screen with a blinking cursor in the top left of the screen and Alt-Ctrl-F[1-6] did not give a terminal login. My only option is a hard shutdown (holding down the start button) and when I reboot it returns to the black screen.

I saw this post which looks the closest to my problem that I found, with a solution that requires Alt-Ctrl-F1 which isn't giving me a terminal login option. Any suggestions are very much appreciated.

Rotate a specific page of a pdf file? https://askubuntu.com/questions/569328/rotate-a-specific-page-of-a-pdf-file

I have a multi-page pdf file, and I want to rotate a specific page 90 degrees clockwise, to obtain a new pdf file which has the same pages as the original pdf, but with this specific page rotated. How can I do this?

Pausing a long running program in the terminal? https://askubuntu.com/questions/465829/pausing-a-long-running-program-in-the-terminal

Is there a keyboard key combination that I can use to pause a program running in the terminal? In case it matters, I don't intend to run anything else inside that terminal while the program is paused. I just want to pause the program execution, and resume it later. How can I do this?

SASL authentication failure: Password verification failed SASL+PAM https://askubuntu.com/questions/400129/sasl-authentication-failure-password-verification-failed-saslpam

I'm banging my head over this for past 4 hours, and I cannot crack it! Google turns out allot of issues related to SASL authentication failure: Password verification failed but none helped.

Basically, IMAP works fine, I can login. But smtp with SASL+pam turned out to be a pain!

mail.log says:

SASL authentication failure: Password verification failed

auth.log:

pam_unix(smtp:auth): check pass; user unknown
Jan  4 13:43:30 favoritewords saslauthd[2193]: pam_unix(smtp:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost= 
Jan  4 13:43:32 favoritewords saslauthd[2193]: DEBUG: auth_pam: pam_authenticate failed: Authentication failure
Jan  4 13:43:32 favoritewords saslauthd[2193]: do_auth         : auth failure: [user=sandro@domain.com] [service=smtp] [realm=domain.com] [mech=pam] [reason=PAM auth error]

In mysql log I see:

59 Query    select crypt from users where id='sandro@domain.com' and enabled = 1
           59 Query COMMIT
           59 Quit  
           60 Connect   mail@localhost on mail_db
           60 Quit  

/etc/pam.d/smtp looks like this:

auth required pam_mysql.so user=mail passwd=asdasdasd== host=127.0.0.1 db=mail_db table=users usercolumn=id passwdcolumn=crypt crypt=1 verbose=1
account sufficient pam_mysql.so user=mail passwd=asdasdasd== host=127.0.0.1 db=mail_db table=users usercolumn=id passwdcolumn=crypt crypt=1 verbose=1

and /etc/postfix/sasl/smtpd.conf:

pwcheck_method: saslauthd
mech_list: plain login cram-md5 digest-md5
log_level: 7
allow_plaintext: true
auxprop_plugin: sql
sql_engine: mysql
sql_hostnames: 127.0.0.1
sql_user: mail
sql_passwd: asdasdasd==
sql_database: mail_db
sql_select: select crypt from users where id='%u@%r' and enabled = 1

NOTE, I think /etc/postfix/sasl/smtpd.conf is used over /etc/pam.d/smtp and this is the problem.

nginx rendering PHP as plain text https://askubuntu.com/questions/390311/nginx-rendering-php-as-plain-text
server {
  listen        80;
  server_name   test.local;

  access_log /var/log/nginx/access.log;
  error_log  /var/log/nginx/error.log;
  root       /var/www/testsite;

  location ~ \.php$ {
        fastcgi_split_path_info ^(.+\.php)(/.+)$;
        fastcgi_pass unix:/var/run/php5-fpm.sock;
        include /etc/nginx/fastcgi_params;
  }
}

Requests to php files just return the code as plain text. Headers do mention PHP, so I presume nginx is talking to PHP properly ..

I've looked over it all too many times now, I feel I must be staring right at the problem. Can anyone help?

How to mount a device in ttyUSB0? https://askubuntu.com/questions/380477/how-to-mount-a-device-in-ttyusb0

I'm trying to mount a USB internet dongle (data card).

The output of dmesg is:

[20200.396232] option 2-1.2:1.1: GSM modem (1-port) converter detected
[20200.396448] usb 2-1.2: GSM modem (1-port) converter now attached to ttyUSB1
[20200.396681] option 2-1.2:1.2: GSM modem (1-port) converter detected
[20200.396891] usb 2-1.2: GSM modem (1-port) converter now attached to ttyUSB2
[20200.397090] option 2-1.2:1.3: GSM modem (1-port) converter detected
[20200.397270] usb 2-1.2: GSM modem (1-port) converter now attached to ttyUSB3
[20200.397674] scsi15 : usb-storage 2-1.2:1.4
[20201.393856] scsi 15:0:0:0: Direct-Access     ZTE      USB Storage FFFE 2.31 PQ: 0 ANSI: 2
[20201.394677] sd 15:0:0:0: Attached scsi generic sg2 type 0
[20201.396164] sd 15:0:0:0: [sdb] Attached SCSI removable disk

How do I mount this so that I can run an installation script present in it?

How to record "stereo mix" with VLC? https://askubuntu.com/questions/195293/how-to-record-stereo-mix-with-vlc

I would like to record a stereo mix (basically what I hear through the speakers connected to my sound card) from VLC. However, I haven't been able to figure out exactly how to do this.

Under the "video4linux" capture device, I see the following audio devices:

hw:0,0
hw:0,6

However, selecting either of those results in VLC trying to use my webcam (not what I want at all) in addition to the selected audio device.

What do I need to do?

How to Edit PDFs? https://askubuntu.com/questions/162037/how-to-edit-pdfs

I typically have two needs:

Scenario A. Change a single PDF page.

In this case I have a PDF but not the original source file used to create the PDF. I don't want to try to recreate the document from scratch. I'd like to open the PDF and change a few things. A good example of this scenario: I was responsible for planning a big event at a campground site, I had a PDF of the site. I wanted to start with that document, highlight some parts, add some labels, remove some parts that weren't relevant.

or

Scenario B. Combine PDFs or extract page(s) from a PDF

This scenario usually arises because I want a single PDF deliverable that is made up of parts that are best created in different programs. In this case I have the source files for all the documents but they don't play well enough together to easily create a single PDF deliverable. For part of it, I may want to use Libre Office Writer. For another page I may want to use Gimp. Still another page I may use Libre Office Calc. I could use Writer as the master document and embed images or the Calc object into that, but for ultimate control, you can't beat separate PDF documents that are then combined.

What are the best tools / processes for editing PDFs in Ubuntu?