|
楼主 |
发表于 2022-4-6 22:17:02
|
显示全部楼层
本帖最后由 ufo1cn 于 2022-4-6 22:28 编辑 ! m& o' _. _1 o( h& Q+ h! g }4 A5 w
张小牛 发表于 2022-4-6 11:47 ?! r$ ~: }1 T# p- b1 S
你再检查下我的压缩包,iptables和ip6tables在17包的/sbin里面,在21包的/usr/sbin/里面,原版也是在这些位 ...
- H4 y* u8 A- O1 l" z, F确实openwrt17里面的/sbin有iptables和ip6tables,但是运行也一样会出错。- root@SAF:/sbin# ip6tables: W% [5 ^* U# K4 F& K
- Error relocating /sbin/ip6tables: __lstat_time64: symbol not found
3 w0 ~! j; {% U - Error relocating /sbin/ip6tables: __select_time64: symbol not found
( g" o" Y& n8 Y( W9 {' A( K - Error relocating /sbin/ip6tables: __ctime64: symbol not found
3 g6 S1 y# S* u: ` - Error relocating /sbin/ip6tables: __gmtime64: symbol not found I8 y( c# S$ b5 g9 P7 r: ~7 C3 X
- Error relocating /sbin/ip6tables: __time64: symbol not found
+ a- r L* S# @2 X - Error relocating /sbin/ip6tables: __mktime64: symbol not found6 N$ M1 E; B* f8 P- v
复制代码 而且openwrt17的tar解压openwrt-17.01.7-saf.tar.gz会报tar: invalid tar magic但是电信主系统和电信的openwrt系统自带的tar解压openwrt-17.01.7-saf.tar.gz就正常。2 a, s6 `4 D0 \4 o1 K
应该是hs8145x6的固件和你的openwrt一些编译库版本不一致吧?
9 ]; l/ g n: J/ J" C. ^3 X6 `8 x1 U
我对lxc不熟,请问下如何通过lxc命令进入电信自带的openwrt的shell?是上面说的saf-huawei console吗?具体命令是执行什么?
7 t9 a+ D; z7 m6 r我是通过主系统在opt/upt/apps/apps/etc/rc.local ,加入/usr/sbin/telnetd -p 2121 -F -l /bin/ash & 由telnet登陆电信的openwrt的。2 z' t) R4 M, M y P
比较麻烦。& M2 b4 K! y# y/ p( }5 w; M5 B7 P% ?6 n
. \! \- g' X _* D. J |
|