Score: 1
Yehuda Clinton avatar
Ubuntu22 DNS broken after power short
br flag

After a blackout, I had to fsck the partition to be able to login. After that, the clock was a few hours off, which caused the internet not to work. Eventually I got the time correct, but the internet still doesn't connect. It's a DNS problem, because I can't ping google.com but ping 8.8.8.8 works.

resolvectl status
Global
       Protocols: -LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
resolv.conf  ...
Score: 0
user3161924 avatar
net view (and WNetEnumResource) is not finding anything but the local computer after changing motherboard?
mf flag

I was going to post in StackOverflow but it's more of a network issue than programming issue as I've used WNetEnumResource() for years with no problem.

I upgraded my motherboard of my Windows 10x64 system which is a member of a Windows 2008 Domain (SMB1 disabled). I setup the new NIC (onboard) to use the same static settings (plus set DNS to the Windows 2008 server) as before.

All my existing ne ...

Score: 0
How do you reset the keyboard layout?
bd flag

In Ubuntu 22.04 (with the standard desktop environment, just with Wayland disabled), I installed solaar for my Logitech keyboard. Then, some keys are changed, for example, (\ and `). The right Ctrl and Alt do not work.

I uninstalled solaar, and reset the layout to Generic 105 Key via sudo dpkg-reconfigure keyboard-configuration but still no luck.

How can I remove the keyboard and add it like it is th ...

Score: 1
DanRan avatar
Difference between 3 similar Nginx Location Directives provided in three separate tutorials of the same topic
mx flag

I have set up an Ubuntu 20.04 LEMP server with Wordpress, and am used some tutorials to help me configure Nginx. As of now, I have things functioning flawlessly, but in multiple Ubuntu "LEMP Server + Wordpress" tutorials, I noticed a single inconsistency in Nginx location block directives, and would like an explanation on the differences between each Nginx location directive:

In 1) Linuxbabe's LE ...

Score: 0
will avatar
How can I add a 51-gcadapter.rules file to the /lib/udev/rules.d folder?
tm flag

I have installed the Dolphin Emulator through the Ubuntu Software App, as no ppa's worked for me. However, my Mayflash gamecube controller adapter is not recognized by the emulator. I set this up previously on Linux Mint by making a 51-gcadapter.rules file and placing this code into it: SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="0337", MODE="0666" once t ...

Score: 2
jiegec avatar
Can we recover public key from DSA signatures as we can from ECDSA?
ci flag

I learned the Public Key Recovery algorithm for ECDSA, and wonder if we can use it in DSA. The answer seems to be no, but details are welcome.

Score: 0
Victor Kamhi avatar
unable to use Cinnamon GUI as a windowed environment
ro flag

What am I doing wrong or what have I forgotten? I wanted to be able to use WSL2 to have floating windows, able to co-exist with Windows' own floating windows (resizeable, etc) while opening the Linux windows as apps from Cinnamon desktop (also a floating window). I installed WSL2 without incident (using PowerShell commands) where it defaulted to installing Ubuntu, including update and upgrade using sudo ...

Score: 0
Wolf avatar
After updating the UEFI Bios on my Asus Prime B350-PLUS motherboard I can't play MP4 files on any video player
mo flag

However, if I boot into recovery mode, I can play the videos just fine. Here are the errors I'm getting from kern.log and syslog:

vlc_vlc.desktop[3877]: radeon: The kernel rejected CS, see dmesg for more information (-2)

kernel: [21688.584828] [drm:radeon_uvd_cs_msg [radeon]] ERROR Invalid UVD handle 0xe46a0001!

kernel: [21688.584988] [drm:radeon_cs_ioctl [radeon]] ERROR Invalid command stream !

 ...
Score: 0
DANG Fan avatar
Understanding the Communication Protocol of Apple HomeKey
sr flag

I am currently analyzing the communication protocol of HomeKey. Here are two traces between the lock (reader) and the device (card).

First set:

r2c > 80 80 01 01 6B 5C 02 02 00 87 41 04 34 BC DE 44 04 90 01 8D 24 02 18 2B 80 46 2A D6 25 7D 52 03 64 10 5D 9C 66 5D 20 9A 51 BC 18 DF 23 4A A2 C2 2B 01 2F EC FF 3C 96 D7 82 88 A6 78 75 C2 43 B5 AD B0 00 86 2A 11 9B B6 A3 22 15 8E 4C 10 D9 5F F1 AD F9 5E ...
Score: 2
Tom avatar
Multiplication implemented in c++ with constant time
tf flag
Tom

I'm considering some non-cryptographic PRNG which uses multiplication of two 64-bit or 128-bit random numbers at some point.

__uint128_t a;
__uint128_t b;

__uint128_t result;

result = a * b;

Is this constant time? I don't think so, especially since it takes less time to multiply two small numbers than when they are large numbers. Is there any way to implement this in constant time?

Here someone wrote t ...

Score: 1
Glenn avatar
Define key for html email
ph flag

I'm using Symfony Mailer to send HTML emails in my site.

This requires 'module' and 'key' to find my email twig template file.

How do I find or define 'key' for my email handler in my Webform settings?

Score: 0
Rolfbruge avatar
assign variable from bash mulitline timer output
gn flag

How can I assign a variable to this multiline bash countdown timer output:

seconds=10
    start="$(($(date +%s) + $seconds))"
while [ "$start" -ge `date +%s` ]; do 
    time="$(( $start - `date +%s` ))"
printf '%s\r' "$(date -u -d "@$time" +%S)"
done 

and display the results with an:

echo -e $(timer_output)

syntax all in one line?

such as:

echo -e Script will exit in $(timer_output) seconds.

what I h ...

Score: 0
kaneda0112 avatar
EXE Programs ran with Wine show an empty or glitched dialog window
aq flag

(Version 8.0.1, NVIDIA driver 535) Hello, when I try opening any .exe file or simply running winecfg on the terminal I either get an empty or glitched window, even though I can still interact with it using TAB it just displays nothing. https://i.stack.imgur.com/cDMy5.png https://i.stack.imgur.com/7krtf.png

Score: 0
usr avatar
Ubuntu install hangs 'Timed out for waiting the udev queue being empty'
ml flag
usr

Every time I try to install Ubuntu it hangs and after a while Ubuntu install hangs 'Timed out for waiting the udev queue being empty' appears on screen twice. I'm using Rufus to write Ubuntu 23.04 to an USB stick. This happens only with my HP pavilion PC. This also happens with all other Linux distributions I've tried.

Score: 0
Ugnius avatar
Postfix header_checks are ignored
am flag

I'm using Ubuntu 20.04. I installed Postfix (v3.4.13) with Dovecot (v2.3.7.2) a long time ago. Now, I want to overwrite the Message-Id header using header_checks. It's the first time I'm trying to use this feature, so it hasn't been tested before. The problem is that Postfix seems to be ignoring these rules.

In /etc/postfix/header_checks there is only one line: /Message-Id:\s+<(.*?)@default.tld ...

Score: 0
anodude avatar
Route certain domains through cloudflare warp and all other traffic go through the default WAN interface
th flag

I'm new to this subject. I have a ubuntu installed vps and vnc server on it. I want to use cloudflare warp only for selected domains/subdomains and all other traffic go through the default WAN interface. Trying to unblock 2 websites with it's subdomains. I have already tried cloudflare warp. There's a option to exclude a domain. But it's not practical to exclude all other domains while selected domains  ...

Score: 1
didgewind avatar
Blank screen when updating nvidia drivers - 'Apply Changes' in Software Sources greyed out
us flag

I was using Lubuntu 20.04 (Ubuntu with LXQT) and NVidia drivers (GeForce 940MX card). Last few times I run an upgrade with

sudo apt full-upgrade

my screen went blank if nvidia drivers where upgrading. I just waited for some time to ensure the upgrade was completed, and then rebooted my laptop (pressing the shutdown / start button for some seconds).

Yesterday I upgraded the distro to Lubuntu 22.04, and ag ...

Score: 0
Amirmohammad Divani avatar
How to make virtual machine and host use the same proxy?
ae flag

The host (Windows 11) is using v2ray protocol proxy, I want the virtual machine (Ubuntu 22.04) to use the same proxy so that they can both access free internet. Is there any way to connect the two together?

I have tried changing connection type from NAT to Bridged mode on the virtual machine (Ubuntu 22.04) and it didn't help.

Please note that I have severe limitations on updating and installing pack ...

Score: 1
HippoMan avatar
Why is postfix rejecting one particular validly DNS-mapped sender?
by flag

I'm running postfix 3.5.18 under Debian 11. The mailserver is working fine for all senders except one.

I regularly am getting this message from emails from one sender and one sender only (where I changed a valid email address on my server to "[email protected]" in the message, and where I changed the server name in that message to MYEXAMPLE) ...

Jul 15 17:05:45 MYEXAMPLE postfix/smtpd[350738]: Anony ...
Score: 0
Matan Shtepel avatar
A cryptographic proof system which uses rewinding to argue soundness but is not a proof of knowledge?
sn flag

Are there any cryptographic proof systems that rewind the prover to argue soundness but are not proofs of knowledge? In particular, I would be very curious to see examples of proof systems where rewinding is useful for arguing soundness but does not seem to suffice for witness extraction.

To give some nonexamples, Schnorr's discrete log proof of knowledge rewinds the prover to extract the discrete ...

Score: 1
Şükrü Özdemir avatar
MariaDB Not Starting
kr flag

I left it here, reverting to an outdated backup, as I needed to get the system up and running. If there are new answers and things to try, I will try so that the issue can be resolved. I shut down the faulty server and I'm holding it.

I am using ubuntu 20.40 and Mariadb 10.3.38 innoDB engine.

I have deleted Moodle's log table rows via .py script.

My deletion is complete and I have 4.5GB of disk space le ...

Score: 0
Rcarolino avatar
Acer Nitro 5 AN515-44-R11B, Ubuntu doesnt recognize drivers and second monitor
ss flag

So when i run nvidia-xconfig, the system says: 1

I don't know how to fix that and i think that this is what cause to my second monitor just stay in power mode, weeks ago was working perfectly and works just fine on win 11, but on ubuntu doesn't, and if i go on the Additional Drivers tab and select the noveau graphics the second monitor shows but with some white stripes on it.

I've followed the guide on th ...

Score: 0
Hossein Kurd avatar
Django project page cannot shown on ubuntu after uninstalling pycharm
gb flag

Recently I bought a 2handed laptop and try to develop django project I have removed Pycharm-professional that was installed from snap, then I cannot view django project's pages it shows the error below:

TypeError at /en/cms_wizard/create/
'NoneType' object is not subscriptable
Request Method: POST
Request URL:    http://127.0.0.1:8000/en/cms_wizard/create/
Django Version: 3.1.14
Exception Type: Typ ...
Score: -1
nixamateur avatar
grub key failure no boot
mm flag

Problem

Doesn't boot at all.

Keyboard inactive, no screen output. PC fans just hum on.

Context

Ordinary use. The PC + setup has worked fine for months. I wasn't fiddling.

Boot POST test has always complained about USB setup. However, all USB ports seem(ed) to work.

Incident - human failure

Intention: In grub menu - pressing arrow down key twice, to get down to Windows bootloader.

Reality, pressed:

 ...
Score: 0
Alessandro Polverini avatar
Unable to use full resolution of a 4k monitor using Digital Port
bd flag

I recently upgraded my system with a Ryzen 9 7900 with integrated radeon graphics and the motherboard has two video ports: HDMI and DP.

When I connect my 4K monitor (Samsung LU28E590DS) on the HDMI port everything works perfectly.

Instead when I connect it using the DP port the maximum available resolution is 2K. After many many tries and reboots once it happened ubuntu allowed me to use 4K resoluti ...

Score: 1
dmuensterer avatar
Kafka not stopping consumers when deleting group
ca flag

I am sending logs from Logstash as the producer to Kafka and then consuming them from Graylog. This works as expected.

However, when stopping the Graylog input, thus sending a LeaveGroup request, the consumer is not unregistered and even when the group is deleted via bin/kafka-consumer-groups.sh --bootstrap-server localhost:9092 --delete --group graylog2, Graylog keeps consuming (and is able to do so) e ...

Score: 0
Luis Alfredo Serrano Díaz avatar
OpenDkim - PHPMailer - Failure OpenDkim
us flag

my dkim configuration was working just fine. Im working with an email marketing app, pretty simple, normally i used to send the campaign with a Sender ID that is my domain company, and for the From Email, the customer email. I signed the dkim wih my sender id and my domain company and everything was working just fine but for some reason now im getting dkim failure, idk if anything changed on PHPMailer o ...

Score: 0
Ezh avatar
When will KDE 5.27.6 available for Kubuntu?
gs flag
Ezh

At the moment it is still 5.27.4 and no further update.

Score: 0
crackpot avatar
Is it possible to relocate the mount point of a btrfs subvolume within the same root?
in flag

I have created a btrfs subvolume in the path of /docker/nc/data. As shown below:

$ sudo btrfs subvolume list /
ID 256 gen 13908 top level 5 path docker
ID 257 gen 13877 top level 256 path docker/nc/data

Is it possible to move the subvolume somewhere within the subvolume docker? I.e.

/docker/nc/config/data

There are nearly 90GiB of data in it. Is it possible to be done without copying?

Score: 0
Paraekklisiarh avatar
BTRFS "ghost" directories/files are not deleted
az flag

I get an "not empty" error when I try to delete a directory with sudo rm -fr /net7.0. The directory:

➜ ls -la net7.0
ls: cannot access 'x86': There is no such file or directory
total 0
drwxrwxrwx 1 qmater qmater 12 июл 15 20:37 .
drwxrwxrwx 1 qmater qmater 12 июл 15 19:28 ..
d????????? ? ?      ?       ?            ? x86
...
d????????? ? ?      ?       ?            ? x86

Unsuccessful attemp ...

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.