LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 11-10-2004, 06:04 AM   #1
ElPuello
Member
 
Registered: Apr 2004
Location: Copenhagen, Denmark
Distribution: Gentoo + Debian PPC
Posts: 44

Rep: Reputation: 15
Connecting two linux boxes via cross cable


Hi,

I would like to connect to my friends laptop from my own using a cross network cable. Does anyone know how to do this, or has a link to a howto?
We are both running debian...
 
Old 11-10-2004, 06:23 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,969

Rep: Reputation: 752Reputation: 752Reputation: 752Reputation: 752Reputation: 752Reputation: 752Reputation: 752
Manually setup an IP using ifconfig i.e.
yours:
ifconfig eth0 192.168.0.1 netmask 255.255.255.0 up

laptop:
ifconfig eth0 192.168.0.2 netmask 255.255.255.0 up

Your connected, now what do you want to do?
 
Old 11-10-2004, 06:41 AM   #3
ElPuello
Member
 
Registered: Apr 2004
Location: Copenhagen, Denmark
Distribution: Gentoo + Debian PPC
Posts: 44

Original Poster
Rep: Reputation: 15
know how to transfer files, please
 
Old 11-10-2004, 07:54 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,969

Rep: Reputation: 752Reputation: 752Reputation: 752Reputation: 752Reputation: 752Reputation: 752Reputation: 752
I would say FTP might be the easiest method.
Start the server on either PC and then connect with a client on the other.
Unless you configure the FTP server for anonymous connections you would to create another user on the server PC.
 
Old 11-10-2004, 10:55 AM   #5
bignerd
Member
 
Registered: Nov 2004
Distribution: FC1, Gentoo, Mdk 8.1, RH7-8-9, Knoppix, Zuarus rom 3.13
Posts: 98

Rep: Reputation: 15
Don't know much about Deb, but in many linux distro's an ssh daemon is configured during install. If that is true for one or both of your boxes then just type sftp <insert ip addy here> and login. Obviously you'll need an account name and password to login to. Some systems allow root and some don't by default.

sftp works the same as ftp (get, put, etc) but you don't have to set up an ftp server if sshd is running on the remote box (other end of the crossover)... and has the side benifit of being encrypted but over a crossover that's not a concern. I only mention sftp because it is easier than setting up an ftp server if sshd is already in place.

-b
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Setup PPPOE Server on Linux and let the client over a cross cable. Deepti_s Linux - Networking 4 07-12-2013 12:44 PM
Connecting Windows boxes via Linux server Sastian Linux - Networking 4 12-19-2004 05:03 AM
connect 2 Linux boxes via crossover cable forbuto Linux - Networking 1 10-21-2004 06:38 PM
Connecting 2 linux boxes with out a hub. sarin Linux - Networking 2 07-16-2002 12:25 PM
Samba with linux box, 2 win boxes, cable, router kuber Linux - Networking 2 09-04-2001 08:07 PM


All times are GMT -5. The time now is 01:59 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration