uclinux的网卡如何搞定???
我按照置顶的文章装好了交叉编译环境,然后内核也可以运行了
skyeye的虚拟网卡也弄好了,主系统的tun.o模块也编译好了
启动是也有发现网卡
0: 1400000-14693FF [VIRTUAL 1400000-14693FF] (RO)
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
SkyEye NE2k Ethernet driver version 0.1 (2003-01-15)
sene2k dev name: eth0: 00:01:02:03:04:05
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 512 bind 512)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (romfs filesystem) readonly.
但是一执行ifconfig或者ping命令就自动退出,然后屏幕就不再回显,但是接受命令
Welcome to
____ _ _
/ __| ||_|
_ _| | | | _ ____ _ _ _ _
| | | | | | || | _ \| | | |\ \/ /
| |_| | |__| || | | | | |_| |/ \
| ___\____|_||_|_| |_|\____|\_/\_/
| |
|_|
GDB/ARMulator support by <davidm@snapgear.com>
For further information check:
http://www.uclinux.org/
Execution Finished, Exiting
Sash command shell (version 1.1.1)
/> ifconfig
/> ping
usage: ping [-LRdfnqrv] [-c count] [-i wait] [-l preload]
[-p pattern] [-s packetsize] [-t ttl] [-I interface address] host
pid 13: failed 512
/> ifconfig eth0 192.168.0.2
nic_reset:error skyeye_config.net[0].state=0
gentoo uClinux-dist # autoconf.h config.in freeswan linux-2.4.x romfs uClibc
bin config.tk images MAINTAINERS skyeye.conf user
config COPYING lib Makefile SOURCE vendors
config.arch Documentation linux-2.0.x README tools
gentoo uClinux-dist #