Belkin F9K1102: Tomato bring-up

Discussion in 'Tomato Firmware' started by mdmower, Jan 29, 2015.

  1. filipedonato

    filipedonato Connected Client Member

    If you can solve any of the problems of LAN 4 or Random Restarts put here to see us please.
    I did not know that there was OPENWRT for this device, they should join forces and fix the problems because OPENWRT and TOMATO are both very good.
     
  2. Scott Phillips

    Scott Phillips New Member Member

    Im a big newbie so please dont shoot.I ran the tomato-K26USB-1.28.AT-RT-N5x-MIPSR2-3.5-140-RT-N53.trx and had 2.4 as well as 5 ghz the problem i ran into was I could not get an ip address from any port has anyone seen this issue?
    or am i just not setting it up correctly? I can only see the wireless connection in the device list but i do see the ports are showing in the overview page with traffic (maybe) on port 3 and 4.
     
  3. filipedonato

    filipedonato Connected Client Member

    I did not have that problem.
    Remember not to use port 4. She is in trouble.
    I went back to the original version until some solution appeared.
     
  4. filipedonato

    filipedonato Connected Client Member

    Any update?
     
  5. tvlz

    tvlz LI Guru Member

    Has anybody looked in/posted the CFE (admin -> debug -> Download CFE) for the reset gpio# ?
     
  6. Tim007

    Tim007 New Member Member

    Hello, newbie here. I've been having the same problems of restart/losing connection with v3 of this router so I started doing research.

    I read that the FW version 3.03.25 is much more stable than the later 3.04.xxx versions. I can't post a url for the download or the site that talks about it, but I will be happy to provide if there's someway of doing it...

    I have installed 3.03.25 and concur it is stable.

    I noticed that it seemed to lose a little of the range with the 5ghz connection with this version. The v1 and the v3 of this router are almost identical, the difference being the transmitter chip. V1 uses BCM43236 and V3 uses BCM43236B. The differences in power output are found in Tables 12 and 15.

    I have no idea how to make a tomato, but if anyone can start with this older FW version it may be worthwhile. I plan to stay with 3.03.25 for now.
     
    Last edited: Aug 24, 2018
  7. filipedonato

    filipedonato Connected Client Member

    There were two new updates and I had not seen this folder.
    For those who want to download, just go to the MEGA link and look for the folder

    -----------------------------------------------------------------------------------
    freshtomato-mips 2018.3.006-beta
    K26RT-N
    Belkin
    freshtomato-K26USB_RT-N5x-MIPSR2-2018.3.006-beta-F9K1102-64K
    ------------------------------------------------------------------------------------

    And also has a newer one than the one in the folder

    ------------------------------------------------------------------------------------
    freshtomato-mips 2018.3.106-beta
    K26RT-N
    Belkin
    freshtomato-K26USB_RT-N5x-MIPSR2-2018.3.106-beta-F9K1102-64K
    ------------------------------------------------------------------------------------

    As soon as possible I will test!
     
  8. Traace

    Traace New Member Member

    freshtomato-mips 2018.3.106-beta works for me on a belkin F9K1102v1, no crash, all stable so far :)

    Many thanks for this awesome work and install guide.
     
  9. pedro311

    pedro311 Networkin' Nut Member

    You're welcome.
    Maybe buy me a beer or too?
     
    kille72 likes this.
  10. Traace

    Traace New Member Member

    Sure I sent you some $ . But its not much, i'm bit poor this month :) later more ^^
     
  11. pedro311

    pedro311 Networkin' Nut Member

    Thanks ;)
    Will wait for this "later more" :p
     
    Traace likes this.
  12. filipedonato

    filipedonato Connected Client Member

    On your router does the led on the WPS button always turn on and flash?
    Here it is, I already tried some commands to disable but without success.
    In the last build, 2018.4 deactivated all the logs, web monitoring, until date and time synchronization, but the most I got was 14 hours without restarting.
     
  13. jheliodoro

    jheliodoro New Member Member

    Just got around to flashing newest toastman based version (freshtomato-K26USB_RT-N5x-MIPSR2-2018.5.083-beta-F9K1102-64K.trx) to a F9k1102v3 and killed the router.. :/

    Any thoughts on how to try to revive it?

    Symptoms:
    • Modem won't give DHCP to lan (expected, right?)
    • On boot, blue light blinks then remains solid blue, regardless of WAN activity
    • Reset and WPS seem to be ineffective
    • WLAN not available at 2.4 or 5.0 ghz

    Things i've tried so far:

    • Used ipscanner to check for devices on 192.168.0.1 -254, 192.168.1.1 -254, 192.168.2.1 -254, 192.168.100.1 -254 (any other possible gateways for default configuration?)
    • Fixed network IP, subnet and gateways throughout the gateways above
     
  14. pomidor1

    pomidor1 Networkin' Nut Member

    try to use the putty terminal
    and log in: root / admin
    or early( user/pass) if you did not clean the nvram
    if you succeed, please issue:
    mtd-erase2 nvram

    sory: form mipsel router : mtd-erase -d
     
    Last edited: Jan 13, 2019
  15. jheliodoro

    jheliodoro New Member Member

    How can i use putty if i cant locate the device in the network? Is there a way to connect directly to it?

    Thanks for the fast reply!
     
  16. pomidor1

    pomidor1 Networkin' Nut Member

    set ip network card 192.168.1.10, gate 192.168.1.1, mask 255.255.255.0

    ping -t 192.168.1.1 and see what happens, whether pings are coming and how many.
    switch off and turn on the router and watch the pings
     
  17. filipedonato

    filipedonato Connected Client Member

    Belkin N600 V3
    I installed to test the 2018.5 stable updates and 2019.1.015 beta. I still have the same problem. The router restarts at random times.
     
  18. filipedonato

    filipedonato Connected Client Member

    This weekend I tried to downclock to see if the problem could be warming up but it was not. "nvram set clkfreq = 300,150,75"
    And remembering that my router has heat sinks I put in, but it still continued the problem, so I do not think it's overheating.

    I deactivated only the small orange led with the command "gpio enable 5", the other LEDs could not deactivate.
    Original firmware:
    Large blue LED - WAN connection
    Large orange LED - No WAN connection, disconnected.
    Small blue LED - wifi
    Small orange LED - WPS

    Tomato Firmware:
    Large blue LED - LAN port 1
    Large orange LED - LAN port 2
    Small blue LED - Always on
    Small orange LED - Always on but can turn off.

    I also tried to disable or change the order of the WAN and LAN ports, I put the LAN1 for the internet cable and LAN2 and LAN3 for the devices, I did not use LAN4 (because it caused a factory reset) and the WAN port. Even then, the router continued to reboot.

    On the wifi, I left only the 2.4GHZ network, I was doing it by deletion, I reduced the transmission power, but even then the router rebooted.

    I looked up the datasheet of the components to find some difference but I did not find it, version 3 is just like an update with a bit more gain in wifi and the cpu a little better, insignificant thing.

    I believe the problem is either in pppoe or DHCP, because I managed to stay up to 3 hours with the router running and downloading torrents, with normal clocks or lowered, but it was just a simple smartphone to connect to the wifi that the router restarts.
     
  19. afeng11

    afeng11 New Member Member

    anybody can backup F9K1102 V1 or V3 cfe for me?i bricked my router,thank you!
     
    filipedonato likes this.
  20. filipedonato

    filipedonato Connected Client Member

  21. desertworm

    desertworm New Member Member

    I know that builds have only been produced for v1 and v3.
    About a year ago I loaded freshtomato onto a Belkin N600 so I thought it would be no problem to put it onto another one that someone offered me.
    But it's a F9K1102v4 and when I try to upload the trx file that went just fine onto the 'v1 this new belkin firmware complains with the message:

    Upgrade file is not the correct type or version for this device. Upgrade failed. Please obtain the correct file and try again.​

    So I was hoping to do some opkg experimenting with this device to the end of running bind and sendmail, but I'm stuck on replacing the firmware. Is the hardware different? I haven't dug deep enough to find out.

    I found a place to download belkin firmware version 4.04.01, which is currently running on the device.

    I don't have too much experience in the area of porting for embedded devices, but I have a fair bit of c programming experience and want to learn more about embedded systems.
    I got a jtag somethingorother off kickstarter a while back and have never had a reason to mess with it, but maybe now I do.
    If I had some guidance/advice I would push on the project of freshtomatoing this router.

    I'll start reading the general freshtomato stuff again.
     
  22. desertworm

    desertworm New Member Member

    I see now the v1/v3 are a broadcom chipset, while the v2/v4 are the realtek 8197D chip. Neat resource that fcc page. The v4 uses the fcc id of the v2 btw.

    I can't post a proper link yet... but here:
    https://
    fccid.io/K7SF9K1102V2/Internal-Photos/Internal-Photos-3043374

    I guess now I'm looking for realtek based routers that have a tomato port...

    Meanwhile, I'll post some pertinent text and numbers

    From the router tag
    N600 DB Wireless N+ Router
    Model: F9K1102v4
    FCC ID: K7SF9K1102V2

    From the software
    Installed firmware version: 4.04.01 (Jul 09, 2016)
    Boot Loader v2.10

    I don't know what else would be interesting about this router. I suppose I could crack it open and post some pictures.
     
  23. desertworm

    desertworm New Member Member

    I did crack it open. I don't know how interesting the pictures would be. The chip IS IN FACT RTL8197D.

    I soldered some pins into the empty serial port vias, and found that the pinout is the same as for the 'v2, according to wikidevi.
    https://wikidevi.com/wiki/Belkin_F9K1102_v2#Serial

    I captured logs of the normal boot, and for boot with reset button held down.
    It appears that holding the reset button down causes the router to enter a state that waits for firmware to come over http before booting.

    Ok, so if I can't get the web interface to accept an image, I can find a way to deliver it with this http mode, but now the question is, "What do I send to the router?"

    I poked around the freshtomato-mips source and didn't see anything that looked like it was setup to handle a realtek chipset.
    So far I have poked through rtl819x-SDK-v3.4.9.3-full-package-2.tar.gz from the RTL819x sourceforge project. The readme has instructions for Fedora 9 or Ubuntu 8.10/9.10. The menuconfig options don't work in Fedora 29. I am not so in-practice on makefile that I can readily get a compile going here, but I'm not sure the hardware configs are good for this board anyway. There is an rtk_openwrtSDK_v2.5.tar.gz on the sourceforge project that I have yet to look at.

    In summary, two potential firmware injection routes have been identified but the payload is undefined. I suspect the console can be used to glean the necessary insight about this board to construct a new firmware image. I need to poke around the freshtomato source, the rtl sdk and the openwrt sdk and try to figure out what's going on. I don't have a good model of how the nvram interfaces with the software.

    Can someone point me at a resource that explains how these embedded devices work without having /dev/sdaX mounted to /.
    I did see a linux kernel driver document is free online, I think I'll go dig that back up.
     

    Attached Files:

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice