nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

How to connect two LINUX installed system using a Ethernet

This is a discussion on How to connect two LINUX installed system using a Ethernet within the Linux software forums, part of the Linux Getting Started category; hello i need to connect two Linux systems using a Ehternet could any one tell me how to do it ...


Go Back   nixCraft Linux Forum > Linux Getting Started > Linux software

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 03-06-2007, 09:49 PM
Junior Member
User
 
Join Date: Mar 2007
Posts: 14
Rep Power: 0
narasimha.reddygnv
Default How to connect two LINUX installed system using a Ethernet

hello

i need to connect two Linux systems using a Ehternet
could any one tell me how to do it frm scratch....
please
help me
urgent .
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 03-07-2007, 08:18 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
My distro: Any distro with shell
Posts: 919
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Do you want to connect system with a switch or hub?

If you don’t have an Ethernet switch / hub you can use cross cable.

Let me know if you need any further help
__________________
Vivek | My personal blog
Linux Evangelist
Play hard stay cool
Reply With Quote
  #3 (permalink)  
Old 03-08-2007, 09:03 AM
Junior Member
User
 
Join Date: Mar 2007
Posts: 14
Rep Power: 0
narasimha.reddygnv
Default i am using cross cable

i hv an Ehternet card installed in my system and using cross cable to connect the system
Reply With Quote
  #4 (permalink)  
Old 03-12-2007, 03:45 AM
Senior Member
User
 
Join Date: Dec 2006
Location: /B!n@ry
My distro: openSuSE 10.2
Posts: 127
Rep Power: 0
B!n@ry
Send a message via MSN to B!n@ry
Default

OK what is ur distro. first ?
and just give each one an IP Address:
PC -A
192.168.4.1
PC -B
192.168.4.2

any help plz provide us with more info.
__________________
LivE Free 0r DiE
L!nux rul3z aLL
Reply With Quote
  #5 (permalink)  
Old 03-12-2007, 03:42 PM
Junior Member
User
 
Join Date: Mar 2007
Posts: 14
Rep Power: 0
narasimha.reddygnv
Default distro is Fedora Core 6

we have fedora 6 installed with samba packages(samba http,ftp,http . we have 2 ethernet cards and 1 cable with cross connection . we want to transfer files between 2 installed by using a nework cable. please suggest any mehod.
Reply With Quote
  #6 (permalink)  
Old 03-12-2007, 07:42 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
My distro: Any distro with shell
Posts: 919
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

PC A type command:
Code:
ifconfig eth0 192.168.1.1 up

PC B type command:
Code:
ifconfig eth0 192.168.1.2 up
From PC A type to see if connected or not
Code:
ping 127.0.0.1
ping 192.168.1.2
OR from PC B type to see if connected or not
Code:
ping 127.0.0.1
ping 192.168.1.1
To copy file between 2 server/pc make sure ssh is running. Or type command on both PC:
Code:
/etc/init.d/sshd start
To copy file from PCA to PCB type command
Code:
scp filename user@192.168.1.2:/tmp
GUI network config tool
Code:
system-config-network
Type all above command as the root user.
__________________
Vivek | My personal blog
Linux Evangelist
Play hard stay cool
Reply With Quote
  #7 (permalink)  
Old 03-14-2007, 06:43 PM
Junior Member
User
 
Join Date: Mar 2007
Posts: 14
Rep Power: 0
narasimha.reddygnv
Default thanks for ur post

but when i press comand
ping 127.0.01
then it is giving something like
64 bytes icmq ..... time=.089sec
like this ..
i am unable to do this


************************************************** **************
my ethernet card is realtek fast ethernet
should we set the IP settings manually like static IP or should do it automatically with dhcp
Reply With Quote
  #8 (permalink)  
Old 03-16-2007, 12:36 AM
rockdalinux's Avatar
Contributors
User
 
Join Date: May 2005
Location: Bangalore
My distro: RHEL, HP-UX, Solaris, FreeBSD, Ubuntu
Posts: 564
Rep Power: 7
rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough
Default

narasimha.reddygnv

did u used command specified by nixcraft?
__________________
Rocky Jr.
You may have my body & soul, but you will never touch my pride!

If you have knowledge, let others light their candles at it.

Certified to work on HP-UX / Sun Solaris / RedHat
Reply With Quote
  #9 (permalink)  
Old 03-16-2007, 07:25 PM
Junior Member
User
 
Join Date: Mar 2007
Posts: 14
Rep Power: 0
narasimha.reddygnv
Default yeah . first i have typed the line ping 127.0.0.1

then it is printing some matter like 64 bytes and some time .. its never ending sessin[/u]
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
I have installed Linux.. What next? rockdalinux Getting started tutorials 11 05-20-2008 07:55 PM
HowTo Connect 'C' with Flash in Linux sivasubramaniam Coding in General 1 03-01-2008 02:37 AM
PPTP connect vpn Linux server raj Networking, Firewalls and Security 0 07-29-2007 05:29 AM
I Have Installed Suse 10.2 Linux Pravin192006 Linux software 2 04-23-2007 09:06 PM
Find out version of Red Hat Enterprise Linux installed chiku Linux software 1 12-06-2006 02:26 AM


All times are GMT +5.5. The time now is 11:03 PM.


Powered by vBulletin® Version 3.7.3 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36