LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-20-2009, 06:44 PM   #1
buddychrist
LQ Newbie
 
Registered: Jan 2009
Posts: 2

Rep: Reputation: 0
Embedded Linux to Linux Crossover Ethernet Connection Woes


Alright, I realize this isn't the first time this question has been asked. Read all the info, still can't get it. Any help would be much appreciated.

Setup: Two 'computers', one running embedded linux 2.6 on a mini2440 ARM development board (more info below), the other also running linux 2.6 on a desktop.

Goal: Mount the root drive on the development board to the desktop though a crossover ethernet connection.


Problem: It appears both NIC's are working (see below) yet the status lights on them don't turn on, hence pinging (let alone mounting) doesn't work.

Desktop Specification:
  • kernel: Linux 2.6.27.7-9-pae
  • OS: OpenSuse 11.1
  • Desktop: KDE 4.0
  • shell: Bash
  • ethernet card: Realtek RTL8139
  • ethernet driver: 8139too Fast Ethernet driver 0.9.28

Network Info:
Code:
# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0D:88:34:C4:05
          inet addr:192.168.1.231  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:17 Base address:0x8f00

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:102 errors:0 dropped:0 overruns:0 frame:0
          TX packets:102 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:6956 (6.7 Kb)  TX bytes:6956 (6.7 Kb)
Code:
# ping -c 1 192.168.1.231
PING 192.168.1.231 (192.168.1.231) 56(84) bytes of data.
64 bytes from 192.168.1.231: icmp_seq=1 ttl=64 time=0.050 ms

--- 192.168.1.231 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.050/0.050/0.050/0.000 ms
# ping -c 1 127.0.0.1
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.046 ms

--- 127.0.0.1 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.046/0.046/0.046/0.000 ms

# ping -c 1 192.168.1.230
PING 192.168.1.230 (192.168.1.230) 56(84) bytes of data.
From 192.168.1.231: icmp_seq=1 Destination Host Unreachable

--- 192.168.1.230 ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms

Development Board Specification:
  • Mini2440 Website
  • kernel: Linux 2.6.13
  • OS: ?
  • Desktop: Qtopia
  • shell: Bourne
  • ethernet card: DM9000 ethernet chip?
  • ethernet driver: ?

Network Info:
Code:
# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:13:F6:6C:87:89
          inet addr:192.168.1.230  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:51 Base address:0xa300

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
Code:
# ping -c 1 192.168.1.230
PING 192.168.1.230 (192.168.1.230): 56 data bytes
64 bytes from 192.168.1.230: icmp_seq=0 ttl=64 time=0.7 ms

--- 192.168.1.230 ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 0.7/0.7/0.7 ms

# ping -c 1 127.0.0.1
PING 127.0.0.1 (127.0.0.1): 56 data bytes
64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.6 ms

--- 127.0.0.1 ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 0.6/0.6/0.6 ms

# ping -c 1 192.168.1.231
PING 192.168.1.231 (192.168.1.231): 56 data bytes

--- 192.168.1.231 ping statistics ---
1 packets transmitted, 0 packets received, 100% packet loss

Potential Problems?
Commands ran on development board:
Code:
# lsmod
Module                  Size  Used by
mini2440_backlight 1696 0 - Live 0xbf000000

# find / -name eth0
/proc/sys/net/ipv4/conf/eth0
/proc/sys/net/ipv4/neigh/eth0
Other Notes:
  • I'm sure I have a crossover ethernet cable as I've used it to create a connection between to windows computers (I've also verified the pinout).
  • Fairly certain the desktop NIC works since the status lights turn-on when the crossover cable is connected between it and my windows laptop.

Please help.
 
Old 01-20-2009, 09:41 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Could be a hardware issue on the dev board. But let's assume it's not for a second. What does mii-tool eth0 give you on each end? (This assumes mii-tool is available on your dev board). Does dmesg have any ethernet related messages?
 
Old 01-20-2009, 10:33 PM   #3
buddychrist
LQ Newbie
 
Registered: Jan 2009
Posts: 2

Original Poster
Rep: Reputation: 0
mii-tool is not found on either machine.

dmesg on the dev board returns:

Code:
DM9000 ethernet driver V1.26 I/O: c481a300, VID: 90000a46
Is it a problem that lsmod doesn't return anything about the ethernet driver (see output of command above under 'Potential Problems')?

I did notice that the message returned from dmesg at the end is
Code:
mini2440_blacklight: module license 'unspecified' taints kernel.
blacklight initialized
enable_irq(51) unbalanced from c0173b50
not sure about 'taints kernel'
 
  


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
howto: crossover connection between two linux machines? anGeR Linux - Networking 18 07-23-2013 11:23 PM
howto: crossover connection between a linux and a Window machine? fhleung Debian 3 09-14-2008 10:22 AM
Linux to Windows crossover ethernet networking MiniMe001 Linux - Networking 7 12-09-2005 06:54 AM
linux to linux over ethernet crossover tincat2 Linux - Networking 5 01-20-2005 01:52 AM

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

All times are GMT -5. The time now is 06:04 AM.

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