Networks – Ubuntu 19.10 No Wifi adapter found

All the world

So I was previously a Windows user and finally decided to enter the open source world of Linux and successfully installed Ubuntu 19.10 on my Lenovo Ideapad e21-25. But since installation I can't use wifi, it says no wifi adapter found. I searched for a solution on the internet, tried different ways to fix it, but none worked for me. Here I am outputting "sudo lshw -c NETWORK" commond:

* -network NOT CLAIMED

   description: Network controller
   product: QCA9377 802.11ac Wireless Network Adapter
   vendor: Qualcomm Atheros
   physical id: 0
   bus info: pci@0000:02:00.0
   version: 31
   width: 64 bits
   clock: 33MHz
   capabilities: pm msi pciexpress cap_list
   configuration: latency=0

and here is another output from the command "lspci -knn | grep Net -A3; rfkill list":

02: 00.0 Network Controller (0280): Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (168c: 0042) (rev 31)

Subsystem: Lenovo QCA9377 802.11ac Wireless Network Adapter (17aa:0901)
Kernel modules: ath10k_pci

0: ideapad_wlan: Wireless LAN

Soft blocked: no

Hard blocked: no

1: ideapad_bluetooth: Bluetooth

Soft blocked: yes

Hard blocked: no

4: hci0: Bluetooth

Soft blocked: yes

Hard blocked: no

Show the adapter in the unclaimed network section. If there is any solution available please help with the sun to fix this problem. Thank you

networking – Ubuntu 18.04 Bluetooth Inactive (dead)

I have an ubuntu 18.04 that has an "ASUS PCE-AC55BT B1 AC1200 Wireless Bluetooth 4.2 PCIe / Mpcie Adapter". The wifi and bluetooth worked fine for a couple of months, but recently the bluetooth has been broken (wifi still works).

I am pretty sure that I have tried all the results on the first 3 pages of Google when looking for this problem, but I can't understand why bluetooth doesn't work. I have spent over 8 hours trying to fix this annoying problem, so I would be very grateful if someone can help.

Here is more information and things I've tried.

I have a dual-boot PC (Windows 10 and Ubuntu 18.04). The bluetooth doesn't work either and the wifi works on both. This makes me think that there is something wrong at a very low level (hardware drivers or BIOS).

I've even tried buying a replacement for my old wifi / bluetooth adapter of the same model because I thought maybe the bluetooth was broken for some reason. The new one also has the same problem. I have tried moving the card to a different pci slot with no luck. This means that the hardware is not broken.

The problem seems to be in the fact that no Bluetooth adapter is detected. When I make the rfkill list, I only see wireless LAN, but not bluetooth.

0: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no

When I run systemctl status bluetooth, I get

bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: inactive (dead)
 Docs: man:bluetoothd(8)

I have also confirmed that I have the latest versions of bluez, bluetooth and bluez-tools.

When I try to run Bluetooth Manager, I get an error

Bluez daemon is not running, blueman-manager cannot continue. This probably means that there were no Bluetooth adapters detected or Bluetooth daemon was not started.

I tried to start the bluetooth daemon with both lines, but systemctl status bluetooth still shows bluetooth as inactive (dead) after these commands.

sudo service bluetooth restart
sudo /etc/init.d/bluetooth start
( ok ) Starting bluetooth (via systemctl): bluetooth.service.

Honestly I'm not even sure what to try as nothing seems to work. The weirdest part for me is that the bluetooth worked fine for a couple of months and then it stopped working. The only thing I remember changing was setting acpi = force in / etc / default / grub, but I removed it later when I discovered that bluetooth was not working. I'm not sure if this is correlated since I didn't try bluetooth just before / after.

ubuntu – How to play audio from 2 sources on Raspberry Pi 4

I have Raspberry Pi 4. And I want to play Shairport-Sync audio and my Python script.

I use PyGame to play audio files. BUT when, when I try to run it, when shairport-sync is playing something, I have the following error:

...asla-sink.c: Error opening PCM device hw:0: Device or ... is buzy

I am using PulseAudio or / and Alsa. Is there a way to play audio from both sources?

Ubuntu crashes during boot

I am recently facing a big problem.
My laptop: HP Probook 440 G3 Core i5 6th Gen 1TB HDD 4GB RAM 14 "laptop
I installed Ubuntu 18.04, 19.04 or 19.10 a long time (dual boot). I can easily go with the distribution 1 or 2 days minimum. Then when I go to boot, after some time it always got the pre-login mode image with the ubuntu sign. I don't understand what to do.
I am really looking forward to learning about the Linux operating system.
Please help me. Enter the image description here

Ubuntu 18.04, GNOME, crashes after unlocking the lock screen

When the screen locks automatically or when I do it manually (Win Logo + L), not every time, but most of the time, when I try to unlock it first, it takes a long time (say 15-20 seconds) then it unlocks and I can see that gnome is rebooting / reloading. How can I get to the bottom of this? What is causing this?

setup – How to set MYSQL 8 as case sensitive in ubuntu 19.10

I'm using MySQL 8 on ubuntu 19.10 and i want to configure lower_case_table_names = 1 in the /etc/mysql/my.cnf file. But after adding this line server it cannot start.

I have followed various solutions like the ones mentioned below, but nothing has worked.

linux mysql case insensitive lower_case_table_names = 1 make server cannot start

lower_case_table_names = 1 in Ubuntu 18.04 does not allow mysql to start

Is there a well explained step by step tutorial to solve the problem?

Boot: Ubuntu does not shutdown hardware when shutdown option is pressed

When I want to click the shutdown button in the GUI in ubuntu, it doesn't shutdown.


My computer is Acer Es1-533

Information for my software:
Linux igor-Aspire-ES1-533 5.3.0-46-generic # 38 ~ 18.04.1-Ubuntu SMP Tuesday, March 31 04:17:56 UTC 2020 x86_64 x86_64 x86_64 GNU / Linux

Ubuntu Desktop 18.04.4 LTS is running


ADDITIONAL EXPLANATION

I've tried all the solutions on the internet, and I couldn't turn it off properly without holding down the power button for 5 seconds to manually turn it off.

I removed "silent splash" in / etc / default / grub, in "GRUB_CMDLINE_LINUX_DEFAULT", and so I can see what the system does when shutting it down.

And the software shuts down fine, but when the last step to turn off the hardware comes because it is done by turning off the software, it stops and the fan and screen connections remain frozen, I need to press the 5 ec power button to manually turn off .

The message it says when you try to close is:
(422.708302) restart: shutdown
_ _

And that's it, the cursor is not moving, and the fan is spinning, the screen is still on and I need to manually turn it off.

When I tried emergency shutdown like in this answer

https://askubuntu.com/a/1015420/1063735

You turned off the mouse, which means the software is off, but the screen was still running, the screen froze with content (open programs I used when performing the emergency shutdown), and the fans were spinning.

I tried all the solutions, I don't know what to do.

Is it because ubuntu doesn't know how to shutdown this laptop properly?

Can you help me? I really want this to work.


And also to mention about this Acer laptop, that I had a problem with installing ubuntu at first, but I solved it with this answer

https://askubuntu.com/a/876153/1063735

I really didn't know what the problem was, but at installation I was always stuck on "install grub2"
but I think "grub2" is for something like the bootloader, efi, I don't know, something necessary for Linux to boot.
this is a problem?
in that tutorial, you changed some file systems, so it could run or install properly, or maybe it didn't even install that grub2.

Whatever the problem is, can anyone help me fix this?

Is a firewall sufficient as a security measure for an Ubuntu server hosting a website?

I recently got a VPS with Ubuntu, and I would like to start creating a very basic website. However, I don't know what steps I need to take to protect this server.

I am new to Ubuntu, new to security and new to website creation (the website will probably be just HTML, CSS, Django / Python and some database).

My biggest concern is that some hacker might try to use it as a zombie and I won't know. Or that robots could try to log in and sneak in the data that I will store on that machine and I won't know. Or who knows what else.

I found the firewall info page on the Ubuntu website, but will it be enough?

P.S .: If it is impossible to give an answer, I would also appreciate a book / website recommendation for Ubuntu and full beginner security

Back up Ubuntu 18.04 with the built-in tool

I have a trivial (and maybe stupid) question: if I back up with the built-in tool, will I have to format my 500GB external flash drive?

Or will something be lost on that flash drive?

How to write the battery driver for Ubuntu

I am using the Ubuntu Desktop version for a PC, not for a laptop. It has no built-in battery. So I added an external battery using lithium ion cells. And I have a problem: how can I feed the battery percentage or battery info to Ubuntu and let Ubuntu know it as a built-in battery?

How does the laptop manufacturer make OS understand that there is a built-in battery or not? When I install Ubuntu on the laptop, I see the battery icon in the upper right corner of the screen, but if I use a desktop I don't see that icon anymore.

Thank you.