文章目录
硬件电路
核心板,使用DM9000A
[图片]
软件配置
问题1
/ #
/ # ifconfig
ifconfig: /proc/net/dev: No such file or directory
ifconfig: socket: Function not implemented
参考https://blog.csdn.net/u011011827/article/details/115479707
问题2
/ # ifconfig
ifconfig: socket: Address family not supported by protocol
/ #
选中Networking support -> Networking options -> TCP/IP networking
自动选中
[图片]
即将CONFIG_ETHERNET=y改为CONFIG_INET=y
问题3
/ # ifconfig
/ # ifconfig -a
eth0 Link encap:Ethernet HWaddr 76:86:92:EB:AD:FD
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:108 Base address:0xb000
lo Link