LebGeeks

A community for technology geeks in Lebanon.

You are not logged in.

#1 June 18 2007

toxic
Member

networking (beginner)

please can anyone post a beginner guide to start a network between two computers using a lan wire

or can you post the steps with setting on the two computers

Offline

#2 June 18 2007

rolf
Member

Re: networking (beginner)

without a switch?
I think you need a crossover cable.

Offline

#3 June 18 2007

battikh
Member

Re: networking (beginner)

using what OS?

Offline

#4 June 18 2007

battikh
Member

Re: networking (beginner)

Windows:
-connect the crossover cable on both ends (or the straight cables to the hub/switch)
-start-->control panel-->network connections
-double click on "local area connection"
-in the list click double click on "internet protocol"
-clcik on "use the following IP address"
-fill the fields as follow:
computer A:
IP address: 192.168.0.1
Subnet mask: 255.255.255.0

computer B:
IP address: 192.168.0.2
Subnet mask: 255.255.255.0

-click on OK, OK again
-that should be enough, but too make sure it's working:
-start-->run
-type "cmd" (without the quotes) then enter
-on computer A type:
"ping 192.168.0.2" (without the quotes) and then enter

on computer B type "ping 192.168.0.1" and then enter
-if you get lines containing "reply from x.x.x.x...." then it's working
if you don't, turn off your firewall if you have one, test, and turn it back on





linux:
-connect the crossover cable on both ends (or the straight cables to the hub/switch)
-open a terminal
-to see which one is your ethernet card, in the terminal type "ifconfig" (without the quotes)
-your ethernet card is the one that contains "Link encap 100Mbps Ethernet" (should be most probably eth0 or eth1)
-on computer A type the following (considering your ethernet card is eth0 depending on steps 3 and 4):
sudo ifconfig eth0 192.168.0.1 netmask 255.255.255.0 up
-on computer B type the following (considering your ethernet card is eth0 depending on steps 3 and 4):
sudo ifconfig eth0 192.168.0.2 netmsask 255.255.255.0 up
-on computer A type: ping 192.168.0.2
-on computer B type: ping 192.168.0.1
-if you get "reply from..." it's working



if you want to share files on windows other steps might be needed (enabling file sharing)

Last edited by battikh (June 18 2007)

Offline

#5 June 19 2007

mir
Member

Re: networking (beginner)

u can also trying doing a wireless network

Offline

#6 June 25 2007

toxic
Member

Re: networking (beginner)

thanx alot batikh it worked

Offline

Board footer