can anyone help me by giving a step by step procedure of setting a network between two computers using a ethernet.
can anyone help me by giving a step by step procedure of setting a network between two computers using a ethernet.
can anyone help me by giving a step by step procedure of setting a network between two computers using a ethernet.
At what level?
Install operating systems
Install network cards
Install network drivers
Hook up a switch or router
Connect network cables
Use network.
i hav installed all the pre requisites in both the computers.
now i hav connected them via ethernet.
but i dont know how to configure the settings in linux.
i hav red hat enterprise linux as my os.
Just get a crossover cable and plug an end of the cable into each computer's NIC.
Or get a hub/switch and plug a normal ethernet cable from each computer into it.
So basically:
1) Acquire a crossover ethernet cable.
2) Plug one end into computer A.
3) Plug the other end into Computer B.
4) Profit.
Now if you want to get into higher level stuff than hardware, you're going to have to specify whether or not you want to use TCP/IP or some other protocol. If you want TCP/IP just give each computer an IP address on the same network:
Computer A:
IP 192.168.0.1
Netmask 192.168.0.255
Computer B:
IP 192.168.0.2
Netmask 192.168.0.255
That should work.
Last edited by itsme86; 05-09-2011 at 08:52 AM.
If you understand what you're doing, you're not learning anything.
Threads merged.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
How to set up a linux network (yes, click the red text and read the information)
You said you "installed all the pre requisites in both the computers. now i hav connected them via ethernet." What does that mean? Are you on a LAN with a router, or using a cross-over cable?
Via a router, it is very simple: you do not have to do anything, just get the LAN ip's and use them. Obviously, your LAN connection has to be working first.
If you are using a cross-over, it is almost as simple, but I haven't done it in a long time -- try googling "linux cross-over connection". The difference is, since you don't have any connection on at least one of the machines, you have to use ifconfig to set one up.
Last edited by MK27; 05-10-2011 at 08:57 AM.
C programming resources:
GNU C Function and Macro Index -- glibc reference manual
The C Book -- nice online learner guide
Current ISO draft standard
CCAN -- new CPAN like open source library repository
3 (different) GNU debugger tutorials: #1 -- #2 -- #3
cpwiki -- our wiki on sourceforge