Adding OpenWrt support for Comfast CF-E130N V2


Sorry, my units are mounted quite high so I can't really take them down to note down a procedure.
As for how I got mine working, uploaded the sysupgrade snapshot image via the stock WebUI. Keep pinging the device, you'll notice it when it reboots then. Once rebooted, hold the reset button for like 20 seconds on the unit. Then it resets the device to factory defaults, you can then SSH the unit to get it setup since it doesn't have LUCI installed.

If it truly is bricked, get it wired to your PC, use wireshark to see if it tries to grab an image using tftp, then provide the stock image back to the unit that way perhaps?


Do you have the link for the sysupgrade snapshot image via the stock WebUI? or this is the page you referring: Also, the IP I am going to ping is which is the default IP for the router.

You mean wire to the PC using the USB port?


hey ODickins, I already connected to the comfast via SSH using and logged in using root. what should I be doing next?

should I do this?


  • Login as root via SSH on, then enter the following commands:

cd /tmp wget
sysupgrade /tmp/

This is possibly the wrong forum to get help now then, I don't believe you can gain SSH access to the stock image.

I uploaded the sysupgrade image by using the Stock image Web interface. Then held the reset button which reset all settings to default (and cleared the root password). From there, SSH to and you'll be greeted with the OpenWRT prompt, from there you can use opkg and UCI commands to configure or install LUCI for a web interface.

Sorry I can't help my Futher, I don't really use OpenWRT for a lot, only really as AP's so my knowledge regarding this is fairly limited.

Check optional next steps here as by what you describe I believe you've got the unit flashed and it is running OpenWRT snapshot.

I already logged in to SSH and trying to install LUCI



opkg update
opkg install luci

I already did opkg update but result is this.

I have a working connection.


Please don't post console output as screenshots.
Please use the "Preformatted text </>" button for logs, scripts, configs and general console output.

I did nslookup and results:

root@OpenWrt:~# nslookup
^[[;; connection timed out; no servers could be reached

You don't.

Hi Guys,
I have flashed with the snapshot, but would like some Luci but having a real problem>Have posted my problem here, In short:
I have tried this a number of time using Putty on a win10 , but with out luck. I get the prublem:

* opkg_download: Failed to download, wget returned 4.
* opkg_download: Check your network settings and connectivity.

I see many people have this problem but can't ind a answer to it, I can connect to the internet though the router ( I'm replying now connected to it) so I'm at a loss.

Any suggestions (in layman's terms) welcome

With your PC connected to the CF-E130Nv2, can you download this file?

Please can you issue the following commands on your CF-E130Nv2 and let us know the output.

ping -c 1

Here is an example of my output if I do the same on my CF-E130Nv2.

root@'s password:

BusyBox v1.31.1 () built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 OpenWrt SNAPSHOT, r13487-712e00877d
root@OutdoorAP:~# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         UG    0      0        0 br-lan    *        U     0      0        0 br-lan
root@OutdoorAP:~# nslookup

Name:   canonical name =
Address 1:   canonical name =
Address 2: 2a01:4f8:150:6449::2
root@OutdoorAP:~# ping -c 1
PING ( 56 data bytes
64 bytes from seq=0 ttl=116 time=818.739 ms

--- ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 818.739/818.739/818.739 ms
root@OutdoorAP:~# wget
Downloading ''
Connecting to
Writing to 'Packages.gz'
Packages.gz          100% |*******************************| 70023   0:00:00 ETA
Download completed (70023 bytes)

This will;

  • Confirm you have a default route.
  • Confirm you have the ability to resolve domain names
  • Confirm you can route to the WAN & confirm any upstream NAT is working
  • Confirm you can download packages over HTTP

hey master ODickins, how can I revert it from openwrt to original comfast firmware? thanks.

I'm afraid I've probably hit the same wall as yourself; cannot find the original firmware posted online by the manufacturer.

Your options would be to either; email the manufacturer or attempt to extract the firmware somehow from a working unit, original, unit.

Otherwise; happy to help you get OpenWRT working on it - I have recently upgraded mine to the latest OpenWRT snapshot and reconfigured; which worked without issue.

Finally; as stated before - I don't think this is the correct forum for your questions however, since this is the development forum. You'll probably want to head over to the "Installing and Using OpenWRT" Forum.


I already reflashed it back to stock comfast firmware. I just follow this tutorial.

Sorry for the delay- work :frowning:

root@OpenWrt:~# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface * U 0 0 0 br-lan
root@OpenWrt:~# nslookup

;; connection timed out; no servers could be reached

root@OpenWrt:~# ping -c 1
PING ( 56 data bytes
ping: sendto: Network unreachable
root@OpenWrt:~# wget
Downloading ''
Failed to send request: Operation not permitted

Yes no problem downloading with the PC