在hyper安装openwrt

写了长长长一篇文章,结果把标签关了,这篇文章就不见了,草稿箱也没有!!!

只好直接copy原来作者的文章了

 

下载地址

openwrt image

tulip driver

 

引用

Want to add a openwrt machine in hyper-v for testing?  Sadly, the openwrt did not include the hyper-v device driver for the network device.

(Un)luckily there is a legacy network driver in hyper-v that can be used in openwrt.

Steps to add openwrt machine inside hyper-v:

  • In hyper-v, add a machine with 64-128MB ram, legacy network device.
  • Copy the openwrt image to the virtual hard disk.
  • Mount the virtual hard disk (mount /dev/sda2 /mnt) and copy the tulip driver to the hard disk.
  • Boot the openwrt machine.
  • Inside the openwrt machine, add the tulip driver (cd /; opkg install kmod-tulip_3.3.8-1_x86.ipk)
  • ifconfig -a to check the name of the network device.
  • Modify /etc/config/network as usual and restart the network (or reboot).

from:via

posted @ 2014-07-05 13:31  yantze  阅读(2652)  评论(3编辑  收藏  举报