Results 1 to 5 of 5
hello frnzzzzz....
i feel nice to being here.
i m new linux user n i m using debian 4.
i have two pcs and i want to connect them by ...
- 04-12-2009 #1Just Joined!
- Join Date
- Apr 2009
- Posts
- 2
[SOLVED] how to connect two debian pcs by LAN
hello frnzzzzz....
i feel nice to being here.
i m new linux user n i m using debian 4.
i have two pcs and i want to connect them by LAN.
i had tried some command like-
#ifconfig eth0 10.0.0.2 netmask 255.0.0.0 up
above command works on both the pc.
then i had given the route command for communication between them. these command are---
#route add -host <ip of other pc> gw 10.0.0.2<ip of one pc say pc1,same in both pc>
And
#route add default gw 10.0.02 eth0
But cant able to make connection between them.
does i m doing any mistake of some thing is missing.
plz let me know...... how to do this.
Plzzzzzzzzzzzzzzzzz....... Help me out of this.
- 04-12-2009 #2Just Joined!
- Join Date
- Mar 2009
- Posts
- 3
Are you trying to connect them to transfer files, etc? You could use SSH/SFTP.
Make sure SSH is installed, you can do this through apt-get, or synaptic package manager.
Then, you can simply log into the computer: >ssh user@10.0.0.2 (or other ip)
If you wanted to run applications remotely, use -X option
For file transfer, >sftp user@10.0.0.2 (or other ip)
Hope this helps.
- 04-13-2009 #3Just Joined!
- Join Date
- Apr 2009
- Posts
- 2
Thnx Rendered.....!
i'll try it but is there any other way.
Actually, i have to establish a small office network or 8 pcs. 1st i got success in this then i'll try for more PC.
And my boss said that- try to make connection without any package n dont use GUI, do only on command line.
so.... is there any othere way,,,,,,
- 04-13-2009 #4
SSH and FTP can both be done from the command line. You can also use NFS. Network File System (NFS) Configuration in Debian. Or Samba: Samba Server Configuration in Debian
EDIT: Without any package?? That doesn't make any sense. If you don't have the tools installed, how would you do it?
- 04-13-2009 #5
you should configure the network interface cards on debian using the /etc/network/interfaces file, there should be a man page on it to get the syntax, you can do it via command line




