0
votes
0answers
5 views

Connecting to two ISP in local network using two different network

I have a single network interface eth0, We have two internet providers one ISP using modem IP 192.168.1.1 (BSNL India) Other ISP modem IP was 192.168.2.1 (Airtel) now when ever my internet goes down ...
0
votes
0answers
5 views

Configuring RAID on a running Ubuntu 14.04 Server

First please bare with me as while I'm no total newbie to Linux this is my first venture into running and administering a webserver. I'm currently renting a dedicated server which I thought was ...
0
votes
0answers
9 views

How to run Firefox in script-mode

I have a small problem. I want to save web pages using Firefoxs "SAVE" button and then click the "Next" button to the next page and save it. In total I need to store 1000 pages. Apparently I can't ...
0
votes
0answers
16 views

Pipe to `ls` Not Working as Expected [duplicate]

When I issue: [dave@dhost ~]$ which tar | ls -l I get the output of ls -l of the pwd. I expected to get: -rwxr-xr-x. 1 root root 395472 Feb 21 2013 /bin/tar Why doesn't the pipe work as I ...
0
votes
1answer
22 views

sudo as another user with their environment

$ whoami admin $ sudo -S -u otheruser whoami otheruser $ sudo -S -u otheruser /bin/bash -l -c 'echo $HOME' /home/admin Why isn't $HOME being set to /home/otheruser even though bash is invoked as ...
0
votes
0answers
4 views

Copy FLAC tags to MP3 files?

I have a number of FLAC files that I'm converting into MP3 files with the following: flac -cd file.flac | lame ... - file.mp3 Is there a utility which will copy Vorbis (FLAC and OGG) metadata, ...
0
votes
0answers
15 views

simple smtp functionality for CentOS 7, how do I set it up?

In a CentOS 7 server, I need extremely simple email functionality. How can I most simply configure my CentOS 7 server to provide the very simple functionality described as follows? Here is the use ...
1
vote
0answers
8 views

Linux Apache VM Port Issue

I have a RHEL VirtualBox VM in bridged mode so it can be accessed from the LAN. RHEL hosts an HTTPD server configured to listen on ports 80, 8080 and 8181. netstat -an | grep :8 confirms that port 80, ...
0
votes
1answer
24 views

How i make this script execute every minute without cron? [duplicate]

I have this: #!/bin/bash wlan=`/sbin/ifconfig wlan0 | grep inet\ addr | wc -l` if [ $wlan -eq 0 ]; then echo wlan0 not connected, connecting... echo sudo ifup wlan0 logger wlan0 reconnected. echo ...
0
votes
0answers
19 views

Can I find out if a given ext4 block is in the inode table, and if so, can I pick it out of a journal with no header by hand?

So en route from my old laptop to a new one my old laptop's hard drive got some physical damage. badblocks reports 64 bad sectors. I had a two-month-old Ubuntu GNOME setup with a split / and /home ...
0
votes
1answer
16 views

Disable log of specified crontab item

How can i disable logging for specified item/line in crontab? (i´m on debian/raspbian) I have a script that checks if wlan0 is up every minute, but i don't like that cron logs every minute on syslog ...
0
votes
0answers
4 views

What is MCH_SSKPD warning in dmesg?

While i was reading dmesg log just to check that everything is fine, i met [ 18.956187] [drm] Wrong MCH_SSKPD value: 0x16040307 [ 18.956190] [drm] This can cause pipe underruns and display ...
0
votes
0answers
7 views

Debian Linux - Ubuntu - Logs cleared for last and lastb, but not /var/log/auth.log after new year

So like the title says, I logged into my server and I noticed last and lastb seem to have been reset sometime before 00:48 after the new year. Is this intentional to have it reset, or does it only ...
0
votes
1answer
14 views

Please set env variable CHROME_BIN

> node node_modules/karma/bin/karma start test/karma.conf.js INFO [karma]: Karma v0.12.30 server started at http://localhost:9876/ INFO [launcher]: Starting browser Chrome ERROR [launcher]: Cannot ...
0
votes
0answers
12 views

Why does having cron run a remote command over ssh on a Cisco router get interrupted?

I have been tasked with making sure that if a particular server at work dies, we know about it right away. Because I'm not there (no one is really), I have written a script to run on my home router ...
1
vote
0answers
15 views

Bash Executing Script from within Script Causes Echo and Read Issues [on hold]

I appear to be having unexplainable issues with scripts run from within a subscript. I've been unable to acquire a solution so I will give you what I can to help me solve it. Problem: when a script ...
1
vote
0answers
11 views

userns container fails to start, how to track down the reason?

When creating a userns (unprivileged) LXC container on Ubuntu 14.04 with the following command line: lxc-create -n test1 -t download -- -d $(lsb_release -si|tr 'A-Z' 'a-z') -r $(lsb_release -sc) -a ...
0
votes
1answer
5 views

Combining parts of original Android with newer sources to create a new image [on hold]

Hi I wanted to talk to the pros on the compiling and decompiling Android source and binaries respectively. Is it possible to decompile an Android OS running in a device and get its source, so that you ...
0
votes
0answers
12 views

hooking up dovecot/postfix to mysql on CentOS 7

On a CentOS 7 web server, a java web application with a mysql database needs to be able to process incoming email. This means that each email message received by a specific email address needs to be ...
5
votes
0answers
28 views

Why file-nr and lsof count on open files differs?

I am running into a problem all of a sudden; all my applications and the server was running fine and all of a sudden I see the number of open files shoot up. I am checking it with this command: cat ...
0
votes
2answers
13 views

Are the size of a memory page and the size of a file system cluster always the same?

From http://en.wikipedia.org/wiki/Page_%28computer_memory%29 A page, memory page, or virtual page is a fixed-length contiguous block of virtual memory, described by a single entry in the page ...
0
votes
0answers
5 views

How to relaibly pair a bluetooth device?

I am trying to connect a Wii Board to a Linux (RPi and Ubuntu) so that it is available to the system whenever I switch it on with the button. The current information about this is quite scattered and ...
4
votes
7answers
96 views

bc output binary as nibbles separated by whitespace

I'm debugging code which contains quite a few bit shift operations, and I'm using bc a lot to look at what's happening on the bit level. Here's what I use: $ echo 'obase=2;598980975283696640' | bc ...
1
vote
0answers
30 views

Why doesn't the owning group get the executable bit? [duplicate]

Playing with ACL's: [root@rex web]# pwd /media/web [root@rex web]# ll -d drwxr-xr-x. 2 root root 4096 Jan 1 14:31 . [root@rex web]# setfacl -m d:g::rwx . [root@rex web]# setfacl -m g::rwx . ...
5
votes
0answers
24 views

HURD: Why is remote process not killed?

On most UNIX systems this will not leave a process running: ssh example.net sleep 1000 <<CTRL-C>> I have tested this behaviour on aix centos debian dragonfly freebsd hpux irix mandriva ...
1
vote
1answer
21 views

Setting up permissions for common folder

I am trying to setup a little home network using Linux as the File Server and have run into a bit of problems w.r.t. to folder permissions that I can't seem to solve. The setup: An Ubuntu 14.04 ...
0
votes
1answer
16 views

Broken libc6 makes system unbootable when I install packages via apt-get

I tried to install Skype on my amd64 Debian 7, after believing the page that told me to upgrade libc6 and allow the x86 architecture. When I started downloading such packages and upgrading libc6 my ...
10
votes
1answer
309 views

mistakenly deleted /boot folder and rebooted

I mistakenly deleted the /boot folder from my filesystem, rebooted, and all I get now is this: error: file '/boot/grub/i368-pc/linux.mod' not found. grub rescue>
1
vote
0answers
5 views

bootup hangs on “started monitoring of lvm2 mirrors”

Recently I had some problems with hard disk. I think I solved that problems, but now my computer (with Debian) doesn't boot up. It hangs for several minutes on "started monitoring of lvm2 mirrors" ...
2
votes
1answer
9 views

Mapping metadata with avconv does not work

The way I understand man avconv (version 9.16-6:9.16-0ubuntu0.14.04.1), the following command should convert input.ogg to output.mp3 and carry over metadata: avconv -i input.ogg -map_metadata 0 ...
0
votes
0answers
15 views

Blocked by “E: Sub-process /usr/bin/dpkg returned an error code (1) ”

When I tried to install "php5-mysqlnd", my computer was blocked and the installation was blocked during the configuration, and now I have a lot of problems. Here is my dpkg -C output: The following ...
0
votes
0answers
8 views

Dead key not working with konsole, yakuake

After setxkbmap fr, dead keys do not work under konsole and yakuake (typing the dead key ^ immediately prints a ^, rather than wait for the next character), while they work in xterm. The font I'm ...
1
vote
0answers
13 views

split accents in w3m

I am trying to use w3m to view html email (via mutt). Currently, accented characters (represented as HTML entities in the source, using a console and console font that supports accents) are rendered ...
0
votes
0answers
11 views

unable to mount disk in opensuse 13.2 KDE 5?

I am Using Opensuse and Linux mint 17.1 and when I open dolphin and open mint partition I get an error: When I run as root: $ sudo dolphin I am getting this error: dolphin: cannot ...
1
vote
0answers
10 views

Sane can't see Samsung CLX-3305W network scanner in Ubuntu 14.04LTS

I've installed a new Samsung CLX-3305W multifunction printer/scanner a couple of weeks ago on a dual boot system with W7 on one physical drive and Ubuntu 14.04 64-bit on a separate drive. The printer ...
-3
votes
0answers
29 views

I need a Shell Script to login into one Unix Machine [on hold]

I am Pretty new toShell Scripting. I am looking for a Script which will have the username and password credentials to log on to one particular server and when I execute that script it has to login ...
0
votes
0answers
18 views

How to delete temp folders created for live booting?

I have followed this document for live USB creations for opensuse13.2, https://wiki.archlinux.org/index.php/USB_flash_installation_media. Accidentally, i have used sd instead of sdx, hence it created ...
1
vote
0answers
10 views

Method to convert simultaneous key chord / letter key combo into another key?

I'm looking for a method to make simultaneous key presses trigger another, e.g. for the keys W, E, F, pressed simultaneously, to trigger another key press, say, Ctrl+Alt+Esc. My ultimate goal (in ...
-1
votes
0answers
23 views

Is the Linux/Ubuntu supports Adobe Dreamweaver CS6?

I using Ubuntu Mate.Is that support Dreamweaver, or else suggest me an IDE equal to Dreamweaver.
0
votes
0answers
33 views

What is the command for finding some counters in linux?

I am developing a Java swing application to find the Linux performance counter values. Till now I got command for System - vmstat Memory - cat/proc/meminfo Disk - iostat -dxm /dev/sda Now I want to ...
0
votes
0answers
6 views

Crouton with kali linux and external wifi adapter

Is it possible to make kali or linux installed with crouton to see the external wifi adapter so I can use it in monitor mode/etc?
32
votes
4answers
1k views

How to kill a runaway cat?

Many times I accidentally run the cat command on files have contents up to few thousand lines. I try to kill the cat command with Ctrl+ C or Ctrl+Z, but both only take effect after the total output ...
0
votes
2answers
8 views

Where is the memcached configuration file in archlinux?

I can't find a configuration file for memcached (1.4.21-1) on archlinux. I have looked in /etc/ and /etc/conf.d/ . Is there a config file? And where can I find it?
0
votes
0answers
6 views

How to hint font dejavu sans mono on OpenBSD

The default DejaVu Sans Mono font in OpenBSD xterm looks too fat. Settings in ~/.Xdefaults are: xtermfaceName: DejaVu Sans Mono xtermfaceSize: 12 How to hint this font on OpenBSD (e.g. by ...
0
votes
0answers
22 views

Black screen after resume?

I have an Asus laptop (Cr400) running Mint 17.1. If the machine is put into sleep and then resumed, I get a black screen. I can use Ctrl -Opt-F1 to switch to a command line, but that hangs at a ...
0
votes
2answers
27 views

how to print ps header when using pipe in linux [duplicate]

how to print ps header when using pipe in linux this normal ps output $ ps -ef UID PID PPID C STIME TTY TIME CMD root 1 0 0 17:00 ? 00:00:02 ...
0
votes
1answer
28 views

For loop brackets - C like syntax

When i am using the below syntax to iterate why two brackets are needed ? for (( expr1; expr2; expr3 )) do command1 command2 .. done and the below code doesn't work ? and throws error "syntax ...
0
votes
1answer
23 views

bash shell - how to do nested loop without “syntax error: operand expected” [duplicate]

I am trying for i in {4..100} do is_prime=true a=$(($i-1)) for divider in {2..$a} do b=$(($i % $divider)) # <-- line 9 [ $b -eq 0 ] && echo 'y' #is_prime=false done [ ...
4
votes
2answers
114 views

Using | pipe character from a $variable makes it treat as just another argument in bash; how to escape it?

I have a bash script like this export pipedargument="| sort -n" ls $pipedargument But it gives the error ls: |: No such file or directory ls: sort: No such file or directory It seems to be ...
1
vote
0answers
21 views

Unable to create a configuration directory for [FishShell] Please set the $XDG_CONFIG_HOME variable

I'm getting this error when starting fishshell: melanie:~ melanie$ fish fish: Unable to create a configuration directory for fish. Your personal settings will not be saved. Please set the ...

15 30 50 per page