QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1782|回复: 5

uclinux的网卡如何搞定???

[复制链接]
发表于 2004-2-1 20:36:06 | 显示全部楼层 |阅读模式
我按照置顶的文章装好了交叉编译环境,然后内核也可以运行了
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 <[email protected]>
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 #
发表于 2004-2-5 14:05:00 | 显示全部楼层
应该是配置文件的错误。网络选项没有打开
回复

使用道具 举报

发表于 2004-2-18 09:06:11 | 显示全部楼层
那么应该在哪里打开呢
回复

使用道具 举报

发表于 2004-2-18 09:27:09 | 显示全部楼层
哦,找到地方了
回复

使用道具 举报

发表于 2004-6-2 15:45:34 | 显示全部楼层
高手能详细个跟我说一下吗?
谢谢!!!
回复

使用道具 举报

发表于 2004-6-2 16:05:13 | 显示全部楼层
为什么我看不到SkyEye NE2k Ethernet driver version 0.1 (2003-01-15)
sene2k dev name: eth0: 00:01:02:03:04:05 这两条啊?
谢谢!!!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-4-28 21:45 , Processed in 0.085010 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表