1
vote
2answers
573 views

udev, how to prevent further rules to be run?

Is it possible (and if so how) to tell udev to stop executing further rules for a certain device? I know that there is an order/sequence of rules by the alphabetical naming of the udev files. ...
3
votes
5answers
137 views

Wrap lines to a specified number of fields

I have a text file which contains several vectors, as follows. The components of these vectors are separated with space and they are spanned in a few lines. This file is generated after I run a ...
6
votes
1answer
1k views

What are the definitions of addrtype in iptables?

I am keen to use addrtype in combination with -src as a rule in one of my filter chain like so to drop some bogon ips: -A INPUT -p tcp --dport 80 -m addrtype --src-type UNICAST ! -s 127.0.0.0/8 -j ...
31
votes
4answers
8k views

Can TCP provide more than 65535 ports?

Is it possible to setup a Linux system so that it provides more than 65,535 ports? The intent would be to have more than 65k daemons listening on a given system. Clearly there are ports being used ...
2
votes
1answer
4k views

What is the difference between all and default in kernel setting? [duplicate]

I want to enable reversed path filtering to prevent source ip spoofing on my server. I noticed that I have the following settings at current: net.ipv4.conf.all.rp_filter = 0 net.ipv4.conf.default....
2
votes
1answer
4k views

Ubuntu 14.04 hard drive partitioning help wanted

I'm in need of some assistance with manual partitioning from the Ubuntu 14.04 install GUI. I'm trying to do a fresh install of Ubuntu 14.04 desktop. I have a 60GB SSD as that I want all my OS files ...
0
votes
0answers
79 views

What does “Reserve Distribution” means?

I'm going to install a Linux Mint on a VM under VirtualBox from this site. I found that LinuxMint 16 Cinnamon 32bit VirtualBox VDI Virtual Computer is not "Distribution Release" but a "Reserve ...
1
vote
1answer
11k views

httpd fails to start after install

While I try to install server through yum install httpd in Fedora 19, enabling and starting it shows errors. I checked httpd status and it's also failed. Can some body explain what the problem is? [...
17
votes
1answer
10k views

Can I remove files in /var/log/journal and /var/cache/abrt-di/usr?

I use Fedora and these directories contains a large amount of files, I wonder whether I can delete them? The system is running low on space.
2
votes
2answers
42 views

Backing up a partition

I am pretty new to linux. I mostly started learning after I purchased a couple of Raspberry Pis. I like to make backups of my images as I have often made the mistake of corrupting my data :). ...
2
votes
1answer
313 views

Linux motion user - run it as ssh key as pi to remote server

This question is related to the two other questions I had earlier, about enabling Raspberry Pi to act as a motion sensor that will try to ssh into a more powerful server when it detects motion (the ...
1
vote
0answers
236 views

zsh completion doesn't correct ? (question mark) in paths

So, I've been pretty happy with my zsh completion and correction configuration for a while now, with this being a major exception. Configured as I have it, the shell routinely catches and corrects ...
0
votes
0answers
135 views

Modify the right click options when clicking a desktop icon

I'm wanting to restrict a standard user from being able to right click a desktop icon in Linux (Raspberry Pi running Debian wheezy). I don't want to disable the use of the right click totally (like ...
2
votes
1answer
811 views

Remove the newline before `/etc/issue` in tty

I want to remove the default newline inserted before the content of /etc/issue on login prompt in tty. I'm using agetty and systemd. I tried to add the --nonewline option to my getty@tty5.service : ...
2
votes
1answer
134 views

Old X11 config for vmware guest

I wonder if anybody knows X11 configs (for Vmware) which work with ancient linux distros like Debian2: (protocol Version 11, revision 0, vendor release 6300) Release Date: January 8 2000 If ...
0
votes
1answer
165 views

Possible to Host LAMP VirtualBox for Internet Site [duplicate]

Can someone explain briefly, or point me to, how to host a LAMP server on a Linux-based VirtualBox (Oracle) such at the web site on the VB are accessible to the outside world? The Host itself would ...
10
votes
1answer
3k views

Creating a virtual microphone

I run a CentOS Server with VNC enabled and some services require a microphone to work properly, but it doesn't have to be used for recording, just a microphone device available. So I was wondering if ...
2
votes
2answers
2k views

Why can't I create an LVM RAID1 or mirror volume?

I'm running Ubuntu 12.04 and have just added 2 new hard drives into my server. The idea being that I would create a volume group that would include them and create a bunch of logical volumes on them ...
4
votes
3answers
734 views

Is it possible to get uid table in Linux?

I'm a student in a university and I can finger and id all users (students etc) through SSH. Here is the id command e147200@beluga:~$ id e201634 uid=22678(e201634) gid=3561(stat_bs) groups=3561(...
3
votes
1answer
226 views

Is there a way to share a service listening on loopback of the host with an LXC guest?

I'm trying to provide a service to the LXC guests, but do not want to expose it from the host. I also don't want to put up firewall rules for the service, so loopback appears to be the most ...
1
vote
2answers
2k views

Bad configuration option: ControlPersist while scp with control master?

I am using SCP with ControlMaster to copy the files but somehow I am getting this error back - command-line: line 0: Bad configuration option: ControlPersist command-line: line 0: Bad configuration ...
-1
votes
1answer
349 views

MIC not working due to USB bandwidth

Using debian and centos, i get the same error when plugging my USB mic in. In Windows (xp thru 8.1) it works fine. [ 304.237543] usb 2-1.6.2: USB disconnect, device number 6 [ 305.220785] usb 2-1.6....
7
votes
1answer
5k views

Problem Installing UBUNTU 14.04 (AND Mint 16, which is based on UBUNTU 13.10) as dual boot on RAID 0 with Windows 8.1

Ok, I know that there is Dual-Boot Ubuntu 14.04 and Windows 7 on FakeRAID Installation error - question marks "????..." and that that post has some answers for me, but I don't know if it ...
1
vote
1answer
5k views

httpd start fails and shows up error

I installed Apache through yum install httpd in Fedora. When I try to start the service it shows the following error: [root@localhost ~]# systemctl enable httpd.service ln -s '/usr/lib/systemd/...
1
vote
1answer
3k views

OpenELEC, non-root user, home directory, SSH

I'm running OpenELEC on Raspberry Pi As you know, directory /storage is a shared home folder between user root and user openelec This makes a problem when you want to setup ssh key authentication for ...
0
votes
1answer
80 views

How can I reduce the volume of DenyHosts emails?

As someone who had no experience dealing with Unix or Linux before about 6 months ago, I'm feeling pretty comfortable with managing a Linux server now. The one question I do have is about DenyHosts, ...
0
votes
2answers
108 views

Shrink btrfs from /dev/sda to /dev/sda1

suppose I have 2 btrfs filesystems: one mounted on /mnt/big spanning across /dev/sda /dev/sdb /dev/sdc /dev/sdd the other mounted on /mnt/small on a single drive: /dev/sde How would I shrink the ...
0
votes
1answer
2k views

How to enable printk selectively?

I want to print some statements from kernel but not all. So can I use printk selectively? By selectively I mean I want to enable printk only at particular places and disable it everywhere else. ...
0
votes
1answer
127 views

Sending signal to user that a particular driver is loaded

These are some of the messages coming on console from Microzed board (Cortex A9): [Sat May 17 18:18:26.603 2014] DMA: preallocated 256 KiB pool for atomic coherent allocations [Sat May 17 18:18:26....
0
votes
1answer
266 views

Icecat install fails with `GLIBC_2.14' and `GLIBC_2.17' not found

I am using gNewSense, but a lot of stuff should be working the same as in Debian. I followed the instructions: http://zachwick.com/posts/how_to_install_gnu_icecat_on_debian_wheezy.html The first ...
2
votes
1answer
579 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 ...
18
votes
1answer
5k views

How to quickly send commands to nested tmux sessions?

I have the following in my .tmux.conf set -g prefix M-j bind-key j send-prefix I need to press (Atl+J) + (J) + bound-key to send something to the nested tmux session. I feel it is rather slow. Is ...
6
votes
3answers
2k views

What is the expected performance of obnam? Or: why is it so slow?

I've been playing around with obnam these last few days, and although it looks very promising and seems to offer basically everything I ever wanted in a backup tool, I am pretty disappointed in its ...
8
votes
6answers
4k views

How can I get a specific line from a file? [duplicate]

I want to extract an exact line from a very big file. For example, line 8000 would be gotten like this: command -line 8000 > output_line_8000.txt
1
vote
0answers
2k views

Arch Linux: Unable to connect to internet post-installation reboot

So I somehow managed to install Arch Linux successfully. At the time of installation, I followed the official guide as well as this guide. During the installation, I had successfully connected to ...
0
votes
1answer
461 views

Using the Echo Command with Sleep command

So I asked a question on here a few weeks ago and the response I got was helpful but I figured I would add some info to get a better response. I work with a computer system that has 8 servers (4 ...
0
votes
1answer
517 views

-bash: pkcs12: command not found

I am trying to export the private key and certificate to p12 file using below command in my mac os X - Mountain Lion: pkcs12 -export -out privkey.pem -inkey privkey.pem -in rsaCert.crt but I am ...
2
votes
1answer
2k views

What does lo in iptables mean exactly?

I have seen countless examples of this rule in iptables: -A INPUT -i lo -j ACCEPT I thought lo means localhost (a.k.a. 127.0.0.1), but when I commented it out, I can't access the server using its ...
1
vote
2answers
135 views

Toggle/macro/xargs-like thing for shell variables

So I'm stuck doing a lot of cross-compiling and am typing stuff like this a lot FOO=bar command --some-args BAZ=qxt other-command --other-args But obviously the real shell variables are long and ...
1
vote
2answers
78 views

How to I fetch the very latest DNS records from a recently updated domain?

I recently updated my domain and added CNAME and TXT records, and don't want to wait for the changes to propogate. How can I go directly to the source and query the DNS records to verify everything is ...
0
votes
0answers
33 views

How to halt a command while it's running? [duplicate]

I want to know how to halt a command while it is already running. My need to do this is that I was going to update my system (Fedora 20) as usual, so I ran the command sudo yum update and it started ...
0
votes
1answer
7k 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 ...
0
votes
1answer
144 views

TightVNC shows the window cropped

I am running debian live cd in qemu (kvm), and when I connect to VNC via vncviewer localhost:5900 the window is cropped to some static width and height combination. Making window fullscreen or ...
1
vote
1answer
289 views

openvpn routing

So far I have successfully created a virtual link between server A and server B using an unencrypted openvpn tunnel. I am trying to route some of server B's traffic through server A. Server B has 5 ...
3
votes
5answers
169 views

How to “grep” a string of a returned result

How to grep the number 50.0 from the string temp=50.0'C In JavaScript I can use the expression /temp=(.*?)'C/ to get it. But I cant get it running in grep.
1
vote
1answer
47 views

Can I use shortcuts inside a repository for yum?

I'm creating a repository for distributing specific software. I want to be able to store old versions of the software in the repository, but I'd like the users of the repo to not need to specify a ...
1
vote
1answer
168 views

lost directory cannot find it with testdisk

I was moving a directory on my parents computer using a teamviewer session. The session responds slow and somehow, when I was moving the directory (location: /sdb/synchronisatie/nel/) something went ...
0
votes
1answer
375 views

What is the :0 terminal in the who command's output? [duplicate]

When I type who in my console terminal, I get the following output: hubert :0 2014-05-16 21:40 (:0) hubert pts/0 2014-05-16 21:46 (:0) From info who I know that both :0 and pts/...
1
vote
0answers
460 views

rndc addzone failed: not found

I installed bin 9.8.4 (default) on Debian Wheezy. after configuration I tried to add a slave zone with the following command: rndc addzone test.zone '{ type slave; file "test.zone"; masters { ns....
1
vote
1answer
284 views

binding to remote IP

I have two servers and would like one server to be able to use some of the other's external IPs. Server A has 20 IPs and server B has 5 so I want B to use 5 of A's IPs. How would I go about this? ...

15 30 50 per page