Networking :: Combine Two Network Pipes For MegaSpeed?
Apr 14, 2011
I have two sources of internet which I want to share and balance the load on. With one source it's easy: plug it into the wireless router and Bob's your uncle. But how would you handle two sources and get load balancing? A switch? Would that really share the load?
View 4 Replies
ADVERTISEMENT
May 13, 2011
I made a script to backup file from each host with general password in local network. This script using SSH Pass and Rsync with this
syntax:
rsync --rsh="sshpass -p password ssh -l root" hostath destinationpath
Everything is okay under 9.10 version until I migrate to Ubuntu 11.04, there is always give an error:
rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(541) [Receiver=3.0.7]
I am using bash version: GNU bash, version 4.2.8(1)-release (i686-pc-linux-gnu) and 2.6.38-8-generic kernel
View 3 Replies
View Related
Jun 24, 2010
How to create and use named pipe on linux network.ie
client - my linux machine
server - my fren's linux machine
how to communicate between these two using named pipe created in C? do u have any similar code snippet written in C??
i got one server client application,its working fine on my machine.So i want enhance that code for networking.so help in this...
View 6 Replies
View Related
May 12, 2010
My problem is that I would like to load balance or aggregate 2 separate Internet connections on my laptop. Currently a hard line ISP is not available so I'm using an Sierra Wireless 885 USB air card. Thing is the card is quite slow. I also can tether an iPhone to the laptop. The ideal solution would be to have both connections being utilized to help speed up the overall experience, even if it is only a modest gain in speed.
as I do not know much about iptables and basic TCP/IP routing, I'm finding it difficult to implement those solutions. If someone can point me in the right direction ( a slightly dumb down how:to? or better explained? )
BTW, both phone and aircard get dynamic IP's. Running Ubuntu 10.4
View 6 Replies
View Related
Apr 30, 2011
I've been using pipes and redirects for a long time and just realized that I don't know exactly how they are different. I just know that if you want to store the output in a file, then you use >. Otherwise most of the time you just use |. difference between pipes and redirects?
View 1 Replies
View Related
Jul 31, 2011
Although this is a basic stuff, but still i wonder.
Consider these two examples. code...
I wonder, why doesn't redirection work in first case? when to use redirect and when to use pipes? I have been Linux for a long time, but still this basic stuff baffles me.
View 2 Replies
View Related
Jun 4, 2010
File descriptors with pipes-Can someone help me with this three situations, what would happen?
a) a process open the same file twice and read through two file descriptors
b) a process does fork and both parent- and child-processes read parallell
c) two processes opens and read from same file.
View 5 Replies
View Related
Jan 31, 2011
has anyone seen this before, when running an ssh command as normal user via ssh i get results:
ssh picolo 'ls -d /var/sadm/pkg/* | egrep "Prod|Dev|UAT" |cut -d/ -f5;uname -r;grep -v "^#" /opt/Tivoli/lcf/dat/1/DMXAdaptiveFileSystem.dat'>>sshnotroot
and it creates file
more sshnotroot
Prod
5.10
[Code]...
View 3 Replies
View Related
May 25, 2010
I'm trying to redirect nc command output but I can't do it.
I have tried this:
And this:
But it seems doesn't work.
View 3 Replies
View Related
Jan 20, 2011
I need to find one RUNNING word in latest created logs.
and as soon as i will get RUNNING WORD , i have to execute another Unix Command.
I wrote following script code...
View 3 Replies
View Related
Aug 21, 2010
see these simple commands:
Code:
# dbus-monitor --system >> /data/eject.txt
This one works as expected ... dbus-monitor never terminates and whenever it outputs new lines, they are
[code]....
View 3 Replies
View Related
Mar 1, 2011
recently I had been to interview where I had a question to be answered, that what are advantages and disadvantages when desiging an application in linux.
View 1 Replies
View Related
Apr 19, 2011
I have three machines networked to my desktop which run a bunch of simulations in parallel. As they're running, I connect to them via SSH and screen to keep an eye on the runs and look at the output. They stay usually connected for days at a time. The SSH servers and client are running Fedora 14. Yesterday one of my coworkers accidentally yanked the plug on one of the servers while it was running. When I powered it up again, I started getting some odd connection problems. I couldn't connect to it via SSH initially because I got the Remote Host Identification Changed (RSA host key changed) error. I deleted the key in .ssh/known_hosts, which allowed me to connect, but it denied my password. I then logged into that machine locally, restarted sshd, and removed .ssh/known_hosts again. Now I can log in via SSH without problems. However, the connection dies with a "Write failed: Broken pipe" error every few minutes (as opposed to the other two machines, which stay connected indefinitely).
So my questions are:
1.) why would a power loss affect the behavior of the SSH server?
2.) why do I keep getting broken pipes now?
View 4 Replies
View Related
Feb 23, 2011
Is there already a program that reads multiple pipes or file descriptors and writes to the standard output (not splitting lines).Like cat, but reading all files simultaneously and preserving lines.It is needed to avoid coding of select/epoll loops or using multithreading in simple programs. Like "select loop for bash".
View 1 Replies
View Related
Aug 2, 2011
For example, I have a script that writes the time to a pipe in /etc/pipe. It writes continuously in a while true loop. How long will the data in the pipe be available for reading? If I only decide to read the pipe a day later with cat /etc/pipe, will I get all the time values right from the time I started writing?
Conversely, what if my loop only wrote the time every 10 minutes. Will I be able to access everything a day later?
Finally, pretend my loop writes the time continuously (like my first example) and I read the pipe every 30 minutes. If my computer shuts down right before I read the pipe, will the pipe be empty when I reboot or will it hold all that data?
View 1 Replies
View Related
May 12, 2010
Code...
how to combine a and b to c
View 8 Replies
View Related
Apr 10, 2010
I have a little test program consisting of a NASM source file and a C source file.How do I turn them into a single program?
Code:
section .data
msg db 'Hello, World!', 10
[code]....
View 14 Replies
View Related
Jul 26, 2010
I have an Acer Aspire One ZG5 running Ubuntu NBR 10.04 with an 8 GB SSD and an 8 GB SD card. Is there a way to combine the SD card and SSD so that Ubuntu sees it as one 16 GB drive. I currently have everything installed on the SSD.
View 8 Replies
View Related
Aug 27, 2010
how would I combine the 3 drives under extended. Im have issues having no drive space. so I removed some old installations and re format them but I dont know how to combine them so that their under one /home
View 9 Replies
View Related
Dec 28, 2010
I have a very old machine running Linux (Fedora 12) with 2 harddrives and a DVD RW. I also have a newer Dell computer running XP. I would like to take the 2 harddrives and DVD RW from the older machine and put them into the available slots in the Dell computer and configure it for dual booting.
View 2 Replies
View Related
Jun 8, 2011
My backup script generates 2 lengthy log file. They have the same name, but the date is appended. I want to select the oldest one, condense it with "head" and "tail" and then append the condensed version of the newer one. They seem to get tangled up.Code:
ls `find . -iname "bak-log_*"` -1t | tail -1
and
ls `find . -iname "bak-log_*"` -rt | tail -1
[code]...
View 2 Replies
View Related
Mar 2, 2011
I have installed qemu/kvm and created a Bridged network connection which works just fine(Windows 7 VM won't work in NAT mode.)
But when I try to use NetworkManager it says that I have no network connection because the network isn't managed, (I set the settings in ifcfg-br0 and ifcfg-eth0 to be managed)
The real problem is that now I can't use my VPN connections (I have many) in NetworkManager.
Is there a way to have both of these pieces of functionality?
I am using FC14
View 5 Replies
View Related
Feb 15, 2010
I have two files which I would like to combine. Each file has 2 columns.
File 1:
1 a
2 b
[code]...
View 2 Replies
View Related
Feb 28, 2010
I have an audiobook in 64 small mp3 files and I need them combined into a single file of any format in the proper order or order that I add them in. What program can I use?
View 9 Replies
View Related
Jun 28, 2010
I am trying to combine two videos into one file, so that I can have them playing side by side and in sync.Basically they are two angles of the same thing, and I want to be able to demonstrate both at once. The files are completely different formats right now (MPEG-2 and h.264), but I could convert them. Is there any way to do this, or a way I could have them both play in sync even if I can't combine them?
View 2 Replies
View Related
Nov 27, 2010
How to use ffmpeg or memcoder to join two .ogv files into a single .ogv ??Let's suppose the first .ogv video file is named as "01.ogv" and the resolution is 800*600;the second .ogv video file is named as "02.ogv" and the resolution is 720*576.I'd love to join two video files into a whole one, with the resolution 320*240.
View 1 Replies
View Related
Jul 23, 2011
Code:
#!/bin/bash
f1=apple
f2=banana
f3=grape
echo "Enter number 1,2 or 3:" # 3 is entered
read x
choice=${f+$x} # yielding choice=$f3
echo "$choice" # so $choice is, essentially, read as f3, which = grape
grape I am, essentially, trying to combine "f" and the number entered (3, for example) to create "f3", which when echoed as "$choice" will lead to grape!
View 8 Replies
View Related
Dec 22, 2010
Here i have one situation, that is to compile 1.tar, 2.tar and 3.tar files and make them into a single bin file that is ready to install
View 5 Replies
View Related
Apr 3, 2011
how to combine bash scripting with apache.
View 5 Replies
View Related
Mar 22, 2011
Combine multiple text files into one text file?
View 5 Replies
View Related