LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 05-28-2008, 10:04 AM   #1
silencestone
Member
 
Registered: Mar 2006
Location: USA
Distribution: [Current: Ubuntu, openSUSE, Arch] | {Past: Vector, Deli, Mint, Wolvix, OpenSUSE, Slackware, Puppy}
Posts: 71

Rep: Reputation: 15
Question Can't connect 2 computers through crossover ethernet cable


I'm having a lot of trouble setting up a two-computer lan with a crossover cable. I'm using Wolvix-1.0.5 and Wolvix-1.1.0 liveCDs, both based on Slackware. Both computers use similar /etc/hosts files with:

Quote:
192.168.1.1 starfish.dual.net starfish
192.168.1.2 wolvix.dual.net wolvix
...in there, in addition to the default localhost setup. The ethernet interface cards are recognized, have loaded drivers, and show up with 'ifconfig'. So far, I've done (all as root in the liveCD sessions):

Code:
ifconfig eth0 inet 192.168.1.1
ifconfig eth0 up
ifconfig
ping -c3 192.168.1.2
And watched the ping fail, with "Host was unreachable" errors. So, thinking it may be an interfering firewall, I checked for a running iptables:

Code:
ps ax | grep ip
ps ax | grep table
ps ax | grep if
ps ax | grep fire
Which turned up absolutely nothing. Nevertheless, I looked in /etc/rc.d/ for boot-time firewall scripts, found one in 1.0.5 (but not in 1.1.0), and turned it off...
Code:
/etc/rc.d/rc.FireWall stop
Then ran 'ping -c3 192.168.1.2' and 'arp -a', to no avail. Turned eth0 off and on, again. Still no pinging.

Brought up gnome-nettool, and used the port scan on local (such as checking 192.168.1.1 on 192.168.1.1) and remote (such as check 192.168.1.2 on 192.168.1.1) addresses. Port scan never completed for the remote addresses, but would return a short list of open ports for each local address, including 22 for ssh, 6000 for X.

So, since the port is open, I try to ssh from 192.168.1.1:

Code:
/etc/rc.d/rc.sshd start
ssh 192.168.1.2
But that fails with errors of 'host not reachable' or 'port not accessible' or something.

Any help would be appreciated.
 
Old 05-28-2008, 10:32 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
please show us the ifconfig output on both boxes. as you've partially done above, arp entries and the point you want to be looking for at the moment. with that, everything else will follow.
 
  


Reply



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
I want to network 2 computers over an ethernet crossover cable rob.rice Linux - Networking 5 08-12-2007 10:59 PM
Networking two computers using crossover cable Nitin Bhumkar Linux - Networking 5 01-15-2007 04:56 AM
Network 2 computers with crossover cable uisng IPv6 q14526 Linux - Networking 26 12-16-2005 09:42 AM
internet connection sharing between two computers using crossover cable farnell_mark Debian 1 06-04-2005 04:44 PM
Trouble networking two Linux computers (via crossover cable) lrt2003 Linux - Networking 3 06-29-2004 09:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:37 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration