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

0
votes
0answers
7 views

USB wireless dongle detected by usb but interface does not come up

I have a wireless dongle based on the RTL8192EU chipset, but there doesn't seem to be any module loaded for it. This is the dmesg output when I plug it in: [ 404.321566] usb 1-1.3: new high-speed ...
1
vote
1answer
12 views

How to set a routing table that prefers wlan dhcp interface as default route

eth0 has a static IP set in /etc/interfaces wlan0 gets it IP dynamically How can I change my routing table and where would I put the command to always make wlan0 the default route so internet access ...
0
votes
0answers
15 views

SSH using script not working , but normal ssh working fine

[fm@serv1 new_dir]$ . ./env_call.env [fm@serv1 new_dir]$ ssh ${serv2} "/tmp/new_dir/backup.sh ${env}" Permission denied, please try again. Permission denied, please try again. Permission ...
0
votes
2answers
18 views

Why is ulimit -u higher than /proc/sys/kernel/pid_max?

On my system ulimit -u reports 63172 and /proc/sys/kernel/pid_max reports 32768. Why is it that the value for ulimit -u is higher than the kernel's value? From my understanding, ulimit -u shows the ...
0
votes
0answers
20 views

I would like to unload kernel modules that show as busy

I want to unload the modules "gsch and redirfs" from kernel on RHEL 7.2 , which is causing frequent kernel panic. But when I try to unload , I am getting below error. # modprobe -r gsch modprobe: ...
-4
votes
0answers
15 views

How useful is the 'top' command and how would you use it together with 'ps' and 'kill' to investigate a system that might be misbehaving? [on hold]

I am doing my controlled assessments and for the final task I have been asked to get a professionals opinion on this particular question.
0
votes
0answers
6 views

No root device specified error

I have created a LFS system by reading the book provided at the LFS website. I tried to create an ISO image of it using the tutorial provided here. Then I created a bootable usb stick using unetbootin ...
1
vote
1answer
11 views

Is there any configuration validator for linux?

I found something if you mistype some configuration for the Linux. Like set invalid value will cause the System crash. In my experience. I assign an invalid value for seLinux. The CentOs will not ...
0
votes
0answers
24 views

How to find delimiter of a text file in linux? [on hold]

I have text file with first 7 lines having no data, from 8th line it has many columns and couldn't open the file. So, I want to check the delimiter of this text file from linux. Can anyone please tell ...
1
vote
1answer
16 views

Upgrading Squeeze to Wheezy after LTS stopped

I've got a server running Squeeze 6.0.1 which I want to upgrade to Wheezy. Docs for wheezy state that I should bring squeeze up to the latest point release before upgrading to Wheezy. Is that still ...
12
votes
3answers
934 views

Way to instantly fill up/use up lots of disk space?

On a Linux VM I would like to TEST the NAGIOS monitoring more deeply than just switching off the VM or disconnecting the virtual NIC; I would like to test or "enforce a disk space alarm" through ...
0
votes
0answers
6 views

How to configure the file /etc/security/limits.d/90-nproc.conf?

Sorry for that I tried to search some help in the google for the explanation of the file 90-nproc.conf and want to figure out how to configure this file correctly. But unfortunately not found some ...
0
votes
0answers
13 views

Encrypt directory on Linux

I need to create an encrypted directory (to be then filled with files and subdirectories) in a Linux ext4 filesystem, accessible to just one user. It should be: visible (just the root) from the non-...
2
votes
1answer
31 views

Debian Package Manager Problem

When I install something or update something I get the following error messages: Reading state information... Done You might want to run 'apt-get -f install' to correct these. The following packages ...
5
votes
3answers
379 views

What is the difference between -g and -G options in useradd

Forgive me I am not strong in the Linux. As the title said . Could anyone please tell is there any difference between them? After I look through the help. I didn't found much difference between them....
0
votes
0answers
20 views

Why doesn't `su -` re-read /etc/environment?

I have the following line in /etc/environment: AAABBB=cccddd When I login using the text console, the variable is set, I don't even need to reboot. But if I do su -, the variable is cleared. Why is ...
1
vote
1answer
51 views

Understanding Linux file system

Forgive me I am a novice of Linux. I am trying to understand Linux file system. Let's say we run df command to show something about file system in my CentOS. I can see a LVM /dev/mapper/...
0
votes
0answers
21 views

Create user who can only ssh and reboot machine [duplicate]

I have a problem when I want to create user for SSH and rebooting the machine only. What I did is I just created a normal user. But normal user can access other commands like reboot, vim, ps, etc. I ...
0
votes
1answer
19 views

how to keep oldest file in same directory

I had 2 directories "../in/" and "../temp/".My question is how to write bash script to keep the oldest file or directories in same ../in/ directory and remaining files or directories are moved to ../...
1
vote
2answers
23 views

Recursive comparison and deletion (without rsync or hashing)

I've been using rsync to synchronise folders and it works well. The problem is that more recently I've started syncing folders with larger files in them, and it takes much longer than I'd like it to (...
0
votes
0answers
9 views

Intel 7 audio no HDMI audio for headphone and dell notebook works [on hold]

Clean install of Fedora 24 and wish to get the HDMI working on Monitor, believe the HDMI is turned off on the Intel Chip, there's no highlighted/selected HDMI in pulseaudio. The notebook speakers and ...
0
votes
0answers
28 views

File attributes and permissions

From above example barney isn't owner or member of group for file lfile2 then why he can't delete that file ? I mean that, answer of last question is none. Barney is supposed to be able to delete ...
1
vote
0answers
10 views

iwconfig wlan0 txpower 20 does nothing

I am on Linux Mint 17.3 Cinnamon. I am trying to boost my Wi-Fi signal well under our country specification. Suppose my maximum TX power allowed by our law is 20. Ok, now my integrated laptop card ...
2
votes
1answer
29 views

User home directory

I am learning CentOS and I created some users and then deleted, but I used userdel without any option. So will it remove the home directory and other things related to those users? If not then is ...
0
votes
0answers
11 views

Questions on /dev/mem, dumping using dd, and .bin and .rom formats

Following @ack 's answer on How to dump BIOS data to a file I would like to know: 1) when one is dumping memory from /dev/mem, is the file data in binary or some other format? I have done a dump ...
-1
votes
1answer
28 views

how can I see if my cron is running and doing the job?

how can I see if my backups is saved after the minute assigned? how can I test it if it's ok?
2
votes
3answers
41 views

How to check and run a script if it's not running?

I created a pretty simple script called main_start_script that will run 2 python programs in background, code is: python /opt/cuckoo/cuckoo-2/cuckoo.py 1>cuckoo_script/cuckoo_start.txt 2>&1 ...
2
votes
1answer
19 views

Kernel parameters “console” and “earlycon” refer to old hardware?

I first found this by investigating parameters for earlycon but found that the options for console look almost identical. Both are present below and were taken from this source: From documentation ...
1
vote
0answers
13 views

Booting kernel (FIT image) with no rootfs

An embedded Linux device I am working with has the following kernel parameter: root=/dev/ram0 Additionally, the kernel image is bundled together with an initrd and device tree to make a flattened ...
-1
votes
0answers
12 views

How to run a chef cookbook on 100 servers [on hold]

i am new to chef i have successfully configured chef workstation and server. here i am using hosted chef, I was bit confused how to launch 100 or more instances by knife EC2 command and how to run a ...
2
votes
0answers
15 views

How to Reflash Toshiba Satellite L855-10P BIOS in a Linux Distro?

Hi I need to Reflash the BIOS of my Toshiba Satellite L855-10P using a Linux distro. How can one do this? I have found lots of info on how to read the BIOS (windows & Linux), dump memory from it ...
0
votes
1answer
20 views

how to download poky onto a micro SD card [on hold]

How do I download Linux Poky onto a micro SD card? The goal is to be able to insert the SD card into a gumstix camera so that we can input commands directly to the camera.
1
vote
2answers
145 views

move IP address from one interface to another without interruption

When I need to move IP address from one interface to another, I have usually done simply for example ip addr flush dev eth0; ip addr add 10.10.10.181/26 dev eth0.35 over an SSH session. So far I have ...
2
votes
0answers
16 views

Large TCP backlog in docker container, but no visible connections

In a setup with three docker instances, one running haproxy and two others running a flask-based python application through uWsgi, we run into a situation after about a day where no new connections is ...
0
votes
0answers
34 views

Curl gets 200 OK, while browser shows 503

I have a bash script: code=$(curl -I -s -S --resolve $host:$port:$ip $link | grep 'HTTP/1.' | awk '{ print $2 }') if [ $code -eq 502 -o $code -eq 503 -o $code -eq 504 ]; then /usr/sbin/service ...
-5
votes
0answers
31 views

Using the top, kill and ps commands for system management [on hold]

I recognise that this question has been asked in multiple ways recently but I am required to complete research for an exam and I need an in-depth analysis. Hopefully this is specific enough as I don't ...
0
votes
0answers
17 views

Replacing Ubuntu 14.04 with Arch Linux on a dual boot Windows 10 configuration

I want to migrate to Arch Linux. I have read all about the installation process on Arch Wiki and got a fair idea about the process. But I have a doubt on how will the GRUB installed by Ubuntu behave ...
0
votes
0answers
14 views

How to automatically switch between DHCP Server and Client mode on startup of several devices?

I do wan't to have several embedded devices to boot up at the same time and automatically select the first booted device as the dhcp server and the others as client. But every client can be the server ...
0
votes
0answers
17 views

How to unbind a device from kernel space?

How to unbind a device from its driver from kernel space? I'm looking for the equivalent of echo 0000:00:dev > /sys/bus.../unbind but from kernel space itself.
0
votes
0answers
38 views

Trying to get my system running without an initrd

I've been trying to configure a kernel that will not require an initrd to boot. I haven't succeeded. The filesystem I'm attempting to boot from is ext4, and I have all the extended filesystems ...
0
votes
1answer
17 views

apt-get broke after trying to install wine

I'm a new Linux user. I use Kali Linux and tried to install wine via: sudo apt-get install wine winetricks This, however, didn't work as there were some errors. After that, I cannot install, update ...
3
votes
1answer
25 views

Linux router - Throughput speed of clients

I have a computer that is configured as a router with two NIC's, one is connected to Internet, the other is connected to the local network switch. I know that I can get the current throughput of NIC'...
0
votes
0answers
36 views

How to convert from virtual address to physical address and back? [migrated]

I'm given a task to write an application that will talk to a device. However this is not a driver since device is still being developed and the application is intended to exercises its first revision. ...
1
vote
1answer
15 views

Installing Proprietary NVidia 304 drivers on Debian Testing/Stretch

I am trying to install the legacy nvidia 304 drivers on my old Latitude D820, which has a GeForce Go 7300, but the installer fails saying : Failed to build the NVIDIA kernel module . Here is the ...
2
votes
0answers
22 views

How to identify what capabilities are required for a command?

When I run a command within a docker container, I see: # ip netns exec 9ee961d90990 ifconfig setting the network namespace "9ee961d90990" failed: Operation not permitted I can launch my container ...
1
vote
0answers
19 views

expanding /var/lib [on hold]

There are many requests to increase /var and /var/lib by the app teams. I would like to know what are good practices to increase filesystems. I know these fs are under rootvg, it is not a good idea to ...
0
votes
1answer
27 views

xfce gtk themes problem [duplicate]

I'm using "delorean-dark-theme.3.8" (wich support gtk2 and 3) on xfce, all xfce gtk2 and some gtk3 apps looks great but some gtk3 apps especially gnome apps looks terrible button backgrounds and ...
1
vote
1answer
26 views

Use same IP for 2 Ethernet Adapters in different Physical networks

We have a Linux Panel with 2 Network Interfaces. On this Panel runs a software wich needs to comunicate to our devices in our network, and needs to be accessible from the customers network. One ...
1
vote
1answer
17 views

Does the format or columns of /proc/dev/net change often?

I'm writing a script to scrape some data from this. I'm wondering if this file changes often or is different between distros.