Re: connecting 2 boxes

2010-04-17 Thread Steve Holdoway
On Sun, 2010-04-18 at 11:08 +1200, Ross Drummond wrote:
> On Sunday 18 April 2010, you wrote:
> > I interpreted Barry's words to mean: "I have got it to go, thanks folks".
> > 
> 
> I have been talking with Barry on the phone.
> 
> We cannot determine what the problem is, ifconfig and route are set up OK. 
> Firewalls are turned off, one box can see and communicate with the other but 
> the other is blind.
> 
> I can not figure out the cause.
> 
> Chris you may have to give on-site support. I will be in Christchurch on 
> Wednesday and have offered to have a on-site look if Barry is still stuck.
> 
> Cheers Ross Drummond
> 
From 10.0.0.2,
nmap 10.0.0.1 

and vice versa may well help.

Steve


smime.p7s
Description: S/MIME cryptographic signature


Re: connecting 2 boxes

2010-04-17 Thread Ross Drummond
On Sunday 18 April 2010, you wrote:
> I interpreted Barry's words to mean: "I have got it to go, thanks folks".
> 

I have been talking with Barry on the phone.

We cannot determine what the problem is, ifconfig and route are set up OK. 
Firewalls are turned off, one box can see and communicate with the other but 
the other is blind.

I can not figure out the cause.

Chris you may have to give on-site support. I will be in Christchurch on 
Wednesday and have offered to have a on-site look if Barry is still stuck.

Cheers Ross Drummond



Re: connecting 2 boxes

2010-04-17 Thread Steve Holdoway
On Sat, 2010-04-17 at 20:38 +1200, Barry wrote:

> and I have internet connection as this email testifies. ping works both ways

OK, so you have a network. Now you need to set up some services to use
it!

What are you trying to achieve? If you'retrying to access the internet
from the other macine then... ( as root / sudo )


1. Set the default gaeteway from the one not connected to be the one
that is connected ( assuming gateway is 10.0.0.1 )
route add default gw 10.0.0.1

2. Enable IP forwarding on the gateway machine.
echo 1 > /proc/sys/net/ipv4/ip_forward

hth,

Steve



smime.p7s
Description: S/MIME cryptographic signature


Re: connecting 2 boxes

2010-04-17 Thread Christopher Sawtell
On 18 April 2010 10:43, Nick Rout  wrote:

> On Sat, Apr 17, 2010 at 8:38 PM, Barry  wrote:
> > Nick Rout wrote:
> >>
> >> On Sat, Apr 17, 2010 at 10:09 AM, Barry 
> wrote:
> >>>
> >>> Nick Rout wrote:
> 
>  On Fri, Apr 16, 2010 at 3:41 PM, Barry 
> wrote:
> >
> > I understand it may be possible to connect 2 boxes using a usb cable
> > instead
> > of ethernet.
> >
> > Is this possible?, if so what hardware / software is required, and
> > possible
> > problems.
> >
> > TIA
> >
> > Barry
> >
>  does this help? (Google found it i haven't read it all)
> 
>  http://www.hardwaresecrets.com/article/248
> 
> >>> Thanks Nick, I will investigate this
> >>>
> >>
> >> do you really have two boxes with no ethernet ports?
> >>
> > no! and no hair either trying to make them talk to each other. They are
> on
> > 10.0.0.1 & 10.0.0.2 with no firewall. ifconfig, ifdown & ifup all ok and
> I
> > have internet connection as this email testifies. ping works both ways
> >
>
> If ping works then there is a connection between the boxes.
>
> Does ssh work?
>
> When you say "talk to each other" what protocol are you using?
>

I interpreted Barry's words to mean: "I have got it to go, thanks folks".

-- 
Sincerely etc.
Christopher Sawtell


Re: connecting 2 boxes

2010-04-17 Thread Nick Rout
On Sat, Apr 17, 2010 at 8:38 PM, Barry  wrote:
> Nick Rout wrote:
>>
>> On Sat, Apr 17, 2010 at 10:09 AM, Barry  wrote:
>>>
>>> Nick Rout wrote:

 On Fri, Apr 16, 2010 at 3:41 PM, Barry  wrote:
>
> I understand it may be possible to connect 2 boxes using a usb cable
> instead
> of ethernet.
>
> Is this possible?, if so what hardware / software is required, and
> possible
> problems.
>
> TIA
>
> Barry
>
 does this help? (Google found it i haven't read it all)

 http://www.hardwaresecrets.com/article/248

>>> Thanks Nick, I will investigate this
>>>
>>
>> do you really have two boxes with no ethernet ports?
>>
> no! and no hair either trying to make them talk to each other. They are on
> 10.0.0.1 & 10.0.0.2 with no firewall. ifconfig, ifdown & ifup all ok and I
> have internet connection as this email testifies. ping works both ways
>

If ping works then there is a connection between the boxes.

Does ssh work?

When you say "talk to each other" what protocol are you using?


Re: connecting 2 boxes

2010-04-17 Thread Barry

Nick Rout wrote:

On Sat, Apr 17, 2010 at 10:09 AM, Barry  wrote:

Nick Rout wrote:

On Fri, Apr 16, 2010 at 3:41 PM, Barry  wrote:

I understand it may be possible to connect 2 boxes using a usb cable
instead
of ethernet.

Is this possible?, if so what hardware / software is required, and
possible
problems.

TIA

Barry


does this help? (Google found it i haven't read it all)

http://www.hardwaresecrets.com/article/248


Thanks Nick, I will investigate this



do you really have two boxes with no ethernet ports?

no! and no hair either trying to make them talk to each other. They are 
on 10.0.0.1 & 10.0.0.2 with no firewall. ifconfig, ifdown & ifup all ok 
and I have internet connection as this email testifies. ping works both ways