LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 10-22-2008, 01:36 PM   #1
tequesta
LQ Newbie
 
Registered: Oct 2008
Location: Argentina
Distribution: OpenSUSE
Posts: 3

Rep: Reputation: 0
rsync between 2 boxes using usb cable


Hello boys, this is my first post.

Like the subject says, I want to use rsync between 2 boxes (OpenSUSE 10.2) via USB cable.
The 2 boxes are firewalls, one of them is active and the other is passive.
I donīt have an extra NIC to use.
The next step after rsync is functional is build a test enviroment and try to get Linux-HA functional.
At this moment, if a problem occurs, the exchange between firewalls is manual (pull out the eth0 cable from firewall A and connect on firewall B, the same for eth1 and eth2) (yes, I know, is a very stupid solution, but my boss donīt give time to investigate Linux-HA right now and he donīt like linux at all ... itīs a very long history to put here)
I found a lot of information about how to sync using rsync via ethernet and between a box and an external drive via a USB cable, but nothing about do that between boxes.

Anybody can give me a hand with this problem?

Regards,

Tequesta

(Iīm sorry, my english is not good at all)
 
Old 10-22-2008, 02:19 PM   #2
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 117Reputation: 117
Well first, you need some way for the devices to talk to each other. USB is between a host and a client, not two hosts. There are some USB cables that connect to two hosts and present a virtual network connection.

Is your backup firewall not connected to the LAN? That would seem pointless to me... you'll need a connection for it to use Linux-HA anyway.
 
Old 10-22-2008, 02:51 PM   #3
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 3,887

Rep: Reputation: 774Reputation: 774Reputation: 774Reputation: 774Reputation: 774Reputation: 774Reputation: 774
Quote:
Originally Posted by Matir View Post
USB is between a host and a client, not two hosts.
AFAIK the USB OTG chipsets are pretty recent; if you don't have one of those, you'll have a USB chip that is either a master or a slave, but can't be switched between the two. And when I say they are quite recent, I mean I have no evidence that any have reached computer motherboards yet. So, my guess is that you are stuck with two masters, which isn't exactly helpful.

I hadn't heard about any cables that do anything different, so if you find one of those, I suppose there is a possibility.
 
Old 10-22-2008, 03:18 PM   #4
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 117Reputation: 117
This is by no means an endorsement of this device so much as the results of a quick google, but as an example: http://www.newegg.com/Product/Produc...82E16817399018
 
Old 10-23-2008, 05:58 AM   #5
tequesta
LQ Newbie
 
Registered: Oct 2008
Location: Argentina
Distribution: OpenSUSE
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for your responses!!!

The on-line host can be the master and the backup host the slave, the master send his logs and his configuration files time to time to the slave. This is my idea about how to make the schema work.

I can use the on-board NIC to sincronize the two hosts but, we consider that NICs are not reliable, so, only use the NICs added to the box (PCI).

The backup host isnīt connected to the LAN because in that case, I got duplicated IPs on my LAN because my firewall script generate the needed IPs (the firewall script is generated with Firewall Builder).

In the Linux-HAīsite says that the heartbeat can be sended via usb cable.

So, I donīt know how to resolve this problem now. (The solution most reasonable is kick in the a** my boss, but isnīt possible, by now)

Thanks in advance,

tequesta

(from Argentina)
 
Old 10-23-2008, 12:53 PM   #6
tequesta
LQ Newbie
 
Registered: Oct 2008
Location: Argentina
Distribution: OpenSUSE
Posts: 3

Original Poster
Rep: Reputation: 0
After a little discussion with my boss, finally I would connect the host B to the lan with a different IPs and make the rsync on that "sub-lan", so, the problem y solved, but in a different way.

thread closed?
 
  


Reply

Tags
cable, rsync, usb


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Connecting two computers with a USB cable (data cable) seran Linux - General 5 08-01-2006 04:51 PM
How to Link two Nix boxes 1 cable modem ClericPreston Linux - Networking 2 11-25-2004 10:11 PM
Connecting two linux boxes via cross cable ElPuello Linux - Networking 4 11-10-2004 10:55 AM
connect 2 Linux boxes via crossover cable forbuto Linux - Networking 1 10-21-2004 06:38 PM
Samba with linux box, 2 win boxes, cable, router kuber Linux - Networking 2 09-04-2001 08:07 PM


All times are GMT -5. The time now is 05:30 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration