Pages

Search

how to connect two machines directly via ethernet - Forums Linux

how to connect two machines directly via ethernet - Forums Linux


how to connect two machines directly via ethernet

Posted: 24 Jun 2004 05:06 AM PDT

uni-hannover.de writes:

]Hi,

]I would like to know how to connect two machines directly via ethernet
](nothing in between).

You need a null ethernet cable-- This has as I recall pins 1-3 and 2-6
exchanged. (Ie 1 and 3 interchanged...)


]A step by step answer or a suggestion of a document
]with a step by step guide would be appreciated.
]That is:
]1) how to check that the hardware is ok?

Use it.

]2) how to check that the cable is ok? (null cable required ?)
Use a continuity tester to make sure that the wiring goes through to the
right place.
]3) how to setup the domain / ip number ?

domain names are whatever you want and host names (just make the host names
different). ip number use 10.0.0.1 and 10.0.0.2 as
static IP. Put the numbers and names into /etc/hosts on each machine.


]4) What about route and ping ?

What about them?
]The machines are not connected to the internet.
]The goal would be to ssh and scp between the two machines :-)))

]I would like to use no ready-made tools, rather
]edit configuration files and "call" the appropriate
]system service or daemons.

]Luciano

Cannot mount via NFS

Posted: 24 Jun 2004 01:37 AM PDT

In comp.os.linux.networking Jeff Krimmel <com> wrote: 

Before running showmount/rpcinfo on the client host, start "tcpdump -n udp"
on both client and server. If you won't see inbound RPC (111/udp) packets
on server, then check iptables/ipchains (both with "-L -n" options) on
both sides to check whether there is something relevant in there.

--
andrei

Read-only filesystem

Posted: 23 Jun 2004 11:46 PM PDT

"Juerg Schwarz" <ch> writes:
 

Bad idea.
 

This is most likely NOT your /etc/fstab file that should contain
the entries for your filesystems. If you bootup the system in
"rescue" mode, then you start the system from CDROM; therefor, /etc
is located on the filesystem booted / copied from the CDROM and
doesn't point to your valid /etc/fstab file. Mount the filesystem
manually to /mnt, then proceed to checking your filesystems
(use "df" to see what is actually mounted).
 
 
 

Your root filesystem may be damaged; either use a current working backup
to restore your filesystem, or prepare for a reinstallation. Without
any details at hand about your hardware, it's a bit hard to tell what to do
next; typically, you'd first check for any kind of HW failure using "smartctl"
or similar tools, depending from your local setup.

Michael

redhat to mandrake questions

Posted: 23 Jun 2004 09:06 PM PDT

On Thu, 24 Jun 2004 04:06:13 GMT, faeychild wrote: 

That is a security feature to keep you from running as root. People
find it too much trouble to logout out of root and log in as a user.

In your user account
You click Configure-> configure my computer
It asks for your root password and you have the same functionality
as the gui root login.

If you need a root terminal, click up a terminal session an do a
su -l root


Please bookmark the following, very large,
Frequently Asked Questions (faq) Search engine:

http://groups.google.com/advanced_group_search
key word(s) in the first box
*linux* in Newsgroup, U need 2 use *, pick English

If you realy want the root selection use the keywords
gui root login
with *mandrake in the newsgroup box

Amanda for backups

Posted: 23 Jun 2004 08:08 AM PDT

Jander wrote: 

We are using Amanda to do backups on several systems and
I would say that Amanda is very simple to use (at least
as long as your daily backup will fit on one tape) and
implement. The documentation is fairly good although
some parts are a bit old. The forum is very helpful.

One of the backup groups include some windows machines
and Amanda works well with Samba, at least the more
resent versions. I have used Amanda to do backups on
a system with over 3 TB of data on 3 RAID:s with over
60 users using a tape robot without any problems.

/Per