These questions are about Linux in general -- NOT specific to a particular distribution. If the question just happens to be in a Linux environment, please specify your Linux distribution in the body of your question, but do NOT use the /linux tag.

learn more… | top users | synonyms

2
votes
1answer
37 views

How to compile against a custom kernel (Debian)?

There is a file version.h in /usr/include/linux. Many header files include this file and use the defines in there for their own ifdefs. However, when I compile my own kernel, I cannot see how this ...
3
votes
2answers
36 views

Problem with Wireless LAN on Linux Mint

I currently have a problem with Wireless LAN on Linux Mint 17.1. I can't enable WLAN, when trying to enable it, it disables immediately. Here some commands which I already tried out and found by ...
0
votes
0answers
21 views

What to do when i cant find mon0?

root@ubuntu:~# airmon-ng Interface Chipset Driver root@ubuntu:~# airodump-ng mon0 Interface mon0: ioctl(SIOCGIFINDEX) failed: No such device root@ubuntu:~#
0
votes
1answer
29 views

Fedora doesn't boot since 4.5.7-202: grub shows only a blinking cursor

I have a Thinkpad 460s with dualboot: Fedora and Windows. I am using grub2 as a bootloader. 4.5.7-200 boots fine, but 4.5.7-202 and the newly released 4.6.4-201 doesn't boot up, grub shows a blinking ...
0
votes
0answers
17 views

regulate system volume with midi controller

Make midi controller regulate system volume. With the following code a midi controller can be used for controlling the audio volume of a linux system: aseqdump -p 20 | sed -nur 's/^.*controller 14, ...
1
vote
0answers
16 views

control volumes of multiple independent sound sources

In linux, how would one have multiple sound sources, which volumes can be controlled independently. For instance you'd have two youtube videos running, and each one would be controlled by something ...
2
votes
1answer
73 views

How to shrink, clone an entire Linux disk and boot it?

I had an Ubuntu 14.04 running on a 1024 GB disk (disk A), which only used up to 130 GB spaces. I want to clone it to a 256 GB SSD disk ( disk B ). But failed. I used gparted to shrink the partitions ...
0
votes
2answers
36 views

How to Get Equivalent parameter to `mkdir -p` for `mount`?

Condition: mount if not mounted; do not give error if mount already done Command sudo mount /dev/"$PARTITION" /media/"$USER"/"$LABEL" I do not want to receive notifications mount: /dev/sdb is ...
2
votes
1answer
31 views

Find kernel name for a partition when only the label is known

Condition: find reliably device name where disk label (MasiWeek) and disk size (2 TB) are known Characteristics of the system Disk label is the name of the disc given by the user. It is listed in /...
-1
votes
0answers
29 views

Why does my connection time out? [closed]

I'm trying to write "boot" in putty, I get the following message: connection timed out I have reinstalled putty but the problem persist. What is the problem?
0
votes
0answers
25 views

Blocking incoming connections from external ports

How can I block incoming connections from some port which exists on some internet server, not on my PC? I tried to do it by rule <port> DENY IN Anywhere in gufw firewall, but it looks like it ...
0
votes
0answers
30 views

why my cursor do this mess?

My cursor has a square around it. This square is very noisy. It interferes with defentive selection and also it merges many windows together to make them rendered in the box. It also leave a tail when ...
0
votes
0answers
32 views

both USB ports randomly stop working

the problem usually occurs about once per day, seemingly at random, but occasionally two times, and occasionally zero times. devices connected are: a new STAR printer with it's own power supply, ...
0
votes
0answers
18 views

OpenSSH ForceCommand

I want to disable this kind of command executing: ssh user@host command on my server. Then, I want to run some tests and later invoke the interactive shell What I did I've found in the web that ...
2
votes
0answers
44 views

Less RAM Aailable than installed on Centos 7

I can't seem to figure out why do I have less RAM usable than installed. I am running 64bit Centos 7 with 1 RAM module of 4096MB on a Lenovo x230. Some information from the machine in question: $ ...
3
votes
0answers
36 views

Unable to change default bitrate of wireless network interface

I am trying to change the bitrate of my wireless nic (AR9565 driver: ath9k_htc) for experimentation purposes. I am running Ubuntu 14.04 LTS and my card details are as follows: wlan0 IEEE 802....
0
votes
0answers
21 views

Automated Shell Scipt for Health Check to be displayed in mail

I need to arrange the below Mail Output in Order: FILE SYSTEM MEMORY: Filesystem Size Used Avail Use% Mounted on /dev/mapper/rootvg-tmp 2.0G 81M 1.8G 5% /tmp MEMORY USAGE: ...
0
votes
0answers
8 views

How to use the man command to view documentation [duplicate]

I don't find man command to be much useful because I can't figure out what the flags are for and how all of them come together.
0
votes
0answers
12 views

Detect / log network changes in rasbian/ linux

I just stated using raspberrypi, Trying to learn some networking and linux stuffs. I want to log or detect network changes like If my machine joined a network. If any device joined the network of ...
0
votes
0answers
6 views

Virtual to Cloud Migration [closed]

I have been assigned a task for the migration of Virtual Servers (Linux) to Cloud environment . Wanted to ask is V2C different from V2V migration. I am talking about RHEL 6 Servers hosted over an ESX ....
0
votes
1answer
21 views

Is it possible that the kernel doesn't let a already ready thread run even when there is a idle processor?

Suppose each thread's affinity is all the processors. Whenever a thread becomes ready, will the kernel attempt to find an idle processor to run it?
0
votes
2answers
11 views

dns server ip address is not written into resolv.conf

linux mint 17.3 i have to manually write "nameserver 8.8.8.8" in /etc/resolv.conf on every reboot, it also gets stuck with message "waiting for network" where i press "ESC" button to skip that and ...
0
votes
1answer
27 views

Can't login after editing /etc/security/limits.conf

After edited the /etc/security/limits.conf file to set the nofile parameter to unlimited, server got hanged . Can't login in via ssh. Tried to take console, issue with console. Will reboot of the VM ...
0
votes
1answer
21 views

parsing oswiostat

I am looking for a way to parse an iostat file and grab the time and iowait. My files look like this: Linux OSWbb v7.3.3 zzz ***Wed Jul 20 19:00:08 EDT 2016 avg-cpu: %user %nice %system %iowait %...
1
vote
1answer
22 views

How can I mount /usr on another partition but use a folder called /usr on that partition instead of using / as /usr?

Somewhat along the lines of this question, How to mount multiple directories on the same partition? but my situation is different. I have a 2 small partitions that I'm using for two variants of ...
-1
votes
2answers
43 views

Accessing a Linux box for forget username and password [duplicate]

I have a physical linux box running some services. I have no any login information for that linux box. How do I get access to the box and check all the services running on that box? It is not just ...
-1
votes
1answer
32 views

Share WIFI creating hotspot on Linux Mint

I'm not able to create a hotspot in order to share my wifi connection. I use Linux Mint and I want connect my phone to WIFI through my laptop hotspot.
1
vote
1answer
38 views

How to set a path variable without root acess? [duplicate]

My college currently uses a very old (like 3 years old) openJDK 1.7 distribution. And being a student, obviously I don't have root privileges. I wanted to use a much later version downloaded a much ...
0
votes
1answer
50 views

How do I grant read access to all home directories of members in a group?

So I have 4 users on my redhat system. *P- primary group S- supplementary/secondary group* UserA - P: Teacher S: USA UserB - P: Teacher S: School UserX - P: Student S: School UserY - p: ...
-1
votes
2answers
31 views

what is the function of “ip link” command?

I've installed putty, and I'm trying to write ip link For what is it used??
0
votes
0answers
19 views

How to make a USB visible in LXD Container

I am fairly new to LXD Conatiners. I have a Host ubuntu 16.04 machine running which has a single container : root@ubuntu-blade1:/etc/udev/rules.d# lxc list +-------------+---------+-------------------...
-3
votes
1answer
15 views

how to configure kickstart server in RHEL7? [closed]

please let me know the full configuration of kickstart server in RHEL7 server.
3
votes
1answer
35 views

Bitlocker like capability for Linux?

As you know large company IT departments generally enable Bitlocker on any Windows laptop. Generally, one does not notice an issue with this and it is relatively effective in protecting the raw disk ...
0
votes
2answers
33 views

When is the page table of a process loaded in memory?

I'd like to know when is the page table of a particular process loaded in main memory by the OS? Is it when the process gets scheduled? Is the OS capable of directly loading the process page table ...
0
votes
1answer
29 views

Check if it's an external flash drive or usb flash stick?

When a usb flash stick or usb external drive get connected, is there any way to check whether it's a usb stick or external flash drive by means of Linux? Is there any utility or something like that?
0
votes
0answers
19 views

cURL hanging on connection

I am using cURL from bash script. I have this code in a loop to download multiple files from remote server curl --fail --silent ${url} -o ${local_filename} Most of the time, this works as supposed. ...
0
votes
0answers
66 views

Still able to do connections despite settings [closed]

Can you explain me why I can still make connections for example on port 3333 by nc -l 3333 and connect to the listening process while I have set in firewall blocking incoming and outgoing connections ...
0
votes
1answer
28 views

how to make my dns server public?

i'm trying to make a public DNS server , my DNS server works only on my internal network but when i try to 'nslookup example.com myDNSserverIP(public ip)' it fails i'm running it on ubuntu 15.10-...
0
votes
0answers
39 views

Impossible to send mail with Oracle Linux

I just installed sendmail on Oracle Linux and with mutt I would like to send an e-mail. In the local system I have the username user1; in the ISP mail account I have the address mailaddress@domain.com....
0
votes
0answers
47 views

How to permanently close port from terminal? [duplicate]

I tried to close my printer port 631 using command fuser -kn tcp 631. It works but only about half an hour. After this time port 631 is again busy by my printer. How can I close it permanentnly?
0
votes
1answer
16 views

Manual emerge package zlib

How can I install/emerge a package manual in gentoo? I cannot download this package (ZLIB), because it gets blocked by our IT-Firewall (invalid decompression table). They scan each http/ftp request ...
1
vote
1answer
40 views

LOCALHOST Display

I need to export my display on two oracle database RAC nodes as this DISPLAY=localhost:10.0 However for me localhost:10.0 works on node 1 but on node 2 i have to export display as DISPLAY=localhost:11....
1
vote
0answers
11 views

After restart ibus, can't use it in wine application

When working on linux (mint mate 17.2), need kill ibus daemon and restart it for some reason. After that one of the editor which is a wine application can't use the ibus input anymore, while other ...
1
vote
1answer
42 views

How to explain this? Superblock corrupt in SSD

I got a file system corruption from a sudden power loss. During boot, it reported following error. error: unknown filesystem. Entering rescue mode... grub rescue> _" The board is an Intel ...
0
votes
0answers
22 views

Querying soft links to a file - non-bruteforce method [duplicate]

Is there a way, workaround to find out how many symlinks are pointing to a file? I know the find method, but this will look up all the files. Is there a more lightweight solution? Is it possible to ...
0
votes
0answers
45 views

TIMEZONE set for specific country but we get UTC Time - how it can be?

I have Linux red-hat 6.6 version This machine was set for Israel time zone as the following # more /etc/sysconfig/clock ZONE="Israel" ls -ltr /etc/localtime lrwxrwxrwx 1 root root 23 Jul ...
0
votes
0answers
77 views

How good is the support in Intel Skylake Core M processors?

I've been starting to think about upgrading my 2-in-1 tablet/laptop. My eyes caught the new Asus UX360CA which sports a nice Core M 6Y30 processor (it seems that the specification is very close to the ...
3
votes
0answers
27 views

Why does the OOM-killer not log details to be visible through dmesg?

I want to make kernel oom_killer run and provide the related log entries in dmesg. I set the following settings echo 1 > /proc/sys/vm/overcommit_memory and tried to fill up the RAM to it's max, ...
1
vote
0answers
29 views

How to test new user login?

I've done some searching on Google and SE and have not found what I need using my search terms. Accessing RHEL 5.10 (Tikanga) from Windows 7. I am making a new user and need to make sure their ...
1
vote
1answer
41 views

List *all* IP routes to a destination in the Linux routing table

ip route get 2607:f8b0:4005:804::200e will show me the best (longest prefix) route to google.com, but it does not show all routes that can take me there. Right now I am using ip -6 route show | grep ...