All Questions

0
votes
0answers
2 views

Wifi not working on Debian 9

I have a Debian 9 Stretch OS running. Today i turn my laptop on and its not showing any wifi. Also i cannot enable wifi. Here is my iwconfig result; wlp8s0 IEEE 802.11 ESSID:off/any ...
0
votes
0answers
4 views

Does adding a key to authorized_keys make a 2 way ssh connection or only 1 way

If I add my public key to a servers authorized_keys file then I can ssh into the server with no password; My question is, can the server ssh into my machine with no password too? or I have to add the ...
0
votes
0answers
3 views

Unable to connect to internet after enabling wake on lan on Debian 9

I've enabled Wake-On-Lan on my debian machine with this tutorial. I didn't have the option to try it out or reboot, and went to sleep. The next day, a power surge happened, and rebooted my computer, ...
-1
votes
0answers
6 views

Dual Boot Kali Linux - When I try to log in on fresh install I get a grey screen and can’t go to home

As is stated in the title when i try to log on, i get a grey screen. This is upon fresh install of a dual boot computer with Windows10 and Kali. Please offer any suggestions
0
votes
0answers
2 views

LDAP per-user overrides

I'm using openldap + nslcd to connect to a LDAP server for authentication of some users (these users would want their passwords and most of their configuration shared over many devices). I don't ...
0
votes
1answer
5 views

GRUB Boot ISO/disk image from NTFS partition

DISCLAIMER: THIS IS A REPOST WITH ORIGINAL QUESTION. MY LAST QUESTION GOT FLAGGED AS "DUPLICATE", EVEN THOUGH IT WAS NOT, AND ANSWER DID NOT EXIST. I CAME UP WITH A SOLUTION THAT NO ONE ELSE HAD ...
1
vote
0answers
7 views

No sound with debian, xmonad and pulseaudio

While I realize this question might have been asked multiple times, I can't seem to find a solution for my situation. I am using debian 9 with xmonad, and one time after rebooting -- no sound. When I ...
-2
votes
1answer
9 views

How shall I understand the usage of the routing tables of a guess OS and its host OS?

How shall I understand the routing tables of a guest OS and a host OS via KVM? When a packet reaches the guess OS If the packet is destined for the loop back address (127.0.0.1) of the guest OS, ...
0
votes
0answers
4 views

Slow Read/Write SSD Speed After Suspend

When I first boot on the system (it's a laptop), everything is AMAZING! But if it sits idle and suspends to ram or if I manually STR then when I wake the system, it is very very sluggish. Commands run ...
0
votes
1answer
18 views

How to read dd/mm/yyyy date string in date -d UNIX command?

I am trying to dynamically convert one column in text file containing date in dd/mm/yyyy hh:mm:ss format to yy-mm-dd hh:mm:ss. Following command is working but giving output in yy-dd-mm and NOT yy-mm-...
0
votes
0answers
3 views

Simulate graphics tablet using libevent

I would like to simulate a graphics tablet (like wacom's ones) from a script. The "good" way to proceed seems to use libevent that is an abstract layer above uinput. So I tried to write a script that ...
-2
votes
0answers
9 views

Which startup script should I use?

I have heard of a number of places to put scripts to run at startup: /root/fw.start /root/scripts/fw.start /etc/profile.d/* /etc/bash/bashrc /etc/init.d/* /etc/rc.d/* /etc/default/rc* ~/....
0
votes
0answers
9 views

How quick are Debian security patches moved to Stable?

Debian is known for its stability. As they require rigorous testing, packages are known to take a long time to become Stable, comparing to other distributions. In light of the extended review ...
1
vote
0answers
9 views

Using regex to extract a value from syslog-ng logs

I'm trying to sync files from our clients to our server using syslog-ng. The client can have multiple devices connected to it, and each device logs separately On the server, the destination of the ...
0
votes
0answers
10 views

File - can't access xxx - bad address

Docker on raspbian suddenly stopped working. I tried to restart/rebuild the image and then reinstall the docker without success. the problem seems to come from the directory /var/lib/docker/overlay2/ ...
2
votes
0answers
10 views

Are released blocks logged in the journal for ext4?

Suppose we have a simple case: ext4 file system with journaling a single file named file, which has no other hard links the inode for file has associated with it only 1 data block My understanding ...
0
votes
1answer
22 views

if condition failing inside SSH

I'm ssh-in to a remote machine (ubuntu) and trying to execute a little script in there.The script looks like this: myfunction() { input=$1 count=$2 ssh ubuntu@ip <<EOF if [ $input = ...
1
vote
0answers
21 views

awk print tab delimited columns with find execdir

I am trying to print out columns that are separated by tabs. First, I use find command to identify a list of files to process. Second, I parse the file path to generate the filename to be used for ...
0
votes
0answers
9 views

Linux Mint19.. /home encrypted after Timeshift restore .. I have never encrypted anything on my system

After the Timeshift restore I am unable to login. Entering my password simply returns me to login prompt. This is what I have tried. Using Grub restore and LiveCD(Mint19) I have confirmed that home/...
1
vote
0answers
20 views

What route 0.0.0.0 0.0.0.0 0.0.0.0 mean?

when starting Cisco AnyConnect I get: $route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 0.0.0.0 0.0.0.0 U ...
0
votes
0answers
8 views

Remote Commands and Restricted Shells via SSH

I'm working on an ssh server where the only thing I ever want the user doing is ssh user@ip cat somefile Part of my threat mitigation plan was to give the user restricted bash I've seen examples ...
0
votes
0answers
8 views

Changing Destination IP address using iptables and DNAT

I am trying to experiment with DNAT in PREROUTING. I found a tutorial here. It contains the following sentence: This is done in the PREROUTING chain, just as the packet comes in; this means that ...
0
votes
0answers
3 views

qmicli & Mobile Virtual Network Operators

I am currently working on a project involving some Sierra Wireless LTE modems which expose a QMI interface. I am using qmicli 1.16.2 on Ubuntu Server 16.04 LTS. In order to get the modem to connect ...
0
votes
1answer
14 views

Is it unusual for kernel modules to access system calls?

I am trying to find information on how a kernel module can access system calls, I can't seem to find a lot of information about this subject. Is this because it is unusual for kernel modules to ...
0
votes
0answers
22 views

How to find where a linux package has been installed [duplicate]

I have just issued the sudo apt-get install linux-source command that installs the linux-source package, but I am not quite sure where this package has been downloaded to. My question is how can I ...
4
votes
1answer
139 views

Installing PowerShell on 32-bit Kali OS fails

I am having some issues installing PowerShell on my 32-bit Kali Linux PC.  I followed this guide and started with: apt update && apt -y install curl gnupg apt-transport-https Next, I ...
-1
votes
0answers
14 views

Is there a GUI video clipper that works with Debian testing software

I want something like this, that takes mp4 or webm videos from youtube, and let's you cut segments from them. the video clippers are usually easier to use than kdenlive or openshot, which I find ...
1
vote
1answer
29 views

Convert JSON with raw characters in string

Had a problem with a tool that was generating illegal JSON. Some of the JSON strings contained characters in the range 00-1f. So I wanted to convert these characters to correctly escaped valued \...
0
votes
1answer
22 views

What is the meaning of the R/D flag in ps output?

What is the meaning of R / D from ps ax? Does it indicate a problem? 3 ? R 522:45 [ksoftirqd/0] 4380 ? Rl 1240:31 gdm-session-worker [pam/gdm-launch-environment] 5938 ? ...
0
votes
0answers
8 views

Parallelize with SGE_TASK_ID

I have a block of code that works as I want it to but is really inefficient. for f in *.GeneSet; do #Figure out the cell type by removing "Genes.GeneSet" from the end of the filename cell_type=${f%...
-1
votes
1answer
46 views

Why does the process ID change in the output of “ps -l”?

Whenever I run a command in the terminal on Linux, at runtime, its PID changes. The command I used after running one program two times at runtime, was ps -l. Why does the program change process ID?
2
votes
3answers
30 views

Remove all matches containing a string until its next space

I want to delete all matches in a text following this pattern: Each match starts with linux- Each match ends with a space (Remove linux-* until immediate next space) EXAMPLE: From this text: ...
0
votes
0answers
28 views

AntiX Full, how to properly install Xfce with everything 100% working

sudo apt-get install xserver-xorg x11-xserver-utils xfonts-base x11-utils lightdm lightdm-gtk-greeter xfce4 xfce4-goodies -y --allow-unauthenticated Reboot. The above command works.. but XFCE isn't ...
0
votes
0answers
9 views

All processes seem to be ignoring certain signals

A couple of cloud servers we recently provisioned seem to ignore signals by default. I can figure out what has been configured to cause this behaviour and it is affecting both ctrl+c and bash scripts ...
-1
votes
1answer
45 views

Using sudo: file system with the 'nosuid' option

In this Linux playground I create a new user, add it to the sudo group and try to use sudo without success. I get the error message: sudo: effective uid is not 0, is /user/bin/sudo on a file system ...
0
votes
0answers
22 views

uninitialized pointers dangerous?

I read, that pointers (in C), that are not initialized, could point to an address that contain data or program code from other programs. In the book it says, that this can cause damage. Is this issue ...
0
votes
0answers
23 views

lsusb does not show all devices

The lsusb command is not showing one of the attached USB devices with the 4.14 linux kernel. The same hardware works correctly with the 4.9, 4.4, and 3.2 kernels. The 'missing' USB device is detected,...
-2
votes
0answers
17 views

Do SPICE, XPRA and VNC work as alternatives to each other?

Do SPICE (https://spice-space.org/ and https://en.wikipedia.org/wiki/Simple_Protocol_for_Independent_Computing_Environments), xpra and vnc work as alternative to each other? Thanks.
0
votes
1answer
37 views

How can I find out which processes are using or listening on which network interfaces?

ifconfig lists several network interfaces, some of which are virtual ones. How can I find out which processes are using or listening on which network interfaces? Thanks. $ ifconfig docker0: flags=...
1
vote
1answer
22 views

Is there a way to list the kernel threads that are created by the kernel only?

The command ps aux | grep ] will list all the running kernel threads (the kernel threads that are crated by the kernel, and the kernel threads that are crated by someone else). Is there a way to list ...
2
votes
1answer
63 views

Which network interface or IP address in the guest OS corresponds to which in the host OS?

I heard that a guest OS and a host OS in KVM can communicate via having network interfaces or IP addresses in the same private network. I also heard that You can see its IP addresses and network ...
1
vote
4answers
39 views

Is there any command line to see the missing files on Linux? [duplicate]

Is there any command line to see the missing files on Linux. I have a list of files start from 000 to 073 in the terminal folder on MobaXterm. But as you see in the picture below 070 is missing. ...
2
votes
1answer
28 views

Unable to locate package spice-vdagent in debian

I am running a live debian as a guest OS in VMM. $ sudo apt install spice-vdagent ... E: unable to locate package spice-vdagent Do I need to add some repository first? The repository configuration ...
1
vote
1answer
39 views

What are equivalences to QEMU/KVM in VirtualBox?

Are QEMU and KVM both kernel modules? In VirtualBox, what are the equivalences to these kernel modules? Thanks.
0
votes
0answers
32 views

Linux directories read/write behaviour?

I need to know how the directories of a Linux system are used, in relation to their approximate read/write behaviour in time. So far I have not been able to find any references. Can anybody provide ...
0
votes
0answers
16 views

Error compiling mosquitto_auth_plug

My config.mk file has the following settings: # Select your backends from this list BACKEND_CDB ?= no BACKEND_MYSQL ?= no BACKEND_SQLITE ?= no BACKEND_REDIS ?= no BACKEND_POSTGRES ?= yes BACKEND_LDAP ...
0
votes
0answers
27 views

How to fix “Account starting with zero”

Because this company uses Centrify, I made a local Oracle account starting with zero on another server so as not to conflict with the original. No problem except when my scripts email me I get: ...
0
votes
1answer
27 views

awk + how to capture the third field on both characters

from ps ax we get the following output ps ax PID TTY STAT TIME COMMAND 1 ? Rs 611:56 /usr/lib/systemd/systemd --switched-root --system --deserialize 21 2 ? S ...
0
votes
3answers
29 views

How to find top memory & CPU consuming process for particular time?

I have checked the sar report and found that CPU & Memory is getting utilized much more at particular time (for ex. day ago). Is it possible to find which process was taking much CPU & Mem? ...
0
votes
1answer
19 views

Find Consecutive error in file and list file names

I got this project to analysis my logs where i need to find any consecutive errors occured more then thrice and list logs name . As i logs were huge , i wrote below script to help myself. for i in `...

15 30 50 per page