Questions tagged [linux]

A family of Unix-like operating systems using the Linux kernel. If your question is about a certain distribution only, use a more specific tag.

Filter by
Sorted by
Tagged with
0
votes
1answer
26 views

Exclude hidden folders using rsync, but Include specific hidden folders and include all hidden files

There are a lot of posts about rsync exclude being particular, I know, and I've spent some time digging myself for a solution, but thought it more expedient to defer to community mind power, which I'm ...
0
votes
0answers
19 views

Can a JVM PID change?

Say I'm running a simple Java application on a linux server and I want to get information about the JVM system properties rather frequently. For this purpose, I was thinking of making an API I could ...
0
votes
0answers
20 views

get process id in shell without saving to a temporary file

Hi linux/bash experts, I would like a universal way to get the process id of the previously run process. I know that I can do this: # child_script myprocess & pid=$! && echo $pid ...
0
votes
1answer
17 views

Could not extract X509 subject string from certificate

I am trying to connect OpenVPN server and client. I get the following error on client end: Thu Aug 15 12:40:02 2019 daemon.err openvpn(default)[11009]: VERIFY ERROR: depth=1, could not extract X509 ...
0
votes
0answers
7 views

Use iptables to DSCP tag traffic from a particular docker container

Without docker, this command would allow me to tag traffic from a particular application that I wanted to (via openwrt split tunnel plugin) route out my VPN: sudo iptables -t mangle -A OUTPUT -p tcp -...
0
votes
1answer
17 views

What are my best option(s) if desiring to tunnel/reverse-proxy to-and-from a telnet server?

I have a quite small VPS abroad, and a BBS telnet server software that i wish to run locally. What are my options, If i wish to only use the VPS as a relay for connections, effectively and ...
2
votes
2answers
33 views

Disabling RAID for home PC

I inherited decommissioned server HDDs from work. I plugged both into my PC at home, but it looks like they're both enabled for RAID, as I can't unlink them in GParted to use as separate storages. ...
0
votes
0answers
19 views

ssh server on VM does not accept connection from outside host

I have a setup like below: qemu as hypervisor. ubuntu running as a virtual machine with two network adapters: eth0: connected to a user network. ssh port is forwarded to a port from host OS. eth1: ...
0
votes
1answer
70 views

Why fdisk adds half kibibyte sometimes?

I'm trying to partition a 1440 KiB floppy disk image using fdisk (util-linux, v2.31.1). However, the tool is seemingly adding a 512-byte sector, no matter what units I use, and I can't tell why. ...
1
vote
0answers
11 views

Can I install the python3 version of packages without having to specify python3 in their names?

I am contributing to an open source project and I am currently migrating it from python2 to python3 and I have a list of required_packages which includes: python-mysqldb and python-dev. Because of the ...
0
votes
1answer
19 views

Java Runtime Environment (JRE) not found (linux ubuntu)

I just install java following the easy to follow guide: https://www.java.com/en/download/help/linux_x64_install.xml. So by step I: 1) Downloaded jre-8u221-linux-x64(1).tar.gz from my browser (...
1
vote
1answer
33 views

Multiple pipes on a tailed log - last pipe never receives stdin

I've gotten into an interesting state on Ubuntu. The steps below describe it the best. With a single pipe, I'm seeing what I expect # In shell A tail -f foo.log | grep aaa # In shell B echo aaa >...
0
votes
0answers
4 views

Captive portal (nodogsplash) stops working if iptables - hashlimit rules entered (OpenWRT)

I have setup a hotspot device with openwrt. It has nodogsplash installed for hotspot functions and iptables for limit bandwith. When i was testing speed limit script, hotspot was disabled for testing ...
1
vote
0answers
4 views

Setting OneDrive location in Windows 10 Guest to host shared folder in VirtualBox

My only solution so far to really have OneDrive running on my Fedora workstation is to have Windows 10 in a VirtualBox VM. I've set up a shared machine folder between the two, and I can access the ...
1
vote
1answer
22 views

Linux network random hang Intel NUC

Any version of current Linux; Intel NUC with built in R8169 network, plus tried external USB network adaptor; The interface will randomly stop sending/receiving with no errors in any logs. ifconfig ...
0
votes
1answer
19 views

How can I get a list of installed centos packages by only reading from the filesystem?

I am writing a tool for analyzing images and have full access to an image's filesystem. I want to produce a list of all installed packages with name and version info. However, I do not want to ...
0
votes
0answers
30 views

Sound card only detected with logged in user

So when I ssh into my Pi and try alsamixer / aplay -l or similiar no Soundcard is detected. but when I log in on the Pi directly everything behaves "normal". How can I get the sound working with no ...
0
votes
0answers
16 views

Node down error on linux

i installed Erlang and RabittMQ on linux Rhel7 when i starting rabittmq it showing # /sbin/service rabbitmq-server start Starting rabbitmq-server (via systemctl): [ OK ] but when ...
0
votes
0answers
21 views

linux modules extra error

sudo apt-get check Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt --fix-broken install' to correct these. The following packages ...
0
votes
1answer
12 views

How to edit pastebin post from bash script

How I can edit existing pastebin post with bash script? I can upload text with script but every time create new paste (with same name but different address). Thank you
0
votes
0answers
6 views

Yocto meta-toolchain-qt5 qtwidget raspberry pi zero compile Error

I got following error while i compile yocto bitbake meta-toolchain-qt5, the error related with qtwebkit. My target machine is raspberry pi zero armv6 hf. Here my host PC: OS Linux Ubuntu 16.04, CPU ...
0
votes
0answers
14 views

How to detect a input signal of a non standard keyboard button ? Asus ROG laptop

I am looking for a way to trigger some stuff when I press the 'ROG' key on my keyboard which is Asus specific. When I run showkey it doesn't output any value. Do you have any idea if there's a way ...
0
votes
0answers
34 views

Zorin OS has bad and weird workspaces behaviour

I moved from Linux Mint to Zorin OS Turns out the workspaces work weird. Either they are bugged or the programmer made some poor design decisions. Let's give out an example: There is workspace A (A) ...
0
votes
1answer
13 views

How can I sign in to my VPS/shell account without having to type my password each time?

How can I sign in to my VPS/shell account without having to type my password each time? I have tried pasting a shell script including Prolog code but the password doesn't paste properly.
0
votes
0answers
20 views

Have directory that anyone in a group can chmod from 444 to 777

I have a release area that I (not a super user) manage. Nominally the privileges are 444 (Only read access for myself, group, and everyone). I don't want myself or a group to nominally have write ...
0
votes
0answers
7 views

LE910-SVG modem with MM or libqmi unable to access internet after first disconnection

I am having very strange issue with an LE910-SVG (Verizon) cell modem on an embedded Linux system running Ubuntu. I have replicated this issue using both qmicli (both version 1.16 from apt and built ...
0
votes
0answers
12 views

Raspbian and dodgy ip address

I need 2 vlans on my raspberry (no ordinary iface) and what i did was to add a file: pi@rpi:~ $ cat /etc/network/interfaces.d/vlans auto eth0.104 iface eth0.104 inet dhcp vlan-raw-device eth0 ...
0
votes
1answer
54 views

Cannot install guest additions (unknown filesystem type 'iso9660')

I want to install the guest additions on my Linux Ubuntu VM (host is windows 10). When I go to devices -> Insert guest additions in the VM I get the following error: The guest additions .iso is in my ...
0
votes
0answers
6 views

Dependency-Track for Yocto Projects

I am looking for a system to manage vulnerabilities in an embedded Yocto Project. Dependency-Track looks promising with a auditing workflow. Before adding an complete BOM I wanted to test it with a ...
1
vote
0answers
25 views

I ruined my gaming keyboard with my own usb driver

Some time ago, I decided to write a Linux driver for X7 G800V gaming keyboard so that I could program it without Windows. I made a deadly mistake in the code and uploaded faulty data and now it is ...
0
votes
1answer
30 views

Sending command line arguments to a program

In a Linux environment I have a socket program that sends data to a remote host. The socket is started from within another program. Its started with 3 paramters, a header, a server, and a port: ...
0
votes
0answers
15 views

How to save my entire Linux image on a USB stick

I have a question. I want to save my entire Linux image on a USB drive, so I can restore it when I need to. But what is the best way to do this?
0
votes
0answers
13 views

How to resize two adjustant partition in Linux

My hard drive looks like this: Now I want to use all the allocated space and double or triple the size of /dev/sdb5 and /dev/sdb6. But gParted displays warning that if I move the partition then I ...
0
votes
0answers
11 views

How to mount a folder from a termux prooted jail using sshfs in archlinux?

I got an android phone with termux installed, and I created a prooted jail in termux home directory. I can ssh into this prooted jail without any problem. However, when i tried sshfs, an permission ...
2
votes
1answer
26 views

Windows suddently disapearred from GRUB

I am using Windows 10 alongside with Ubuntu 19.04 Disco Dingo. Yesterday, I tried to start Windows 10 to play some games but it wasn't in the Grub's OS selection list. I didn't touch anything on Grub ...
0
votes
0answers
18 views

Alternative to SSH for “port forwarding” for coordinating servers

I'm kind of just messing around, I'm possibly the furthest thing from a superuser, but I feel like this is the right place for this question. Normally, I like to furiously google for hours until I ...
0
votes
1answer
21 views

ffmpeg increase volume for a section of song

I'm trying to increase the volume in a part of a song. For that, I'm dividing the file (I know that part works fine). and Then I want to increase the volume for one of the parts. That's where it does ...
0
votes
0answers
30 views

“/dev/vda1” is 100% full

I have a problem with Ubuntu 16.04.2, that the server is full. This is because of the "vda1" that uses 100% of the disk: Filesystem Size Used Avail Use% Mounted on udev 991M 0 ...
0
votes
1answer
14 views

Installing rEFind for Windows 7

I'm trying to switch from Windows 7 to Arch Linux (used it in a VM for years now preparing to use it 100%). First thing I'm doing is to have the computer boot using rEFind. I tried to install it ...
0
votes
0answers
17 views

Arch Linux: DisplayPort → HDMI

I’ve got a Lenovo ThinkCentre running Arch Linux. It’s connected to a display with a DisplayPort to HDMI cable, which only works sometimes (quite randomly). When it doesn’t, the display remains black, ...
0
votes
1answer
14 views

how to login to mongodb in bigbluebutton html5

How do I connect to the installed mongodb? How many users are defined for mongodb when bbb is installed? root@srv53607:~# mongo mongo MongoDB shell version v3.4.22 connecting to: mongodb://127.0.0....
0
votes
0answers
29 views

Connecting Win 10 roadwarrior to AWS strongSwan VPN - not able to find a certificate usable with Extensible Authentication Protocol

I managed to connect two AWS subnets in different zones over strongSwan VPN using ike2 with the aes256 encryption. So, Master CA key is created, self-signed CA certificate, as well as private and ...
0
votes
0answers
11 views

Resume a process with a nohup command [duplicate]

I launched a python code on a remote GPU (with ssh) in the terminal without the nohup command (basically just 'python main.py') I wanted to make it run with nohup to reboot my pc. Still, I did not ...
0
votes
0answers
17 views

connection timeout accessing server from specific network

My server at home (Pi Zero - Stretch) used for general maintenance when I'm away. I can ssh and vpn into the server from mobile and laptop on wifi pretty much anywhere in the world / country, however ...
0
votes
0answers
11 views

Installing php-mysql on amazon aws server with php7.2 instead of php7.4

I installed php7.2 and mariadb10.2 using linux-amazon-extras, but I also need to the mysql pdo driver as a dependency for vichan. sudo yum install php-mysql only gives me Error: Package: php-pdo-5....
0
votes
0answers
15 views

I need to get pip but dont have disutils

So I need to get disutils.util to unpackage things that I try to get using pip. The problem is I dont have pip and I dont have permission to use sudo or basically anything. I searched and searched but ...
0
votes
1answer
19 views

terminal freeze after reboot command

In my customized embedded linux kernel 4.x.x, when reboot command(implemented in busy box) is given, it freezes the console/terminal and hangs. however linux is still accessible from other terminals. ...
-1
votes
0answers
22 views

connection to serveo.net closed by remote host. Connection to serveo.net closed

When I start the ssh tunnel after ten minutes it disconnects from serveo. The command I am using is: ssh -R Mydomain:80:localhost:80 serveo.net. The error connection to serveo.net closed by remote ...
0
votes
0answers
26 views

Unable to find pgen, not compiling formal grammar

I add python-cython package on the buildroot following the steps from https://github.com/buildroot/buildroot/blob/37785bff15ef1e2f05c2e5051bb3f293b1968a47/package/python-cython/python-cython.mk. When ...
1
vote
0answers
19 views

Can Windows Server 2019 on EC2 run WSL 2

I want to create a VM on EC2(Microsoft Windows Server 2019 Base - ami-0eaa025a752a23c5b) that can run windows container and linux container at the same time. I know WSL 2 can support docker container ...