找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 9774|回复: 10

[openwrt(x86)] 帮你的Openwrt旁路由安装openwrt-vm-tools

[复制链接]
发表于 2020-8-14 20:34 | 显示全部楼层 |阅读模式
本帖最后由 tsaiyuchih 于 2020-8-15 09:26 编辑

Esxi虚拟机下,使用Openwrt当旁路由,Lean大大的源码已经升级到 'Linux OpenWrt 5.4.51 #0 SMP Wed Aug 5 11:40:13 2020 x86_64 GNU/Linux '
Esxi 6.7对于Linux 4以上没有完全支持,例如从虚拟机开机,关机,显示IP等。装了UPS也担心断电重启开机盘会毁损,需要ssh进入esxi修复太麻烦~



[分享】https://github.com/fangli/openwrt-vm-tools
这是VMWare官方openvm工具的一个OpenWRT端口。该端口使用了最新的devel分支(2019年1月23日),通过https://github.com/srchack/custom-packages.
我用以下平台进行了测试:openwrt18.06.1x86_64,在esxi6.x上

通电/关机/报告IP等在此版本中正常工作。它应该同时适用于lede17.x和openwrt18.x。
有了这个版本,我再也看不到任何崩溃或故障。所以我做了这个。

#第1步
#git克隆OpenWRT并签出与路由器相同的分支。
#由于openvm工具在OpenWRT中有许多与基本库的依赖关系,我认为您不可能只用SDK来编译这些工具。
#所以只要确保克隆了完整的openwrt repo。

#第2步
git clone https://github.com/fangli/openwrt-vm-tools package/open-vm-tools

#第3步
make menuconfig# And Set `Utilities` - `open-vm-tools` to `M` (modularizes features)#并将“Utilities”-“open vm tools”设置为“M”(模块化功能)


#第4步
制作包/打开虚拟机工具/编译
make package/open-vm-tools/compile

#完成
#然后,/bin/packages/x86_64/base/open-vm-tools_devel-1a39495-1_x86_64.ipk就是您需要的。

为了方便起见,我为Lean大大的固件编译了ipk二进制文件,如果您运行的是相同版本的OpenWRT,可以直接下载并安装它:


安装方法:

上传 open-vm-tools_11.1.0-2_x86_64.ipk.zip 到 OP的 /tmp

cd /tmp
unzip open-vm-tools_11.1.0-2_x86_64.ipk.zip
opkg update
opkg install open-vm-tools_11.1.0-2_x86_64.ipk
reboot




本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
发表于 2020-8-14 20:42 | 显示全部楼层
收藏。感谢楼主分享。
学习一下。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-8-15 07:34 | 显示全部楼层
好高级,小白我看了半天没明白。。哈哈哈
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-3-8 03:47 | 显示全部楼层

收藏。感谢楼主分享。
学习一下。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-8-6 15:12 | 显示全部楼层
有没有现成的固件可以用的,自己编译难度有点大哦
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-11-22 21:26 | 显示全部楼层
Unknown package 'open-vm-tools'.
Collected errors:
* pkg_hash_check_unresolved: cannot find dependency glib2 for open-vm-tools
* pkg_hash_fetch_best_installation_candidate: Packages for open-vm-tools found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package open-vm-tools.
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-3-10 17:14 | 显示全部楼层
谢谢分享,试试看
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-3-10 17:14 | 显示全部楼层
谢谢分享,试试看
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-3-15 20:59 | 显示全部楼层
试试看,openwrt光驱,要自己下载安装吧
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-4-8 16:33 | 显示全部楼层
谢谢楼主分享
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-4-8 22:45 | 显示全部楼层

谢谢分享,试试看
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-19 17:20

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

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