A-A+

斐讯k3c无线路由器参数、开telnet

本文于2019年04月09日最后更新 电脑技巧

需提醒的是K3c采用nand48脚flash,张自然建议谨慎操作。出现一切后果责任自负。

强调48脚是因为非相关从业人员一般没工具或者根本焊不好。而且对应编程器相对路由器价格也不便宜,玩砖了基本就废了。(当然会玩的,比如用hg255d做编程器的大佬们,就忽略我这段话吧。)

斐讯K3c基础参数及硬件信息

开箱斐讯K3c

网线连接正常获取到ip后,访问192.168.2.1或p.to(dns非路由不能用)配置密码等信息。

拆机内部结构建议大家阅读(下文有部分内容亦来自以下文章)

https://post.smzdm.com/p/591652/

斐讯K3c采用Intel GRX350 CPU(官网卖20多美元)

https://ark.intel.com/products/92553/Intel-AnyWAN-GRX350-Network-Processors

Intel GRX350芯片跟MT7621性能对比:

http://www.right.com.cn/forum/thread-249736-1-1.html

通过以下信息得出斐讯K3c的CPU频率是800MHz,但同采用Intel GRX350芯片的ASUS Blue Cave(蓝洞)路由器频率为1.6GHz。因此判断斐讯K3c采用的是阉割款Intel GRX350芯片或控制不住功耗发热等故意降频运行的。

查看openwrt识别到的cpu信息方法:
[root@Zhangziran.com] cat /proc/cpuinfo
system type : GRX500 rev 1.2
machine : EASY350 ANYWAN (GRX350) Router model
processor : 0
cpu model : MIPS interAptiv V2.0
cpu MHz : 800.000
BogoMIPS : 516.09
wait instruction : yes
microsecond timers : yes
tlb_entries : 32
extra interrupt vector : yes
hardware watchpoint : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa : mips1 mips2 mips32r1 mips32r2
ASEs implemented : dsp mt eva
shadow register sets : 1
kscratch registers : 0
core : 0
VPE : 0
VCED exceptions : not available
VCEI exceptions : not available

processor : 1
cpu model : MIPS interAptiv V2.0
cpu MHz : 800.000
BogoMIPS : 516.09
wait instruction : yes
microsecond timers : yes
tlb_entries : 32
extra interrupt vector : yes
hardware watchpoint : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa : mips1 mips2 mips32r1 mips32r2
ASEs implemented : dsp mt eva
shadow register sets : 1
kscratch registers : 0
core : 0
VPE : 1
VCED exceptions : not available
VCEI exceptions : not available

processor : 2
cpu model : MIPS interAptiv V2.0
cpu MHz : 800.000
BogoMIPS : 516.09
wait instruction : yes
microsecond timers : yes
tlb_entries : 32
extra interrupt vector : yes
hardware watchpoint : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa : mips1 mips2 mips32r1 mips32r2
ASEs implemented : dsp mt eva
shadow register sets : 1
kscratch registers : 0
core : 1
VPE : 0
VCED exceptions : not available
VCEI exceptions : not available

斐讯K3c采用钰创科技256M内存芯片。

查看openwrt下识别到的内存信息方法:
[root@Zhangziran.com]cat /proc/meminfo
MemTotal: 190052 kB
MemFree: 112172 kB
Buffers: 6836 kB
Cached: 23896 kB
SwapCached: 0 kB
Active: 23008 kB
Inactive: 19156 kB
Active(anon): 11384 kB
Inactive(anon): 0 kB
Active(file): 11624 kB
Inactive(file): 19156 kB
Unevictable: 0 kB
Mlocked: 0 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Dirty: 0 kB
Writeback: 0 kB
AnonPages: 11384 kB
Mapped: 5752 kB
Shmem: 0 kB
Slab: 20968 kB
SReclaimable: 4120 kB
SUnreclaim: 16848 kB
KernelStack: 1008 kB
PageTables: 672 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 95024 kB
Committed_AS: 36688 kB
VmallocTotal: 524280 kB
VmallocUsed: 1632 kB
VmallocChunk: 503308 kB
~ #

斐讯K3c 采用128M TSOP48封装 Nano SLC  Flash

其中有三星的K9F1G08U0F和其他品牌,但都是128M SLC

斐讯K3c功耗

看看自带的最大36W直流电源就知道这玩意相对不节能。。。。

品牌:斐讯

产品名称:电源适配器

型号:YH-AE-120A300-CH

输入:100-240V ~ 50/60Hz 1A MAX

输出:12V 3A

其他参数

2.4Ghz模块:S7054L36 SLLVN

5Ghz模块:S7114L48 SLLOH

5Ghz功放模块3个:GPF4519 5EFX(分别对应3个ipx天线)

2.4Ghz功放模块3个:4252(分别对应3个ipx天线)

斐讯K3c软件

 

K3c进入u-boot方式

K3C断电后按住复位键,上电后持续按住20秒后放开。

因为斐讯K3C有主备两个固件区,一般要刷两遍。不然可能自动还原。

电脑连接到K3c任一LAN口,打开192.168.2.1(没有dhcp)。如果这里刷无法启动,那么就要拆机用TTL刷(不过这里和拆机TTL从理论上区别不是很大了)。大概率需要拆flash上编程器了。

 

斐讯K3c固件对比

K3c官方固件

http://www.phicomm.com/cn/support.php/Soho/software_support/t/sm.html

截至20190402最新固件就是K3C_V32.1.46.268.bin

http://www.phicomm.com/cn/Uploads/files/20180205/K3C_V32.1.46.268.bin

20190403测试web在线升级268版本会直接提示未知错误。

http://www.phicomm.com/cn/Uploads/files/20170930/K3C_V32.1.26.175.bin

http://www.phicomm.com/cn/Uploads/files/20170731/K3C_V32.1.22.113.bin

K3c官改固件

https://www.right.com.cn/forum/thread-318971-1-1.html

K3c openwrt cc固件

https://www.right.com.cn/forum/thread-325709-1-1.html

k3c固件ISDK测试版

https://www.right.com.cn/forum/thread-250546-1-1.html

K3c 华硕-蓝洞-梅林固件(需硬改)

https://www.right.com.cn/forum/thread-304861-1-1.html

https://asuswrt.lostrealm.ca/download

蓝洞是512M内存,固件识别到RAM容量不对就不会启动。

另外英特尔闭源等原因导致无法修改固件,因此只能硬改。

 

斐讯K3c开启telnet

K3c通过降级开启telnet(非官方原版固件)

K3c V32.1.22.113版本在web界面直接刷写以下固件(V32.1.15.93版本)会直接开启telnet。

k3c降级固件:K3C_V32.1.15.93

降级固件来自(原作者享有一切权利与责任):http://koolshare.cn/thread-120922-1-1.html

K3c通过软件开启telnet

K3C V32.1.22.113以上及V32.1.45.267以下版本使用

斐讯K3c开启telnet工具下载:RoutAckProV1B2

软件来自(原作者享有一切权利与责任):http://www.right.com.cn/forum/thread-261028-1-1.html

K3C V32.1.22.113以下版本使用(因为现在113已经稳定,建议升级到113)

http://www.right.com.cn/forum/thread-252388-1-1.html

http://koolshare.cn/thread-90610-1-1.html

 

查看telnet服务状态

telnetd_startup show(如果开了会显示 telnetd default on

输入:telnetd_startup clear 或 iwpriv ra0 e2p 26=FFFF关闭telnet服务

安装ssh并开启自启

opkg install http://downloads.openwrt.org/chaos_calmer/15.05/lantiq/xrx200/packages/base/dropbear_2015.67-1_lantiq.ipk

/etc/init.d/dropbear enable

/etc/init.d/dropbear start

/etc/init.d/dropbear restart

 

http://downloads.openwrt.org/chaos_calmer/15.05/lantiq/xrx500/packages/base/Packages.gz.

执行 cp /etc/opkg/distfeeds.conf /etc/opkg/distfeeds.conf.bakup (备份一下以备不时之需)

执行 vi /etc/opkg/distfeeds.conf

 

 

如果你无法联网升级,可以用离线的方式进行升级:
1)下载【离线刷机包】
2)将下载的刷机包拷贝到U盘根目录
3)将U盘插入K3C,telnet或ssh执行如下命令

tar xzf /ramdisk/usb/.run/mountd/sda1/k3c_v16.tar.gz -C /tmp && /tmp/upfw.sh

 

/ramdisk/usb/.run/mountd/sda1 # tar xzf /ramdisk/usb/.run/mountd/sda1/k3c_v16.tar.gz -C /tmp && /tmp/upfw.sh
down firmware ok!write firmware,please wait...
Volume ID 1, size 194 LEBs (24633344 bytes, 23.5 MiB), LEB size 126976 bytes (124.0 KiB), dynamic, name "rootfsA", alignment 1
upgrade : calling do_upgrade with filename = /tmp/fs.bin and size 24510464

Image Header --> Data Size = 24510400
Image Name = LTQCPE RootFS
Image contains header with name [LTQCPE RootFS]
Upgrade : successfully upgraded rootfs
Unlocking uboot ...

Writing from /tmp/uboot.bin to uboot ...
Unlocking gphyfirmware ...

Writing from /tmp/gphy.bin to gphyfirmware ...
upgrade : calling do_upgrade with filename = /tmp/bootcore.bin and size 2635616

Image Header --> Data Size = 2635552
Image Name = MIPS 4Kec Bootcore
Image contains header with name [MIPS 4Kec Bootcore]
Volume ID 4, size 21 LEBs (2666496 bytes, 2.5 MiB), LEB size 126976 bytes (124.0 KiB), dynamic, name "bootcoreA", alignment 1
Erasing 128 Kibyte @ 20000 -- 100 % complete
parameter active_bank value changed from rootfs_id=4 to A
Erasing 128 Kibyte @ 20000 -- 100 % complete
parameter update_chk value changed from =A to 3
Upgrade : successfully upgraded bootcore
write firmware ok,start write kernel,please wait...
upgrade : calling do_upgrade with filename = /tmp/kernel.bin and size 3014656

Image Header --> Data Size = 3014592
Image Name = MIPS LTQCPE Linux-3.10.104
Image contains header with name [MIPS LTQCPE Linux-3.10.104]
Volume ID 0, size 24 LEBs (3047424 bytes, 2.9 MiB), LEB size 126976 bytes (124.0 KiB), dynamic, name "kernelA", alignment 1
parameter f_kernel_sizeA is not existed
Erasing 128 Kibyte @ 20000 -- 100 % complete
parameter active_bank value changed from to A
Erasing 128 Kibyte @ 20000 -- 100 % complete
parameter update_chk value changed from =A to 3
Upgrade : successfully upgraded kernel
upgrade ok!reboot...
/ramdisk/usb/.run/mountd/sda1 #

遗失对主机的连接。

其他说明:
官改固件如果要刷回官方固件,直接WEB“手动升级”官方固件即可
如果出现无法启动的情况,可以尝试长按复位键恢复出厂、多重启、恢复出厂几次,一般即可解决;实在不行再在官方uboot中刷入最新的官方固件恢复(注:uboot中操作容易变砖)
如果出现不稳定、丢无线、死机等现象,可将广告屏蔽换成adbyby试试

 

优化斐讯K3c

 

/etc/init.d/lc stop

/etc/init.d/lc disable

停止斐讯app服务并禁用其开机自启

/etc/init.d/collect stop

/etc/init.d/collect disable

编辑/etc/crontabs/ root

在 00 02 * * * up_data 前加 #,或者删除, 去除定时上传数据。

如果你想彻底点,就直接卸载掉app远程服务和telnet服务吧。。。

opkg remove data_collect (删除后 ,无法使用app远程连接)

opkg remove telnetd_startup

 

 

标签:

  1. wxlsr自媒体
    看得出你写的很是专业,为您点赞!

给张自然个人博客留言取消回复

Copyright © ZhangZiRan.com All Rights Reserved. 张自然个人博客 内容版权所有,同时保留所有权利。个人博客免责声明

用户登录