View Single Post

  #6 (permalink)  
Old 03-12-2007, 08:42 PM
nixcraft's Avatar
nixcraft nixcraft is offline
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
My distro: Ubuntu
Posts: 1,061
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