Latest Ubuntu related questions

Score: 0
No WIFI on ASUS-TUF-Gaming-F15-FX506LH
tn flag

I am using Ubuntu 20.04 on an ASUS-TUF-Gaming-F15-FX506LH, but I cannot use WiFi.

Here is the output of lspci -nnk | grep -I net:

03:00.0 Network controller [0280]: MEDIATEK Corp. Device [14c3:7961]
04:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
        Subsystem: ASUSTeK Computer Inc. RTL8111/8168/8 ...
Score: 0
alino avatar
‘apache2’ has no installation candidate in virtual machine
th flag

Something is missing in sources.list in apt folder. I used this command outside the venv and fixed in my virtual machine.

$ cat <<EOF | sudo tee /etc/apt/sources.list
deb http://archive.ubuntu.com/ubuntu $(lsb_release -cs) main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu $(lsb_release -cs)-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu  ...
Score: 1
Fresh UBUNTU 20.04.3 LTS installation WLAN in properties missing
in flag

I am new in the Ubuntu world. I installed 20.04.3 on a new ASUS laptop.

It went fine, but I don't have the WLAN option in the properties (GUI) Means: I can't connect to my WLAN.

I used the WIN KEY where I can launch the WLAN settings. Also that worked. But: I don't have the "ON/OFF" button in the title bar to turn on and off the adapter.

Now I have no clue anymore how to connect to my WLAN. Does somebo ...

Score: 1
keroles gamal avatar
Desktop Ubuntu-20.04.3 iptables problem
in flag

I want to test some iptables rules the rule is to deny all outbound traffic except DNS.
so I changed the OUTPUT default rule of filter table to DROP using this command.

sudo iptables -t filter -P OUTPUT DROP

then I appended this rule to ACCEPT DNS traffic.

sudo iptables -t filter -A OUTPUT -p udp --dport 53 -o ens33 -j ACCEPT

and I run this command to test the policy.

nslookup google.com

and before ru ...

Score: 0
hiddeneyes02 avatar
Network traffic for last day in specific format
pl flag

I want to get network traffic stats for the last day in a specific format.

tx[some number in kbytes]rx[some number in kbytes]

I tried a lot of solutions, but each one has its own goods and bads:

timeout 1 bmon -p 'ens3' -r 2 -o format:fmt='rx$(attr:rx:bytes)tx$(attr:tx:bytes)\n'

The format is good but can not get traffic for last day

vnstat -d --oneline

Can show stats for the last day, but I can't ...

Score: 0
Maik Lowrey avatar
Copy all from a folder into the project root directory
in flag

I have a web project with the following structure:

application/
dumps/
nginx/
logs/
.git/
docker-compose.yml
Dockerfile
README.md
.gitignore

For several reasons, I would like to dissolve the application folder and copy all files to the root directory. I would like to do this as usual via the CLI. However, I am not getting anywhere at the moment.

I have tried the following. I am in the root of the project ...

Score: 1
Stonecraft avatar
Graphics-capable nvidia proprietary drivers with *minimal* dependencies?
cn flag

What is with the insane list of dependencies for the proprietary nvidia drivers?

I have been trying to get GUI LXC containers to work, but that is another story. It's mainly relevant because it is the reason why I want the drivers to be able to drive a display, but not bring all the trappings of a desktop.

In the process of trying different driver versions/sources, I noticed that Gnome kept getting  ...

Score: 0
Failed to start Apache HTTP server
tg flag

I did, sudo systemctl status apache2, and this is the reply...

apache2.service - The Apache HTTP Server
     Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Thu 2021-11-18 21:55:22 EST; 3h 42min ago
       Docs: https://httpd.apache.org/docs/2.4/

Nov 18 21:55:20 T540p systemd[1]: Starting The Apache HTTP Server...
 ...
Score: 0
Laptop trackpad not working at all after installing ubuntu
ao flag

so i recently installed ubuntu 20.04 on my toshiba satellite l850 laptop and the trackpad trackpad is not working a usb mouse works though. I can confirm it isn't a hardware issue since it works on windows.

I found this in the logs applications under the hardware section psmouse serio1: failed to enable mouse on isa0060/serio1

If anymore info is needed I'm ready to provide it.

Score: 0
Archi9279 avatar
How to Pause the Shell?
us flag

I have a shell script that ends with exit 0 and want to pause it before executing the command.

Score: 12
Bram avatar
Why is a 21.10 built binary not compatible with 21.04 install?
cn flag

I don't understand why a binary built on 21.10 is not compatible with an 21.04 system.

The binary is linked against libc.so.6 which is available on the 21.04 OS version as well.

Same binary, on the 21.10 system:

$ ldd turboledzd
    linux-vdso.so.1 (0x00007ffdc2595000)
    libhidapi-hidraw.so.0 => /lib/x86_64-linux-gnu/libhidapi-hidraw.so.0 (0x00007fdd64057000)
    libc.so.6 => /lib/x86_64-linux ...
Score: 14
alchemy avatar
How do I go back to the bottom of history after pressing up in Bash?
in flag

If I scroll way up or use Ctrlr search and go way up in the history, how to get back down to the clear line? I know I can clear with Ctrle, Crtlu, but that modifies them. Is there an official way beside Ctrlc to reset the shell?

Score: 1
Kandhaswamy avatar
Bluetooth headset has no audio on Ubuntu 20.04
br flag

After logging into my user account, I can pair my Bluetooth headset, but it has no audio and the media doesn't play. Both video or audio stops playing. Disconnecting my headset is working fine, but reconnecting again stops playing streaming sites are asking to reboot my device.

I have tried everything I could find on AskUbuntu. Reinstalling pipewire, deleting the PulseAudio config directory, Nothing  ...

Score: 0
Jahid Hasan avatar
Mouse doesn't go left side monitor only goes Right side
ar flag

So I have 2 external monitor, so my mouse cursor only goes the right side monitor, can not take mouse to left side, can't find any options to fix it, any suggestions how to control or move mouse both sides right or left from laptop.

The Stunning Power of Questions

Much of an executive’s workday is spent asking others for information—requesting status updates from a team leader, for example, or questioning a counterpart in a tense negotiation. Yet unlike professionals such as litigators, journalists, and doctors, who are taught how to ask questions as an essential part of their training, few executives think of questioning as a skill that can be honed—or consider how their own answers to questions could make conversations more productive.

That’s a missed opportunity. Questioning is a uniquely powerful tool for unlocking value in organizations: It spurs learning and the exchange of ideas, it fuels innovation and performance improvement, it builds rapport and trust among team members. And it can mitigate business risk by uncovering unforeseen pitfalls and hazards.

For some people, questioning comes easily. Their natural inquisitiveness, emotional intelligence, and ability to read people put the ideal question on the tip of their tongue. But most of us don’t ask enough questions, nor do we pose our inquiries in an optimal way.

The good news is that by asking questions, we naturally improve our emotional intelligence, which in turn makes us better questioners—a virtuous cycle. In this article, we draw on insights from behavioral science research to explore how the way we frame questions and choose to answer our counterparts can influence the outcome of conversations. We offer guidance for choosing the best type, tone, sequence, and framing of questions and for deciding what and how much information to share to reap the most benefit from our interactions, not just for ourselves but for our organizations.