Coder Social home page Coder Social logo

mentohust-openwrt-ipk's People

Contributors

dragonbluep avatar kylericardo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mentohust-openwrt-ipk's Issues

我踩过的坑 以及编译出错的排除

我的设备是红米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
*

  • Unable to find the ncurses package.
  • Install ncurses (ncurses-devel or libncurses-dev
  • depending on your distribution).
  • You may also need to install pkg-config to find the
  • ncurses installed in a non-default location.

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.
不过总算编译出来了,感谢大佬!

[feature] 是否支持多开 ?

运行第一个 mentohust 程序成功后,使用同样的命令(更换 -u -p -n)之后执行提示 !! MentoHUST已经运行(PID=xxxx)!
但未在 /var/run 目录下发现 mentohust.pid 文件,导致无法绕过程序多开限制
是否有可能支持多开呢

拥有 2 个账号,共计可以登录 4 台设备
想要在路由器上的 4 个虚拟 wan 口上认证达到网速叠加的效果

dl.7z 文件,阿里云盘链接

百度云还是挺慢的,搞了一个阿里云盘。不过阿里云盘不支持压缩包分享,所以我把它伪装成图片了哈哈。

我用阿里云盘分享了「dl.7z」,你可以不限速下载🚀
复制这段内容打开「阿里云盘」App 即可获取
链接:https://www.aliyundrive.com/s/zynUAKkyMD5


更新:「dl.mp4」,点击链接保存,或者复制本段内容,打开「阿里云盘」APP ,无需下载极速在线查看,视频原画倍速播放。
链接:https://www.aliyundrive.com/s/1Sbi4vzahmx

更新 feeds 时出错

在执行./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

无法自动执行Ping

运行程序一小段时间(一两分钟左右),查看登录日志发现最后一行有个报错
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

并没有提示依赖缺失,搜索也找不到对应原因,请问可以看看是什么原因吗?

安装编译libpcap库步骤出现问题

有严格按照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时找不到libpcap.a?

我用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
请问这个要怎么解决?

安装后无法运行

路由器型号:Phicomm K2P
路由器SoC:MediaTek MT7621
image

安装过程顺利:
image

运行出现如下报错:
image

找不到认证服务器

设备是红米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>> 认证已退出。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.