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

2
votes
1answer
1k views

Debian stable dual monitor problem

I installed Debian wheezy with XFCE 4.8 on my new laptop, updated the kernel to 3.13 from backports. When I connect the laptop to my monitor, I can see only a part of the screen on the monitor with a ...
0
votes
0answers
5 views

Replay pcap on local machine only

RHEL 6.5. I have a capture of UDP packets, generated this way: tcpdump -nnXs 0 -i eth1 udp port 26477 and dst 233.86.230.111 -w ITCH.pcap I've moved this file over to a dev VM, and want to replay ...
1
vote
1answer
16 views

How do daemons like apache or bind open ports below 1024?

I know that ports below 1024 are protected and can't be opened by a user without sufficient permission. However, I'm wondering how daemons such as bind or apache can do so, though they aren't running ...
3
votes
1answer
410 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 ...
0
votes
3answers
41 views

How to use password in shell scripting

I am writing a script which greps for for multiple files from 3 log files. One of the log file is created as superuser and every time it executes it prompts for password. How do I put it the same ...
0
votes
1answer
595 views

How can I use CNAME in Bind properly?

I'm new to Bind/DNS and want to point/map SMTP, webmail and IMAP to my domain but a check in nslookup is failing. How can I nslookup SMTP this way? The error I get is: smtp.stylez24.com: NXDOMAIN ...
2
votes
1answer
21 views

Trouble calling syscall by name

I am in process of adding system calls to linux Kernel 3.19. Tried out the following for adding a syscall 'add' for x86 arch in Ubuntu 14.04 LTS. src=3.19 source Added entry to ...
2
votes
1answer
413 views

LFS 7.5 - Glibc-2.19 compile errors at section 6.9, are they fatal to my LFS build?

I am using a host Ubuntu 14.04 system, and I am currently going through the Linux From Scratch guide here. At section 6.9, http://www.linuxfromscratch.org/lfs/view/stable/chapter06/glibc.html, after ...
0
votes
1answer
21 views

Restore sudo privileges

Trying to install tor-browser, I screwed up my sudo privileges when I tried to take ownership of a directory. Now I get a message: sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit ...
0
votes
0answers
3 views

ufw firewall - how to only “allow” when I am going through a proxy

I am using a proxy to navigate on internet, and I am trying to setup a firewall that will only let me connect to internet via this proxy: if I forgot to turn on the proxy, that I should not be able ...
0
votes
0answers
22 views

delete non important characters from command output

the version command in my Linux machines display the following output version Red.Hat.OS. release..........5.5 APP.Release.............4.2.0.0-02 how to remove the middle "." dot character ...
0
votes
1answer
16 views

Explain ipaddress assignment to the virtual box?

presently my subnet ipaddress starts with 192.168.0.XXX. now my quetion is I am using virtual box in that i installed ubuntu 14.04 can i assign the ipaddress of the node with diffrent ipaddress ...
1
vote
1answer
488 views

Possible to download all the packages from “groupinstall” and then run ( yum --nogpgcheck localinstall *.rpm )?

This is the original command: yum groupinstall "Desktop" "Desktop Platform" "X Window System" "Fonts" I would like to create 4 folders for these. (1 folder for each). mkdir Desktop mkdir ...
0
votes
1answer
69 views

Kernel ATA Exception after resume from suspend to RAM

After resuming from suspend to RAM, my Arch Linux system freezes and becomes permanently unresponsive. However, I managed to pull the following kernel log: kernel: sas: Enter sas_scsi_recover_host ...
0
votes
0answers
3 views

Difference between remastersys backup & remastered disk

I am new in Linux OS. I want to take backup of my machine. Now, I am at stage of taking backup but it asks me for below options Option 1] remastersys backup Option 2] remastersys disk I ...
0
votes
0answers
10 views

Fedora 20 boot issues

I've tried installing Fedora 20 (minimal install, machine is old and only has ~1GB RAM), twice now on an old computer meant to act as a home server to SSH into. Both times, I will be able to log in ...
1
vote
0answers
16 views

Specifically what advantages does Kali Linux have other than preinstalled packages? [on hold]

I have been using Kali Linux increasingly over the last few months. I also have an Ubuntu system, and have found that there are many similar tutorials on how to install Kali tools on Ubuntu. However, ...
0
votes
0answers
12 views

After installing Linux Mint, only a terminal is showen when I boot into it

I have been using windows for as far back as I could remember and developing in virtual boxes but I have decided to install Linux Mint onto a second hard drive on my main computer. Sadly, when I boot ...
0
votes
1answer
1k views

Kali linux throws ' isolinux.bin missing or corrupt ' error

I downloaded Kali Linux from this link, I have a 32 bit OS, so I guessed ISO 32 Kali Linux is the suitable for me (they did not clarify in the website based on what we choose the type). Then, I ...
0
votes
1answer
18 views

Trying to make a Universal Makefile

I'm working on my own netfilter module for the first time. According to internet documentation, The simplest module contains the following C code: //'Hello World' kernel module, logs call to ...
6
votes
1answer
545 views

Can capabilities be used in scripts without setcap'ing the interpreter binary?

Right now I'm using cap_net_bind_service MY_USERNAME in /etc/security/capability.conf. Now I just need to set cap_net_bind_service+i on the interpreter of my favouite scripting language to be able to ...
0
votes
1answer
19 views

cron: output of a script?

I've got a cronjob that looks like this 0 0 * * 7 [ $(date +\%d) -le 07 ] && /home/archiver/archiver.sh &> /home/archiver/output And it works from the cron+bash perspective in that ...
1
vote
1answer
42 views

how to choose appropriate linux hardware - poor graphics performance

I can't believe I am asking this question here myself. Apologies if this is not the right place for this question. I've been using linux since 1996, SuSE version 4.1... And yet I am still not able ...
1
vote
2answers
1k views

Discrepancy between reported used memory and sum of application memory usage

I'm running a desktop system that quite regularly suffers from lack of memory, this prompted me to investigate what causes the issue in the first place. Problem is, there's no single process that ...
1
vote
1answer
714 views

Certain fonts missing from xlsfonts in Centos 6.4

I have a certain software on CentOS 6.4 that gave the following error: X Error of failed request: BadName (named color or font does not exist) Major opcode of failed request: 45 (X_OpenFont) ...
0
votes
2answers
2k views

Linksys AE3000 install on linux

I bought a Linksys AE3000 wireless adapter hoping I could use it on my Ubuntu 12.04 box. I found a website that walked through using it, but it didn't work. I edited rtusb_dev_id.c to add: and then ...
3
votes
1answer
17 views

Set SLIP Between xenix and linux

For study purpose i want to set a slip-serial tcp connection between a new linux machine and old xenix machine wich run on VirtualBox. I've setup xenix Virtual Machine with two serial ports: one on ...
0
votes
1answer
18 views

Why do we need a usbkbd driver when there is usbhid?

I discovered that it is the usbhid that controls my USB keyboard by default. I discovered it by doing rmmod usbhid. When I removed usbhid the usb keyboard stopped working. Note that usbkbd was not yet ...
0
votes
1answer
18 views

How do I run a service with numactl

I need to do something like this to run MongoDB $numactl --interleave=all /usr/bin/mongod --config /etc/mongod.conf & What should I change to be able to run the mongo daemon with the options ...
1
vote
1answer
2k views

Bridge interfaces with Vlan on Linux based access point

I have a Linux based wireless access point. It has eth0 interface for ethernet, ath0 for wireless and br-wan as a bridge between the two. bridge name bridge id STP enabled ...
0
votes
1answer
100 views

Clone monitor on HDMI without changing laptop display resolution

My laptop's display has native resolution of 1366x768, and I connect it to my TV which has 1920x1080i. My problem is that the only supported resolution for cloning is 640x480, which happens to be the ...
2
votes
1answer
45 views

Test if postfix is running

I'm searching for a reliable way to test if postfix is running from inside a bash script. My first attempt was simply trying pidof postfix, which doesn't work. Then I tried to get the postfix ...
1
vote
0answers
17 views

Outgoing masquerade address changes after adding a second interface to the bridge

In fact I have the following configuration: extrouter(192.168.1.1) <- wifi -> [eth2 (192.168.1.11) Centos 6/6 based host br0 (172.22.5.254)] br0 contains two tap interfaces (tap0/172.22.5.1 ...
0
votes
2answers
547 views

Installed Linux, now Windows doesn't boot anymore

I had a working Windows 8.1 which I used regularly. Today I needed Linux, so I chose Ubuntu and installed it from a bootable flash drive alongside Windows. Everything worked well, I could choose which ...
0
votes
0answers
7 views

DHCP occasionally assigning IP address with hostapd

I am currently getting my internet from a building of mine two blocks from where I live. I usually use a wireless card to connect to the access point that has the internet..What I am trying to do is ...
0
votes
1answer
1k views

How to execute Netscaler commands through a remote machine via SSH connection

I have been trying to execute some NetScaler commands like "bind" & "unbind" through a Linux Box via an SSH Connection. Now the Problem is, Manually we are able to enter & execute commands on ...
0
votes
0answers
11 views

Why I am not able to login on vsftpd server using a basic client program? [on hold]

#include<stdio.h> #include<sys/types.h> #include<sys/socket.h> #include<stdlib.h> #include<arpa/inet.h> #include<unistd.h> #include<string.h> #define PORT 21 ...
1
vote
1answer
1k views

SMTP connectivity issue in Zenoss (“Connection unexpectedly closed”)

I am using Zenoss for monitoring purpose. I have been using its mail service for a long time. Suddenly my mail service in zenoss stopped and started showing <class ...
1
vote
1answer
978 views

bash: /etc/bash.bashrc: Permission denied whenever I open a terminal

On Ubuntu 13.10, when I open a new terminal, I sometimes get the following output on the terminal: bash: /etc/bash.bashrc: Permission denied However, the permissions should be fine: >ls -l ...
2
votes
1answer
1k views

SSH agent forwarding, multiple hop

I tested this setup with Linux origin machine - everything is the same - only the first hop can use keys from origin machine. Initial problem I'm trying to set up SSH agent forwarding with multiple ...
2
votes
1answer
402 views

VPN client for linux machine + support checkpoint gateway

Since Checkpoint Company does not have a VPN client for Linux (checkpoint VPN SNX R71 is not fit for us because this VPN required changes on the gateway side ). I'm trying to find if there is a VPN ...
1
vote
1answer
57 views

Samba Tuning (Very low data transfer rates)

I have been trying to tune my Samba server for a while now and have had very little luck. At first I thought it could have had something to do with my router but recently purchased a new one with ...
1
vote
1answer
456 views

Why system call hooking produces different result everytime in Linux/Android 2.6.29?

I have implemented system call hooking for Android 2.6.29 kernel through a LKM module. I am tracing down one Android app for system calls. But interestingly, it returns different results every time I ...
1
vote
0answers
7 views

can i use lirc using the i/r on my rtl2832U dongle as regular or seperate i/r port?

although this might have rtlsdr tone to it but i am on a hunt for info, tip, tricks & mods related to lirc while trying to get it (or some kind of version) to work on my linux machine. ultimately ...
0
votes
1answer
10 views
+150

How to get a grsecurity kernel on Debian Wheezy using the linux-patch-grsecurity2 package?

There is a package linux-patch-grsecurity2. But it seems to be lacking documentation. How to make use of linux-patch-grsecurity2 to get a grsecurity enabled kernel?
1
vote
0answers
10 views

how to troubleshoot domain name before re-pointing Nameservers

suppose I have a site: awesomefootball.com hosted on a Linux server with db etc.. For testing, I know how to pull a copy to my MacBook and set up /etc/hosts file to let me test at ...
1
vote
0answers
4 views

KDE5 Digital clock widget show a different time, than the configured

I'm using KDE 5 over Arch Linux, and the digital clock widget show a different time than the configured for kde. The widget can be configured to show a different time changing the timezone for it. But ...
10
votes
9answers
6k views

How to flash firmware under Linux in practice?

Well, I am feeling too old for jumping through several burning hoops to upgrade several firmwares via the usual vendor-specific way: Download some DOS tools, waste some time creating a (Free-)DOS boot ...
1
vote
0answers
17 views

Libpcap share directory method missing

so im trying to run a c program but everytime i try to run it i get this message error while loading shared libraries: libpcap.so.0.8: cannot open shared object file: No such file or directory ...
32
votes
1answer
14k views

Kernel inotify watch limit reached

I'm currently facing a problem on a linux box where as root I have commands returning error because inotify watch limit has been reached. # tail -f /var/log/messages [...] tail: cannot watch ...