COMFAST CF-E314N V2

Under Construction!
This page is currently under construction. You can edit the article to help completing it.

Write a short, relevant description of the device. Include a technical overview, but avoid marketing buzzwords/useless stuff. Two to four sentences is about right. A picture is good, too. Edit the page to see how to add pictures.

FIXME Any text with a light background (like this one) provides instructions for creating the Details Page. When you have filled in correct/useful information (instead of any template that's there) remove the instructions, as well as the <WRAP> that encloses it.

Generic Router

FIXME

  1. This is an empty template that suggests the information that should be present on a well-constructed Device Page. This means, that you have to fill it with life and information.
  2. There are several “fixme” tags with text on a light background (like this text) throughout this template. As you fill in the page, remove those tags so that people can judge its completeness.
  3. When there are no more “fixme” tags left, delete this one too, along with the <WRAP> that encloses it.
  • Please include only model specific information, omit bla,bla and put everything generic into separate articles
  • If you have no time to write certain stuff, link to docs
  • base-system should lead the way, do not explain this again
  • DO NOT provide a complete howto here! Instead groom the general documentation.

Install OpenWrt (generic explanation)

FIXME Please add the installation procedure here.

FIXME Find out flash layout, then add the flash layout table here (copy, paste, modify the example).

Please check out the article Flash layout. It contains examples and explanations that describe how to document the flash layout.

FIXME The instructions below are for Broadcom devices and only serve as an example.
Remove / modify them if they do not apply to this particular device!

This section deals with

  • How you install OpenWrt from a device freshly opened
  • The steps required such as reset to factory defaults if the device has already been configured

Note: Reset router to factory defaults if it has been previously configured.

  • Browse to http://192.168.1.1/Upgrade.asp
  • Upload .bin file to router
  • Wait for it to reboot
  • Telnet to 192.168.1.1 and set a root password, or browse to http://192.168.1.1 if LuCI is installed.

Specific values needed for tftp

FIXME Enter values for “FILL-IN” below

Bootloader tftp server IPv4 address FILL-IN
Bootloader MAC address (special) FILL-IN
Firmware tftp image Latest OpenWrt release (NOTE: Name must contain “tftp”)
TFTP transfer window FILL-IN seconds
TFTP window start approximately FILL-IN seconds after power on
TFTP client required IP address FILL-IN

generic.sysupgrade

FIXME These are generic instructions. Update with your router's specifics.

  • Browse to http://192.168.1.1/cgi-bin/luci/mini/system/upgrade/ LuCI Upgrade URL
  • Upload image file for sysupgrade to LuCI
  • Wait for reboot

If you don't have a GUI (LuCI) available, you can alternatively upgrade via the command line. There are two command line methods for upgrading:

  • sysupgrade
  • mtd

Note: It is important that you put the firmware image into the ramdisk (/tmp) before you start flashing.

sysupgrade

  • Login as root via SSH on 192.168.1.1, then enter the following commands:
cd /tmp
wget http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc
sysupgrade /tmp/xxx.abc

mtd

If sysupgrade does not support this router, use mtd.

  • Login as root via SSH on 192.168.1.1, then enter the following commands:
cd /tmp
wget http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc
mtd write /tmp/xxx.abc linux && reboot

Basic configuration After flashing, proceed with this.
Set up your Internet connection, configure wireless, configure USB port, etc.

FIXME Please fill in real values for this device, then remove the EXAMPLEs

The default network configuration is:

Interface Name Description Default configuration
br-lan EXAMPLE LAN & WiFi EXAMPLE 192.168.1.1/24
vlan0 (eth0.0) EXAMPLE LAN ports (1 to 4) EXAMPLE None
vlan1 (eth0.1) EXAMPLE WAN port EXAMPLE DHCP
wl0 EXAMPLE WiFi EXAMPLE Disabled

FIXME Please fill in real values for this device, then remove the EXAMPLEs

Numbers 0-3 are Ports 1-4 as labeled on the unit, number 4 is the Internet (WAN) on the unit, 5 is the internal connection to the router itself. Don't be fooled: Port 1 on the unit is number 3 when configuring VLANs. vlan0 = eth0.0, vlan1 = eth0.1 and so on.

Port Switch port
Internet (WAN) EXAMPLE 4
LAN 1 EXAMPLE 3
LAN 2 EXAMPLE 2
LAN 3 EXAMPLE 1
LAN 4 EXAMPLE 0

hardware.button on howto use and configure the hardware button(s). Here, we merely name the buttons, so we can use them in the above Howto.

FIXME Please fill in real values for this device, then remove the EXAMPLEs

The COMFAST CF-E314N has the following buttons:

BUTTON Event
EXAMPLE Reset reset
EXAMPLE Secure Easy Setup ses
EXAMPLE No buttons at all. -

FIXME

  1. This table is automatically generated, once the correct filters for Brand and Model are set.
  2. If you see “Nothing.” instead of a table, please edit this section and adjust the filters with the proper Brand and Model. Just try, it's easy.
  3. If you still don't see a table here, or a table filled with '¿': Is there already a Techdata page available for COMFAST CF-E314N V2? If not: Create one.
  4. If you see a table with the desired device data, everything is OK and you can delete this text and the <WRAP> that encloses it.
  5. If it still doesn't work: Don't panic, calm down, take a deep breath and contact a wiki admin (tmomas) for help.

Front:
Insert photo of front of the casing

Back:
Insert photo of back of the casing

Backside label:
Insert photo of backside label

Note: This will void your warranty!

FIXME Describe what needs to be done to open the device, e.g. remove rubber feet, adhesive labels, screws, ...

  • To remove the cover and open the device, do a/b/c

Main PCB:
Insert photo of PCB

port.serial general information about the serial port, serial port cable, etc.

How to connect to the Serial Port of this specific device:
Insert photo of PCB with markings for serial port

FIXME Replace EXAMPLE by real values.

Serial connection parameters
for COMFAST CF-E314N V2
EXAMPLE 115200, 8N1

port.jtag general information about the JTAG port, JTAG cable, etc.

How to connect to the JTAG Port of this specific device:
Insert photo of PCB with markings for JTAG port

None so far.

COPY HERE THE BOOTLOG WITH THE ORIGINAL FIRMWARE


[ 0.000000] Linux version 5.4.50 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r13768-f632747704)) #0 Thu Jul 9 09:11:31 2020 [ 0.000000] printk: bootconsole [early0] enabled [ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc) [ 0.000000] MIPS: machine is COMFAST CF-E314N v2 [ 0.000000] SoC: Qualcomm Atheros QCA9533 ver 2 rev 0 [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. [ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x0000000000000000-0x0000000003ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000003ffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff] [ 0.000000] On node 0 totalpages: 16384 [ 0.000000] Normal zone: 144 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 16384 pages, LIFO batch:3 [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16240 [ 0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2 [ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear) [ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear) [ 0.000000] Writing ErrCtl register=00000000 [ 0.000000] Readback ErrCtl register=00000000 [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 57020K/65536K available (5062K kernel code, 186K rwdata, 1168K rodata, 1192K init, 205K bss, 8516K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS: 51 [ 0.000000] random: get_random_bytes called from start_kernel+0x32c/0x520 with crng_init=0 [ 0.000000] CPU clock: 650.000 MHz [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5880801374 ns [ 0.000009] sched_clock: 32 bits at 325MHz, resolution 3ns, wraps every 6607641598ns [ 0.008276] Calibrating delay loop... 431.10 BogoMIPS (lpj=862208) [ 0.042754] pid_max: default: 32768 minimum: 301 [ 0.047816] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.055543] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.069107] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.079451] futex hash table entries: 256 (order: -1, 3072 bytes, linear) [ 0.086814] pinctrl core: initialized pinctrl subsystem [ 0.095704] NET: Registered protocol family 16 [ 0.139862] clocksource: Switched to clocksource MIPS [ 0.146796] NET: Registered protocol family 2 [ 0.152679] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear) [ 0.161607] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.169706] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.177159] TCP: Hash tables configured (established 1024 bind 1024) [ 0.184081] UDP hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.191046] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.198911] NET: Registered protocol family 1 [ 0.203593] PCI: CLS 0 bytes, default 32 [ 0.212585] workingset: timestamp_bits=14 max_order=14 bucket_order=0 [ 0.228025] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.234197] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.261708] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251) [ 0.272738] pinctrl-single 1804002c.pinmux: 576 pins, size 72 [ 0.280087] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled [ 0.289678] printk: console [ttyS0] disabled [ 0.294323] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 1562500) is a 16550A [ 0.303442] printk: console [ttyS0] enabled [ 0.312503] printk: bootconsole [early0] disabled [ 0.345311] spi-nor spi0.0: w25q128 (16384 Kbytes) [ 0.350369] 5 fixed-partitions partitions found on MTD device spi0.0 [ 0.356942] Creating 5 MTD partitions on "spi0.0": [ 0.361933] 0x000000000000-0x000000010000 : "u-boot" [ 0.368410] 0x000000010000-0x000000020000 : "art" [ 0.374445] 0x000000020000-0x0000007e0000 : "firmware" [ 0.384390] 2 uimage-fw partitions found on MTD device firmware [ 0.390589] Creating 2 MTD partitions on "firmware": [ 0.395738] 0x000000000000-0x000000210000 : "kernel" [ 0.401987] 0x000000210000-0x0000007c0000 : "rootfs" [ 0.408390] mtd: device 4 (rootfs) set to be root filesystem [ 0.416642] 1 squashfs-split partitions found on MTD device rootfs [ 0.423121] 0x000000430000-0x0000007c0000 : "rootfs_data" [ 0.429909] 0x0000007e0000-0x0000007f0000 : "configs" [ 0.436482] 0x0000007f0000-0x000000800000 : "nvram" [ 0.445257] libphy: Fixed MDIO Bus: probed [ 0.788958] ag71xx 19000000.eth: Could not connect to PHY device. Deferring probe. [ 1.123849] random: fast init done [ 1.428323] libphy: ag71xx_mdio: probed [ 1.433914] libphy: ar8xxx-mdio: probed [ 1.447957] switch0: Atheros AR8229 rev. 1 switch registered on mdio.0 [ 1.495840] ag71xx 1a000000.eth: connected to PHY at fixed-0:00 [uid=00000000, driver=Generic PHY] [ 1.506007] eth0: Atheros AG71xx at 0xba000000, irq 5, mode: gmii [ 1.512796] i2c /dev entries driver [ 1.520024] NET: Registered protocol family 10 [ 1.532923] Segment Routing with IPv6 [ 1.536947] NET: Registered protocol family 17 [ 1.541646] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 1.555043] 8021q: 802.1Q VLAN Support v1.8 [ 1.877985] ag71xx 19000000.eth: connected to PHY at mdio.0:1f:04 [uid=004dd042, driver=Generic PHY] [ 1.888667] eth1: Atheros AG71xx at 0xb9000000, irq 4, mode: mii [ 1.896158] hctosys: unable to open rtc device (rtc0) [ 1.906732] VFS: Mounted root (squashfs filesystem) readonly on device 31:4. [ 1.923989] Freeing unused kernel memory: 1192K [ 1.928679] This architecture does not have kernel memory protection. [ 1.935333] Run /sbin/init as init process [ 2.642018] init: Console is alive [ 2.646029] init: - watchdog - [ 3.637001] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 3.705306] kmodloader: done loading kernel modules from /etc/modules-boot.d/* [ 3.723466] init: - preinit - [ 4.748748] random: jshn: uninitialized urandom read (4 bytes read) [ 4.879039] random: jshn: uninitialized urandom read (4 bytes read) [ 4.993040] random: jshn: uninitialized urandom read (4 bytes read) [ 7.430197] eth1: link up (100Mbps/Full duplex) [ 7.434980] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready [ 9.692950] jffs2: notice: (542) jffs2_build_xattr_subsystem: complete building xattr subsystem, 18 of xdatum (0 unchecked, 18 orphan) and 26 of xref (0 dead, 26 orphan) found. [ 9.710624] mount_root: switching to jffs2 overlay [ 9.743641] overlayfs: upper fs does not support tmpfile. [ 9.897522] urandom-seed: Seed file not found (/etc/urandom.seed) [ 9.982227] eth1: link down [ 10.004256] procd: - early - [ 10.007368] procd: - watchdog - [ 10.679094] procd: - watchdog - [ 10.682794] procd: - ubus - [ 10.779568] urandom_read: 5 callbacks suppressed [ 10.779578] random: ubusd: uninitialized urandom read (4 bytes read) [ 10.910951] random: ubusd: uninitialized urandom read (4 bytes read) [ 10.919592] procd: - init - [ 11.690077] kmodloader: loading kernel modules from /etc/modules.d/* [ 11.847677] Loading modules backported from Linux version v5.7-rc3-0-g6a8b55ed4056 [ 11.855599] Backport generated by backports.git v5.7-rc3-1-0-gc0c7d2bb [ 11.943476] xt_time: kernel timezone is -0000 [ 12.135601] PPP generic driver version 2.4.2 [ 12.153163] NET: Registered protocol family 24 [ 12.249627] urngd: v1.0.2 started. [ 12.294621] ath: EEPROM regdomain sanitized [ 12.294637] ath: EEPROM regdomain: 0x64 [ 12.294641] ath: EEPROM indicates we should expect a direct regpair map [ 12.294670] ath: Country alpha2 being used: 00 [ 12.294673] ath: Regpair used: 0x64 [ 12.308734] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht' [ 12.311410] ieee80211 phy0: Atheros AR9531 Rev:2 mem=0xb8100000, irq=12 [ 12.432408] kmodloader: done loading kernel modules from /etc/modules.d/* [ 12.669135] random: crng init done [ 50.058126] br-lan: port 1(eth1) entered blocking state [ 50.063616] br-lan: port 1(eth1) entered disabled state [ 50.069465] device eth1 entered promiscuous mode [ 50.139933] eth0: link up (1000Mbps/Full duplex) [ 50.159967] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 52.102341] eth1: link up (100Mbps/Full duplex) [ 52.132028] br-lan: port 1(eth1) entered blocking state [ 52.137461] br-lan: port 1(eth1) entered forwarding state [ 52.190776] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready


Space for additional notes, links to forum threads or other resources.

  • ...
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
  • Last modified: 2024/02/12 11:13
  • by 127.0.0.1