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.

learn more… | top users | synonyms

0
votes
1answer
549 views

Hard drive checking by using dd and md5sum tools

I bought new external USB 3.0 hard drive WD Elements 2 TB and decided to check it by using dd, head and md5sum tools. First I zeroed all hard drive: root@yurko-laptop:/home/yurko-laptop# dd ...
3
votes
1answer
136 views

Why does wine need a kernel 3G/1G memory split to function?

When trying to run wine on stock Raspbian, you get a message like this: Warning: Memory above 0x80000000 doesn't seem to be accessible. Wine requires a 3G/1G user/kernel memory split to work ...
0
votes
0answers
3 views

meminfo values does not add up

I am investigating a memory issue of in my system. The following is /proc/meminfo: $ cat /proc/meminfo MemTotal: 32869176 kB MemFree: 1495144 kB Buffers: 15052 kB Cached: ...
0
votes
1answer
14 views

iptable rule to allow ftp connections between two networks

I have two machines, machine1 is configured with 192.168.1.0/24 network and machine2 with 10.10.0.0/24 network. I have dropped the communication between the two networks with iptables -P FORWARD ...
1
vote
1answer
4k views

Fedora 19 (you have not created a bootloader stage 1 target device)

I want to install fedora 19 to my HDD but I get errors: you have not created a bootloader stage 1 target device sda6 must have one of the following disklabel types: GPT. I tried: Create 1-2 mb ...
0
votes
0answers
12 views

how can i setup my internal ip as a proxy server

The machine I'm using is Kali Linux what I'm trying to do is make my Linux machine handle all my router traffic please help me, why i want this? my router gets dosed to much and i want my machine to ...
0
votes
0answers
4 views

Control Linux kernel multi cpu usage at boot

I am developing a mobile system, that has certain limits in power consumption. The system has for example 4 or 8 cpu cores. If running, the total power budget is usually low due to idling of most of ...
2
votes
2answers
333 views

Command Not Found When Executed via PHP shell_exec()

I want to execute following command on my Ubuntu server using php: android create project --target 8 --name $fname --path ./$fname --activity MainActivity --package $fpack 2>&1 The above ...
0
votes
1answer
169 views

Installing and booting Linux Deepin on external Hard drive

I have a external hard drive with 1TB of memory on it. My question is if I can install Linux Deepin on this hard drive, and then plug it into my computer and boot from the hard drive, while still ...
0
votes
0answers
4 views

Debian pvmove of root lv into raid10 device resulted in unbootable system

I was in the process of moving logical volume extents onto an raid 10 array assembled with mdadmin. One of the logical volumes moved was the root directory (debian testing system) which was previously ...
0
votes
0answers
10 views

Cpanel/WHM not working

Everything work fine, suddenly today afternoon Both cpanel and WHM stop working. But still the website and SSH work fine, But i am unable to open cpanel or whm, when i opening using IP ...
0
votes
1answer
132 views

HDD Current_Pending_Sector attribute going up and down

I have Western Digital Caviar Black drive (model WD2002FAEX-007BA0). System is running Linux Mint 14. Filesystem on drive ext4. Recently I've got some i/o errors on one of the files. Then I've ...
3
votes
1answer
31 views

Track the calls of a command

To quickly explain the goal of my question, I use Ubuntu mate with an apple keyboard. To make the keyboard working properly, I had to remap some keys using xmodmap, such as interchanging the #/@ with ...
1
vote
2answers
3k views

Monitor Mode doesn't work in Kali 2.0

For the last year or so I have been using this exact setup with Kali 1.0. Everything worked fine with Wireshark. Now, when I am connected to a Wi-Fi access point my card REFUSES to stay in monitor ...
1
vote
2answers
12k views

Permission denied as root

The root user of Linux doesn't have permission to read/write a regular file, unless all users have permission to read/write this file, like below: drwxrwsrwx ....... file_name However the owner ...
1
vote
5answers
7k views

How to boot Windows ISO installation using PXE (without Windows AIK or whatever)

I have a Linux PXE server. Can boot into Linux ISO installers using PXE with no problems. But how can I do it with Windows ISO? Just start the installation. Without creating some stuff (winpe) under ...
1
vote
1answer
22 views

Terminal: How to list current directory while typing out a path

I'm not sure how to phrase this correctly but I want to know how in the terminal to do the equivalent of 'ls' when typing out a path. So for example i'm typing in: sudo "/Library/Application\ ...
0
votes
0answers
6 views

Formatting the output of objdump -sj .text

I am hoping to get the contents of the .text section, of a Microsoft PE file using a linux command. When I use objdump -sj .text filename.exe the output consists of the offset, in hexadecimal ...
0
votes
0answers
14 views

Migrating to a new Machine

I recently assembled a new workstation at my workplace. The current one is really old, (~3 years). On the software front, the current system is running Ubuntu 14 and has a lots of bits and pieces ...
0
votes
1answer
15 views

Can't find why inodes running out

I have a Xen VPS with Debian Linux installed with ext4 filesystem. Once I found that all inodes are used. I checked this: ~# df -i Filesystem Inodes IUsed IFree IUse% Mounted on rootfs ...
0
votes
2answers
44 views

Can I create a bootable Linux live USB flash drive using a Windows computer?

I have a rescued 2013 MacBook Air with a broken screen backlight due to a beverage spill and missing its internal SSD. I don't yet have any OS installed on it. I have access only to (32 bit) Windows ...
0
votes
0answers
4 views

IntelliJ: almost unreadable fonts on linux

As you can see on the screenshot, most of the text on IntelliJ renders as it should, however, on certain elements, such as the code lens, the fonts are almost unreadable. On the Help -> About I ...
6
votes
1answer
1k views

QEMU within VirtualBox and bridged connections all the way down

I'm trying to get an ARM QEMU system out on my LAN. I tried running QEMU directly from Windows (Windows 7 x64), with success except I could not get a TAP adapter to bridge to my wireless connection. ...
41
votes
5answers
26k views

How do I execute multiple commands when using find?

I'm trying to run multiple commands on things I have found, how can I achieve this? find . -exec cmd1; cmd2 does not seem to work; it instead runs cmd2 after cmd1 has been executed on every file.
0
votes
0answers
13 views

PAM SSSD Allow Local Users

I've got a default SSSD configuration with PAM. I can login fine as any LDAP user. However, when I create a local user on a server: adduser test1 passwd test1 and then try to login as that user I ...
1
vote
1answer
13 views

Execute SSH port forwarding along with the browser

I've successfully set up dynamic port forwarding over SSH in Pale Moon and added the alias as ssh-forward in .bashrc. Now I have to execute both ssh-forward and palemoon to access the Internet over ...
0
votes
2answers
20 views

From logs, extract specific line after a grep by line number

I have a file, debug.log, from which I want to extract all the lines that immediately precede a specified pattern. Example: 1 blabla 2 blabla 3 HERE THE IMPORTANT THING 4 HERE IT MATCHES MY PATTERN ...
0
votes
1answer
15 views

How to find the IP of an embedded Linux device

I am building a small embedded Linux device, providing a simple TELNET server to the users for changing the IP address and other required configurations (no console access is available). Should ...
0
votes
1answer
14 views

mount http server as filesystem

I am trying to mount HTTP locally.Using SSHFS its working fine.But for Windows systems, or systems without SSH we cant use SSHFS.For example we can mount FTP locally using curlftp.For HTTP we have any ...
0
votes
2answers
14 views

On a headless linux server, detect if inserted optical disk is audio disk

On a headless Linux server (latest fedora if this is of interest), how can I detect that the inserted optical disk is an audio disk, as opposed to a data disk or a video DVD? There is no desktop ...
4
votes
1answer
565 views

Block all outgoing traffic for a User running Wine apps

Good day, I'm using a lot of WINE apps under Linux which work just fine, but one thing I am specifically looking for right now is to block their access to the internet (outgoing), with exception of ...
2
votes
2answers
1k views

Why does the output of > generate unintelligible text?

I am trying to save the output of a command to a file. The command is: clang -Xclang -ast-dump -fsyntax-only main.cpp > output.txt However the resulting output.txt file when opened (by gedit and ...
0
votes
1answer
28 views

How to fix connection loss in VM?

My virtual machine loses the internet connection sometimes on linux and I need to stay connected constantly. So I wrote the following script: #!/bin/bash wget -q --tries=10 --timeout=20 --spider ...
0
votes
0answers
48 views

How to setup grub fallback functionality for Centos-7

I have multi-boot environment Centos-7.1(Kernel-4.2.6 on /dev/sda3) Centos-7.1(kernel-3.10 on /dev/sda2). I want to boot through Centos-7.1(kernel-3.10 /dev/sda2) on failure of Newly installed ...
0
votes
1answer
14 views

Why can I access my Raspi via ftp (FileZilla) even after stopping the 'vsftpd' service?

I've been fiddling with my new RasPi 3 and one of the first things I did was to setup an FTP server to transfer files between my Pi and my laptop via the local Wifi network. I installed the 'vsftpd' ...
0
votes
0answers
4 views

Binding a Bluetooth device to a Linux serial device

I'm trying to redirect Bluetooth input from a gamepad to a serial device (/dev/XXX), but I haven't been able to do so. I'm running Raspbian Jessie. I'm able to pair and trust the gamepad via ...
0
votes
2answers
21 views

Move OS from one drive to another

I have elementary OS(based on Ubuntu 14.04) installed on my Laptop. I wish to install Windows 10 on my laptop's primary hard disk. I have another external hard disk which I want to use for elementary ...
0
votes
0answers
14 views

Can't resize VirtualBox drive. Debian

I had Debian Virtual Machine with 8 Gb vdi disk. Later i need have been some extra space. I resize vdi disk with VBoxManage modifyhd Debian.vdi --resize 20Gb Next, i download GParted ISO and create ...
0
votes
1answer
12 views

Why isn't the latest version installed from the PPA as advertised?

I have the ethereum PPAs enabled http://ppa.launchpad.net/ethereum/ethereum/ubuntu http://ppa.launchpad.net/ethereum/ethereum-dev/ubuntu http://ppa.launchpad.net/ethereum/ethereum-qt/ubuntu I have ...
1
vote
1answer
4 views

CentOS 6.7 configure: error: dlopen not found

I'm trying to configure LibreOffice On-Line WebSocket server before installing but the following error is thrown: configure: error: dlopen not found Full output: [root@SBX-EXT-001-002 loolwsd]# ...
0
votes
1answer
21 views

force container outbound traffic via another container (without host iptables rules)

I have two containers, A & B. They should exist on a newly created docker (private) bridge network such that: A can talk to the world outside the bridge, but only via specified gateway IP B ...
0
votes
2answers
2k views

How do I make a USB flash drive writable on Linux?

I want to reformat a SanDisk Cruzer Edge USB flash drive but it appears read-only: $ sudo dd if=/dev/zero of=/dev/sdg dd: failed to open ‘/dev/sdg’: Read-only file system I checked the readonly ...
0
votes
0answers
10 views

Wifi Access Point instable in Fedora, KDE Plasma 5

I have two PCs (PC1 and PC2). Both have identical hard- and software and both are connected to the interenet via ethernet connection. As OS I have Fedora 23 with KDE Plasma 5. Using the KDE ...
24
votes
6answers
16k views

How can I change all files belonging to one user to another user?

I'm looking for a Linux command that can change ownership of all files belonging to a given user, preferably in a targeted directory, to another specified user. My dream command would look something ...
0
votes
1answer
9 views

Choose gateway regarding incomming node

I have a server behind 2 Internet Access. the ip are these: -Server : 192.168.0.1 -ISP 1 : 192.168.0.253 -ISP 2 : 192.168.0.254 I would like that packets coming from ISP 1 receive response using ...
1
vote
1answer
30 views

I just installed GMP, where did it install to?

I am not familiar with installing programs with ./configure...make and so forth. I just installed GMP like this and now I cannot seem to find where it installed to. I checked in all the bins I could ...
0
votes
0answers
676 views

Kali Linux - Debootstrap error Failed to determine codename for the release

Installing the new Kali Linux 2016 rolling release to the HDD via USB. I made a bootable USB using Universal USB. Booted off the USB and selected "Graphical Install", I had an issue at the beginning ...
5
votes
1answer
99 views

WD Green Hard Drive and home linux server

Are newer WD Green Hard Drives still a problem for Linux nowadays? The discussion here is focused on home linux servers, not NAS or data centers. Here is a summary of my research from googling. ...
0
votes
1answer
13 views

Using firewall-cmd to open up a port for INPUT only

I'm using firewall-cmd on centos7 to open up a port. But, I want to open up the port for INPUT only. I currently have this, but it, presumbably, opens it for INPUT and OUTPUT. sudo firewall-cmd ...
6
votes
2answers
2k views

Backup a server using Ansible?

Ansible seems to be a pretty efficient automation tool to deploy and to update applications on servers. Is it possible to use it to backup a (Linux) server as well? Is it a good practice to do so? ...