Forum Topic

Tomato flashed Dual wan Router from CD-R KING (CW-5356U/CW-5358U) Read Page1

  • yung file ng firmware baka wala sa C:\ directory

    mamaya nasa desktop o downloads kaya di nya makita

    check mo syntax ng type mo kung may extra space try mo to

    tftp -i 192.168.1.1 put tomato-1.27_CW-5354U.trx
  • guys sino na po nakagawa ng openwrt sa ating 5356u?
    pwdeng patingin ng interface nyo di ko kasi maconfig yung dual wan.

    o plug en play n openwrt?

    -- edited by icedbox2002 on Sep 23 2016, 04:29 PM
  • ^ just look for my post regarding openwrt on 5356u it literally works for me OOB. no extra config since naka DHCP yung ISP ko, for dual wan, well, may config ka pang gagawin of course which needs to adjust your VLAN setting under Switch page, in my case I use Port 1 as my WAN 2 and port 0 as my WAN 1 (primary wan interface). once done go to Interface page and create a another interface, all you have to do here is name the new interface (in my case wan2) and then select the interface (in my case the interface name is eth0.3 since my eth0.1 is my LAN and eth0.2 is assigned already in wan). then select what protocol your ISP using (usually it's either PPPoE or DHCP) once done it will take you to another page, which lets you configure the interface (eg if PPPoE, you will have a option to enter your PPP credentials given by your ISP), all you have to do here is go to firewall tab and select wan firewall (red zone) and then click save, once done, you will see a new interface (wan2 in my case) have a new IP.

    now for dual-wan, well you need to download the software first since its not included on openwrt firmware. go to software page and update the list, once updated, search for luci-app-mwan3 and install it. once done go to overview page, then find the loadbalancing page. On mwan3 config, there's a lot you need to learn here, if youre familiar about pfsense multiwan then you will have no issue configuring this. If so just google for the mwan3 wiki page found under openwrt wiki.


    tl;dr, it may be a pain in the ass to configure the router first for multiwan purpose but once configured, the rest of the configuration should be easy peasy.
  • sorry sir sa pag ka NOOB...

    di ko lng kasi ma gets yung create vlan d kasi sya same ng tomato n check at uncheck..

    by default ito... di ko namn maintindihan yung tagged at untagged.... pag nag add ako magkakaroon ng panibago...





    ok na siguto ako sa tomato bka madugo pra sa akin yung openwrt.

    -- edited by icedbox2002 on Sep 24 2016, 01:53 PM
  • port 0 = wan
    port 1 = lan4/wan2

    so if youre plugged to lan4 make sure that your plugged to another port eg LAN1-3

    now set the VLAN like this

    on VLAN 1 > Set Port 1 to off (since eto yung gagamitin natin para sa wan2)
    click add > set VLAN ID value to 3 > set port1 to untagged and everything on port 0, 2 and 3 are off > set CPU port to tagged

    click save and apply.

    done now you created a new vlan for wan2

    go to interface and clicj add new interface. name the interface (eg wan2) and set the protocol that your ISP using to get a IP from them, default is DHCP. After that find eth0.3 and select that. and then click save/add

    after this you will be taken to another page, make sure to assign a unique MAC address to WAN2 (as well on WAN1 since it uses a universal mac for 535x routers) also set your wan2 a unique metric value set wan as 10 and wan2 as 20 then on firewall set it to red zone (wan), and then click save and apply

    now plug your ISP to LAN4 port and you will see you wan2 interface gets an ip.

    you have successfully set your wan2 interface, now the hard part is the mwan3 :P

    if you still dont get it, teamviewer ko na lang yan tapos share mo na lang yung config to everyone who uses 535x router with openwrt for dualwan/multiwan. Gusto ko gawin to dati pa kaso wala na yung 5356u sa akin, inarbos ng pinsan ko.

    -- edited by polka on Sep 24 2016, 05:31 PM
  • thank you sir!

    gagawin ko yan pag nagkatime ulit ako, bumalik muna ako sa tomato.
  • bakit ang tagal naman ng update haha wala pang 139 haha
  • @polka

    Thanks..... nagawa ko na sa load balancing lang ako nag ka problem...






    may kailangan p ba akong config sir?

    need ko lang nmn ng dualwan/multiwan with loadbalancing
    di ko need ng separate gaming at browsing.

    -- edited by icedbox2002 on Sep 27 2016, 06:03 PM
  • meron na ba nakatry paganahin ang printer sa cw5358u tomato v1.28
  • Post deleted #11773470
  • pa help nman mga master naghahanap ako ng stock ng cw-5354u saan brach meron cd r king ?

    thank you
  • @polka
    Currently trying to install entware, done setting up the USB. After typing "entware-install.sh", ito lumalabas;

    root@unknown:/opt# entware-install.sh
    Info: Checking for prerequisites and creating folders...
    Warning: Folder /opt/bin exists!
    Warning: If something goes wrong please clean /opt folder and try again.
    Warning: Folder /opt/etc exists!
    Warning: If something goes wrong please clean /opt folder and try again.
    Warning: Folder /opt/include exists!
    Warning: If something goes wrong please clean /opt folder and try again.
    Warning: Folder /opt/lib exists!
    Warning: If something goes wrong please clean /opt folder and try again.
    Warning: Folder /opt/sbin exists!
    Warning: If something goes wrong please clean /opt folder and try again.
    Warning: Folder /opt/share exists!
    Warning: If something goes wrong please clean /opt folder and try again.
    Warning: Folder /opt/tmp exists!
    Warning: If something goes wrong please clean /opt folder and try again.
    Warning: Folder /opt/usr exists!
    Warning: If something goes wrong please clean /opt folder and try again.
    Warning: Folder /opt/var exists!
    Warning: If something goes wrong please clean /opt folder and try again.
    Info: Opkg package manager deployment...
    Connecting to wl500g-repo.googlecode.com (64.233.189.82:80)
    wget: server returned error: HTTP/1.1 404 Not Found
    chmod: /opt/bin/opkg: No such file or directory
    Connecting to wl500g-repo.googlecode.com (64.233.189.82:80)
    wget: server returned error: HTTP/1.1 404 Not Found
    Info: Basic packages installation...
    /usr/sbin/entware-install.sh: line 27: /opt/bin/opkg: not found
    /usr/sbin/entware-install.sh: line 28: /opt/bin/opkg: not found
    Info: Cleanup...
    Info: Congratulations!
    Info: If there are no errors above then Entware successfully initialized.
    Info: Found a Bug? Please report at wl500g-repo.googlecode.com

    Following the guide from here: https://gist.github.com/dferg/833aade513965d78b43d Thanks!

    -- edited by migsvill on Oct 02 2016, 12:39 AM
  • ^update to latest firmware and try again.
  • @migsvill
    Administration->Scripts->Init
    paste this
    echo "LABEL=opt /opt ext3 rw,nodev,noatime 1 1" >> /etc/fstab

    make sure yung usb flash drive ay opt yung partition name. makikita mo yan under ng USB and NAS



    reboot router and try again.

    credit to sir polka!

    -- edited by icedbox2002 on Oct 02 2016, 04:15 PM
  • @icedbox
    Ginawa ko na sir. Ayaw pa rin. Pahinga muna. Hahaha

    Sa sinusundan ko na guide, Partition 'ENTWARE' ext3 ... mounted on /opt and output sakin.

    -- edited by migsvill on Oct 02 2016, 06:48 PM
  • partition name mo entware!? patingin ng Attached Device mo!

    ako entware na pero partition name ko is opt p rin!
  • wala naman mali sa mounting ng drives nya eh, eto yung error nya

    Connecting to wl500g-repo.googlecode.com (64.233.189.82:80)
    wget: server returned error: HTTP/1.1 404 Not Found
    chmod: /opt/bin/opkg: No such file or directory
    Connecting to wl500g-repo.googlecode.com (64.233.189.82:80)
    wget: server returned error: HTTP/1.1 404 Not Found


    which is obvious na outdated na yung firmware na gamit nya.
  • tama k sir
    Warning: Folder /opt/bin exists!


    sa akin stock firmware ako .

    wget http://entware.wl500g.info/binaries/entware/installer/entware_install.sh
    chmod +x ./entware_install.sh
    ./entware_install.sh
  • @icedbox
    Nagwork yan sakin. Salamat!
    wget http://entware.wl500g.info/binaries/entware/installer/entware_install.sh
    chmod +x ./entware_install.sh
    ./entware_install.sh
  • ^please take note that will still work but very outdated.

    please use entware-ng instead for security and stability reasons.
  • here is the installer for entware-ng

    http://pkg.entware.net/binaries/mipsel/installer/installer.sh
  • @frequenzy

    gagana ba dyan yung old squid_2.7.STABLE9-2?
  • @iced
    if it works on the old entware, then it should also work with entware-ng
  • @frequenzy

    Not working!
    wget http://entware.wl500g.info/binaries/entware/archive/squi
    d_2.7.STABLE9-2_entware.ipk
    wget: bad address 'entware.wl500g.info'
  • Mga sir,
    Patulong naman po, i have the following
    CW-5358U: Tomato 1.28.0223 MIPSR2 K26 USB BT-VPN

    stock firmware.
    lagi po nawawalan ng internet once a day, pag nawalan ng internet may ping parin sa router 192.168.1.1, pero page cannot be found na pati sa admin page, only way para maayos is to reboot at annoying hassle napo kasi,
    now papatulong lang po sana sa guide pano i update sa latest ng shibby parin, step by step or link guide po sana mga sir, Thanks in advance po.
  • @polka
    Kakachange ko lang ng PLDT modem to bridge mode. Kapag connected sa WAN ng 5358u and LAN cable from modem, naaccess ko ang router GUI pero walang internet at hindi ko maaccess ang router. Kapag sa LAN1 ng 5358u connected ang LAN cable from modem, may internet pero hindi ko maaccess ang GUI ng router and modem.

    Modem IP: 192.168.1.1
    Router IP: 192.168.11.1
  • ^upgrade to latest shibby firmware (for now i recommend v132 although the latest one is v138 but very buggy due to experimental multiwan).

    under basic >> network set the WAN to DHCP then look for the "Route Modem IP". Set your modem IP there (in your case 192.168.1.1) and save setting.

    also make sure that the WAN IP you were getting is not 192.168.x.x it must be around 49.xx or 112.xx. Kung ganyan IP mo then your modem is properly bridge.

    Also make sure to change your WAN MAC address found under Advance>>MAC address. Then click the random button under wan mac address several times and save. Pag naka default mac address kasi hindi ka makakakuha ng public ip from PLDT.

    -- edited by polka on Oct 06 2016, 09:07 PM
  • @polka
    The router's WAN is set to DHCP tapos route modem IP is properly set as well. IPCONFIG shows 100.xxx as my IP. Hopefully changing the WAN MAC will fix it. Subukan ko muna ulit. Ayaw ko muna magflash to ng firmware, nagkakaproblema lagi. hehe!

    Update: Ayun! Ayos na sir! Maraming salamat!

    -- edited by migsvill on Oct 06 2016, 09:36 PM
  • guys bkit kaya sa download page <click here for link> ni shibby dalawa yung rt-n66u
    1 <click here for link>
    2 <click here for link> special build pa ito

    sorry kung off topic sa ating toys...

    -- edited by icedbox2002 on Oct 07 2016, 09:01 PM
  • theyre both using the same architecture but different kernel versions, the ac one is newer while the other one is older.

    while the ac one uses a newer binary blob drivers that supports AC wireless, but N66u doesnt have that but the driver still supports it, while the other one is also supported the the binary blob drivers that n66u hardware had.

    tl;dr it doesnt matter anyway, find out which runs stable and/or performs better.

    of course the RT-N builds are polished builds than the newer ac build ones.