These questions are about Linux in general -- NOT specific to a particular distribution. If the question just happens to be in a Linux environment, please specify your Linux distribution in the body of your question, but do NOT use the /linux tag.

learn more… | top users | synonyms

1
vote
2answers
254 views

How to turn off Wireless power management permanently

In Linux Mint 17.3 iwconfig says the power management of wireless card is turned on. I want to turn it off permanently. sudo iwconfig wlan0 power off works, until I reboot the laptop. I read some ...
12
votes
4answers
65k views

How to create custom commands in Unix/Linux? [closed]

I'm a newbie in Unix/Linux environment. Can anyone guide me to create custom commands in Unix/Linux. Thanks in advance
0
votes
2answers
28 views

How to deploy only Linux kernel into WiFi router?

I am working on a project regarding router's firmware. I analyzed several of the open source projects (OpenWrt,DDWrt,tomato,...) and used OpenWrt tools to build custom firmware for the router, but my ...
0
votes
1answer
23 views

Can I reclaim “unrecoverable partition” on storage device (RAID set) - no data recovery required

I would like to know if I can reclaim all of my storage. I do not need to recover data, I am free to be as invasive as I need to be. Situation: two controllers, each with eight disks, two RAID sets (...
0
votes
0answers
8 views

Why do some distros come with LAMP installed?

Ubuntu comes pre-installed with PHP, MySQL and Apache. OSX does also. Whats the reason for bundling them with the system?
2
votes
3answers
42 views

Getting console width using a bash script

I'm encountering an issue where I am trying to get the size of a terminal by using scripts. Normally I would use the command tput cols inside the console, however I want to be able to accomplish this ...
2
votes
1answer
847 views

azap from LinuxTV dvb-apps strange signal behavior with Hauppauge WinTV-HVR 950Q

What I want to do I have a Hauppauge WinTV-HVR 950Q USB-TV-Stick. I want to use this stick to successively tune to and read in a certain live TV stream. What I do I trigger a scan and save the scan ...
4
votes
1answer
1k views

How many files can be saved in one directory on Linux? [duplicate]

Possible Duplicate: Number of files per directory I need to save 1 million static html files in one directory as there is not possible to group the files into the directories (all files must ...
28
votes
3answers
53k views

How to use GoToMeeting in Linux

My employer wants me and the team of developers to communicate with them using gotomeeting.com service. Is it possible to use GoToMeeting in Debian? I know that officially GoToMeeting supports only ...
2
votes
1answer
1k views

Intel Skylake + DisplayPort 1.2 MST/Daisy chain on Linux

I am planning to buy hardware for using DisplayPort 1.2's MST feature to daisy chain two monitors in combination with the Intel Core i5 6600 Skylake processor on Ubuntu. Is this supported yet with the ...
3
votes
1answer
361 views

How does the Linux file structure work?

I see the different folders bin, dev, mnt, proc, srv, sys, etc. What are the properties of all these different folders? What are their purposes? Are there files in some of them that I should not ...
-2
votes
0answers
13 views

(SOLVED) No Internet through Terminal on Virtualbox without Proxy [on hold]

I am currently using Virtualbox on my Windows PC to run Linux, but when trying to do any terminal commands that require internet, such as apt-get update or ping 8.8.8.8 I get an error (that changes ...
0
votes
0answers
5 views

How to get active platform driver which used my MUSB

Problem I developing android application which using libusb to work with particular device. But this isn't not a question related to programming. I noticed that on some devices ISOC requests ...
-2
votes
3answers
36 views

How to set own ip address for localhost [on hold]

I have installed centos 7 i want work on Linux,Apache,Mysql,php(LAMP). Can any guide me how to set my own ip config to work
0
votes
1answer
2k views

Mint 15 on Lenovo G700: wired internet not working (Atheros QCA8172)

Mint 15 doesn't see internet after installing it in dualboot with windows 8 (in Windows internet works well). My network card is Qualcomm Atheros QCA8172 Fast Ethernet (rev 10). What I did: Install ...
0
votes
0answers
11 views

why does my rdseed loop does not work

I have this script. This goes in every folder in that directory.These folders contain Sfile example S20120213.014536. After going to the folder it do the command rdseed -d -R -p -f (Sfilename). The ...
0
votes
0answers
13 views

Which SCSI Command can get the information similar to SMART attribute?

There are two questions. http://www.tldp.org/HOWTO/SCSI-Generic-HOWTO/index.html 1) From above site, I learned How to send SCSI Command and receive data from SCSI device. Also, I heard SCSI ...
1
vote
0answers
15 views

Annoying Issues With Window Manager (dwm)

So at work one of the allowed WMs is dwm 6.0, which is great! I've been using it as an alternative to KDE to keep on top of the many windows that can be generated in my line of work. I'm noticing ...
1
vote
0answers
58 views

perf_events over ssh (osx -> linux) freezing and unresponsive

I'm using linux perf_events and sometimes am having trouble with the perf report (which is a terminal application) view freezing up. I'm interacting with a remote linux server which is running perf ...
0
votes
0answers
21 views

Any pc with arch or standard linux(umodified) preinstalled? [on hold]

I want a pc with one of those for linux without the hassles of installing other systems. Im okay if its not the most powerful.
1
vote
1answer
18 views

How to put initramfs and kernel on two separate partition?

I'd like to put the initramfs on a USB device will keeping the linux kernel on the SSD, so I get the fast boot while protecting my encryption settings on the USB device. Any idea how to do that ?
0
votes
0answers
8 views

How to configure pure IPv6 hotspot on Debian Linux?

Due to testing purpose I would like to create a pure IPv6 wifi hotspot on my Debian Linux 64 machine. Therefore I do (see screenshot): Open the Network tool Click "Als Hotspot verwenden ..." ("...
0
votes
0answers
4 views

How do I route Internet from wlan0 to local network on wlan1 and eth0 in Linux?

I want to connect eth0 and wlan1 as one local network plus route the Internet from wlan0 to the local network. Linux (Debian, Raspbian, Linux Mint) easily bridges Ethernet to Ethernet but I run into ...
0
votes
0answers
5 views

Connect as client to Ipsec with OpenSuse Linux [duplicate]

A former co-worker established an set of AWS instances. One of these is an IPSec VSetup a IPSec/L2TP VPN server. I can SSH into this server and I have a username and password setup on this opensuse ...
-2
votes
2answers
41 views

has a file changed of value [on hold]

im trying to use pyinotify to detect if a file has changed. managed to do it this way def status(argument): global email_alarm_status global new_email_alarm if not email_alarm_status: ...
2
votes
1answer
17 views

Connect as client to Ipsec with OpenSuse Linux

A former co-worker established a set of AWS instances. One of these is an IPSec VSetup a IPSec/L2TP VPN server. I can SSH into this ec2 instance, and on this machine. I do have a username and ...
0
votes
1answer
23 views

Linux USART Serial Port

I'm trying to set up a USART serial port on a custom board with a SAMA5D36 processor, but I am unable to read in data from a connected device. When I run setserial -g /dev/ttyS1 I get the following ...
4
votes
2answers
2k views

Run script every 30 min with systemd

I would like to execute a script every 30 min after booting into the system. I know you can use cron, but I don't plan to use this feature often therefore I'd like to try it with systemd. So far I ...
1
vote
0answers
30 views

AppArmor is causing Firefox segfaults

I realise this is probably a bad question but I'm stuck. After a lot of googling I'm struggling to fix the problem. I've been trying to get AppArmor to work on Debian. I've been following the ...
6
votes
3answers
251 views
+50

How to Allocate More Space to Swap and Increase its Size Greater than Ram?

Situation: increase swap size (/dev/sda3) greater than Ram (8 GB) when HD 128 GB Motivation: 8 GB RAM is too little; 30 GB free space in my SSD; I want to turn 20 GB to SSD swap Characteristics of ...
0
votes
2answers
11k views

How can I see settings of the email server?

I have root access to a Linux server (CentOS 5.10). I want to see the email server's settings such as whether SMPT is working, wheter there is an email server, port number, does it require SSL, what ...
1
vote
2answers
47 views

Script to remove files based on threshold value [duplicate]

I have some old file in my Linux server and I need to remove those files which are older than 5 days based on the threshold value. log_space_checker() { Use=$(df -kh /logs | awk 'END{gsub("%",...
0
votes
1answer
14 views

Why is fdisk not returning anything inside LXD container

I am little confused , i have a lxc container and if i do lsusb inside the conatiner i get the following output root@blunt01:/dev/bus/usb/002# lsusb Bus 002 Device 004: ID 0424:2512 Standard ...
5
votes
1answer
2k views

One host, two virtual machines that cannot ping each other. How to solve

We have Virtual Machines operating within the KVM environment. We setup one as a dev server running Apache etc., and the other as a Windows development environment. The two environments are setup ...
1
vote
1answer
22 views

perl + uniq characters before variable

Please advise What is the meaning of the characters "%%" before the variable EOF ? $LINE =`tail -1 $FILE `; chomp($LINE); if ($LINE eq "%%EOF") { . . .
0
votes
0answers
25 views

Turn off camera driver in Android programmatically?

How can I turn off camera driver in Android programmatically? According to this website, and the image below, there's a camera driver inside the linux kernel. Is there a way to disable it temporarily?...
3
votes
3answers
55 views

`sed` regexp error

I'm trying to write an alias to get the ip of a docker container. The command is the following: docker inspect redis | grep IPAddress | awk 'NR==3{ print $2 }' | sed 's/[^"]*"\([^"]*\)".*/\1/' If I ...
1
vote
0answers
644 views

Creating ISO Bootable Image from a CentOS (Linux) system

I have a Linux machine (CentOS 5.8) on which I have installed multiple applications and tools (with yum and few others after compiling the source code) on it. As I have spent considerable time in ...
1
vote
4answers
2k 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
15 views

How to set my own ipaddress for centos 7 via virtual machine [on hold]

Guys i am new to linux i have installed centos 7 via virtual machine in my laptop. But laptop changes one place to another for working. can set my own ipaddress for not change from place to place. I ...
3
votes
1answer
4k views

Why does startx give a black screen, with no errors?

I recently wanted to solve a problem with using a second monitor from my laptop that is running debian (jessie) but because I lack knowledge things didn't go as planned. Now I am getting booted into ...
3
votes
1answer
1k views

load module via /etc/modules

I want to load my kernel module hello.ko on boot in Ubuntu 12.04. I placed it in /lib/modules/3.8.0-31-generic/kernel/ubuntu/hello.ko, ran depmod -a, and added "hello" to /etc/modules. However, when ...
0
votes
1answer
47 views

why linux reuse 'time_wait' port?

As I know, tcp port in 'time_wait' stat cann't be used. However, in my experiment, server reuses the 'time_wait' port? Why? Firstly, in client machine, type command ehco 40000 40001 > /proc/sys/...
0
votes
0answers
13 views

USB 3.0 camera recognized under the live boot (try Ubuntu) but not from HDD

Note: I asked the same question on Ask ubuntu USB 3.0 camera recognized under the live boot (try Ubuntu) but not from HDD if any one think that it should be only in one site please let me know. I ...
3
votes
4answers
73 views

How can I make atomic incremental backups of a running linux system using freeware?

I'm looking for an incremental backup tool to use on a running, disk based linux system, such as ubuntu or the like, and a tool which is freeware. Clonezilla can do accurate backups but only when ...
1
vote
1answer
17 views

Failing to create /dev entry from sysfs, No such device or address

I've got some sort of home entertainment system running an old version of Linux 2.6. It has a SATA > USB bridge system and a couple of USB ports. What I want to do is use it as Network Attached ...
1
vote
1answer
18 views

Keep a live clone of a machine into another

I am trying to find the easiest and most elegant solution to keep two desktops running that are clones of each other. I have a machine running cobbler. Every once in a while a few delicate changes are ...
0
votes
0answers
29 views

Exactly what aplications and tools are not installed in a GNU/Linux base-system installation [on hold]

They are a lot type of installations like netinstall, the distro with a DE or without one. My question is what are the excluded or ingnored packages and aplications in a base-system installation. E.g. ...
11
votes
1answer
1k views

Why are there two different values for the size of a drive and how to reconcile them with device-mapper and LVM?

I have a 1 TB drive attached via USB. It contains an LVM physical volume filling the entire device (without any partition table). When I tried to extend a logical volume by using the entire PV, the ...
2
votes
2answers
28 views

Systemd - how service can determine first run from restart run?

I would like to have a service which diffrent behave on first run and on restart of service. Is this possbile with systemd? (I use systemd in my embedded os). I tried with ExecReload and ExecStart, ...