|
本帖最后由 ufo1cn 于 2021-4-24 21:00 编辑
根据 唤醒华为智能网关光猫隐藏的小宇宙:OpenWRT 这个帖子,我在光猫的openwrt中下载的dropbear,opkg都用不了,运行时报错not find. 网上找了下信息,应该是C库的原因,下载依赖ulibc,而自带的openwrt是libc. 可见软件源没有选对,随便试验了几个其他的软件源也都不对,只能创建/opt/upt/apps/apps/etc/rc.local ,加入/usr/sbin/telnetd -p 2121 -F -l /bin/ash & 以后由telnet登陆。因为主系统的etc下没有shadow文件,没有按上贴替换root的密码,所以登陆也不需要密码,
以下是我的光猫版本
硬件版本: | 210D.A | 软件版本: | V5R020C00S035 | 制造信息: | 2150084412HYLC013345.C402 | 内置的openwrt信息
- /etc # cat banner
- _______ ________ __
- | |.-----.-----.-----.| | | |.----.| |_
- | - || _ | -__| || | | || _|| _|
- |_______|| __|_____|__|__||________||__| |____|
- |__| W I R E L E S S F R E E D O M
- -----------------------------------------------------
- CHAOS CALMER (2.1, R3545)
- -----------------------------------------------------
- * 1 1/2 oz Gin Shake with a glassful
- * 1/4 oz Triple Sec of broken ice and pour
- * 3/4 oz Lime Juice unstrained into a goblet.
- * 1 1/2 oz Orange Juice
- * 1 tsp. Grenadine Syrup
- -----------------------------------------------------
复制代码- /etc # cat opkg.conf
- dest root /
- dest ram /tmp
- lists_dir ext /var/opkg-lists
- option overlay_root /overlay
- option check_signature 1
- /etc # cat openwrt_release
- DISTRIB_DESCRIPTION='FW2.1_CT_HUAWEI_RTOS44_R3545'
- /etc # cat openwrt_version
- 2.1 (Thu Apr 9 20:47:16 CST 2020)
复制代码 导出一个内置的电信程序后查看信息如下
- ufo1cn@ufo1cn-virtual-machine:~/ac9$ readelf -a cloudclient |grep NEED
- 0x00000001 (NEEDED) 共享库:[libjson-glib.so]
- 0x00000001 (NEEDED) 共享库:[libcrypto.so.1.0.0]
- 0x00000001 (NEEDED) 共享库:[libssl.so.1.0.0]
- 0x00000001 (NEEDED) 共享库:[libcurl.so.4]
- 0x00000001 (NEEDED) 共享库:[libuci.so]
- 0x00000001 (NEEDED) 共享库:[libubox.so]
- 0x00000001 (NEEDED) 共享库:[libcapi3.so]
- 0x00000001 (NEEDED) 共享库:[libglib-2.0.so.0]
- 0x00000001 (NEEDED) 共享库:[libgobject-2.0.so.0]
- 0x00000001 (NEEDED) 共享库:[libgio-2.0.so.0]
- 0x00000001 (NEEDED) 共享库:[libunwind_s.so.1]
- 0x00000001 (NEEDED) 共享库:[libc.so]
复制代码
请问有hs8145x6的用户找到能用的openwrt软件源的吗 ?
|
|