在skyeye中如何使用vnet?
终于vnet编译通过了,但是在linux9上面如何使用vnet?另外我的skyeye.conf不管如何配置ethmod=tuntap还是vnet ,skyeye模拟器启动后始终只有loop,没有eth0接口.我在linux9上直接配置ifconfig vnet0 10.0.0.1 up 报错为:SIOCSIFADDR: No such devicevnet0: unknown interface: No such device,如何解决?急!谢谢各位大虾了! 估计有些模型的net驱动仍然没有实现,具体看 skyeye-v1/device/net/ 下的文件 vnet方式已经不再维护,tun的方式应该是没有问题的。 tun在linux上如何使用,老是报错
#mknod /dev/net/tun c 10 200
#modprobe tun
#lsmod
Module SizeUsed by Not tainted
tun 5696 0(unused)
vnet 18532 0(unused)
parport_pc 19076 1(autoclean)
lp 8996 0(autoclean)
parport 37056 1(autoclean)
autofs 13268 0(autoclean) (unused)
pcnet32 18240 1
mii 3976 0
ipt_REJECT 3928 6(autoclean)
iptable_filter 2412 1(autoclean)
ip_tables 15096 2
sr_mod 18136 0(autoclean)
ide-scsi 12208 0
ide-cd 35708 0
cdrom 33728 0
keybdev 2944 0(unused)
mousedev 5492 0(unused)
hid 22148 0(unused)
input 5856 0
usb-uhci 26348 0(unused)
usbcore 78784 1
ext3 70784 1
jbd 51892 1
BusLogic 100796 2
sd_mod 13452 4
scsi_mod 107128 4
# ifconfig tun 172.16.0.1 netmask 255.255.255.0 up
SIOCSIFADDR: No such device
tun: unknown interface: No such device
SIOCSIFNETMASK: No such device
tun: unknown interface: No such device
页:
[1]