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

1
vote
0answers
14 views

linux udev rule to load gadget module for client driver

I'm having a hard time automating loading a gadget module and bringing up the usb0 device as a eth interface. The interface in question is g_ether for a embedded Linux device and connecting to a PC. ...
1
vote
0answers
7 views

Update Route Entry On another DD-WRT upon New IP address (WAN) SSH linux

Update Route Entry On another DD-WRT upon New IP address (WAN) SSH I have two routers on two different gateways/ISPs but on the same local subnet (192.168). If router A (192.168.1.1) gets ip address ...
1
vote
1answer
37 views

Sudo su issue on ubuntu 14.04 lts: /root/zsh can't not be found

I have recently re-installed ubuntu 14.04 lts and I installed my favorite shell (zsh) but I am having an issue now. When I type, sudo su it comes back with an error stating /root/zsh can not be ...
1
vote
1answer
30 views

I'm trying to count and print song file names using awk as following

RANK NAME BAND YEAR GENERE DOMESTIC/INTERNATIONAL 206:Reach Out, I'll Be There:The Four Tops:1978:Pop:3/2 207:Bye Bye Love:The Everly Brothers:1950:Classic:3/2 ...
0
votes
1answer
11 views

Live Linux distribution with preinstalled NVIDIA CUDA support

Is there any Linux distribution with preinstalled NVIDIA CUDA support that could be launched from a live CD/USB drive?
0
votes
0answers
19 views

Airdrop compatible

Is there anything in Linux that implements whatever it is that makes Airdrop in OS X work? I'm not really familiar with that program, so I'm not sure what protocol it's using to communicate.
8
votes
2answers
186 views

How can I find available network interfaces?

This is in regard to linux, but if anyone knows of a general *nix method that would be good. I booted a system yesterday with an ethernet cable plugged in. "NetworkManager" is not installed, so once ...
2
votes
1answer
23 views

Problem on running Script on host after connecting

I am new to linux scripting. Please help. I searched on below a lot but was not able to find appropriate answer : I am trying to make a script which I will later schedule as cronjob, so that it keeps ...
3
votes
0answers
33 views

How to create Virtual Network for VM's

I have downloaded a Linux Live CD which I am required to do pentesting using VirtualBox . Live CD is configured for router with Pool Starting Address 192.168.2.2 . Now problem is that my router is't ...
1
vote
1answer
12 views

Create a VPN network between a live server and private networks

I have a VPS (Cent OS 6) on a live IP. I have several other machines (All linux, mostly Cent OS 6 and a few Android devices) sitting behind NATted ADSL Routers on several sites. I need to create a ...
0
votes
0answers
8 views

how get net switch info in soc?

I have a router device. cpu is mtk7620n. mtk7620n have a switch. How can i get information of the switch . swconfig show nothing. i think the switch have no driver. Anybody give me some ...
0
votes
1answer
25 views

How to take incremental backup in tape drive

I am having 1 tape drive and I want to take incremental backup of 5 folder to the tape drive on every Friday. But the location of the five folders are on one server and the LTO mounted on a different ...
1
vote
1answer
37 views

CHROOT: Unable to copy files to jailed users directory from local machine using WINSCP

I have setup a Chroot environment for one of my users called client on my system. I am using WINSCP to connect to my server from my machine using public key authentication. Everything works fine, I ...
-1
votes
1answer
33 views

Apache Downloading a lot data, how to find out which script?

Apache Downloading a lot data, how to find out which script? I host a few sites, i noticed a ton of bandwidth being Downloading (not so much when uploading) when the httpd service is running, when I ...
4
votes
4answers
40 views

Rebuild damaged system directory (for example, /lib)

Let's say I have a Linux system, either Debian, Ubuntu, or CentOS, where a user removed /lib, for example. Let's also say that I managed to boot this system with a livecd version of whatever OS it was ...
-1
votes
0answers
62 views

Debian - how to find out why a lot of services stopped [on hold]

Question: How to find out why services stopped if their logs don't say anything, they just stopped logging. Where does Debian keep logs about services that were killed (for example do to RAM running ...
0
votes
1answer
22 views

Using WiFi port as redundant link

I want to use WiFi port of my server as redundant link for copper connection to my home DSL router. My router if SAGEM 2704 with very limited functionality. So practically the only possibility is to ...
0
votes
0answers
21 views

Compiling sample SFML program problems

I'm trying to compile the first sample program that comes with sfml on Fedora. First it told me that I needed to link all of the libraries properly but then I got it all configured and now I'm stuck ...
5
votes
1answer
28 views

How the network packets are transferred to the memory on linux?

Is there some command or tool for monitoring network packets and how those packets are handled by the memory and than proceeded to the CPU on linux platform? Using tcpdump I can capture many apache ...
3
votes
1answer
27 views

I can see my LVM but I can't initialize it. Missing UUID of one of the disks

I have had a 2 disk LVM called Data going for about 6 months, and I recently bought a third disk. I installed the disk in the machine, and wanted to format it and extend the lvm onto it, like I've ...
1
vote
0answers
12 views

How do I manually install the XPM library?

I'm wanting to install SWI-Prolog, however my linux box (more like a tuna can; it's a RasPi) isn't connected to the internet, so I can't just do sudo apt-get install libxpm-dev How can I do this ...
2
votes
0answers
42 views

USB 2.0 device is not working in USB 3.0 ports

I have a Ubuntu 12.04 system. To that system I have one USB 3.0 port. In this port I am trying use my USB 2.0 device. But every time when I plugged that USB 2.0 device into that USB 3.0 port,system ...
3
votes
0answers
22 views

Are there any canned solutions for running sshd in the initrd?

This is mostly aimed at Debian/Ubuntu, but I feel savvy enough on a variety of distros to be able to adapt the solution for one distro to another. Here's my scenario. There are a few situations when ...
1
vote
1answer
23 views

Error compiling drivers for Ralink RT2870

Im trying to install drivers for a rosewill RNX-N600UBE wireless card (Ralink RT2870 chipset) on Kali Linux. I downloaded the drivers form their website and unpacked/unzipped them, but now when i try ...
0
votes
1answer
22 views

Creating operating system (OS) user in Oracle LINUX

I am a user with sudo access. To install MySQL, I have to create an operating system (OS) user called MySQL. Can I create a user which also has sudo access on this machine?
4
votes
1answer
39 views

Does pipe's link target exist somewhere in the filesystem?

I'm talking about this: $ readlink <(echo test) pipe:[80076194] Is pipe:[80076194] a path to the target or just indication that the file descriptor is connected to the pipe and doesn't exist in ...
2
votes
2answers
103 views

Are system calls the only way to interact with the Linux kernel from user land?

Are there any other interfaces, e.g. the /proc filesystem?
0
votes
0answers
19 views

cupsenable,reject commands asking for password for root? [on hold]

I am a root user still cupsenable or reject commands ask for password.Restarting cups solves the issue for a sec but after few seconds i get the error again. This issue is happening just now and i ...
3
votes
2answers
59 views

Tool to force use FILE instead of RAM

I'm wondering why there is no such tool like ram2swap, similar to cpulimit in parts. E.g. There is program daemon.bin. Let's create temporary swap file ( 1 Gb ): % dd if=/dev/zero of=tmp.swap ...
1
vote
1answer
44 views

Issues in XRDP installation on Cent OS 6.5

I already went through the similar issue tracked in Installing XRDP on Cent OS 6.5, however it haven't helped me to fix. I am using MAC and trying to install XRDP in CentOS release 6.5 (64 bit). So ...
14
votes
3answers
418 views

Move files and change ownership at the sametime

On Linux (Debian, Ubuntu Mint...), Is there any option command or something that I can use to transfer files to another user without having to do : sudo mv /home/poney/folderfulloffiles ...
3
votes
2answers
171 views

Redhat Linux: How to know my system configuration?

I am using Red Hat Enterprise Linux Server release 5.9 (Tikanga). For installation of any application, it is very important to know the system configuration, is it 32 bit or 64 bit system, Installed ...
4
votes
0answers
56 views

CHROOT : Unable to view mounted directories

I posted a question on stack overflow, but I was told that my question was more relevant to this section so I thought I'd repost it here. Here is a quick description of what I have done: I have a ...
48
votes
8answers
3k views

Does `sl` ever show the current directory?

For those out of the loop, sl is a humourous command line tool that is meant to trip people up if they mistype ls. When invoked it prints a Steam Locomotive. For example: ( ...
1
vote
1answer
25 views

Easiest way to mount Google Cloud Storage in CentOS

we use centos for some hosting projects, but nut very expertise with systems. We pretend to use a main CentOS box to mount an "unlimited" Google Cloud Drive and then share it via NFS to the rest of ...
3
votes
1answer
43 views

how to check health of hard drives?

How do I check the health of my hard drives? I know that you can do it with system rescue, but is there a way to do it from root without booting onto system rescue?
0
votes
4answers
78 views

Unwanted console text

For some reason, every time I plug in a USB device, a whole bunch of messages get dumped onto the terminal. (Saying something about device IDs, buffering modes, etc.) How to I prevent this from ...
0
votes
1answer
32 views

What is a master mode? [on hold]

I want to know what's the difference between "master mode" and "managed mode" and the advantages of each one !
-2
votes
0answers
10 views

How can I use hostapd and scan the wireless interface at the same time? [on hold]

When I run hostapd in a wireless interface I cannot use the same interface for scanning networks.
1
vote
1answer
25 views

setquota fails silently

I'm trying to set a file system quota for a bunch of users on my system with a command like: setquota -b /mntpnt < /file/with/quotas This seems to work for almost all users. However, when I do ...
1
vote
1answer
23 views

HOWTO check if a user account is blocked against /etc/shadow

After set the Account Expire parameter on /etc/shadow (field #7) to 90 days,I need to know where to look around if an user account is locked down or not after those amount of days. Right now, the ...
1
vote
1answer
36 views

Uninstall Linux on an embedded board

I am using an embedded board, a FOX G20 V with an ATMEL AT91SAM9G20 processor. I would like to know first of all, which specific linux version I am using on this board, but also, how to remove it. ...
2
votes
5answers
194 views

How to know which Linux and which version I am using

When I run cat /proc/version command in terminal, I got below output: Linux version 2.6.18-348.1.1.0.1.el5 (mockbuild@ca-build56.us.oracle.com) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-54)) #1 SMP ...
1
vote
1answer
41 views

How to find the true disk usage on my Linux box?

I have a linux box on my school's server. When I was trying to install Protocol Buffers, disk usage is reported as exceeded. So I checked my disk usage by two command on my home directory: du -h ...
0
votes
0answers
11 views

Unable to link with shared object file

I am trying to generate traces of GPGPU benchmarks on X86 cpu using GPUocelot. For this reason, I am compiling the benchmarks with -locelot and -locelotTrace linker flags. My benchmarks compile and ...
3
votes
1answer
25 views

How to update linux “locate” cache

How can i update the cache / index of locate? I installed new packages and the files are clearly not yet indexed. So which command do I have to ommit, in order for the indexer to trigger. I'm ...
0
votes
0answers
11 views

Convert rgba color value to a Terminal supported color

Randomly I will take the following example: rgba(122, 143, 186, 0.54) How can I convert this color to the closest Terminal supported color?
0
votes
0answers
14 views

Can I use KDevelop + GCC + KGDB to develop Linux modules at source level? [on hold]

Though I've been programming Windows NT kernel device drivers for 10+ years; I'm brand new to Linux module development. Under Windows NT, I can use WinDBG to visually debug my device drivers at ...
0
votes
0answers
14 views

What's the difference between LPIC-1 version 3.5 with version 4.0.0?

Can someone please explain to me what's difference in chapter headings on LPIC-1 version 3.5 and LPIC-1 version 4.0.0 ? May introduce me some good and comprehensive book relate to LPIC-1 version 4.0.0 ...
-1
votes
1answer
50 views

How to create a custom Linux distribution? [closed]

Can any one tell me the easiest way to create a system with live cd with installing function. Which can install backtrack all tools?? I need to create a custom boot animation and everything!