Linux is the family of Unix-like operating systems that use the Linux kernel.
1
vote
1answer
96 views
Read snort.u2 files
I am just getting started with learning and testing snort.
I have some snort data in snort.u2.timestamp files. What is the best way to view / read these files? I have found some info via Google ...
5
votes
1answer
60 views
What does the “00:00:00” timestamp mean in kern.log?
I'm looking for causes of a particular problem in kern.log. There are many entries with a 00:00:00 timestamp:
Jun 11 00:00:00 mymachine kernel: [ 0.000000] Initializing cgroup subsys cpusetJun 11 ...
0
votes
1answer
29 views
Could not bind socket: Permission denied when trying to start NDOUtils using UNIX socket
I followed these directions to a tee: http://shah-oss.blogspot.com/2010/12/ndoutils-installation-on-centos-for.html
Everything was going well until I actually tried to run this command (there is a ...
1
vote
4answers
74 views
crash shell: any way to check if a command executed Successfully
I'm automating a test using crash package. Is there some thing like $?, which can be used to check if the previous command executed successfully or not inside a crash shell?
For example, when ...
2
votes
1answer
18 views
Configuring SELINUX to allow logging to a file that's outside /var/log
I have a daemon that uses syslog(3) to log to a file that is not a descendant of /var/log. Currently, this requires that SELINUX be disabled. How can I configure an enabled SELINUX to allow this ...
2
votes
1answer
66 views
Windows 7 to Debian Linux: install without CD/DVD or USB drive or net during install
Installed : windows 7 home premium. Now want debian linux.
Tried a couple of things (see question below). Got installer menu using win32-loader.exe of debian from the goodbye-ms site.
But I have a ...
8
votes
3answers
432 views
Given a git patch id, how to find out which kernel release contains it?
Assume I have some issue that was fixed by a recent patch to the official Linux git repository. I have a work around, but I’d like to undo it when a release happens that contains my the fix. I know ...
1
vote
0answers
17 views
i915 cannot work with nomodeset?
I'm trying to get X to work on a ThinkPad W530. I set the BIOS to only use the integrated graphics, I attempt to boot. The display goes blank when KMS is executed and does not recover.
I append ...
2
votes
1answer
74 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 ...
6
votes
4answers
8k views
Show top five CPU consuming processes with `ps`
How to show top five CPU consuming processes with ps?
3
votes
1answer
237 views
How do I determine ZCACHE works on my box?
I have an Marwell Kirkwood ARM-based NAS server Zyxel NSA 310. I compiled my own 3.8 kernel and enabled ZCACHE, but I still see 256 MB of RAM. I am not sure if GNU free utility should show extra ...
3
votes
1answer
48 views
How can I efficiently dereference all symlinks in `find` *output* filenames?
I need paths to be both fully resolved and relative to a given directory. This must be done efficiently, since the number of paths is often greater than 100,000.
Situation: I have directories which ...
5
votes
2answers
203 views
Detection of USB Modem is unstable - how can I correct this?
I am using Huawei 3G USB Modem in Ubuntu 12.04 LTS on DELL Inspiron NS5520. I tried every possible solution but had no luck. Whenever my USB Modem disconnects, I can not re-connect it and then I have ...
0
votes
0answers
12 views
Can we Bring Up eth1 after removing e1000e modules?
I am trying to setup TCP in RTnet. I am not sure whether its possible. I read that RTnet is not supporting TCP. Is that so?
So now I am trying to setup rteth0 as server and eth1 as client. To setup ...
3
votes
0answers
55 views
Debian Unstable: How do I install this i386 package under AMD64 using multiarch?
I am currently running Debian unstable (sid) on a AMD64 platform. I have previously enabled multiarch by:
dpkg --add-architecture i386
...and successfully installed some i386 packages, including ...
4
votes
2answers
180 views
What is “automatic stack expansion”?
getrlimit(2) has the following definition
in the man pages:
RLIMIT_AS
The maximum size of the process's virtual memory (address space) in bytes. This limit affects calls to brk(2), mmap(2) and ...
0
votes
1answer
13 views
How to put backtrack on a partition with Windows XP
This is a similar question to my previous one.
I now am trying to get Backtrack5 onto a separate partition of my main hard drive with windows but the site says that I need a clean hard drive. Is ...
3
votes
1answer
220 views
Confused about Debian error message from su
On Raspbian, the Debian distro aimed at RPi, I end up getting the following error:
$ sudo su -l root -c /bin/bash
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no ...
0
votes
2answers
155 views
Hot partition CentOS 6 and add boot pick?
I have an existing CentOS 6 installation working wonderfully and its owner now wants to add a separate Debian installation onto the same machine. He only accesses this host via the command line and ...
2
votes
1answer
28 views
How to install backtrack 5 onto a USB that doesnt mount with existing OS
I believe the title states what im mostly asking but here's the specs.
Sandisk Cruzer 4GB USB 2.0
Existing OS: Windows Xp Professional SP3
Hardware:
Intel Pentinium 4 Xeon Class (x86 F15 M2 S4) ...
0
votes
1answer
73 views
emacs fonts from ssh not as good as locally installed
How can I have the same emacs fonts and antialiasing configuration that I have in my local Ubuntu 12.04 also working when I open an emacs session via ssh to a CentOS 5 system?
EDIT: I didn't get an ...
1
vote
1answer
136 views
Dual boot - Kubuntu and Windows 8 - how to?
I recently installed Windows 8 on my computer.
These are the specs:
Fx-8150 CPU
8 GB RAM
ATI HD7870
120 GB SSD
2 TB HDD
Mainboard: Gigabyte GA-970A-UD3 (rev 1.1) (only bios but EFI mode possible ...
0
votes
0answers
29 views
Can I run hostapd in a virtual machine hosted in a windows system?
I would like to know if it is possible to run any Linux/UNIX distribution with hostapd in a virtualized environment.
My idea is to host a small virtual machine, which will use my Windows Host ...
0
votes
3answers
105 views
Can I install ubuntu on a Virtualbox image and use it anywhere?
I am wondering if I install ubuntu once on a virtual machine running inside virtualbox, could I then use it as a portable OS and launch it from virtualbox on any machine? Or would I have to match the ...
0
votes
2answers
33 views
How would I mount a linux shared folder on another linux system?
What I'm trying to do is to share my VM development web server's /www folder, to make it more convenient to transfer the HTML, PHP and web documents I have made to test on the web server.
Would I ...
0
votes
1answer
92 views
luksOpen: No key available with this passphrase
I've created a encrypted volume with LUKS at home and was looking to use it at work too. Unfortunately, that's not possible. Whyever, I'm unable to access the encrypted data on any other computer than ...
0
votes
1answer
50 views
Extracting SFX files in Linux
I am trying to extract an SFX file under Linux Mint 15 (64 bit) but it's not working. I've done chmod +x on the file and tried to run it like a script with no luck (it gives me an error that there's ...
1
vote
2answers
62 views
/dev/console points to tty0?
I've been trying to understand the /dev/console device, but there are a few things I'm not clear on:
What is the purpose of this device? From what I can gather it's just a place for the kernel to ...
3
votes
1answer
37 views
Can I unzip and merge sorted text files in a single operation?
I have tens of thousands of gzipped text files, each of which has already been sorted internally.
I've written a script to unzip them (creating a copy) and then using sort -m to merge them.
It all ...
0
votes
0answers
19 views
Troubleshooting Linux performance using KSAR utility
How can I go about troubleshooting Linux performance using the KSAR utility? I already have the data from sar** (sar01, sar02, etc.), but don't have any pointers as to what data relates to what?
I am ...
0
votes
2answers
36 views
QEMU how to ping host network?
I'm trying to ping from guest to my host network without success.
qemu-system-x86_64 -hda debian_squeeze_amd64_standard.qcow2 -netdev user,id=user.0 -device e1000,netdev=user.0
I try to ping a ...
3
votes
2answers
35 views
How do I refresh the magnetic state on a disks with backups?
I have a couple of large disks with backup/archive material on them. They're ext4. Regarding the ones of those that will be stored for a couple of years without reading the whole disc again I've been ...
0
votes
2answers
176 views
Querying Microsoft SQL SERVER 2008 from Linux
Basically I want to write all the lines of a text file present in linux machine to Microsoft SQL server database. I need a shell script to connect from my Linux machine to a remote Microsoft SQL ...
1
vote
2answers
214 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 ...
1
vote
1answer
101 views
setting up yum in stripped down linux
I have a box that contains minimal binaries needed to run Scientific Linux. What I want to do is to install additional programs. I could get rpm installed and tried to install yum but resolving those ...
3
votes
2answers
549 views
nVidia proprietary driver
I successfully installed NVIDIA-Linux-x86_64-290.10.run on my Debian Squeeze desktop but I do not see /var/log/nvidia-installer.log clearly stating which file(s) have been added/replaced. Does anybody ...
3
votes
1answer
125 views
What's the easiest way to decrypt a disk partition?
I made a mistake of encrypting the entire LVM physical volume (contains both home, root, and swap) when installing a CentOS 6.4 (2.6.32-358.6.1.el6.x86_64) box. I soon came to realize that moving ...
3
votes
2answers
94 views
Clarification regarding behavior of shell script along with pipe
I need help understanding the behaviour of the following shell script.
#!/bin/bash
echo "First more"
more $1
echo "First echo"
echo $1
echo "Second more"
more $1
When I run the following command:
...
0
votes
1answer
45 views
VSFTPD Virtual User Group
Currently I have a Running vsftpd server in a Cent OS Machine with virtual users.
Users are authenticated using MySQL.
The users has all the permissions in their home directory and they are jailed ...
7
votes
1answer
114 views
Linux cache evictions
Looking at how the VFS cache on my Linux machine behaves, I can see that even when effectively idle (crond and most other daemons stopped, interfaces down) the amount of free memory gradually ...
4
votes
5answers
221 views
How to disable graphical shell?
I have a Linux system (Ubuntu) running in a VM, but now I want to disable the graphical shell. Where in the startup process are the graphical components launched? Is it some run-level dependent ...
0
votes
1answer
29 views
ip function exit code
I use use ip by system("ip link set eth0 up") in a C program. I know that system returns -1 if it fails and returns what the called function returns(exit). E.g., if eth0 is not exist on the system, it ...
3
votes
1answer
30 views
Cannot remove or reinsert kernel module after error while inserting it without rebooting
I am learning how to create kernel modules and it was all working fine: I compiled, inserted the .ko with sudo insmod cheat.ko, and the printk messages inside the init function (set by module_init) ...
3
votes
1answer
438 views
Access point (with hostapd) on the same interface as the network/gateway?
I wonder if it should be possible to have an wireless access point using hostapd (as described in Set up an access point) on the same interface that connects to a wireless network for internet.
I ...
1
vote
0answers
16 views
Is there a libXrandr API documentation? [migrated]
I don't want to execute Xrandr via a call to system, I want to use libXrandr in C++. Is there a suitable documentation?
2
votes
1answer
26 views
Risks involved with lazy_itable_init=1 for ext4 fs on SD card
My setup is the following:
Linux kernel 2.6.28
e2fsprogs 1.42.7
64 GB class 10 SD card
I am attempting to speed up the time it takes to format the entire card to an ext4 filesystem. My research ...
0
votes
1answer
145 views
GCC fails to build at linking libquadmath
I'm trying to build GCC (GCC 4.8, at revision 195144), but I get the following error:
libtool: link: ranlib .libs/libquadmath.a
libtool: link: ( cd ".libs" && rm -f "libquadmath.la" ...
3
votes
2answers
81 views
Inotifywait for large number of files in a directory
What I want to do is, to monitor a directory (not recursive, just one) for new files created and append those files to one single big file as they are being written.
The number of files that are ...
1
vote
0answers
19 views
Are there any good Embedded Linux image builder? [closed]
I'm looking for an image builder to create several Embedded Linux images for different ARM boards.
I know the following image builder:
linaro,
buildroot,
openEmbedded,
yocto
If I've missed one, ...
2
votes
1answer
172 views
Is it possible to run any distro from RAM from within an .iso saved on an NTFS file system?
Running entirely from RAM been done on various distros such as Slax, DamnSmallLinux, and newer Ubuntu versions, and since I have 8GB it seems reasonable that I could run many distros entirely from RAM ...

