PHICOMM K3C Router

Here config.gz http://bit.ly/2DTL00x
Can you please tell me how make part backup,i mean don't know how many partitions k3c have, if i make dd if=/dev/mtd it is right?

Partition layout:

dev:   size          erasesize  name
mtd0: 00100000 00020000 "uboot"
mtd1: 00040000 00020000 "ubootconfigA"
mtd2: 00040000 00020000 "ubootconfigB"
mtd3: 00040000 00020000 "gphyfirmware"
mtd4: 00100000 00020000 "calibration"
mtd5: 01000000 00020000 "bootcore"
mtd6: 00040000 00020000 "pro_info"
mtd7: 00040000 00020000 "dev_info"
mtd8: 06c00000 00020000 "system_sw"
mtd9: 000c0000 00020000 "res"
mtd10: 002e0000 0001f000 "kernelA"
mtd11: 00f80000 0001f000 "rootfsA"
mtd12: 002e0000 0001f000 "kernelB"
mtd13: 00f80000 0001f000 "rootfsB"
mtd14: 0028b000 0001f000 "bootcoreA"
mtd15: 0028b000 0001f000 "bootcoreB"
mtd16: 0141a000 0001f000 "data_vol"

Partition backup https://cloud.waytt.cf/wl/?id=vgfrjFQHC10AjXuzKbw4m2qnaGG4pq7d&mode=default
without mtd16 - device is busy :frowning:

1 Like

this firmware is very old,can you get the latest

i found that A1 and B2 used same wifi firmware, if this is true,i think i made a mistake,maybe B1=B1G and A1=C1=B2?
who can take a picture of your board?

https://wikidevi.com/wiki/Phicomm_K3C

In web gui new version is :34.1.9.53,on German Phicomm website i found 34.1.11.57 ( https://www.phicomm.de/wp-content/uploads/PhicommK3CReleaseVersion2.0.bin_.zip ),
but i don't want upgrade becouse they close telnet.

ok,i see,it is still very old

it is bad,or.....

http://k3c.paldier.com/openwrt/C1/fullimage.img

/usr/sbin/upgrade /tmp/fullimage.img fullimage 0 1
rm -rf /overlay/*
sync
reboot

Upgrade successfully!
But wifi dont work....
This message prints every 2 or 3 seconds:

 mtlkW(_hw_rate_params_to_rate:187): Rate is not found: mcs 11, mode 3, cbw 2, scp 0, nss 1

This error when i restart network:

daemon.notice netifd: wlan0 (17983): nl80211 driver initialization failed.
daemon.notice netifd: wlan0 (17983): wlan0: interface state UNINITIALIZED->DISABLED
daemon.notice netifd: wlan0 (17983): wlan0: AP-DISABLED
daemon.notice netifd: wlan0 (17983): wlan0: HOSTAPD-DISCONNECTED
daemon.notice netifd: wlan0 (17983): hostapd_free_hapd_data: Interface wlan0 wasn't started
kern.debug kernel: [10861.250000] (null): iftype=3, chanmode=0, radar_detect=0x00, center_freq=0
kern.debug kernel: [10861.260000] wdev_iter=wlan2
daemon.notice netifd: wlan0 (17983): cat: can't open '/var/run/wifi-phy0.pid': No such file or directory
 ###########################################
daemon.notice netifd: wlan0 (17983): Command failed: Invalid argument
daemon.notice netifd: wlan0 (17983): [main 381 ] @@@@@ UBUS MSG :
daemon.notice netifd: wlan0 (17983):
daemon.notice netifd: wlan0 (17983): network.wireless   notify  { "command": 2, "device": "wlan0", "data": { "pid": 0, "exe": "\/opt\/lantiq\/bin\/hostapd", "required": true } }
###########################################
daemon.notice netifd: wlan0 (17983): Device setup failed: HOSTAPD_START_FAILED
daemon.notice netifd: wlan2 (17984):
daemon.notice netifd: wlan2 (17984): 
 ###########################################
daemon.notice netifd: wlan2 (17984): Command failed: Invalid argument
daemon.notice netifd: wlan2 (17984): [main 381 ] @@@@@ UBUS MSG :
daemon.notice netifd: wlan2 (17984):
daemon.notice netifd: wlan2 (17984): network.wireless   notify  { "command": 2, "device": "wlan2", "data": { "pid": 0, "exe": "\/opt\/lantiq\/bin\/hostapd", "required": true } }
###########################################
daemon.notice netifd: wlan2 (17984): Device setup failed: HOSTAPD_START_FAILED

Waytt, try to delete/rename /etc/config/wireless Then, reboot. Whatever config was in this image also broke my wifi until I did that.

This is what I did first.

 mtlkW(_hw_rate_params_to_rate:187): Rate is not found: mcs 11, mode 3, cbw 2, scp 0, nss 1

wlan0 get wrong configuration,maybe txpower,waiting for auto restart

I forgot that there was another bug I saw:
After you delete /etc/config/wireless, try /etc/init.d/network restart.
I sometimes had that bug where one or both wireless don't start on boot,
the order of the init.d was wrong.

So if /etc/init.d/network restart fixes your wireless - then maybe your order is wrong

My current order is below. Just for summary order of the important network/wifi components.
S18swconfig
S19firewall
S19wifi_start
S20network
S20ppa_init
I think before, it was starting sw and wifi after network which sometimes caused issues.
Please post your ls /etc/rc.d and I can help. I forgot my original order.

If your order is different, You can change order by editing the corresponding /etc/init.d file example
wifi_start.sh
to
start=19
Then reboot and do ls /etc/rc.d
wifi_start should show as S19wifi_start

root@K3C:~# ls /etc/rc.d
K10ddns                    S10system                  S50telnet
K50dropbear                S11sysctl                  S50uhttpd
K80cpufreq                 S12log                     S50vsftpd
K89log                     S12rpcd                    S60samba
K90network                 S18swconfig.sh             S70usb_printer
K98boot                    S19firewall                S76ltq_temp.sh
K99umount                  S19wifi_start.sh           S80mountd
S00sysfixtime              S20network                 S95ddns
S01set_system_config.sh    S20ppa_init.sh             S95done
S03ltq_gpio_led.sh         S40fstab                   S98sysntpd
S03mwan3                   S50autoreboot              S99cpufreq
S08ltq_cgroups_startup.sh  S50cron                    S99led
S10boot                    S50dropbear                S99post_boot.sh
S10pre_boot.sh             S50hd-idle

original setup which has wifi_start as 21 which caused me issue sometimes. Try to change it to start 19 as I described above

root@K3C:/# ls rom/etc/rc.d/
K10adbyby                  S12log                     S76ltq_temp.sh
K10ddns                    S12rpcd                    S80mountd
K10v2raypro                S18swconfig.sh             S80relayd
K10xlnetacc                S19firewall                S90shadowsocksr
K15miniupnpd               S20network                 S90vlmcsd
K15shadowsocksr            S20ppa_init.sh             S91wrtbwmon
K50dropbear                S21ipset.sh                S95ddns
K80cpufreq                 S21wifi_start.sh           S95done
K85odhcpd                  S35odhcpd                  S95miniupnpd
K89log                     S40fstab                   S95xlnetacc
K90network                 S50autoreboot              S96led
K98boot                    S50cron                    S98sysntpd
K99socat                   S50dropbear                S99adbyby
K99umount                  S50hd-idle                 S99aria2
S00sysfixtime              S50minidlna                S99cpufreq
S01set_system_config.sh    S50p910nd                  S99frp
S03ltq_gpio_led.sh         S50telnet                  S99ngrokc
S03mwan3                   S50uhttpd                  S99post_boot.sh
S08ltq_cgroups_startup.sh  S50vsftpd                  S99socat
S10boot                    S60dnsmasq                 S99transmission
S10pre_boot.sh             S60nlbwmon                 S99v2raypro
S10system                  S60samba                   config.sh
S11sysctl                  S70usb_printer

Did you use fullimage.img follow the link or the one in the A1-B1 folder ?. Thank

Not sure if this is the correct place to ask, but:

  1. Is there any way to get English for the full_image (k3cop.sh) for the A1? My interface is the crappy Phicomm, not the one shown above where someone mentioned a second button after the K3C.

and with that thought, 2) is there any way to have just the openwrt interface, and not the Phicomm stuff at all?

But mostly wanting to know if there's a way of going to English. I'm completely new at trying anything with openwrt and appreciate any guidance. Thanks!

Originally there was just the fullimage.img dated 2/7 in the openwrt folder which was my first flash but recently I used the a1-b1 folder one to update.

1 Like

There wasnt a phicomm interface for me, just openwrt and the second menu is openwrt system menu.

I didn't use k3cop. I ttl, then upgrade with the fullimage.img in the openwrt fonder from a tftp server run on my laptop plugged into the k3c lan with the same subnet but .2 and the router was .1
Sorry i don't remember the full ip but it was on the ttl console. It said waiting for image from x.y.x.2 or so

1 Like

factory reset

Unfortunally this is not help
Here a kernel messages https://bin.waytt.cf/view/5c7bd5e9
And system log https://bin.waytt.cf/view/da173c73

i need more information,take a photo of your motherboard

1 Like