[clug] How to connect two Linux boxes? [SEC=UNCLASSIFIED]

Francis James Whittle fudje at grapevine.net.au
Wed Sep 2 23:17:06 MDT 2009


Actually depending on the version of Ubuntu (and therefore
NetworkManager) disabling interface management may not be necessary.

If you're running a GUI and can see the NetworkManager Icon in your
system notification area (icon varies; the "Tango" icon looks like an
RJ4x plug – once you've connected the cables this more or less always
shows a pair of green and/or grey dots with a swirly blue thing swirling
between them), you may be able to right click on this and "Edit
Connections..."  Stop reading now if you can't, you've got an old
version that doesn't support connection profiles.

Under the Wired tab you can add a new interface, set the IPv4 address
manually, give it a reasonable name, hit Apply, and when you now
left-click on the Network Manager it will give you the option to use the
connection you defined in a drop-down menu.


On Thu, 2009-09-03 at 14:58 +1000, Ross.Wilson at ga.gov.au wrote:
> Hal and Jim, et al,
> 
> Thanks, thanks, thanks.
> 
> I couldn't use mii-tool (suggested by jeff) as it said nothing was in use (??).  However, the basic idea from both (ifconfig) was used, BUT the important bit was to turn off NetworkManager on the Ubuntu box.  That's what I was getting wrong.  With the manager running I could configure as above and the network seemed to be set up but I got errors: 'network unreachable' on a ping.  With the manager off all worked.
> 
> Thanks a million!
> Ross
> 
> -----Original Message-----
> From: Hal Ashburner [mailto:hal.ashburner at gmail.com]
> Sent: Thursday, 3 September 2009 14:30
> To: Wilson Ross
> Cc: linux at lists.samba.org
> Subject: Re: [clug] How to connect two Linux boxes? [SEC=UNCLASSIFIED]
> 
> On 03/09/09 14:08, Ross.Wilson at ga.gov.au wrote:
> > Listers,
> >
> > I have a problem that probably just needs a simple suggestion in the right direction, so I'll ask it here.
> >
> > I have an Ubuntu box that is not connected to any network.  There is a large dataset (2TB with the promise of more) on another machine that runs Redhat Server.  This second machine has a running network connection and an unused second network card.
> >
> > I am trying to connect the two machines so I can transfer the large dataset to the Ubuntu machine. I thought that just connecting the two machines with a bit of Cat5 would be enough, but I'm stumped on how to configure both machines to get this working.
> 
> >
> > Any suggestions for a Networking Newbie?  I use Ubuntu regularly but don't know much about Redhat.
> >
> 
> you need to log in to the red hat box, then bring up the network
> interface and give it an ip address
> 
> Put on your white coat and safety goggles then do something vaguely like
> 
> $ sudo ifconfig eth1 192.168.1.200
> 
> you need to check that eth1 is the right network interface and that the
> 192. ip address doesn't clash with your lan
> 
> then you need to do the same on your ubuntu laptop, but network manager
> is likely to get in your way so just shut it down first
> 
> $ sudo /etc/init.d/NetworkManager stop
> (if ubuntu does services differently so this doesn't work someone will
> point this out I'm sure)
> 
> then
> $ sudo ifconfig eth0 192.168.1.201
> 
> again adjust eht0 and the ip address to local conditions if required.
> Now if the above worked you should be able to ping the redhat server
> 
> $ ping 192.168.1.200
> and get a response
> 
> the easiest thing then is probably to use scp, this means you need
> access to an ssh account on the RedHat box
> 
> $ scp -r account_name at 192.168.1.200:/path/to/data /local/path/on/laptop
> 
> type in the password and it should kick off.
> 
> 2TB is a buttload of data, do check you have that kind of space
> available to the laptop, I mention this as it's the sort of thing I have
> overlooked in the past then kicked myself halfway through execution of
> my grand master plan...
> 
> avahi can make all this much simpler if it's set up on both boxes.
> 
> All the best
> Hal Ashburner



More information about the linux mailing list