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

0
votes
0answers
15 views

migrating local users to LDAP

I have sucessfully setup LDAP and LAM on a raspberry pi in my home network. I have several Linux machines around the house, some Windows machines, aswell as a QNAP TS-210 NAS. They all have the same ...
1
vote
2answers
62 views

Search for matching files with wildcards without using find in a bash script

For an assignment, I'm supposed to write a bash script that can act as a very basic find, but without actually using the find command. For example, if I put in this input: my_find ~/homedir/ -name ...
0
votes
0answers
26 views

how to give read, write and execute permission to other user to access mounted shared directory

I set up nfs server and client on two different servers. On nfs server I create a shared directory. /home/share On nfs client I created mounted point /home/nfs_local now everything is working ...
0
votes
0answers
13 views

Intel Edison interfacing [on hold]

I have to interface the Intel Edison board with an inertial measurement unit (IMU) via the I2C Bus. Where will the raw data be stored ON the Edison board? How to collect data from the I2C?
1
vote
0answers
25 views

scp stdin: is not a tty, and write failed, connection reset by peer

I have used scp for years between linux servers, as well as with Mac OSX systems. But now, I have installed cygwin and ssh, bash and openssl in order to pull large files from my linux box on the web ...
1
vote
2answers
40 views

Log message “Disabling IRQ”: what does it mean?

This message appears in my dropdown terminal at seemingly random times when no processes is running in that terminal: andreas@debianator:~$ Message from syslogd@debianator at Feb 24 18:57:58 ... ...
0
votes
0answers
21 views

Disable scroll wheel horizontal buttons (back/forward)

I recently got a Logitech M500: Bus 002 Device 004: ID 046d:c069 Logitech, Inc. M500 Laser Mouse It has nine buttons that I can identify: Two on the left side Left, right Wheel press Wheel ...
0
votes
0answers
16 views

How to defrag XFS file-system if xfs_fsr exits with “no improvement will be made”?

I am trying to defrag a heavily fragmented XFS file-system on a CentOS 6.6 machine: [root@server opt]# xfs_db -c frag -r /dev/md3 actual 598, ideal 215, fragmentation factor 64.05% However, when I ...
2
votes
1answer
63 views

Linux: monitor my own internet usage page by page

I have a monthly broadband subscription which rolls over on the 23rd of each month. I had arrived near the end of my usage so I was carefully checking that I didn't go over my limit - they crucify you ...
1
vote
2answers
14 views

Linux copy range of folders

I found this link with an example of how i can actually copy range of files Copy a range of files in command line (ZSH/BASH), using this $cp P10802[75-83].JPG ~/Images/. Is there any way i can also ...
1
vote
0answers
8 views

Print list of bad blocks in NAND flash from user space

Is there any user space tool that can retrieve and dump the list of bad blocks in a NAND flash device? I've checked the mtdinfo command line utility, and also searched /proc and /sys, but couldn't ...
1
vote
0answers
15 views

How well is Debian supported on MIPS these days?

I am doing a new embedded Linux design, and am thinking of using a MIPS CPU. All my previous designs have used ARM. On the most recent ARM design we installed Debian ARM-HF which was excellent. My ...
0
votes
1answer
15 views

rpm -V inner workings

I have an rpm file that is used to install a package I made the package consists of java classes and shell scripts to run these java classes, in a .run file. So the rpm essentially only contains a ...
2
votes
1answer
22 views

How to enable and configure WiFi in debian 7 wheezy.?

I just installed the debian 7 wheezy, but WiFi is not working. I visited the debian wiki pages but they have already mentioned there that the broadcom chip BCM43142, 4e4:4365 is not supported by the ...
1
vote
0answers
11 views

Getting to work Hostapd with RTL8192CU chipset on IPFire

I've got IP Fire set up on my RPi and despite the RTL8192CU chipset working with a bit of tweaking from a guide I found, it doesn't seem to work with hostapd on IPFire. The TP-Link USB dongle flashes ...
1
vote
0answers
50 views

Booting Linux from RAM

I want to find a cross-distro solution for setting linux up to boot from RAM. What this involves in essence would be copying an existing installation of linux one way or another over to the RAM (to ...
2
votes
1answer
25 views

Locally deny login to users authenticated via LDAP

I have a RedHat Linux server that are is use for more than 1000 users Users names are coming to the server via LDAP protocol, so login authentication is from the LDAP My question: is it possible to ...
1
vote
0answers
30 views
+50

How to audit access to any file or folder within a given path for specific user

I've been reading some information about configuration of auditd and I just can't figure this out, what I know how to do Log specific system calls by a user Log access to a specific file by all ...
1
vote
2answers
26 views

I would like to delete entire archive log except retain last generated archive log

I want to delete all the archivelog, But retain last generated archive log alone. Currently I am using following which will delete entire/all the archive log and clear the directory itself. find . ...
-2
votes
2answers
35 views

Not able to run shell script using cron [on hold]

I have a shell script test.sh in /home/username The test.sh file contains the following lines - #!/bin/sh cd /home/username/bin sh launch.sh ParameterName #launch.sh is in /home/username/bin ...
1
vote
2answers
43 views

What are the very fundamental differences in architecture between Unix and Linux? [duplicate]

I watched a short intro to Unix from the 70s (https://www.youtube.com/watch?v=7FjX7r5icV8 3D animation starts at 1:56), at the end the general tripartite architecture of Unix was displayed as a 3D ...
2
votes
1answer
25 views

How to set up users, ownership and permissions across local and remote servers?

I've been learning the Linux OS over the last year or so and I am still very confused on how permissions vary from different configurations. I am trying to set up my local development environment and ...
-1
votes
1answer
49 views

“No package stress available, nothing to do” and "bash: yum-config-manager:command not found

I am trying to install the stress package on CentOS 7 virtual machine running on vmware player on windows 7 laptop. I have tried many packages and have updated yum but whenever I run sudo yum install ...
1
vote
0answers
7 views

insert module to kernel

I installed latest version of IPCOP, I've the correct module of my wireless card (htc_9271.fw): put it to /lib/firmware/ there is not any insmod/rmmod but only modprobe: modprobe htc_9271 FATAL: ...
0
votes
0answers
5 views

How to exclude folders when packaging for debian?

I am attempting to build a c++ project and package it in .deb format. I am able to successfully create a .deb package; however, it includes files that I do not want contained in the package. How can I ...
1
vote
1answer
33 views

Link Local IPv6 address keeps being automatically assigned

I'm looking to prevent the IPv6 link local address from being randomly assigned. I'm not looking to disable v6 but rather statically assign my own link local. I've done ifconfig vboxnet0 inet6 add ...
1
vote
1answer
23 views

Cygwin header file location

My OS is Windows 8, I'm using cygwin 1.7.34(0.285/5/3). Where are the header files located in cygwin? For instance, I need to add an additional header file, say transport.h to already existing in ...
0
votes
0answers
19 views

Wireless realtek rtl8187se [duplicate]

I have a Toshiba laptop with an integrated wireless rtl8187se. I'm using Backtrack 4 and Kali Linux 1.0. The problem is I can't capture any handshakes even between the laptop and my router. When I ...
4
votes
3answers
254 views

Run command automatically when files are copied into a directory

I have two folders called: A and B, in different paths on the same computer. When I add any new file(s) into folder A, I want to copy it to folder B automatically. My folders: /auto/std1/nat1/A ...
0
votes
0answers
7 views

IPA user auto getting loging, But I want to it should ask passwd for loging in to system

Whenever I try to login as IPA user into client's machine, it is not asking password for log-in. Its getting auto logged in system without password. Request to let me know how to login with ...
2
votes
1answer
16 views

FreeRadius : Logs not being generated in radacct directory

I have installed and configured freeradius on Red Hat Enterprise Linux 6.5 as per this guide. I have found that, everything is working fine, but no logs are generated in the /var/log/radius/radacct ...
-4
votes
0answers
9 views

Linux tftp running but not getting connected [closed]

:/etc/xinetd.d$ sudo /etc/init.d/xinetd stop Rather than invoking init scripts through /etc/init.d, use the service(8) utility, e.g. service xinetd stop Since the script you are attempting to invoke ...
0
votes
0answers
16 views

Specific folder can't be able to see through Puuty but can be able to see through WinSCP

I am trying to run certain sh files under a specific path using plink, which i want to automate. manually i have tried to find the folder using putty but putty throwing an error "-ksh: cd: CO_HOME: ...
0
votes
1answer
24 views

Few questions about system calls and kernel modules (kernel services in parallel)

I have few questions about system calls and kernel modules. Let's assume we have two applications (A and B) and each of them is running on a different core. (A-CPU 0, B-CPU 1) When two applications ...
0
votes
1answer
25 views

setting (system-wide) CPU affinities for running processes on a Linux platform

I am conducting a kind of research in that I schedule multiple parallel applications (e.g., OpenMP/pthreaded applications) and execute the applications on specific (partitioned) cores on Linux-based ...
-1
votes
0answers
27 views

iptables v1.4.21: Couldn't load match `-d':No such file or directory [closed]

I am running kernel 3.14.18 and using iptables 1.4.21, built with these options: --static-enable --disable-shared When I run this command: /sbin/iptables -A PREROUTING -m -d 127.3.0.2/24 -j DNAT ...
0
votes
0answers
12 views

Wireless rtl8187se

I have a Toshiba laptop with an integrated wireless rtl8187se. I'm using Backtrack 4 and Kali Linux 1.0. The problem is I can't capture any handshakes even between the laptop and my router. When I ...
0
votes
0answers
5 views

Why is does proc_create mode argument 0 correspond to 0444 [migrated]

I am a newbie to kernel programming and am trying to userstand procfs. I have googled several examples and they all use: proc_create("hello",0,NULL,&proc_fops); where the second argument is the ...
0
votes
1answer
17 views

Can I configure IPFire (ARM) to use SSH by default?

I want to play with IPFire on my Pi, but I don't have a keyboard nor mouse to control it with. Is there a way to enable SSH by editing the image directly?
1
vote
1answer
27 views

how to list downloaded apt packages without dependecies

I'm trying to get the names of downloaded packages without dependencies.. I don't want to get all the files in /var/cache/apt/archives .. I only want to get the primary packages without dependencies I ...
1
vote
2answers
88 views

Last line is wrong when splitting a file with awk

I have a data file main.txt that looks like this 20130826,aaaaaaaaaaaaaa,bbbbbbb 20130826,sdfasdfasdfas,sdfasdfasd 20130826,dfasdfas,asdf2323 ... 20130827,sfasdfasdfasd,sdfasdfwea I used the ...
0
votes
1answer
15 views

Unable to install Arch Linux on SD card via Virtual Box

My aim is to create a bootable SD card with Arch Linux, for my Raspberry Pi. I have been trying to follow this guide without success. So far I have: A working Arch Linux virtual box, as my host is ...
1
vote
1answer
27 views

Run a script as root during boot and display in the default linux terminal?

Here's how I configured my kickstart system initialization script (this is a kickstart conf script snippet): ... %post --log=/root/ks-post.log --interpreter /bin/bash cd /root curl --silent ...
0
votes
0answers
16 views

OS Installer for Debian GNU/Linux Based Custom Distribution

I have built a customized Debian distribution for my client who are using my POS software. I install it to run the PHP Based Software in their machine as localhost. I am using two installer for this ...
1
vote
1answer
23 views

Possible to deliver centrally configured login scripts on Linux?

In Windows you can assign login scripts to users which run whenever they log into a system which allowing admins to do things like map drives/printers and generally do anything for which there isn't a ...
0
votes
0answers
10 views

synproxy on a bridge

I am trying to implement synproxy to my firewall, on a bridge interface (between eth1 and eth2). Here are my rules: /usr/local/sbin/iptables -t raw -i PREROUTING -i br0 -m physdev --physdev-in eth1 ...
0
votes
1answer
21 views

Dual Boot Install Question

I have Windows 7 and am going to reformat/reinstall, but want to try a dual boot configuration with Linux mint. If I install Windows creating 3 partitions: one for Windows, one for Linux, and one for ...
2
votes
1answer
44 views

To be SOX compliant I need to keep years worth logs. Need help with particuliars

My company is going through an audit and I have taking over the role of Linux systems administrator unofficially. I see our current logging system has it to were we basically keep a months worth of ...
0
votes
1answer
18 views

Permissions Issue for A Symlinked Directory

I have a web application running on Ubuntu 14.04. The app's deployment service creates separate users, groups and permissions automatically when deploying the app to my server on AWS. The app runs as ...
0
votes
0answers
17 views

How to prepare for a possible unreadable disk from bios after swapping disks?

How to prepare for a possible unreadable disk from bios after swapping disks? I want to switch out my old disk with my working linux mint 16 os and plug in a new disk and install linux mint 17. I am ...