This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

TCP/IP setup on mpc850


Hi all,

I am having some trouble setting up my ethernet connection on my mpc850
board. When i run one of the tests (ping_lo_test.c) then i get the below
printout. It says something about "sendto: Can't assign requested address",
what does that mean? Can it be that the hw_addr is set to just 0xFF:s? This
is however a bit strange because i set the MAC address in the
quicc_eth_init.c file. 

Any hints?

Regards, Daniel


---snip 1---
Start PING test
BOOTP[eth0] op: REPLY
       htype: Ethernet
        hlen: 6
        hops: 0
         xid: 0x0
        secs: 0
       flags: 0x0
       hw_addr: ff:ff:ff:ff:ff:ff
     client IP: 146.75.80.124
         my IP: 146.75.80.124
     server IP: 0.0.0.0
    gateway IP: 0.0.0.0
  options:
        subnet mask: 255.255.255.0
       IP broadcast: 0.0.0.0
            gateway: 0.0.0.0
Enable the eth device
Can send?
Can send?
Eth send
Can send?
Enable the eth device
Can send?
Can send?
Eth send
Can send?
Disable eth
Enable the eth device
Can send?
PING server 127.0.0.1
Can send?
64 bytes from 127.0.0.1: icmp_seq=0, time=30ms
64 bytes from 127.0.0.1: icmp_seq=1, time=20ms
64 bytes from 127.0.0.1: icmp_seq=2, time=20ms
64 bytes from 127.0.0.1: icmp_seq=3, time=20ms
64 bytes from 127.0.0.1: icmp_seq=4, time=20ms
Can send?
64 bytes from 127.0.0.1: icmp_seq=5, time=20ms
64 bytes from 127.0.0.1: icmp_seq=6, time=20ms
64 bytes from 127.0.0.1: icmp_seq=7, time=20ms
64 bytes from 127.0.0.1: icmp_seq=8, time=20ms
64 bytes from 127.0.0.1: icmp_seq=9, time=20ms
Can send?
64 bytes from 127.0.0.1: icmp_seq=10, time=30ms
64 bytes from 127.0.0.1: icmp_seq=11, time=20ms
Can send?
64 bytes from 127.0.0.1: icmp_seq=12, time=30ms
64 bytes from 127.0.0.1: icmp_seq=13, time=20ms
Can send?
64 bytes from 127.0.0.1: icmp_seq=14, time=30ms
64 bytes from 127.0.0.1: icmp_seq=15, time=20ms
Sent 16 packets, received 16 OK, 0 bad
PING server 127.0.0.33
sendto: Can't assign requested address
sendto: Can't assign requested address
sendto: Can't assign requested address
sendto: Can't assign requested address
sendto: Can't assign requested address
sendto: Can't assign requested address
sendto: Can't assign requested address
sendto: Can't assign requested address
sendto: Can't assign requested address
sendto: Can't assign requested address
sendto: Can't assign requested address
sendto: Can't assign requested address
sendto: Can't assign requested address
sendto: Can't assign requested address
sendto: Can't assign requested address
sendto: Can't assign requested address
Sent 16 packets, received 0 OK, 0 bad
PING server 127.0.0.1
Can send?
64 bytes from 127.0.0.1: icmp_seq=0, time=30ms
64 bytes from 127.0.0.1: icmp_seq=1, time=20ms
64 bytes from 127.0.0.1: icmp_seq=2, time=20ms
64 bytes from 127.0.0.1: icmp_seq=3, time=20ms
Can send?
Can send?
64 bytes from 127.0.0.1: icmp_seq=4, time=50ms
64 bytes from 127.0.0.1: icmp_seq=5, time=30ms
64 bytes from 127.0.0.1: icmp_seq=6, time=30ms
64 bytes from 127.0.0.1: icmp_seq=7, time=20ms
Can send?
64 bytes from 127.0.0.1: icmp_seq=8, time=30ms
64 bytes from 127.0.0.1: icmp_seq=9, time=20ms
Can send?
64 bytes from 127.0.0.1: icmp_seq=10, time=30ms
64 bytes from 127.0.0.1: icmp_seq=11, time=20ms
64 bytes from 127.0.0.1: icmp_seq=12, time=20ms
Can send?
64 bytes from 127.0.0.1: icmp_seq=13, time=30ms
64 bytes from 127.0.0.1: icmp_seq=14, time=20ms
Can send?
64 bytes from 127.0.0.1: icmp_seq=15, time=30ms
Sent 16 packets, received 16 OK, 0 bad
PING server 127.0.0.33
sendto: Can't assign requested address
sendto: Can't assign requested address
sendto: Can't assign requested address
sendto: Can't assign requested address
sendto: Can't assign requested address
sendto: Can't assign requested address
sendto: Can't assign requested address
sendto: Can't assign requested address
sendto: Can't assign requested address
sendto: Can't assign requested address
sendto: Can't assign requested address
sendto: Can't assign requested address
sendto: Can't assign requested address
sendto: Can't assign requested address
sendto: Can't assign requested address
sendto: Can't assign requested address
Sent 16 packets, received 0 OK, 0 bad
PASS:<Done pinging loopback>
EXIT:<done>
---end snip 1---

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]