|
楼主 |
发表于 2022-4-6 22:17:02
|
显示全部楼层
本帖最后由 ufo1cn 于 2022-4-6 22:28 编辑
+ W. [7 s; f1 d! g1 A5 }. W张小牛 发表于 2022-4-6 11:47
- G$ l3 I" T* i2 o3 b0 Q你再检查下我的压缩包,iptables和ip6tables在17包的/sbin里面,在21包的/usr/sbin/里面,原版也是在这些位 ... 6 }1 a' @! g8 r8 ]
确实openwrt17里面的/sbin有iptables和ip6tables,但是运行也一样会出错。- root@SAF:/sbin# ip6tables
: t! E) S: E! p5 b4 r. c' A7 v - Error relocating /sbin/ip6tables: __lstat_time64: symbol not found
" K+ T- U' z% E( h) i- C: k - Error relocating /sbin/ip6tables: __select_time64: symbol not found. T1 A N& h/ l
- Error relocating /sbin/ip6tables: __ctime64: symbol not found+ x- S. M3 o7 A% f
- Error relocating /sbin/ip6tables: __gmtime64: symbol not found/ W; X* X( N8 n( U0 D
- Error relocating /sbin/ip6tables: __time64: symbol not found* y1 N0 j/ x5 N# D
- Error relocating /sbin/ip6tables: __mktime64: symbol not found w! c5 ^$ J0 m" N
复制代码 而且openwrt17的tar解压openwrt-17.01.7-saf.tar.gz会报tar: invalid tar magic但是电信主系统和电信的openwrt系统自带的tar解压openwrt-17.01.7-saf.tar.gz就正常。: r5 r, r# e6 I$ B
应该是hs8145x6的固件和你的openwrt一些编译库版本不一致吧?! c( b. z+ f) H3 ]+ f
) \! b G/ _' ~5 q. R
我对lxc不熟,请问下如何通过lxc命令进入电信自带的openwrt的shell?是上面说的saf-huawei console吗?具体命令是执行什么?
* U- \+ i' `. F& r我是通过主系统在opt/upt/apps/apps/etc/rc.local ,加入/usr/sbin/telnetd -p 2121 -F -l /bin/ash & 由telnet登陆电信的openwrt的。/ i: E, f1 T! Z ]# j, G3 G
比较麻烦。
, \2 X" ]( |3 r; ~7 z7 S9 U$ U% _! N8 h8 d& t8 M
|
|