前言
在安装openwrt时候,下载的镜像为*.img
格式,但是Virtualbox虚拟机需要使用VDI磁盘文件格式,需要转换之后使用
安装
VBoxManage
VBoxManage convertfromraw openwrt-x86-64-generic-squashfs-combined-efi.img openwrt.vdi --format VDI
1
添加磁盘管理ACHI
加载VDI磁盘文件
启动
配置
使用Vim打开配置文件/etc/config/network
配置网络IP到当前网段
vim /etc/config/network
1
重启网络或服务器
reboot
1
在浏览器输入刚刚配置的网络IP继续完成配置,初始用户名:root
和密码:password