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

2
votes
1answer
24 views

How to handle DHCP on two network interfaces, one clobbers the other's /etc/resolv.conf

I have an embedded Debian Linux system. It has two network interfaces, eth0 and ppp0 via a cell modem. The problem I have is that when the system boots up it gets an address via DHCP on eth0. If ...
4
votes
4answers
150 views

Login into a GNU/Linux distribution is taking too long

So, When I try to login with my username and password (in tty), and insert a wrong password, I need to wait around 5 seconds for the system to tell me that the password is wrong. Why the validating ...
1
vote
0answers
21 views

pdf viewer for text documents saved as images — bad rendering

The situation I have in mind is a .pdf document obtained from a scan, so that many readers view it as an image (as opposed to text) and render it badly (see the screenshot below) My personal user ...
1
vote
0answers
31 views

Ctrl+C kills PuTTY

I am trying to help a co-worker, where upon logging onto our RHEL server via PuTTY, if they hit Ctrl+C (or type exit), it kills the session. I checked their default login shell is KSH, same as mine. ...
0
votes
1answer
35 views

Linux PID namespaces

I have a question about number of PIDs a process has in context of Linux PID namespaces. Suppose: (NS = namespace) P1 (PID NS1) -> clone -> P2 (PID NS2) -> clone -> P3 (PID NS3) How many PIDs does ...
1
vote
1answer
21 views

Loading module 8192cu fails

I 'm running Angstrom Linux (3.0.7) on embedded device BeagleBoard-xM. I want to load a module (downloaded from here) and copied into: /lib/modules/3.0.7/kernel/drivers/net/wireless/rtlwifi/8192cu.ko ...
0
votes
0answers
25 views

How to copy remote files to local if you don't have permission on the remote directory? [duplicate]

We have a Linux Server where our site is hosted. The server is a tomcat server and I want to access the logs located at /var/log/tomcat7. I wanted to tail the logs of the remote server. First I did ...
0
votes
0answers
21 views

wget failing when I enter variable name in command

I have a small bash script to download a file from my webserver. I pass the $File variable through the command line and then insert it into the wget command as follows: File=${1} wget -a ...
1
vote
1answer
26 views

Can I enable framebuffer support in xterm [closed]

Can I enable framebuffer support in xterm? If yes, how can I do it? If no, what terminal emulator have a framebuffer support?
1
vote
1answer
34 views

Is a SuperServer 6017R-72RFTP Debian-compatible? [closed]

Can I install Debian on Supermicro SuperServer 6017R-72RFTP? I was investigating Supermicro webpage and at some point it got confusing because I was not sure do I and for I have all necessary ...
0
votes
0answers
25 views

How can I enable framebuffer in Debian

How can I enable framebuffer in Debian console? This is what I've already tried: Add the following lines to the "/etc/default/grub" file: GRUB_GFXMODE=1024x768 GRUB_GFXPAYLOAD_LINUX=1024x768 ...
1
vote
1answer
32 views

Grub2 on wiped MBR

I'm trying to test grub2 on puppet in a VM and one of the tests is to make sure it'll still work on a wiped MBR. So I wipe the MBR with dd if=/dev/zero of=/dev/vda bs=512 count=1 Then I try to ...
0
votes
4answers
47 views

Linux routing tables

I'm trying to learn Linux routing tables and ran into bit of snag. In the example below I'm not sure what is happening. My understanding is 0.0.0.0 means that for line 1 and 2 any packets outside of ...
3
votes
1answer
12 views

Linux to linux USB storage?

I was going to put together a small AoE setup for a small cluster, however 10Gb NICs are still rather expensive. Using superfast USB seems to provide the bandwidth I'm looking for at a much lower ...
23
votes
2answers
2k views

Why do some Linux distributions still have /dev/ttyS0, ttyS1, etc., even though newer computers don't have such a serial port?

Many new laptop and desktop computers do not have 9-pin/25-pin serial ports. Why do many Linux distributions still contain /dev/ttyS0, dev/ttyS1 device files? Since udev can create the device files ...
4
votes
3answers
326 views

Disable daylight saving time in Debian Linux

I do not want my system to use daylight saving time. root@ali-debserver:~# cat /etc/timezone Asia/Tehran root@ali-debserver:~# cat /etc/default/rcS # # /etc/default/rcS # # Default settings for the ...
0
votes
1answer
68 views

GNU/Linux licensing confusion

I am building a Gnu/Linux distribution. I am keeping the kernel open source but the desktop environment and the programs(the ones built by me) on top of it will be propietary. Is it possible? The GNU ...
1
vote
1answer
41 views

Can a real-time process exist in the 'expired' queue of linux kernel?

In the Linux kernel 2.4: Real-time processes are given a priority of 0-99 and they co-exist in the ready queue along with the nice processes (who's priority goes between 100 and 139). But real-time ...
-2
votes
0answers
13 views

Changed permissions on /usr/lib [duplicate]

I changed permission on /usr/lib by doing a recursive call to chown by using sudo. And after that, the system has just been weird. I don't have any network/audio interfaces working; pretty much the ...
2
votes
2answers
48 views

How to edit /etc/inittab?

I want to edit /etc/inittab in order to get a login prompt on the serial console once the system boots. By default, inittab file complains to be ro. I tried both gksudo gedit /etc/inittab and sudo vi ...
1
vote
2answers
43 views

install cisco VPN client on linux in place on WIN XP

I am currently using Windows XP with Cisco VPN Client version 5.0.01.0600 I would like to replace Windows XP with Linux, either Red Hat version 5.x or 6.x My question is, what equivalent VPN ...
8
votes
6answers
1k views

What are the platforms that Linux is being used frequently on besides x86?

What are the platforms that Linux is being used frequently on besides x86? I know that x86 dominates. But, what are other platforms that some people also use Linux for? Are there links for ...
1
vote
2answers
81 views

Linux Shell fundamentals: How can I check the file descriptors status, (where are redirected to) right now without lsof?

I am learning about file descriptors for the case of Linux, and I was wondering if there is any command showing a complete list that allows me to know where is each one redirected to in this moment. ...
3
votes
1answer
32 views

Confusion regarding the term 'mount' in Linux

I am reading the man page of mount and clone. I understand that mount is used to add a directory hierarchy to a mount point (a directory). In clone's man page, under the CLONE_NEWNS section, they ...
2
votes
1answer
31 views

Accidentally typed crontab with just the dash

What happens when I type just "crontab -"? The "e" didn't take before I hit Enter. It just moved the cursor to the next line and I had to Ctrl+C to exit, but I'm not sure what it did exactly. I'm on ...
1
vote
0answers
52 views

ERROR: Failed to build linux

While compiling linux, I get following error: [ALL ] CC drivers/usb/otg/ulpi_viewport.o [ALL ] LD drivers/usb/phy/built-in.o [ALL ] LD drivers/usb/storage/built-in.o [ALL ] ...
0
votes
2answers
18 views

wpa_supplicant ignore some networks

I am using wpa_supplicant and would like to add a rule so that my machine connects to any open network. I can do this with: network={ key_mgmt=NONE } Now I would like to blacklist some ...
0
votes
1answer
54 views

Recursively delete hidden directory & its files?

I want to delete all hidden directoris from a directory and its sub-directory. I also use rm -rf .directory_name this command is iterative command I want to a recursive command. Please anybody help ...
0
votes
1answer
26 views

Getting black controls when running linux on vmware on windows

I want to run ubuntu 12.04 LTS. I want to put the graphics in it, but when I open it, I get this. I used this command sudo apt-get install --no-install-recommends ubuntu-desktop to put the desktop ...
1
vote
1answer
73 views

Why is swap used when a lot of memory is still free? [duplicate]

In the below 2.6.18 Linux Kernel (Red Hat) server, there is a lot of free memory, but I see some swap is used. I always thought of swap as an overflow when memory has been depleted. Why would it ...
0
votes
0answers
15 views

Citrix on Wine under Centos 6.5 printing garbage characters

I have setup Centos 6.5 and wine is used to run Citric Apps. When printing from Citric it is printing garbage value. But printing fine from Centos. Printer is HP Laserjet pro 400 on network.
1
vote
1answer
38 views

Will having dozens of inactive logins hurt performance

I work on a cluster shared with ~20 users, many of them operating remotely. It's quite common to open the login node, type users and see ~100 users listed, mostly the same user logged in multiple ...
4
votes
1answer
46 views

Linux: How to calculate/find the slackspace of a file?

How would I go about finding the slackspace of a file, for instance. fls -o 63 /images/diskimg.dd istat -o 63 /images/diskimg.dd 31 icat -o 63 /images/diskimg.dd | xxd | less In which of these ...
0
votes
3answers
62 views

send email to approximately 10,000 users in bcc using mailx

We have a requirement to send an email to ~ 10,000 users in BCC. We have used mailx command to send email to 10-15 users by using -b option and delimiting all the email id's with "," is there any ...
0
votes
1answer
66 views

Understand debug messages from sshd [closed]

I'm using OpenSSH_5.8p1 in my machine,I'm connecting my machine using putty client but its slower so I have ran sshd in debug mode and found following messages can any one explain me in detail about ...
21
votes
3answers
1k views

When is a reboot required?

Apart from upgrading the kernel, are there any changes to a Linux system that require a reboot? I know there are situations where a reboot makes things easier, but are there any that cannot be ...
2
votes
1answer
56 views

inotifywait not working when folder is deleted and re-created

I am trying to use inotifywait to monitor a folder: inotifywait -m -r /home/oshiro/Desktop/work_folder The command works and if I create files in that folder, all seems to work correctly. While ...
3
votes
1answer
24 views

What is the interface scope (global vs. link) used for?

Routing table entries have an attribute scope. I would like to know how the change from global to link (or the other way round) affects the network system.
1
vote
1answer
20 views

How to use one nic for storage traffic & other for network traffic in Linux(Slackware)?

Problem I have a Linux machine (Slackware) with two network interface cards and i want to use one interface for network traffic and other for storage traffic . As this is Slackware i dont know this ...
1
vote
0answers
106 views

Possible issues with SSD SATA3 drive

While investigating the issue with my SATA3 SSD drive being recognized as SATA2 (for some reason had to change SATA ports to fix it) I noticed the following messages when I run: $ dmesg | grep ...
1
vote
0answers
22 views

OpenVPN not connecting on one network?

I've been using my VPN (privateinternetaccess) for almost a year. I've been connecting through the same gateway, using the same username and password, with the same settings. Yesterday, it randomly ...
2
votes
2answers
30 views

Where kernel configuration file is stored?

I currently run Angstrom Linux 2.6.32. I intend to upgrade linux kernel from 2.6.32 to 3.0.7. For this reason, I had to configure kernel 3.0.7 running make menuconfig. Now, I want to compare the new ...
1
vote
1answer
35 views

Fix for: /usr/lib/libnssutil3.so: undefined reference to `PL_ClearArenaPool'

Error occurs during attempt to make via: cc -m32 -s -o ford_check_password ford_check_pws.o wsl4_cookie_auth.o fds_auth.o -L. -L/ford/thishost/proj/dmadmin/ford/lib -lcrypto -lldap50 -lssldap50 ...
0
votes
0answers
12 views

Gentoo XEN host + EFI + MDADM + IMSM RAID5

I have a workstation with a working Gentoo setup. It uses IMSM FakeRAID (level 5) with 4 disks. Booting done without bootloader using Linux kernel EFI STUB. System works fine. Now I need to setup XEN ...
-1
votes
1answer
41 views

Removing files and symlinks like /etc/*release. Could it cause issues?

I just got a VM running on CentOS 6.5 and ls -l /etc/*release returns a number of files like /etc/centos-release, /etc/lsb-release, and /etc/redhat-release. The last one, /etc/redhat-release, is a ...
4
votes
2answers
80 views

How to kill a process started as daemon?

I start a process using foo &. It outputs something like: [1] 16915 This is the process id, I guess. How can I store this number into a variable named MY_PROCESS_ID (for example)? Then I ...
3
votes
2answers
75 views

Denying “/opt/” access for SFTP Users other than particular dir

This is my first (newbie) post here in unix stackexchange. I want to use my WebServer (Debian) as SFTPServer giving access to particular employees. The dir structure is as follows under root: ...
1
vote
1answer
37 views

init: /etc/init.conf: Unable to load configuration: No such file or directory

Running Linux 6 on VMWare, I noticed this in the system message log: init: /etc/init.conf: Unable to load configuration: No such file or directory What's the cause of this error? How do I ...
1
vote
0answers
38 views

Mount EXT3 with 16KB blocks

I have a failing Sparc based Netgear ReadyNAS that uses LVM on Raid with EXT3 partitions with a 16KB block size. I would like to pull the drives out of the NAS and mount them read only in a Linux box. ...
0
votes
1answer
78 views

Debian and Systemd: breaking ordering cycle error

I'm a new embedded developer I'm trying to make systemd 37 work with freescale vybrid board (A5 and M4) running on linux-3.0 After boot with some breaking ordering cycle error, I check with ps ...