Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-10-2004, 06:04 AM
|
#1
|
|
Member
Registered: Apr 2004
Location: Copenhagen, Denmark
Distribution: Gentoo + Debian PPC
Posts: 44
Rep:
|
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...
|
|
|
|
11-10-2004, 06:23 AM
|
#2
|
|
Moderator
Registered: Aug 2002
Posts: 10,691
|
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?
|
|
|
|
11-10-2004, 06:41 AM
|
#3
|
|
Member
Registered: Apr 2004
Location: Copenhagen, Denmark
Distribution: Gentoo + Debian PPC
Posts: 44
Original Poster
Rep:
|
know how to transfer files, please 
|
|
|
|
11-10-2004, 07:54 AM
|
#4
|
|
Moderator
Registered: Aug 2002
Posts: 10,691
|
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.
|
|
|
|
11-10-2004, 10:55 AM
|
#5
|
|
Member
Registered: Nov 2004
Distribution: FC1, Gentoo, Mdk 8.1, RH7-8-9, Knoppix, Zuarus rom 3.13
Posts: 98
Rep:
|
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
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:02 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|