Questions specifically about Linux, as opposed to Unix-like systems in general, or to questions about a specific distribution or program.

learn more… | top users | synonyms

4
votes
1answer
149 views

ifconfig command not found

I've just installed CentOS7 as a virtual machine on my mac (osx10.9.3 + virtualbox) .Running ifconfig returns command not found. Also running sudo /sbin/ifconfig returns commmand not found. I am root. ...
4
votes
2answers
139 views

Live Distros: UBCD boot Deft, Caine, and Tails from Custom Menu

I'm building my own UBCD and I'm using dual layer to fit 7.5Gigs Useful resources for UBCD customization: The SYSLINUX Project UBCD Customize Casper Man Page Live Boot Man Page Here's my ...
0
votes
2answers
56 views

29GB Log File on Linux Mint on a 38GB Partition

Had a low-space warning, Google'd the problem (had 1.8GB free at the time), found topics about running $ sudo du -x -d1 -h /var | sort -hr and I did: 30G /var 29G /var/log 353M /var/cache ...
1
vote
2answers
483 views

Linux guest VM on mac host - Keyboard

I use a Mac as a development box, but am slowly transitioning to Linux. So I am spending the majority of my time in the Linux guest VM while working. But I still spend a fair amount of time in Mac ...
4
votes
1answer
81 views

PS: what does “ps -o comm= -p $PPID” do

I have a script which does ps -o comm= -p $PPID. The explanation says this gets the parent process name. From the man page I found out -o means user defined format, comm means command and -p means ...
0
votes
0answers
8 views

Could I disable ext4's journaling safely in BBWC?

I knew set "nobarrier" flag is safe in BBWC when using ext4,but since "nobarrier" flag couldn't ensure proper order of journal logging and data flushing,then it seems journaling is useless。So is it ...
1
vote
1answer
289 views

RAID configuration disappears after reboot

I am using SUSE to install Hana in my system. I have 2 298 GB HDDs which I am going to configure as RAID 0. I am using mdadm to create a RAID array. I use the below command to create the RAID array. ...
3
votes
1answer
331 views

Laptop keyboard occasionally stops working

I have a dirty solution that is to plug a USB keyboard in and execute the following command: setxkbmap -rules evdev -layout us -model evdev Afterward my keyboard will work. This solution only ...
1
vote
2answers
49 views

Symlink from one workstation to another without mount

I am trying to create a symlink of a file on one linux workstation to another linux workstation, without having to 'mount' any network shares. Here's what I am trying to do, but can't get it to work. ...
1
vote
1answer
14 views

Naming PPP interfaces

I have two PPP peers, dsl-line1 and dsl-line2 which are configured with pppd on Ubuntu (Server) Linux. They are brought up by the /etc/network/interfaces file with the auto thingy however each PPP ...
4
votes
4answers
223 views

Log out a user and delete the account

I am having a problem on the server (CentOS 6, Plesk 11.5) where a particular user is using a mass mailer and is blacklisting our IP address. I have tried to delete this user using: /usr/sbin/userdel ...
3
votes
1answer
62 views

Is there a way to pass a variable from an awk statement to a bash function as an argument? [closed]

I am trying to look a for some specific values from (such as 1 or 4 and 2 or 3) a text file using an awk statement in a bash script. If this value is found in the file (within the awk statement), then ...
2
votes
1answer
317 views

Grub and usb serial support

How to access the grub menu using a usb serial converter? I know it's possible to have grub menu in serial console, putting these lines in grub.conf: serial --unit=0 --speed=9600 --word=8 ...
2
votes
2answers
294 views

Proper syntax for “id -r” command

I'm trying to see if id -r will print out the UID or username of the user who logged into the system despite any su's or sudo's. I'm interested in doing this so I can keep people a little more ...
1
vote
0answers
40 views

Essential tasks of a routing daemon in Linux [closed]

What I have understood so far from some software router projects already there (e.g. bird), there are some essential subtasks for routing in Linux. Task 1: Get a routing table first (using ip route ...
6
votes
4answers
1k views

How to extract logs between two time stamps

I want to extract all logs between two timestamps. Some lines may not have the timestamp, but I want those lines also. In short, I want every line that falls under two time stamps. My log structure ...
3
votes
1answer
51 views

nc both fails and succeeds

Platform: RHEL 5.10 netcat Version: 1.84-10.fc6 I was trying to figure out if my inability to ssh was TCP-level and usually I use nc for this. This time, however, I got something unexpected. ...
5
votes
1answer
138 views

Attempting to Abbreviate kSAR's PDF output

I'm currently writing a cronjob around kSar's command line (non-GUI) options in order generate PDF's. I'm just going to email a PDF of the previous day's activity to a different webmaster (basically ...
2
votes
1answer
55 views

IPTables Port Redirection Should Have Broken Apache But Didn't

I have a Load Balance set up in Apache httpd: <VirtualHost *:80> DocumentRoot /var/www/html ServerName xxx.xxx.xxx.com ProxyRequests Off ...
1
vote
2answers
140 views

mount.cifs fails while smbclient succeeds

I'm trying to mount a NetApp CIFS share to one of our servers and I keep getting "Permission Denied" printed to stderr and NT_STATUS_WRONG_PASSWORD printed to the running dmesg. root@xxxehpvld05 ~ $ ...
3
votes
0answers
1k views

Mouse Scroll Wheel Speed Far too sensitive

In my crunchbang installation with X11, openbox, my wireless usb mouse is listed at both /dev/psaux and /dev/input/mouse0. It's working fine apart from the scrollwheel, which although active, is far ...
1
vote
0answers
27 views

What does the 'barrier' mount flag mean in Linux?

The manual for the 'barrier' mount option is: barrier=0 / barrier=1 This disables / enables the use of write barriers in the jbd code.barrier=0 disables, barrier=1 enables (default). ...
2
votes
0answers
14 views

how to migrate a squashfs system to another filesystem that's read/write

Well, basically what i want to do is copy all of my router's files (even the dev file (because i'm running busybox)) to my usb flash drive and let my router by default boot from the usb device. it ...
2
votes
1answer
42 views

What to do when you removed execute permission from some system binaries or libraries?

It seems I removed executability from system binaries, resulting in loads of Permission denied. Do I have to force reboot into host's rescue mode or is there something else I can do while I'm still ...
0
votes
0answers
11 views

sslserver using 100% cpu

I've a qmail setup with sslserver being used to secure the pop connections. Normally it runs very well, however some instances of sslserver start taking 100% cpu and its child process qmail-pop3d ...
2
votes
1answer
45 views

Use two NICs for different subnets

In my office I have use a system with two network cards. I want to use both at same time. I have four subnets in my LAN. I want to route two subnets (192.168.2.0 and 192.168.4.0) through eth0 and ...
1
vote
3answers
993 views

PAM login permission denied

I have an OpenSuSE 12.3 machine and can't login to the box either on tty or via ssh. As soon as the user logs in the session terminates and in the message "login [1234] permission denied" is printed. ...
-1
votes
0answers
27 views

Unix bash script to find the files using timestamp that is present in the file content [closed]

1. I have lot of files in a directory. 2. All are different types of files. 3. Timestamp is present in the file content 4. I have to find the files using that timestamp 5. I need some script, which ...
0
votes
1answer
24 views

Why is my Netstat not returning the desired output and just getting hung up?

My remote Linux machine is able to ping an IP address on an internet, but the same is unable to get the netstat report for that IP, please help through. ping a.b.c.d 64 bytes from a.b.c.d: icmp_seq=1 ...
2
votes
1answer
23 views

Debian installer - customize busybox and live system/environment

I'm trying to reinstall Debian on a netbook and do it without sloppy tricks so that I can repeat the process if necessary. Specifically, I'm trying to customize the installer to include the wifi ...
1
vote
1answer
53 views

How to transfer data “offline” between osx and ubuntu?

I need to transfer around 50gb of data from my Ubuntu to my OSX. scp and samba are both too slow it seems - even with the Ethernet cable connected (14-15 hours!). I have physical access to both ...
6
votes
2answers
284 views

How does stack allocation work in Linux?

Does the OS reserve the fixed amount of valid virtual space for stack or something else? Am I able to produce a stack overflow just by using big local variables? I've wrote a small C program to test ...
0
votes
1answer
2k views

How do I set permissions recursively on a dir (with ACL enabled)?

For example, I want to give my colleagues write access to certain directory. Let's assume that subdirectories in it had access rights 775, files 664, and also there were some executable files in the ...
16
votes
1answer
21k views

How is a message queue implemented in the Linux kernel?

I would like to know how Message Queues are implemented in the Linux Kernel.
1
vote
1answer
462 views

Capture raw image from V4L (webcam) device

I'm using a Raspberry pi to monitor a self-service fridge. When the door opens, a shell script is being executed to capture pictures until the door closes again. The problem, however, is the speed of ...
28
votes
7answers
8k views

A tool for automatically applying RandR configuration when external display is plugged in

is there a tool which enables one to: remember current RandR configuration (position, orientation, resolution etc) on per-monitor basis, automatically apply last known good configuration as soon as ...
2
votes
1answer
337 views

cpufreqd does not control temperature plus shows no output

Since my laptop (an Acer Aspire 5750G running a Gentoo Linux with a not-quite-up-to-date kernel 2.6.39-r3 (a weird wLan hardware makes the update difficult)) tends to run rather hot I am trying to ...
1
vote
1answer
1k views

Ubuntu: wire network is not stable and must restart network-manager periodcally

I don't know why my wire network now is not stable. After a short time of using, maybe 30 minutes, 15 minutes or maybe just 2 minutes, my network is down. When my network is down, I must run this ...
3
votes
1answer
25 views

Linux console: only kernel messages are printed

My Linux system is built by Buildroot and runs on a Raspberry Pi. I use a Usb to TTL Serial cable to get a console. Here comes cmdline.txt dwc_otg.fiq_fix_enable=1 sdhci-bcm2708.sync_after_dma=0 ...
1
vote
1answer
23 views

Could I set flag “barrier=0” when using SSD?

I'm using ext4 filesystem in SSD,when mounting SSD,could I use flag "barrier=0"? I knew this flag is safe for BBU(battery backup unit),but is it safe for SSD?
1
vote
1answer
242 views

ixgbe: increase rx performance

I have an Intel 82598EB 10GBE NIC. I need to receive traffic without packet loss. Data rate is 4-5 Gbps, packet size is 1500-9600 bytes. I had already configured smb and irq affinity. I also tried ...
6
votes
1answer
109 views

ssh from linux into mac - permission denied

I'm running a Oracle Linux VM on a Windows 7 host and I'm trying to ssh into my MacBook. I've already created the private/pub keys in my Mac. I have copied the id_rsa.pub contents into the ...
3
votes
1answer
56 views

Spoofing or removing DHCP client hostname in response to DHCP server

In linux, when my machine requests an IP address it also sends the hostname back to the DHCP server. How can I stop my machine from sending back this hostname? I use dhclient, possibly via ...
2
votes
1answer
27 views

Which distributions can have a network installation started from a floppy?

Suppose I have computer with no USB boot option; no CD/DVD drive; an unformatted HDD; and a working connection to the Internet (via a local network segment with a DHCP server etc)... and an FDD. Can ...
0
votes
2answers
29 views

Know which partitions are primary and which logical

I have Windows and Ubuntu installed on the same laptop. How can I know which partitions are logical or primary using the command line?
2
votes
1answer
37 views

What is the use of “magic arguments” in Linux reboot system call?

As I was reading Linux source code, and more specifically the system calls code, I came across sys_reboot implementation: http://lxr.free-electrons.com/source/kernel/reboot.c#L199. 199 ...
0
votes
1answer
3k views

rsh shows “poll: protocol failure in circuit setup”, why?

In the starting rsh worked properly, but after making some changes it shows some error [changes are shown in the end of this question, see that], I am sharing the same. Command $ /usr/bin/rsh ...
2
votes
0answers
27 views

Focusrite Scarlett on Linux input mapping?

Does anyone use these interfaces on Linux? If so, how do the inputs map (e. g. with ALSA/PulseAudio)? E. g. the Scarlett 6i6 has the following connections. Inputs: 2x symmetric XLR inputs (one for ...
0
votes
1answer
482 views

Mint 17 boots to Welcome screen, but desktop is blank

I'm running Mint 17 Qiana MATE on a HP250 G laptop with 4GB of RAM and Intel on-board graphics. The host OS is Mint and Windows XP runs as guest using VirtualBox with 1GB RAM and 20GB reserved hard ...
2
votes
0answers
18 views

Qstat error in Eqw [closed]

can any one help to understand how to solve that problem? 365227 0.50500 towhee jmaia Eqw 07/19/2014 19:22:55 when I do: qstat -j 365228 | grep error that appears: error reason ...