kylericardo / mentohust-openwrt-ipk Goto Github PK
View Code? Open in Web Editor NEWMentoHUST-OpenWrt-ipk包
MentoHUST-OpenWrt-ipk包
为何不使用
$(uci get network.wan.ifname)
获取网卡名?
我的设备是红米AX6s 芯片 Mediatek mt7622 属于ARMv8 arrch64架构
虚拟机为Ubuntu18.04
遇到此错误
$ make menuconfig
make -s -C scripts/config mconf: build failed. Please re-run make with -j1 V=s or V=sc for a higher verbosity level to see what's going on
/home/huang/openwrt/openwrt-sdk-mediatek-mt7622_gcc-11.2.0_musl.Linux-x86_64/include/toplevel.mk:105: recipe for target 'scripts/config/mconf' failed
make: *** [scripts/config/mconf] Error 1
不管,继续下一步直接make 出现错误信息
make[3]: Entering directory '/home/huang/openwrt/openwrt-sdk-mediatek-mt7622_gcc-11.2.0_musl.Linux-x86_64/scripts/config'
set -e; mkdir -p ./; trap "rm -f ./.mconf-cfg.tmp" EXIT; { /bin/sh mconf-cfg.sh; } > ./.mconf-cfg.tmp; if [ ! -r mconf-cfg ] || ! cmp -s mconf-cfg ./.mconf-cfg.tmp; then true ' UPD mconf-cfg'; mv -f ./.mconf-cfg.tmp mconf-cfg; fi
*
Makefile:108: recipe for target 'mconf-cfg' failed
原来是没有安装pkg-config ,安装完之后故障排除。建议安装依赖时加上这一个
还有就是虚拟机的分辨率不能太低,否则无法调出menuconfig
错误信息:
Your display is too small to run Menuconfig!
It must be at least 19 lines by 80 columns.
不过总算编译出来了,感谢大佬!
运行第一个 mentohust
程序成功后,使用同样的命令(更换 -u -p -n
)之后执行提示 !! MentoHUST已经运行(PID=xxxx)!
但未在 /var/run
目录下发现 mentohust.pid
文件,导致无法绕过程序多开限制
是否有可能支持多开呢
拥有 2 个账号,共计可以登录 4 台设备
想要在路由器上的 4 个虚拟 wan 口上认证达到网速叠加的效果
百度云还是挺慢的,搞了一个阿里云盘。不过阿里云盘不支持压缩包分享,所以我把它伪装成图片了哈哈。
我用阿里云盘分享了「dl.7z」,你可以不限速下载🚀
复制这段内容打开「阿里云盘」App 即可获取
链接:https://www.aliyundrive.com/s/zynUAKkyMD5
更新:「dl.mp4」,点击链接保存,或者复制本段内容,打开「阿里云盘」APP ,无需下载极速在线查看,视频原画倍速播放。
链接:https://www.aliyundrive.com/s/1Sbi4vzahmx
在执行./scripts/feeds update -a
之后出现
……
Checking` 'python3-distutils'... failed.
……
Build dependency: Please install the Python3 distutils module
Prerequisite check failed. Use FORCE=1 to override.
make: *** [/home/oniokey/下载/openwrt-sdk-ramips-mt7621/include/toplevel.mk:181:/home/oniokey/下载/openwrt-sdk-ramips-mt7621/staging_dir/host/.prereq-build] 错误 1
/home/oniokey/下载/openwrt-sdk-ramips-mt7621/staging_dir/host/bin/sed: 行 5: /home/oniokey/下载/openwrt-sdk-ramips-mt7621/staging_dir/host/bin/../lib/ld-linux-x86-64.so.2:无法执行二进制文件: 可执行文件格式错误
……
后续的步骤中也出现了
Build dependency: Please install the Python3 distutils module
等类似的错误
系统是 Ubuntu 20.04.5 LTS 运行在 MacBook Pro M1 Parallels Desktop 18 上
如题
这个编译工具包只需要下载一次是吗,我编译MT7620下载了一次,又编译MT7621的还需要再下载新的吗
$ make tools/install V=s
$ make toolchain/install V=s
如果我需要在编译固件时加入这个插件,请问需要什么依赖吗?
运行程序一小段时间(一两分钟左右),查看登录日志发现最后一行有个报错
cat /tmp/mentohust.log
!! Ping主机出错,关闭该功能: Permission denied
按照我的理解,如果能ping的话就可以自动判断是否成功连接,自动重连。然后现在不知道怎么解决这个ping的权限问题
系统版本:OpenWrt 22.03.0, r19685-512e76967f
make[1]: *** No rule to make target 'package/mentohust/compile'. Stop.
make[1]: Leaving directory '/home/kali/openwrt/openwrt-sdk-bcm27xx-bcm2710_gcc-11.2.0_musl.Linux-x86_64'
make: *** [/home/kali/openwrt/openwrt-sdk-bcm27xx-bcm2710_gcc-11.2.0_musl.Linux-x86_64/include/toplevel.mk:223: package/mentohust/compile] Error 2
并没有提示依赖缺失,搜索也找不到对应原因,请问可以看看是什么原因吗?
有严格按照readme执行,使用的是wsl2 kali,在执行$ ./scripts/feeds install libpcap
这条命令后出现了如下报错,请问这些缺失的文件应该在哪里下载呢,忽略这个错误继续向下执行完毕后编译出来的libpcap文件是空的。
Collecting package info: done
Collecting target info: done
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'eip197-mini-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'r8169-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'e100-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'bnx2-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'bnx2x-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'ar3k-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'mwifiex-sdio-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'kmod-phy-bcm-ns-usb2', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'edgeport-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'kmod-phy-bcm-ns-usb3', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'amdgpu-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'radeon-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'prism54-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'rtl8192su-firmware', which does not exist
Installing package 'libpcap' from base
root@OpenWrt:~# ** 用户名: 202240700126
** 网卡: eth0.2
** 认证超时: 8秒
** 响应间隔: 30秒
** 失败等待: 15秒
** 允许失败: 0次
** 组播地址: 锐捷
** DHCP方式: 二次认证
** DHCP脚本: udhcpc -i eth0.2
!! 在网卡eth0.2上获取IP失败!
!! 在网卡eth0.2上获取子网掩码失败!
** 本机MAC: 98:8f:e0:66:28:cd
** 使用IP: 0.0.0.0
** 子网掩码: 255.255.255.0
寻找服务器...
找不到服务器,重启认证!
寻找服务器...
一直显示这个 但用老毛子自带的mentohust就能登陆上 请问能提供一些思路吗
把make全换成make -j$((`nproc`+1))
作用是开启多线程编译
我用SDK直接编译,在make packages/mentohust/compile V=s时出错,提示
mipsel-openwrt-linux-musl-gcc: error: /mnt/linux/openwrt-sdk-18.06.1-ramips-mt7621_gcc-7.3.0_musl.Linux-x86_64/build_dir/target-mipsel_24kc_musl/libpcap-*/ipkg-install/usr/lib/libpcap.a: No such file or directory
请问这个要怎么解决?
如题,在编译mentohust与luci-app-mentohust时发生冲突,都是采用原作者的仓库直接拉取,发现init.d脚本会有冲突,贴上luci-aapp-mentohust仓库地址:https://github.com/kenzok8/small-package/blob/main/luci-app-mentohust/Makefile
大概在40行左右,都有一个对init.d的操作
https://github.com/sbwml/luci-app-mentohust
扔掉了配置文件,使用变量启动
已解决 配置文件的问题
设备是红米ac2100,以下是ssh日志
root@OpenWrt:~# mentohust
欢迎使用MentoHUST 版本: 0.3.1
Copyright (C) 2009-2010 HustMoon Studio
人到华中大,有甜亦有辣。明德厚学地,求是创新家。
Bug report to http://code.google.com/p/mentohust/issues/list
** 用户名: 202******
** 网卡: eth1
** 认证超时: 8秒
** 响应间隔: 30秒
** 失败等待: 15秒
** 允许失败: 0次
** 组播地址: 锐捷
** DHCP方式: 二次认证
** DHCP脚本: udhcpc
** 本机MAC: d4:a1:48:::**
** 使用IP: 10.72.*.
** 子网掩码: 255.255.0.0
寻找服务器...
找不到服务器,重启认证!
寻找服务器...
找不到服务器,重启认证!
^C>> 认证已退出。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.