0
votes
0answers
3 views

after update targetd and rtslib clients could not connect anymore

update of targetcli and python-rtslib changed attribute optimal_sector to 512 and removed attribute fabric_max_sectors from the config. target is running, listening on port 3260 but clients (Windows)...
1
vote
1answer
22 views

Generating a PDF from images

I have a serie of ten images. I would like to have them stretched to fit 5in squares centered in a single A4 PDF, one image per page. I would need something working on Mac (in case of some local ...
0
votes
0answers
10 views

Make systemd stop starting unwanted wpa_supplicant service?

I wanted to disable systemd unwanted attempts to automatically start wpa_supplicant. I thougth I could simply run a sudo systemctl disable wpa_supplicant.service --global and I would not be seeing ...
1
vote
0answers
10 views

Divide numbers in field based of another field value

I'm looking to divide specific PERCENT="" fields by a number (in this example 5). They must be followed by START_LV="" and END_LV="". The PERCENT="" fields that should be edited need to have ITEM_ID=""...
0
votes
0answers
14 views

Why you can install every Linux distro on PC, but on phone you have only a limited choices?

Why for PCs and laptops you can choose virtually every Unix/linux distro, but for mobile devices you can install only a specific version of an OS that has been tailored to the specific phone?
1
vote
0answers
12 views

Debian Tab not working for editor or terminal

I am using Debian on a VPS. I am connecting to it from Remote desktop on my Windows machine. if I use PuTTY to connect, I can use the Tab-key just fine, files in the terminal auto complete. If I ...
0
votes
0answers
15 views

Using ddrescue to retrieve data off a failing ntfs disk

I am attempting to save some user data of a disk that has failed in a Window 8 computer. I've removed the HDD that was unable to be read by the Windows 8 laptop, plugged into my OS X machine which can ...
0
votes
2answers
15 views

Divide numbers in specific field

I am looking to divide numbers inside the PERCENT="" field in my data that is followed by both START_LV="" and END_LV="". I want to divide the numbers by 5 however the numbers must be whole. Also if ...
0
votes
1answer
10 views

Disabling primary display in Fedora 22 (without primary display visible)

My primary display isn't working and I'm using a monitor. Unfortunately, Fedora 22 doesn't seem to pick up on this and acts as though I had two displays working simultaneously. As all system settings /...
0
votes
0answers
9 views

BIOS does not call boot loader when one flash drive is down - linux (ubuntu)

I am using a Dell Thinclient, which has 2 flash drives. There is no hardware RAID1 implemented. The requirement is that, whenever 1 flash drive goes down, we should be able to boot and continue from ...
-3
votes
0answers
14 views

Wget still retrys with retry flag set to off

I have the following code which I wrote with a little bit of help from someone on SO: #!/bin/bash for i in {1..255} # <-- use brace expansion instead of seq, no semicolon needed do wget -r --...
0
votes
0answers
7 views

Slattach IP address isnt correct

When I use slattach to try to create a SLIP connection between 2 linux boxes over a null modem cable, like so: # slattach -p slip -s 115200 /dev/ttyS0 & # ifconfig sl0 10.0.5.1 pointopoint 10.0.5....
1
vote
2answers
27 views

I keep on getting a lots of error when doing sudo apt-get update. And it take a long time to complete

unique@my-pc ~ sudo apt-get update [sudo] password for unique: Err http://ppa.launchpad.net jessie/main amd64 Packages ...
2
votes
1answer
15 views

What is the purpose of configuring a software bridge in RHEL? How do we use it in virtualization?

I'm preparing for RHCE using the official redhat course-ware. The chapter that introduces the concept of bridging only tells you the commands used to configure a software bridge. The practical ...
0
votes
0answers
27 views

redirecting command to /dev/null doesn't silence it [on hold]

I'm trying to silence the output of grub-mkrescue command, but it doesn't seems to work. it still prints messages to the screen. why is that ? is there any alternative I can use to stop it ? $ grub-...
2
votes
2answers
61 views

How to cat files of 2 folders and redirect them as input to diff command

My requirement is to cat files from 2 different folders and redirect it as an input to the diff command. The files are recursively parsed throughout the directory and subdirectories Hypothetical ...
1
vote
1answer
14 views

Disk is very active when computer thinks I am away. How to find out the cause?

I can hear my hard disk reading or writing for long periods of time (20+ seconds) at some time after monitors are shut down due to inactivity. Sometimes it's not just when I am away. How do I find ...
0
votes
1answer
12 views

Is it possible to install two services for one package using dh_installinit? How?

dh_installinit looks for debian/$(package).service, but a package may provide multiple services. Is it possible for one to bundle multiples .service for one package with this method?
1
vote
2answers
14 views

Modifying empty string variable inside switch statement in function bash

So I have this function in bash that receives as first parameter an empty string variable and as second parameter a character, function check_cases { case $2 in r) $1=$(echo "$1 Read");; ...
1
vote
1answer
11 views

ZSH command runs in shell but not in script

I run this zsh chained command in my terminal: cd /path/to/backups/pod3 && rm -rf ./*(Om[1,-10]) This works fine and removes the appropriate directories as expected. However, when I put ...
1
vote
1answer
17 views

how do I check TRIM?

I have Linux installed on a Dell XPS 9343 with an Samsung PM851 SSD. I recently read that many SSDs don't support TRIM operations. So I'd like to check if discard option effectively works on my system....
-1
votes
0answers
11 views

How to remove logging logs from my VPN server?

Someone please give me an advice, how I can remove all the logs from my VPS server where I have VPN server installed? I want to remove IP logs and everything which is associated with all the ...
0
votes
0answers
8 views

libusb ignoring udev rule on Debian Stretch

I'm trying to disable my Elantech touchpad (using synaptics driver) once I plug in my USB mouse. So I created a udev rule which I got from Archwiki. I also disabled libinput so I can run $ synclient ...
2
votes
1answer
39 views

Wrapper to prevent a program from accessing non-local connections

Consider a program server which binds to '*' and listens for incoming connections. I only connect to server from localhost and I do not want external users to be able to connect to it. However, the ...
0
votes
1answer
14 views

Change default image viewer

# ... def show(): """ Show image """ t = Twitter(auth=authen()) try: target = g['stuff'].split()[0] if target != 'image': return id = int(g['...
0
votes
1answer
26 views

DNS server doesn't work

I'd like to run a DNS server for studying purposes but I keep getting this error message. Could you help? (virtual machine in virtualbox: eth0 - NAT, eth1 - internal adapter) debianserver@...
1
vote
0answers
4 views

Sound card config discrepency between pi and root

I am trying to configure a USB microphone plugged into Raspberry Pi 3 running Raspbian Jessie. Before I made any changes to the system, I used amixer to inspect the situation, both for the regular ...
-1
votes
2answers
24 views

AWK Grouping Based On Line Containing Specific Character

The source looks like this: test/snmp/result/08-28-2016_12-30/AAAAA/hostname01_192.168.1.1 161/udp open snmp | snmp-brute: | comstring1 - Valid credentials |_ comstring2 - Valid credentials test/...
2
votes
0answers
23 views

Appending a variable to different lines of a file in bash

So I've got a file with the following values in it 9.1 100.1 200.3 9.2 100.4 198.3 Now I have 3 variables with values stored in them like so a=10.1 b=112.4 c=244.5 I would like the output in the ...
0
votes
0answers
5 views

YUV and RGB linux camera driver

What are the differences between YUV and RGB camera sensors and what are the differences between their drivers?
3
votes
1answer
44 views

Fedora24, trying to install java (JDK)

I've installed openjdk Installed Packages java-1.8.0-openjdk.x86_64 1:1.8.0.101-1.b14.fc24 @updates java-1.8.0-openjdk-headless.x86_64 1:1.8.0.101-1.b14.fc24 @updates javapackages-...
0
votes
0answers
19 views

OpenSuse. I can't login. I receive “Login incorrect”

I have some problem with opensuse. In particular, I can't access to graphical login and I have the tty1 screen where I should insert username/password. Nevertheless I receive the message "LOGIN ...
0
votes
1answer
38 views

How to check whether port 25 is open or blocked?

I'm trying to determine if port 25 is available on a server. I tried using nc and telnet to connect, but each of those failed to connect. Is there any other test I can do to find out if there is ...
1
vote
1answer
30 views

No free space available on the Linux partition

I recently installed Qt creator (community edition). Until this moment I had up to 6GB free space (of 40.8GB) in my Linux (Ubuntu) partition. After that I tried to download the CUDA toolkit. But I ...
5
votes
2answers
113 views

Why don't man pages have sample commands?

Is there a reason why most man pages don't include a few common examples? They usually explain all the possible options, but that makes it even harder for a beginner to understand how it's "usually" ...
0
votes
0answers
10 views

How to restrict swap space usage of application

We have a Java application hosted on (jetty server) running on CentOS machine. Every second the application will handle thousands of websocket connections which will get opened and closed again. Also ...
-1
votes
1answer
39 views

How to Learn Linux (A to Z) [on hold]

I am using Ubuntu for last 1 year as a Primary OS. Everything is fine in Ubuntu except the Bug in WiFi. It frequently disconnecting and some time the Network Adapter Unable to find any WiFi Network. ...
0
votes
0answers
7 views

Does an app with the functionality of Dropzone 3 exist in Linux?

(currently for macOS) Dropzone 3 also includes what’s called a Drop Bar feature. This enables users to drag one or more files onto the Drop Bar icon where they can be parked for later retrieval. ...
-1
votes
1answer
20 views

Unix Sed Escape Single Quote

I have file data as below bill johnson robert dylan neil o'bryan and the requirement is to extract the last name and add @mail.com to it. I used the below command cut -d"|" -f2 emp.lst | sed 's/\...
0
votes
0answers
8 views

Monospace font changed to some Glyph font after reboot, how to fix?

After a casual reboot the Monospace font got changed into some unreadable glyph font. Now all software using this font are unreadable. Any idea why this happened and how to fix it? How do I replace ...
0
votes
1answer
11 views

nmcli: dns settings duplicate? IP4.DNS vs. ipv4.dns

~ $ lsb_release -a No LSB modules are available. Distributor ID: LinuxMint Description: Linux Mint 18 Sarah Release: 18 Codename: sarah ~ $ uname -r 4.4.0-21-generic ~ $ nmcli -v nmcli ...
0
votes
0answers
5 views

Add filters to ffmpeg presets

I would like to add filter parameters under ffmpeg preset (e.g. -spre directive). Suppose a simple test.ffpreset under ~/.ffmpeg like this: vcodec=h264 bitrate=1200 acodec=copy How do we add ...
3
votes
1answer
75 views

Find files, rename them using “uuidgen” and add extension

I have a list of files in a certain folder without extenstion. I want to rename them and add an extension. The name should be UUID. I know how to find them and there's the utility "uuidgen" for ...
0
votes
0answers
14 views

Fedora slow video playback, high cpu usage probably doesn't utilize GPU

My system is a laptop with Haswell U cpu and mobile AMD graphics cards. Ever since I reinstalled fedora 24 the video playback has been slow with tears and random black frames. Also the system is ...
1
vote
0answers
7 views

How to remove language translation from apt-get update?

I have a NAS with a custom OpenMediaVault image that was developed by a Russian, so the translation packages were originally in Russian. However, I deleted "ru" from sources.list, so that it draws ...
0
votes
1answer
15 views

fast retransmit does not work

Fast retransmit says that if 3 dupacks have been received by sender, then the sender should retransmit the lost packet. But my tcpdump output shows that it didn't work like this. It didn't retransmit ...
0
votes
0answers
9 views

how to build fstab on new install of debian

I just finished installing Debian 8.5.0. I am trying to get to see the extra disk drives using command line. I can not. How do I build the fstab file showing all the drives on the system and be able ...
0
votes
1answer
23 views

Bash script to filter specifc entries from a file

I am working on a script to filter community entries from snmpd.conf Script is: SERVER=$(hostname) touch /tmp/snmp_audit_$SERVER echo $SERVER >> /tmp/snmp_audit_$SERVER SNMP=$(cat /etc/snmp/...
0
votes
1answer
24 views

Resize root lvm partition

I have a dedicated server with 2 TB storage. My problem is that the whole storage is allotted to the root partition. Whenever I try to resize it using lvresize, the root partition gets corrupted ...
-1
votes
0answers
24 views

Why is Arch time 2 hours ahead? [duplicate]

I set the time to CEST but it's 2 hours ahead of the real time : $ timedatectl Local time: Sun 2016-08-28 06:03:45 CEST Universal time: Sun 2016-08-28 04:03:45 UTC RTC time: Sun 2016-...

15 30 50 per page