1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

New Tomato firmware for D-Link DIR-865L AC1750 router

Discussion in 'Tomato Firmware' started by vineyard, Jul 16, 2014.

  1. vineyard

    vineyard Connected Client Member

    After having problems (mainly missing 5GHZ and no USB power) with the tomatoegg firmware that was posted in tomatousb.org previously, I have decided to port a new Tomato firmware to support Dlink DIR-865L based on Shibby's release 120.

    It was tested that
    1. both 2.4ghz and 5 ghz b,g,n,ac 20/40/80 bandwidth
    2. USB port works for usb storage devices (other usb device not tested)
    3. JFFS2 is working fine
    4. OpenVPN

    5Ghz speed is about the same as the original firmware but of course a lot more functionality with Tomato.

    The usual disclaimer follows;
    This firmware is provided as-is without any warranty.
    As much as we have tested to make sure things runs well, we are NOT be responsible for any damages that may occur due to the use of this firmware.
    USE IT AT YOUR OWN RISK! Even thou this router seems to be quite hard to brick.

    ==== update ===
    EDIT (28 July 2014): Nay... I just bricked my own router after trying to restore configuration. There seems to have some problem when restoring NVRAM config. Now my CFE appears to be corrupted (serial console only display "Decompressing... done"). Until I have it up again, I cannot confirm what went wrong. Be warned about using the configuration-restore function . Does anyone knows where the JTAG port is?

    EDIT (1 Aug 2014): Finally managed to debrick my router by desoldering the flash chip and erasing the nvram. Luckily CFE remains intact. Apparently, some nvram's settings has caused the CFE not to boot but is still yet to be identified. Will keep you posted..

    EDIT (06 Aug 2014): Found reason for bricking the device. The CFE does not support 64K nvram. Current image (V04) has been re-compiled for 32K nvram. Will try to find a way around it, till then we are stuck at 32k nvram.

    *** IMPORTANT ***
    Please do not use any previous version (<V03) which may brick the device when nvram exceed 32K! Users with previous firmware please update immediately to V04 using the Administration-Upgrade page and you need to select "After flashing, erase all data in NVRAM memory"!


    EDIT (25 Sep 2015): New version V05 available now based on shibby v131. Please note that this version is compiled as AIO but without the NGINX webserver due to limited flash size of 16MB in this router. If you are running a webserver in previous version, I recommend you stick to the old version. Please enable tomato anonymous so that I know how many people are using this and if its worth the effort to keep updating the firmware.

    You may view what is updated in http://tomato.groov.pl/?page_id=78 except for those related to NGINX and MySQL.

    Procedure (if you have not flashed Tomato before);
    1. Download the firmware from
    2. Switch off the router
    3. Push a pin into the reset hole behind the router (above the power switch), hold it in there and power on the router
    4. Configure you pc's ip to be 192.168.0.2 mask 255.255.255.0 (or any 192.168.0.x)
    5. Access router's webpage at 192.168.0.1, and upload the downloaded firmware
    6. Wait for router to reboot
    7. Default router address is at 192.168.1.1, username: root, password: admin

    Let me know if you have problem with this firmware.

    PS: all credits for the tomato firmware goes to Shibby and the tomato's team.
     
    Last edited: Sep 25, 2015
  2. szpunk

    szpunk Networkin' Nut Member

    It is working perfect, no need bypass the power controler IC to get +5V for USB (TomatoEgg's firmware need do that)

    [​IMG]
    [​IMG]

    [​IMG]

    [​IMG]
     
    Last edited: Jul 16, 2014
  3. shibby20

    shibby20 Network Guru Member

    great work. Thanks for sources i will merge them with my branch.

    Only one thing: i didn`t push sources of v121 to the git yet, well it`s based on v120.
     
  4. tvlz

    tvlz Addicted to LI Member

  5. vineyard

    vineyard Connected Client Member

    Shibby,
    thanks! will be good to have it merged to the main branch. Edited version info on 1st post..

    tvlz,
    the port order and info as below;
    vlan1ports=1 2 3 4 8*
    vlan2ports=0 8*

    board information (at least from my hardware, seems like there are some other versions in the wild...)
    boardrev=0x1102
    boardtype=0x0617
    boardnum=24
    boardflags=0x00000110
     
    Last edited: Jul 17, 2014
  6. fusionstream

    fusionstream Reformed Router Member

    Hi there.

    I need help flashing this firmware to my router. I had much trouble flashing the other firmware (the one referenced in the first post) many months ago and with a lot of the functions not working, I reverted it back to stock and used my existing E4200 running shibby.

    I'm looking to get 802.11ac up and running and have come back to this device. I cannot for the life of me remember how I did it all that time ago. I've tried flashing this using a new laptop running Windows 8.1 before finally trying an older laptop running Windows 7, which iirc, is the same one I used to get it running. On both, I've tried Firefox, Chrome and *gasp* IE.

    I get into the recovery mode easily. After the upload is complete, and the page forwards to f2.htm, the orange light either stays on or stays off (which I assume to mean the device is either busy flashing, or it has frozen). I give it over 5 minutes before I power cycle the device via the power switch on the back. When I turn it on, the light stays orange.

    The lowest "bytes received" I have had is on Chrome with 12808238.

    What am I doing wrong?
     
  7. vineyard

    vineyard Connected Client Member

    Sorry for insulting your intelligence, but did you set your PC's IP back to 192.168.1.x or DCHP after flashing? Are you able to see the wireless SSID (default tomato24 and tomato50) after flashing?

    If you still cannot access the router's webpage after flashing, I suggest you reset the NVram by;
    1. flash back stock firmware
    2. reset the NVram using the stock firmware's admin page (or use the reset button after router fully booted up and hold it for more than 6 sec, then power off the router while still holding on the reset button)
    3. flash this new firmware again.

    Let me know if you have success... good luck.
     
  8. fusionstream

    fusionstream Reformed Router Member

    No worries. No offence taken.

    I did indeed set it back to 192.168.1.x, and DHCP, and also set it/kept it on 192.168.0.2 (as in I tried all these on separate occasions - just in case).

    I tried the 6 second trick you suggested (although I either read or misread elsewhere that I could release the reset button after 6 seconds). Loaded stock firmware fine and waited till the gui was accesible, not just waiting for the light to turn green.

    While holding the reset button down, at about 4 or 5 seconds, the light turned orange. Nevertheless, I kept the reset button pressed and after 6 seconds, I turned it off. The first time, I kept the button down while I then turned it back on. The second time, I released the reset button, waited a second or so, pressed it down again, and switched it on.

    Neither worked.

    Have also tried doing this from Fedora using Firefox and Chrome (chrome has issues connecting for some reason so I skipped it) but have had no luck. On my Firefox on Fedora, I noticed the "bytes received" increasing by 1 almost everytime I flash this firmware. Not sure if that means much.

    Could this be a power/grounding issue? Should I also try switching it off on the mains end? Instead of via the switch on the router?
     
  9. szpunk

    szpunk Networkin' Nut Member

    @fusionstream This happened to me when i try to flash TomatoEgg's firmware on this 865L device.

    First time i try to flash tomato-DIR-865L_20131226p1-TomatoEggAC-AIO-64K.trx(11.6M), the device will keep stay orange LED like you said.

    So i try to flash the older( and smaller) filrmware tomato-DIR-865L_AC--20131119-1044-AIO-64K.trx(9.8M), it is worked, then i upgrade tomato-DIR-865L_20131226p1-TomatoEggAC-AIO-64K.trx from tomato-DIR-865L_AC--20131119-1044-AIO-64K.trx's GUI, it's worked too.

    I'm running the firmware by @vineyard (12.2M) now, it's upgrade from Tomato's GUI.

    For browser, i remember i failed many times when i use firefox, IE is good for this case.
     
  10. fusionstream

    fusionstream Reformed Router Member

    Afraid that it still doesn't work. Used IE from Windows 7 (the only thing that possibly changed since the many moons ago episode - as in can't recall which version of IE I was using back then) Light remains orange, no response on 192.168.1.1 or 192.168.0.1, no tomatoX0 wifi broadcasts.

    Previously tried reset methods:
    • Reset to factory settings from within stock gui
    • After router is fully booted up to stock (light is green and GUI is accessible), hold on to reset button till orange light starts flashing, then the internet light starts flashing orange. I don't remember if I waited for it to reset, or stop flashing, or something.
    • Same fully booted up procedure, this time hold on to reset button for 6 seconds or more. Release button then power off.
    • Same fully booted up procedure, this time, hold on to reset button for 6 seconds or more, but continue holding on to reset button while switching it off.
    Previously tried firmware that didn't work:
    • "TomatoEgg" 0148 (this is also the one I had much difficulty with but managed to get installed many moons ago. Tried it again also this time, doesn't work.)
    • "TomatoEgg" 1044
    • vineyard's firmware
    Previously tried stock firmware (all worked):
    • Stock 106 firmware filename DIR865LA1_FW106b06.bin in zip file DIR-865L_fw_revA1_1-06_all_multi_20140121.zip) - The firmware I've been using this time around.
    • Stock firmware (from many moons ago) firmware filename DIR865LA1_FW106SHCb07.bin (in zip file DIR865LA1_FW106SHCb07.zip) - I believe this was from the ISP website
    Enter recovery method:
    • Hold reset till orange light starts flashing
    • Hold reset till orange light turns on (there is sometimes a delay when it turns on); since vineyard's last post, i've been using this method, just in case.
    I wholly regret flashing back to stock all that time ago :(
     
  11. vineyard

    vineyard Connected Client Member

    Seems weird, what is your hardware revision? I cannot see mine at the moment as I am on holidays in the next few moons...

    I think your router's ID maybe one of those in the wild. Can you email a config backup from your stock firmware? I try to dissect it when I am back from all the distraction.
     
  12. fusionstream

    fusionstream Reformed Router Member

    Thanks and no worries.

    Hardware revision is A1. I don't have any config backup or firmware backup, if that's what you mean.
     
  13. vineyard

    vineyard Connected Client Member

    Can you do a configuration backup from the stock firmware and send it to me. I need to see if your board ID match the commond boardID.
     
  14. soboku

    soboku Network Newbie Member

    Ok I tried to flash but I get Invalid image file. Please select the correct image file and upload it again. So what am I doing wrong?
     
  15. vineyard

    vineyard Connected Client Member

    Did you try to flash from the u-boot webpage (i suggest using IE) and NOT from the stock firmware's upgrade page? Follow instruction on the 1st post? or re-download the firmware from https://dl.dropboxusercontent.com/u/17244797/tomato-dir865l_V02_shibby121-AIO-64K.trx
     
  16. vineyard

    vineyard Connected Client Member

    As you guys know, I have just bricked my own router (and careless me forgot to backup my CFE), and I am now trying to flash the serial flash chip directly. Any kind soul out there who has successfully installed tomato on DIR-865L, can you send me a backup of your CFE backup? You can follow the instruction below;

    1. Telnet to your router's IP
    2. issue the command "dd if=/dev/mtd0 of=/tmp/cfe.bin" (without quote)
    3. upload the /tmp/cfe.bin here incase others whom may need it too (or email me at vineyard88@yahoo.com)
    4. Thanks in advance!

    vineyard.
     
    Last edited: Jul 31, 2014
  17. vineyard

    vineyard Connected Client Member

    Finally managed to unbrick the router (see 1st post).

    Sadly I did not receive any CFE dump. I am posting it here in case I/someone else need it.
     

    Attached Files:

    • cfe.zip
      File size:
      127 KB
      Views:
      19
    Last edited: Aug 2, 2014
  18. Siff

    Siff Serious Server Member

    @fusionstream: Try giving the router more (much more) time to flash. I don't know how fast the flash on the DIR-865L is, but if it is anything like my Asus RT-N66U, it will take 20-25 min. to flash Shibby's builds. I run a ping -t 192.168.1.1 and I will not touch the router before 5 min. have passed after it starts responding to the pings.

    Hope this helps.
     
  19. vineyard

    vineyard Connected Client Member

    Hello fusionstream:

    I have checked your backup and it looks like the same hardware as I have. I have tried simulating the entire flashing process again.. and it works ok. I will write the entire procedure in more details as below

    1. when the stock firmware is fully booted up, press the reset button for 6 secs and release when power led turn orange. This will restore to default stock config and reboot itself.

    2. wait till stock firmware fully rebooted (greed power led on)

    3. power off the router

    4. press and hold reset button while power on the router. release reset when orange power led is flashing

    5. set you PC IP to 192.168.0.2 and access 192.168.0.1 CFE webpage (i have tried both chrome and IE)

    6. load the correct tomato firmware and press upgrade

    7. your bowser should go to 192.168.0.1/f2.htm with message "Upload completed. The firmware is programming now. System will reboot automatically." and the power led should turn ORANGE. If you did not receive the webpage or the led is still blinking orange, restart from step 3.

    8. It will take upto 10 mins to flash the firmware (it takes 7 mins in my case)

    9. Once the router has flashed the firmware successfully and rebooted itself, the power led should turn green and you should be able to access the admin page at 192.168.1.1

    Good luck! meanwhile i have still trying to identify the nvram setting that bricked my router, maybe i have to brick it a few more times first... without jtag.. it sucks!
     
  20. vineyard

    vineyard Connected Client Member

    Important update to the 1st post!

    All user with previous version please update immediately.
     
  21. Axiste

    Axiste Network Newbie Member

    Ive been running your V2 for a few weeks, upgraded straight from the original Tomato Shibby based release (using update version in the menu) and its been running great...

    [​IMG]
    Click to view full size!
     
  22. vineyard

    vineyard Connected Client Member

    Axiste, V02 with 64kb nvram is very dangerous. Once you use more then 32kb of nvram, the router may not be able to boot as the CFE only support 32kb of nvram.

    Please update to v04 and bear with the 32kb nvram till I find a workaround.
     
  23. infrag

    infrag Network Newbie Member

    After running with V02 for a while before I knew why you bricked your router it was going OK. Then after changing/resetting the config my router wont boot any more. It doesnt even have an orange light. Is this what you had when you bricked your router or did you still have an orange light? Ive checked power is working and it seems the router is trying to start because the voltage supplied briefly dips to 11.4Volts and then back up to 12V every 5 seconds...
     
  24. vineyard

    vineyard Connected Client Member

    Sorry to hear that infrag,

    For V02, after exceeding 32kb of nvram, the CFE is not able to boot correctly. Yes its booting, but only as far as the 1st line of the CFE and unable to read nvram values. You will need to delete the last 64kb of nvram for the CFE to boot. If your unit is still under warranty, i suggest you send in for a replacement.

    As no one has yet identified the JTAG pinout of this board, the only way to delete that is to desolder the flash chip to mount to a flash programer. I use raspberry pie with raspbian and Flashrom for that.. If you have some desoldering skills and own a raspberry pi, i will be glad to provide some basic instructions.
     
  25. Wordlet

    Wordlet Network Newbie Member

    Hey vineyard,

    I was having problems with my DIR-865L. It was giving me an orange light of doom and losing internet connectivity every few hours or so. This started happening without any configuration changes on my end, and it was fixed every time by resetting the router. So I figured it was just a problem of it not recovering properly from 'something.' So I decided to give some custom firmware a shot and I found this post. I've been running it for 8 days now and it's working great without a single disconnection.

    Thanks so much for releasing something specific for this router, I don't know if I would've had the courage to go with something more generic that 'might' work for my router.

    I'm not sure if I even need 64kb nvram (or even what it's used for..) but the work you have done or will do is very much appreciated (as is shibby's and the rest of the Tomato team's).

    Thanks. :)
     
    vineyard likes this.
  26. vineyard

    vineyard Connected Client Member

    Wordlet, thanks for appreciating the effort!
     
  27. hainamluke

    hainamluke Network Newbie Member

    Hi Vineyard,

    First of all thanks for your brilliant works. It made my first 865L work like charm, and I decided to buy the second 865L to extend my network coverage.

    However, After I followed exact steps below to set up WDS, my 2 routers still cannot ping each other. I already changed MAC address of both 2 routers to avoid conflict.
    http://www.howtogeek.com/104007/how-to-extend-your-wireless-network-with-tomato-powered-routers/

    Do you have any idea why it doesn't work?

    PS: Even when I change to Wireless Client mode, the secondary router still cannot receive IP. Despite that from Device List, I can see the primary router's MAC is connected to eth1.


    Thanks,
    Luke
     
    Last edited: Sep 19, 2014
  28. vineyard

    vineyard Connected Client Member

    hainamluke,

    I do not have 2 unit to test the WDS. As this firmware contain a new proprietary broadcom driver, I am not sure if it will work anymore. I would suggest you try with 2.4ghz for WDS if you really want to try.

    Yes it should be better to use client mode (e.g. 2.4ghz) + AP mode (5ghz). But i dont understand why you cannot get IP address in client mode. Did you try to use fix IP instead.
     
  29. Liwei

    Liwei Network Newbie Member

    Hi Vineyard,
    I cant't download your firmware for D-Link DIR-865L AC1750 router from you gived address,can you send this firmware to my email box: LBENW@126.COM.
    Thank you.
     
  30. hainamluke

    hainamluke Network Newbie Member

    Vineyard - Thank you for your reply!

    I tried to put it on Client Mode but again it does not work, even with static IP config :-(
     
  31. vineyard

    vineyard Connected Client Member

    sorry luke,

    I don't think i will be able to help too much on this, I suggest that you post your question to the main shibby's tomato thread, more people will help about such networking there.
     
  32. dc361

    dc361 LI Guru Member

    This may not work but I had a couple of client issues where I was running WPA2 personal AES encryption on the main router and I had to use WPA personal AES TKIP/AES on the client.
     
  33. miniyou

    miniyou Network Newbie Member

    Wow! I remember how much work the tomatoegg was to get to work -- not to mention it didn't even work (5Ghz).

    This firmware was no hassle -- worked on first try, and so far both wireless bands work well. Let's hope the USB and other goodies work as well :)

    How do I send some beer money, vineyard? Do you have like Flattr/Paypal/anything?
     
    vineyard likes this.
  34. vineyard

    vineyard Connected Client Member

    Thanks miniyou ;) hope this firmware works well for you. The problem with tomatoegg was what that forced me to port another tomato.

    Save that beer$ and have another round on my behalf... cheers!
     
  35. miniyou

    miniyou Network Newbie Member

    Thanks mate! Yup, I can confirm that all works well. Torrenting to ext. hard drive, DDNSing, VPNing, Samba sharing... Well, if all that runs at the same time it's a bit overloaded, but that's pretty reasonable :)
     
  36. fusionstream

    fusionstream Reformed Router Member

    and... I'm in! woohoo.. Thanks vineyard! Followed those intructions to the letter.

    p.s. Thanks Siff. Just saw your posting as well.
     
  37. fusionstream

    fusionstream Reformed Router Member

    A little side question.

    Is there anyway to force AC only? On my tomato shibby on my linksys E4200, setting to N only does not really mean N only as G and sometimes a (or b, I forget - and only when a low power device is in use) does appear. Apparently, it is a known issue for all tomato builds (shibby or otherwise).

    In this one, I don't see any AC only. Will it or does it have this functionality?
     
  38. vineyard

    vineyard Connected Client Member

    Hello fusionstream,

    Glade you managed to get it running, must be gathering dust for quite a while...

    Sadly i don't have my unit with me now to confirm if you can set it to AC only. From what I know AC and N should work together in 5GHZ and depending on the capability of the device you use, the device will switch accordingly.
     
  39. Tatnac

    Tatnac Network Newbie Member

    I have made it through the installation without issues (Green light is on after firmware install) but i am unable to access the default gateway. I have tried a few different win8 pc's but i cant get it to find the router. Any ideas?
     
  40. Stanley Woon

    Stanley Woon Network Newbie Member

    I flashed the firmware but the USB is not working, did I miss out anything, the port have power up the harddisk..
     
  41. fusionstream

    fusionstream Reformed Router Member

    Did you revert back to DHCP?

    When you flashed the firmware through CFE, did you follow the instructions here: http://www.linksysinfo.org/index.ph...ink-dir-865l-ac1750-router.70230/#post-249034
     
  42. fusionstream

    fusionstream Reformed Router Member

    I do not use USB but I've just tested it with my Fat32 Thumbdrive and exFAT Portable Harddisk.

    It seems to work fine with my thumbdrive. Under the USB/NAS->USB Support, right at the bottom of the page, under Attached Devices, it shows my thumbdrive and it is mounted.

    For my Portable Harddisk, it shows up in Attached Devices but does not mount, due to it being exFAT.

    What are you trying to use it for?
     
  43. Stanley Woon

    Stanley Woon Network Newbie Member

    I trying to use it as FTP, I tested my thumb drive and harddisk both didn't not in attached devices.
     
  44. fusionstream

    fusionstream Reformed Router Member

    Just to check that you're using V4 of vineyard's firmware?

    If so, it is a bit out of my scope. While waiting for others to reply, you may want to gather more information by ssh-ing in to your router and run dmesg.

    If you're on windows, download Putty and connect to your router via IP (which should be 192.168.1.1). Use username 'root' and enter the same password that you use to login to your router via webpage. Plug in your USB thumbdrive/harddisk then type dmesg and hit enter.

    In my case, you can see the output here:
    Code:
    usb 1-1: new high speed USB device using ehci_hcd and address 2
    usb 1-1: configuration #1 chosen from 1 choice
    scsi0 : SCSI emulation for USB Mass Storage devices
    scsi 0:0:0:0: Direct-Access  SanDisk  Cruzer  1.00 PQ: 0 ANSI: 2
    sd 0:0:0:0: [sda] 31250432 512-byte hardware sectors (16000 MB)
    sd 0:0:0:0: [sda] Write Protect is off
    sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
    sd 0:0:0:0: [sda] Assuming drive cache: write through
    sd 0:0:0:0: [sda] Assuming drive cache: write through
    sda: sda1
    sd 0:0:0:0: [sda] Attached SCSI removable disk
    usb 1-1: USB disconnect, address 2
    Code:
    usb 1-1: new high speed USB device using ehci_hcd and address 3
    usb 1-1: configuration #1 chosen from 1 choice
    scsi1 : SCSI emulation for USB Mass Storage devices
    scsi 1:0:0:0: Direct-Access  Seagate  Expansion  060E PQ: 0 ANSI: 6
    sd 1:0:0:0: [sda] Spinning up disk.....ready
    sd 1:0:0:0: [sda] 1953525167 512-byte hardware sectors (1000205 MB)
    sd 1:0:0:0: [sda] Write Protect is off
    sd 1:0:0:0: [sda] Mode Sense: 4f 00 00 00
    sd 1:0:0:0: [sda] Assuming drive cache: write through
    sd 1:0:0:0: [sda] Assuming drive cache: write through
    sda: sda1
    sd 1:0:0:0: [sda] Attached SCSI disk
    usb 1-1: USB disconnect, address 3

    I've separated these 2 sections with an empty line (EDIT: the spaces are lost when I posted, so I've separated them as separate CODE blocks). The first shows the thumbdrive being connected then disconnected. The second shows the same for my hard drive.

    If you can see this, then you know that the router can detect it at least. If it can detect it, then it is likely a software issue, which again, is out of my scope. Do post your results so others can pick it up from here.
     
  45. nevolex

    nevolex Network Newbie Member

    do you guys have issues with port forwarding on this firmware?

    can anyone please test, it's just not working for me :(((
     
  46. vineyard

    vineyard Connected Client Member

    I have just tested a few standard and non-standard ports to be forwarded it all works. Do not need to add anything to the iptables as it should be included automatically unless you have exotic configuration.

    As this is ported from a standard Shibby's trunk, maybe you will get more help from the main thread. You should post a screenshot of your port forwarding configuration and iptables setup
    (Tools->System Commands->iptables -nvL).
     
  47. nevolex

    nevolex Network Newbie Member

    Thank you, Vineyard
     
  48. jed_99

    jed_99 Addicted to LI Member

    Just a comment on my own experience with this router/firmware. I was unable to get the router to take the firmware linked to the dropbox url in the first post. Repeated 3x. So, I then grabbed Shibby's latest for the DIR-868L, and presto blam-o, it worked.

    Thank you to the developers and people involved in testing and getting Tomato to where it is today. Happy New Years!
     
  49. fusionstream

    fusionstream Reformed Router Member

    HAPPY NEW YEAR!

    Some bug reports:
    - For some reason, as the main router, it is not stable. Frequent disconnects that only a restart will solve. It could be some settings that were not fully reset since I first used it as a secondary router/AP.
    - CIFS will not mount. I got it to work via ssh a while back (but the admin page will still not show it as connected) but I forgot what I did; was the standard mount command with an extra param but I forget.
    - Settings have disappeared for CIFS and NTP (haven't checked the rest yet; Basic->Network, Advanced->Miscellaneous, Advanced->Wireless settings are retained) after reboot.
    - Everything will reset if you turn the thing on and off (manually, via the power switch on router or via the wall wart) too quickly and repeatedly.
    - Site Survey will show as 10MHz. This appears to be a bug with Shibby's original firmware itself. My DIR865L appears as 10MHz when viewed from a Tenda W1800R, and vice versa.
    - Jumbo frames will not work. Again, this seems to be a problem with Shibby's original firmware. Setting it to 9000 from ssh does not work either.
    - The Colour Schemes from "On-line from ttb" do not work.
    - NTP does not work. I seem to recall it working last time. After the reboot, it seems to have gone. I could be mistaken.

    I am curious if @jed_99 experiences the same issues with the 868 firmware on the 865.
     
  50. vineyard

    vineyard Connected Client Member

    jed_99, are you sure your router is DIR865L? And the display on the Status-Overview shows as DIR865L? As Shibby's version did not compile for 32k nvram, you risk bricking your device!
     
  51. vineyard

    vineyard Connected Client Member

    fusionstream,

    Happy new year to you and all...

    I am only replying to bugs specific to this port...

    - WAN disconnect problem
    What WAN connection are you using (Ppoe/DHCP/3G...)? Maybe you can send me your log file just after it disconnect. Does your ISP check for MAC_ID? As this will be a big problem for most, so far I have only got this report from you, anyone out there having this frequent WAN disconnect problem?
    Edit: I found another post of user having similar problem. Let me know what type of connection you are using and any log msg in the log file.

    - Settings disappearing
    Please check you free nvram status. Note that is only has 32k, you may have overflowed your configs settings.

    - Online TTB
    Mine works. Is it because the WAN is not set up before retrieving TTB? Does it work when you use it as a secondary router?

    - NTP
    Maybe related to Settings disappearing as above?

    btw, I see 80mhz correctly using inSSIDer.
     
    Last edited: Jan 19, 2015
  52. fusionstream

    fusionstream Reformed Router Member

    - WAN disconnect problem.
    At the time, it was under DHCP. It was originally "Disabled" (as secondary) and I played with vlans and bridges and what not. I checked to make sure all the settings were back to the original when I put it as primary but it didn't seem to work.

    I don't think my ISP checks for MAC_ID but it does check for VLAN tags. If I understand it right, it's done on the ONT.

    Per this issue, I've only just again had frequent freezing (unable to connect to router page and WiFi 'does not carry the internet', unlike the previous times where I could access the router page, but maybe it's because last time, I managed to catch it as it disconnected). At this time, the wan type is set up as "Disabled" so basically a secondary wireless switch with no DHCP. I've had it stable for quite some time previously. The only thing I can think of right now is that I've enabled Jumbo Frames to 9000 only a few days ago. I've just turned it off again (as it doesn't actually support Jumbo Frames anyway) and will see if that brings it back to stability. It could be the time issue though or the NVRAM thing you mentioned.

    - Settings disappearing.
    Total / Free NVRAM32.00 KB / 2332 (7.12%)
    This may be the cause indeed. I don't remember it being so full. Bandwidth and IP Traffic Monitoring/Logging settings have also gone.

    - Online TTB
    Negative on all. It either didn't work from the very beginning, or it worked briefly, then never worked again.

    - NTP
    Yes I think so too. What currently writes to NVRAM?

    - 80MHz.
    Yep. No actual issues there. Just a UI error from the upstream. Thought I might point it out.


    Syslog and dmesg (both after restart) sent to you.

    If this Jumbo Frame thing doesn't fix the stability, I will try to ssh into the router and grab a copy of /var/log/messages.
     
  53. vineyard

    vineyard Connected Client Member

    To test the WAN disconnect problem, I have tried to use my DIR as main router with WAN in DHCP mode and primarily using wireless for the pass 3 days and have not a single reset or disconnect till now. Tested both with and without LAN/WAN traffic.

    I have briefly looked thru your logs, seems like you still have some vlan settings that is not totally removed. I suggest you do a full "Erase All Data in NVram" (backup your config 1st?) and try with the most basic default setup to determine the cause of the WAN disconnect. btw, why did you enable STP? See if TTB works after the reset.

    CIFS problem should not be related to this port. Looks like some permission problem and I will not be helpful on that, you may have to get help from main forum.
     
  54. fusionstream

    fusionstream Reformed Router Member

    After I disabled Jumbo Frames yesterday, there hasn't been any issue. Perhaps this could be it or part of it?

    In any case, I did a full reset as suggested. I have a feeling I did not do an "Erase All Data in NVRam" when I first moved it from Secondary to Primary.

    STP was enabled because at the time, I was doing massive rewiring while trying to keep my internet up. Then I left it on because as I understand it, the performance hit is minimal. It's still on. Should I turn it off? After storming myself on another switch the other day, I'd like to keep it on as when I eventually get to rewiring it all again, I'm going to forget. It's also left on because I wanted redundancy but I ran out of patch cables.

    TTB issue is apparently caused by setting WAN TYPE to disabled (I also briged wan port to lan). Then not setting one or more of the following to your main router: Gateway, Static DNS, WINS. Understandably, without those set, the router merely acts as a switch (if I understand it correctly) and so has no idea how to connect to the internet. I have ttb now. Thanks.

    The time option is back on, presumably due to setting the above.

    I'm not so sure about the CIFS being unrelated to the port but I will do my own research and report back.

    The small free space in NVRam that I seem to not recall could have been because I was thinking of the first few 64K builds.
     
  55. fusionstream

    fusionstream Reformed Router Member

    Messing with the Jumbo Frames setting seems to introduce instability and seems to be what was giving me those problems. Trying to set it back to what it was does not seem to fix it. Only a full reset seems to work.
     
  56. burdigoise

    burdigoise Network Newbie Member

    Hi guys. I need your help on this. I updated the firmware last week. I noticed that on 5GHZ, my only option is AUTO, A or C. I set my wireless mode to AUTO since I have an AC capable adapter. When I checked on my connection protocol in my laptop, it showed that I'm connected to an N network. How can I force my laptop to connect to AC. In the wireless mode
    setting, does A refer to 802.11A or AC?

    Thank you.
     
  57. fusionstream

    fusionstream Reformed Router Member

    Hi.

    Firstly, setting it to AUTO is correct as there is no AC ONLY option in Tomato. Based on some research, even if there were an AC ONLY option, it would not work as expected. As I understand it, the protocol requires that it allow graceful degradation.

    For example, setting 2.4GHz to N ONLY will still allow G connections. On my Samsung S3, when it's in a low power state, it automatically degrades itself from (2.4GHz) N to G. As AC is 5GHz only, it can only degrade to N (which is not the worst thing, as unlike G and lower specs, a slow device will not slow down the entire wireles network).

    I also noticed that with my S3, when dealing with a weak signal, it automatically degrades from (2.4GHz) N to G.

    Secondly, A refers to 802.11A. In the options for the 5GHz channel, your options should be AUTO, A, N. Not AUTO, A, C.

    Also, try removing the 2.4GHz SSID from your laptop and confirm that you are indeed connected to the 5GHz network. Sometimes it auto switches.

    Also, try confirming that your adapter is indeed AC capable and that you are looking at the right one. It may sound silly, but everyone gets confused now and again. No offence intended. I personally have a number of el cheapo wifi dongles that fail to live up to their claims.
     
    vineyard likes this.
  58. vineyard

    vineyard Connected Client Member

    Hello fusionstream,

    Glad that you have isolated the problem. I am no expert in the Jumbo Frame, but its only useful if you have gigabit WAN. Is your WAN connected at 1000M (check status, Ethernet Port State)? If yes, maybe you can play around with the MTU and Jumbo Frame size. Jumbo frame is not really a standard and therefore can introduce stability issue accross different hardware.
     
  59. fusionstream

    fusionstream Reformed Router Member

    The WAN is only 100Mbps, however I did intend to use it for the local network (large file transfers and what not; just to have some fun eeking out a little bit more speed).

    I will attempt playing around with it again but from what I experienced, changing the settings for that causes the issue. Trying to set it back doesn't solve the problems created. But that doesn't make sense to me either so I'll have to check again.

    Cheers.
     
  60. burdigoise

    burdigoise Network Newbie Member

    Hi fusionstream,

    Thanks for the great explanation. I set the 5GHZ to AUTO and my laptop indicates that it is now connected to AC. However, on my Note 4, it seems that I'm connected to an N network.
     
  61. fusionstream

    fusionstream Reformed Router Member

    @burdigoise. Glad to hear you got it working on the laptop.

    For the Note 4: How do you see that it is connected as an N network? Is the battery low? Is the WIFI signal weak?
     
  62. burdigoise

    burdigoise Network Newbie Member

    @fusionstream

    I just based it on the connection speed that I established with the router. Once I moved nearer to the router; it was much better. One last question, do you know how high can I set the TX power without damaging this router or introducing noise to the signal?
     
  63. fusionstream

    fusionstream Reformed Router Member

    @burdigoise The connection speed or link speed is not indicative of the type of connection you are on. My S3 had an inbuilt diagnostic that would tell me what type of connection I had. My S5... well I can't find it and the app WiFi Analyzer does not tell me either.

    For the TX Power, I am unsure. Mine's on default. If able, try putting it in a better place first. Or if you have the dough or spare routers, use multiple APs with the same SSID. Or maybe someone else here can help you with the power thingy.

    Good luck!

    Cheers,
    fusionstream.
     
  64. Bob Builder

    Bob Builder Network Newbie Member

    Hey vineyard,

    Do you have any plans to update your firmware based on the latest 1.24 Tomato firmware?

    Cheers

    Dave
     
  65. vineyard

    vineyard Connected Client Member

    Are there something specifically in v1.24 updates that you are looking for?
    There seems to be more goodies from Shibby release 1.25. I would wait for Shibby to push the v1.25 before I make an update.
     
  66. Bob Builder

    Bob Builder Network Newbie Member

    OK thanks - there's nothing in particular in 1.24 I was looking for - just wondering if you were still actively working on your port. Good to know there may be an upcoming v1.25 :)
     
  67. burdigoise

    burdigoise Network Newbie Member

    It's nice to know that a new version is coming. I've had trouble since using tomato on my router. Everytime I'm downloading a file from sammobile.com website; it will always stop and had to re- download again.
     
  68. burdigoise

    burdigoise Network Newbie Member

    It's nice to know that a new version is coming up. I've had problems downloading file particularly from sammobile.com. Hopefully a new version will fix this.
     
  69. Bltzkri3g

    Bltzkri3g New Member Member

    I have bricked my router while trying to flash to v04.. I followed steps 1-6 but missed step 4 (forgot to set static ip address). After reboot my router is bricked.. The power led is blinking and my PC is not even connecting to the router via ethernet cable.. Any tips on restoring the router will be of great help..
     
  70. fusionstream

    fusionstream Reformed Router Member

    1. when the stock firmware is fully booted up, press the reset button for 6 secs and release when power led turn orange. This will restore to default stock config and reboot itself.

    2. wait till stock firmware fully rebooted (greed power led on)

    3. power off the router

    4. press and hold reset button while power on the router. release reset when orange power led is flashing

    5. set you PC IP to 192.168.0.2 and access 192.168.0.1 CFE webpage (i have tried both chrome and IE)

    6. load the correct tomato firmware and press upgrade

    7. your bowser should go to 192.168.0.1/f2.htm with message "Upload completed. The firmware is programming now. System will reboot automatically." and the power led should turn ORANGE. If you did not receive the webpage or the led is still blinking orange, restart from step 3.

    8. It will take upto 10 mins to flash the firmware (it takes 7 mins in my case)

    9. Once the router has flashed the firmware successfully and rebooted itself, the power led should turn green and you should be able to access the admin page at 192.168.1.1

    Do you mean you missed step 5?
     
  71. lightzvs

    lightzvs New Member Member

    Hi, i just flash my dir865l to tomato cfe n nw encounter wan dhcp kept in renewing state. did another upgrade with clear nvram after flashing. Still same states. Pls help.
     
  72. fusionstream

    fusionstream Reformed Router Member

    I had that for a bit as well but it turned out to be an ISP issue. I forget what the issue was. Give them a call though.
     
  73. lightzvs

    lightzvs New Member Member

    Not for me. i can connect directly to modem but cant if go thru the router.
     
  74. fusionstream

    fusionstream Reformed Router Member

    Directly to modem? What sort of modem are you using?
     
  75. lightzvs

    lightzvs New Member Member

    I m using fibre connection. So it is optical termination point.
     
  76. fusionstream

    fusionstream Reformed Router Member

    I'm going to hazard a guess that you're in Singapore. Call your ISP, tell them that you have "no internet". Let them sort out the rest. You don't need to mention that you're on a non stock firmware (unless you get in touch with a real engineer). IIRC, it had something to do with VLAN tags.
     
  77. bignoddy55

    bignoddy55 New Member Member

    Is this port still active and if so, how do you get the latest version?
     
  78. lightzvs

    lightzvs New Member Member

    Forget to add that the router internet (earth led) still in orange after flashing. dhcp status is remain as renewing.
     
  79. fusionstream

    fusionstream Reformed Router Member

    What did your ISP say?
     
  80. Bob Builder

    Bob Builder Network Newbie Member

    Hey,

    Anything being done toward an updated version?
     
  81. vineyard

    vineyard Connected Client Member

    Sorry for the long wait to the update. New version based on Shibby v131 is now available. Read first post.

    Sadly due to 16MB flash size of this router, I cannot flash the full AIO version (~21MB), even by just dropping the MySQL package, its still needed ~17MB, thus have to drop the entire NGINX webserver.
     
  82. Campigenus

    Campigenus Serious Server Member

    Any chance this will also work on the DIR-860L? If not, can anyone recommend an alternative? I have DD-WRT on it now, but I would much rather have all my routers run Tomato.
     
  83. fusionstream

    fusionstream Reformed Router Member

  84. lmmmcc

    lmmmcc New Member Member

    Great job, many thanks!
    I have been using 20140814 build for more than a year, very fast and stable against the version from my telco. I'll try the new version later as I only use it at home, don't need 4G/LTE stuff now.
     
  85. fusionstream

    fusionstream Reformed Router Member

    A certain someone bricked my main w1800r. As such, I found myself needing to use the 865 again. Unfortunately, just as with last time, there was intermittent connectivity when set as DHCP mode as opposed to disabled. A simple ping test showed massive loss of ipv4 packets and it comes in waves whereas ipv6 seemed to have no such problem. It was bad enough I gave up and switched to a different and supposedly worse one. A cursory search on google suggested that this issue was present even with the original firmware. Could it be a hardware problem?
     
  86. fusionstream

    fusionstream Reformed Router Member

    Bug Report:

    Port number; TLS reneg time; Respond to DNS, encryption cipher; server key. Those settings in the openvpn server page are not saved correctly (as in, at all).
     
  87. fusionstream

    fusionstream Reformed Router Member

    Bug Report: When the router is shutdown from the gui but is not disconnected from the network and is not turned off from the switch, it seems to screw up the network. I havent done any checks yet but it could be that it advertises itself as 192.168.1.1
     
  88. abdulwasay

    abdulwasay New Member Member

    Perfect for everyone
     
  89. keenjeen

    keenjeen New Member Member

    Try changing your router MAC address, I had the same issue and it works perfectly after I change the MAC address.
     
    fusionstream likes this.
  90. alexlau

    alexlau LI Guru Member

    fusionstream likes this.
  91. Mallox

    Mallox New Member Member

    [QUOTE="EDIT (25 Sep 2015): New version V05 available now based on shibby v131...[/QUOTE]

    I was happy to see an update to that router... but with the NVRAM left I cannot event configure my PIA OpenVPN Client anymore. So there is no point in adding new applacations that reduce if we can't use them...

    Is there a way to remove some of them or free some of the NVRAM.

    Thanks

    and vinehard even with that NVRAM problem that firmware is better than the original, keep up the good work
     
  92. fusionstream

    fusionstream Reformed Router Member

  93. John Nicita

    John Nicita New Member Member

    NewB to Tomato, but not to dd-wrt and other 3rd party firmware available for our home class routers, but anyways, realized that static routes on the stock dlink down allow for interlan routing, your routing is forced over the wan interface. I have a couple routers chained to control access to multiple kids in the house, and its easier for the wife to pull the power on a specific router when kids act up, but I also run Kodi and tv apps vs. cable, so I need routes for specific services to route internal out specific lan ports, anyways, finding out that DD-WRT doesn't support the 865l, lead me here.

    I've installed the firmware, I don't get any signs of 5ghz wifi. After a flash of both v5 and v4, no TomatoDir5.0 after a flash and reboot and no signs of any broadcast ssids on the 5ghz radio. I've searched and found someone suggests going to the MAC settings and changing the mac ID;s to random of default for the radio mac's a solution, this did nothing, I restored the dlink stock firmware to be surprised to find my original configuration still present, so thats strange, maybe that means Its not wiping and eating up memory (something I;ve read causes issues with this device, re-gaining just a few blocks of free space makng the unit work when otherwords it does not. I have no idea, sounds like I should just be flashing this firware via the recovery page and good to go. I notice that the default recover flash does not include a "erase all nvram" so when nothing worked, I used the tomato utils to re-flash v5 and try v4, but these did nothing to give me the 5ghz radio?

    Suggestions?

    Thanks
     
  94. John Nicita

    John Nicita New Member Member

    NM, found it, clicking the clear NVRam after rebooting obviously didnt work or didnt do it (the fact that restoring the original firmware and having all my old settings and passwords present, my dhcp assignments, etc, etc) made that obvious, I installed Tomato, did a admin/config/restore (changed to wipe nvram) and rebooted, and up came the TomatoDir50 radio and ssid.

    Thanks
     
    crashnburn likes this.
  95. whoischeryl

    whoischeryl New Member Member

    Is there any fix to changing the WIFI password? Anything I change the password to defaults to "password" for both 2.4 and 5ghz. I've tried the following firmwares and they both have the issue:

    tomato-dir865l_V05-shibby131-no_nginx-AIO.trx
    tomato-DIR-865L_AC-20150909-1745-Nocat-VPN-64K.trx

    If needed, I'm doing WPA2 Personal AES, though other settings seem to have the same issue. I'm not sure if it's my router or the firmware.

    Thanks!
     
  96. sebaxx

    sebaxx New Member Member

    Hi there,

    I've done some tests on what you indicate about not having WiFi signal 5G, I have tried various methods to reproduce your problem, and found that it is for the width and channel the network you are using. In my case, any channel width 40 works well, but the 80MHz and channel 56, recalls that according to your country of residence may be limitations (I live in Chile). Therefore, you debieses try different widths banking, as well as in different channels, and make sure your wireless network card support parameterized channels.

    Excuse my English, I speak only Spanish, I translated with google translate.
     
  97. crashnburn

    crashnburn LI Guru Member

    Where do things stand for the DIR 860L for Tomato?
     
  98. crashnburn

    crashnburn LI Guru Member

    Can you share what release you are using and how it is so far? Pros and Cons?
     
  99. hainamluke

    hainamluke Network Newbie Member

    Dear Vineyard,

    I love your firmware build. It brings new life to my router. And I have been using it stably for 2 years.
    My home now has 2 WAN, is there any way to use multiWAN?

    Or can you please update to latest version v137 so it has multiWan support?

    Thanks a lot

    Luke
     
    themaskedbear likes this.
  100. themaskedbear

    themaskedbear Network Newbie Member

    Hi,

    I'm also interested in getting the v138 or v137.
    If it's possible I'm interesting about to know how to build it myself from sources. Is-it possible to have a short howto ? (I'm on Linux)

    Thanks a lot
     

Share This Page