2009-03-05 04:44:37     Network is not work when RC file autoconfig eth0 in bf527

Document created by Aaronwu Employee on Aug 14, 2013
Version 1Show Document
  • View in full screen mode

2009-03-05 04:44:37     Network is not work when RC file autoconfig eth0 in bf527

Bill Xie (CHINA)

Message: 70440   

 

 

 

Hi,

 

    The rc file  add :

 

      ifconfig eth0 192.168.0.15 up

 

when uClinux is running in board ,the outmessage is:

 

root:/> PHY: 0:01 - Link is Up - 100/Full

 

root:/>

root:/> ping 192.168.0.15

PING 192.168.0.15 (192.168.0.15): 56 data bytes

ping: sendto: Network is unreachable

root:/> ifconfig

eth0      Link encap:Ethernet  HWaddr 02:80:AD:20:31:E8

          inet addr:192.68.0.15  Bcast:192.68.0.255  Mask:255.255.255.0

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:15 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:1280 (1.2 KiB)  TX bytes:0 (0.0 B)

 

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)

 

 

I must input "ifconfig eth0 192.168.0.15 up" in console,the network is ok.

 

  root:/> ifconfig eth0 192.168.0.15 up

root:/> ping 192.168.0.204

PING 192.168.0.204 (192.168.0.204): 56 data bytes

64 bytes from 192.168.0.204: seq=0 ttl=64 time=4.000 ms

64 bytes from 192.168.0.204: seq=1 ttl=64 time=0.000 ms

 

I  is puzzled with this problem.Please help me ,Thank you.

 

--Bill

 

 

QuoteReplyEditDelete

 

 

2009-03-05 21:47:40     Re: Network is not work when RC file autoconfig eth0 in bf527

Yi Li (CHINA)

Message: 70484   

 

Bill,

 

It is not easy to reproduce your issue.

 

What is the kernel version you are using? 2008R1.5 release? 2008R1.5 svn branch? or svn trunk? What is your PHY chip? The more info, the better.

 

-Yi

QuoteReplyEditDelete

 

 

2009-03-06 02:42:49     Re: Network is not work when RC file autoconfig eth0 in bf527

Bill Xie (CHINA)

Message: 70499   

 

Hi Yi,

 

     Thank you. the uClinux is Linux blackfin 2.6.28.3-ADI-2009R1-pre,PHY chip is RTL8201CP.

 

--Bill

Attachments

    Outcomes