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

Tomato ND USB Mod with kernel 2.6 (Tomato-RT)

Discussion in 'Tomato Firmware' started by teddy_bear, Jan 8, 2010.

  1. though

    though Network Guru Member

    hi alex,

    just upgrade it from within tomato's interface. you should probably do a thorough nvram erase after and re-enter your settings just so it's "fresh".
     
  2. teddy_bear

    teddy_bear Network Guru Member

    Why do you specify the hostname at all on the client? Just leave it empty...
     
  3. joew333

    joew333 LI Guru Member

    Default Hostname

    All of the VOIP devices have a default hostname, for the PAP2 normally LinksysPAP or similar is the default. On the router, I set the hostname for the devices to something less generic. Yes, I could blank it out on the client. Instead I just updated it on the client to match the router.
     
  4. bagu

    bagu Network Guru Member

    I have a PAP2t wich work fine with this firmware. More, i use static dhcp with it.
     
  5. vanhh

    vanhh Network Guru Member

    Hi,
    I'm using MIPSR1 beta 11 standard version on WRT54G-TM. I don't know if this is a bug or normal. The router will show the password, if I click on the password field. It does that on the wireless key too. Shouldn't it stay hidden? Original Tomato and Victek's version don't do that.
    Thanks,
     
  6. gobol

    gobol Networkin' Nut Member

    vanhh, I think it is just as it should be... it's often helpful to see the password when you want to configure another wifi device...
    I think that password stored in this way is just as secure as stored on a piece of paper... (and it is sometimes difficult to re-read handwritten pwd like "&#$)*&Y:3A<F*iojfafhad7)!@}{FZOJad") :)
     
  7. TexasFlood

    TexasFlood Network Guru Member

    I'm running MIPSR2 beta 11 vpn version, although I have yet to actually use the vpn, :smile: on a RT-N16. I also run Tomato 1.25 and 1.27 on some older routers including a TM. I'm not sure which password you are talking about. None of them show the admin (root) login password when I click on them. Original Tomato 1.27 and MIPSR2 beta 11 vpn show the wireless password when I click on them. MIPSR2 beta 11 vpn also does this with Dynamic DNS. Original Tomato 1.25 doesn't mask the wireless password at all so doesn't unmask it. I can't check Dynamic DNS as I don't run it on any other routers. I think you can also find the admin, and any other, password by parsing through an NVRAM dump so be careful about storing those when they might be found. I'm not that concerned since my routers are password protected to even see the GUI.
     
  8. sziggle

    sziggle Networkin' Nut Member

    most excellent! although i am currently running a single router to WAN, i will snag out the important bits, including the unexpectedly cool bonus of being able to reboot the motorola surfboard, which i also have. and i will evernote the rest for the day when i set up the buffalo and linksys as repeaters.

    thanks TexasFlood.

    -sziggle
    [on and off austinite and longtime SRV fan]
     
  9. sziggle

    sziggle Networkin' Nut Member


    fwiw, i also have a SPA-2000 connected to my RT-N16, configured exactly the same as you (DHCP on the SPA, static DHCP IP via mac address on the RT-N16) and it has never failed to receive the proper IP.

    another couple days and counting with no issues on channel 6...
     
  10. KapaT

    KapaT Networkin' Nut Member

    Hi teddy.
    Greetings from Russia.
    Do you planned integrate Multi-WAN and WiMAX into firmware?
     
  11. TexasFlood

    TexasFlood Network Guru Member

    Cool, hope it's useful to you. If you don't have any remote routers now then you don't have that wireless connection to test. However if you have a wireless PC like I do that is always on then you could substitute that IP and reboot if you lose touch with it. Using cron you should even be able to set a time window to perform a keepalive test if it's on certain hours of the day.

    Just some creative food for thought.

    Glad someone else can use the cable modem reboot command. It's one of those extra steps I take in an attempt to assure my network will heal itself and be trouble free & available when I'm on the road. When I'm on the road I can't be home to fix anything for my family and also I will be locked out from remoting in to use my computers if I need to. So it's good to have everything reboot itself if needed.
     
  12. KapaT

    KapaT Networkin' Nut Member

    Very strange.
    I connected my dune prime to the router in Eth2, computer in Eth1. All video files from the computer played very-very slowly.
    Files transfer via FTP-protocol between Eth1 - Eth2 are 100mbit.
    Internet connection PPPoE via Eth1.
    Where to see?
     
  13. Roodhir

    Roodhir Guest

    Wireless transfers - evaluation and bottlenecks

    Hi all,

    got a question on transfer speeds - bit of warning, Im newbie so if I omit some info or dont give it, ask me please.

    Basically Im looking to find out if my transfer speeds are appropriate for my setup as I find it relatively slow, then again Im newbie in router world so not sure what to expect.

    Im mainly interested in transfer speed from USB HDD attached to my router (ASUS RT N16) to my wireless PC.

    Some specifications of router:
    - Router using Tomato 1.27, did the following tweaks to increase speed:
    Afterburner ON
    Frame Burst ON
    Channel 7 (no APs on it based on scan, but Ch 6 has 12 APs and CH 8 3 APs)
    Beacon Interval 50
    Fragmentation Threshold 2304
    RTS Threshold 2304

    Data are being transferred from USB 2.0 HDD I TB WD via router to wireless PC

    Wireless PC specs:
    - high HW specs (Quad Core, nV GF 280 card etc)
    - using SMC 300mb wireless USB dongle
    - disabled QoS on the wireless dongle (standard Win service)
    - PC has two broadband - optics connections (I got 2 ISPs), using both (router one has only local network access, Win sets it automatically)
    - distance from router - cca 6 meters (same floor, no direct visibility though)

    Wired PC specs (PC attached via cable to router)
    - high end HW specs
    - using 54mb wireless card


    Data form my transfers:
    - transferring data from USB HDD attached to router to wireless PC:
    - 700 MB file (avi) indicates around 25-45 minutes for transfer
    - Router (Tomato) shows RSSI -57 dBm, TX-RX very varying, usually 24-160/24-81. signal strength 40-50
    - Wireless dongle on the wireless PC shows transfers in between 54-216 (usually around 81-116 as average)

    My question is - are such speeds normal and if not, are there any bottlenecks I could address?

    Sorry for long post, wanted to give max specs to be easier to judge

    Thanks in advace for any replies

    PS: both PCs are using Win Vista Ultimate updated to SP1

    Cheers
     
  14. Toastman

    Toastman Super Moderator Staff Member Member

    No comment on the speed due to firmware, but please note that wifi transmissions actually cover SEVERAL channel numbers. If you have 12 AP's on ch6 and 3 on ch 8 that could well be the problem. There are effectively only 3 useable non-overlapping wifi channels - 1, 6, and 11.

    There's a lot of info on the overlapping of channels - google for more info.
     
  15. KyleChen

    KyleChen Addicted to LI Member

    P҉PL҉ r҉ep҉or҉t ҉th҉at҉ i҉f ҉yo҉ur҉ H҉DD҉ i҉s ҉NT҉FS҉ t҉he҉ s҉pe҉ed҉ i҉s ҉ar҉ou҉nd҉ 3҉MB/҉S a҉nd҉ Ex҉t2҉/3 ҉i҉s 7҉M҉B/s
    Bo҉t҉tl҉ene҉ck҉ is҉ t҉he ҉Di҉sk r҉ead҉ing҉ u҉si҉ng ҉CP҉U t҉im҉e. A҉n҉d CP҉U i҉s҉ l҉imi҉te҉d.
     
  16. sziggle

    sziggle Networkin' Nut Member

    just for kicks, try turning OFF the afterburner and the frameburst and re-measure.
     
  17. KapaT

    KapaT Networkin' Nut Member

    Router has DHCP bug with Windows 7.
    Log has many string:
    May 22 15:24:23 dnsmasq[54]: DHCPINFORM(br0) 192.168.1.2 MAC
    May 22 15:24:23 dnsmasq[54]: DHCPACK(br0) 192.168.1.2 MAC
    May 22 15:44:23 dnsmasq[54]: DHCPINFORM(br0) 192.168.1.2 MAC
    May 22 15:44:23 dnsmasq[54]: DHCPACK(br0) 192.168.1.2 MAC
    May 22 16:04:22 dnsmasq[54]: DHCPINFORM(br0) 192.168.1.2 MAC
    Lease time is 1440s.
    Does anyone know how to mount a Windows shared folder using the built-in samba?
     
  18. rhester72

    rhester72 Network Guru Member

    How is this a 'DHCP bug'? Your Windows 7 client is issuing a DHCP INFORM every 20 minutes and the router is properly ACKing it. What would you like it to do?

    Rodney
     
  19. KapaT

    KapaT Networkin' Nut Member

    Thanks for replay.
    Sorry for previous post. Yes this is so.
    I change lease time manually at router.
     
  20. mstombs

    mstombs Network Guru Member

    Not sure DHCP_INFORM has anything to do with lease time, clients usually DHCP_RENEW at halftime. XP and WIIs will often try an extra DHCP_RENEW when they are not sure they have communication with the internet, I think it is a form of active ping that some cable modems need from time to time to wake up the connection - not sure about Windows 7!
     
  21. rhester72

    rhester72 Network Guru Member

    I'm still confused about what the _problem_ is...is the OP suggesting that the lease time set on the router isn't being obeyed by the Windows 7 client?

    Vista/7 are well-known for gratuitous INFORMs, it has nothing to do with Tomato (or any other network device).

    Rodney
     
  22. teddy_bear

    teddy_bear Network Guru Member

    Sounds like KapaT was just confused by a lot of DHCPINFORM/DHCPACK messages in the log. Which are in no way the firmware "bug" but still can be annoying. To clear up the log by disabling DHCP packets logging, one can add
    quiet-dhcp
    line to the Dnsmasq Custom configuration box in the GUI.
     
  23. Sarkelaru

    Sarkelaru Addicted to LI Member

    I have a 10km link with WRT54GL and Tomato 1.25 standard.
    Seems the distance / ACK Timing not working in Tomato ND USB Mod with kernel 2.6, one way transfer on my 10km link drop to 100kB with this software.
    On my other link (600 m) i have Tomato ND USB Mod with kernel 2.6 and works fine, transfer rate from my friend pc to mine is aprox. 3.6MB and with standard version of Tomato on my 10km link transfer rate is aprox. 2MB.
    Sory for my bad english.
     
  24. maurer

    maurer LI Guru Member

    I've got a usb powered only 2.5'' adata hdd formated recently to ext2 attached to a my RT-N16 and it can only transfer to 1.1-1.5 MB/s both FTP and SMB.
    after format i've test it on my ubuntu laptop and managed to transfer at 28 MB/s.
    before format i had ext3 fs and had the same transfer speeds.
    on the router i have default setting.
    do any of you have an idea why the slow transfers ?
     
  25. x-demon

    x-demon Addicted to LI Member

    Sad, but true - i can't use this firmware for my router :( It does not see my ADSL router (see sig) which is connected via WAN port, redial says that WAN is down. Absolutely same configuration works on dd-wrt.
    Asus RT-N16

    Also i does not see ipv6 support :( all firmwares, except tomato, already support ipv6.
     
  26. teddy_bear

    teddy_bear Network Guru Member

    This very well might be the reason - USB port in the Asus doesn't have enough power. Most probably USB-powered devices won't work at all, or may have issues.

    Unfortunately I don't have any way to test and troubleshoot communication with this particular modem... If you erased the nvram after installing Tomato ("thorough" option), rebooted the modem - and still the router doesn't see the modem - then it could be a problem with the old pppoe client software used in Tomato (I have plans to update it, but it's not done yet)...
    And yes - the IPv6 support is not implemented in Tomato (yet).
     
  27. ndoggac

    ndoggac Network Guru Member

    maurer, do you have a powered usb 2.0 hub laying around? You can put it in between the router and usb drive in order to provide power to the drive and see if your throughput improves. Or try a independently powered USB drive.

    Has anyone noticed if there is any speed differences between ext2 & ext3 file system with all else kept constant?
     
  28. tsanga

    tsanga Networkin' Nut Member

    teddy_bear,

    I have a WNR3500v2 running on DD-WRT. I tried several ways to get your Tomato build on there, specifically tomato-K26-1.27.9045MIPSR2-beta11-Std. The DD-WRT GUI would always tell me "upgrade failed".

    Finally I looked at the serial output to see what was going on:
    By comparison, factory firmware is around 3461178 bytes.
     
  29. maurer

    maurer LI Guru Member

    Hi,
    I don't have an independently powered usb hub.
    I have tried with a power supply with usb port (of a smartphone) to power the second usb cable of the hdd (the one marked with assistant power) but without any improvement.
    As far as i read the only difference between ext2 and ext3 is the journalizing - which should have unnoticeable effect on performance.
     
  30. mstombs

    mstombs Network Guru Member

    I've also had problems with the WAN port when switching from dd-wrt. There is some issue with MEDIA detection (Gigabit capable) or low level device driver MAC/ ARP when switching firmwares. A soft-reboot on the Asus did not fix it for me but a full power cycle always does. On another occasion power cycle of the modem also started communication. I haven't had time to fully diagnose but if the MAC address of the WAN port used changes just waiting 5 mins for the arp table in the modem to be flushed may work (never waited that long...) Maybe the router soft-reboots so fast the break in comms not noticed by modem?
     
  31. teddy_bear

    teddy_bear Network Guru Member

    Hmm... This image should be small enough for 4MB flash - even after Netgear's 256K CFE and extra board_data partition. Could you post the output of
    cat /proc/mtd
    from your router running dd-wrt?
     
  32. tsanga

    tsanga Networkin' Nut Member

    Here ya go:

    Code:
    root@DD-WRT:~# cat /proc/mtd
    dev:    size   erasesize  name
    mtd0: 00040000 00010000 "cfe"
    mtd1: 00370000 00010000 "linux"
    mtd2: 00203000 00010000 "rootfs"
    mtd3: 00010000 00010000 "nvram"
    mtd4: 00010000 00010000 "ddwrt"
    I've been having trouble with what is suspected to be some issues with board_id that prevents me from flashing whatever FW I want. See latest post here. I didn't think that would have anything to do with it reporting image too big, but you know more than I. :)
     
  33. teddy_bear

    teddy_bear Network Guru Member

    Yes, the problem is that the "linux" partition is too small: 370000. I believe it should be 3a0000 on your router. For some reason dd-wrt reserves 4(!) 64K blocks for board data partition, while only 1 block is actually needed.
    I think I'll consider building a "mini" version (with no CIFS and JFFS, for example) that will fit into the linux partition left by dd-wrt there... Then, after flashing mini, you should be able to flash it with the "Standard" one.
     
  34. tsanga

    tsanga Networkin' Nut Member

    That would be excellent! If you poke around the different forums like I have, you'll find other appreciative souls that have had trouble getting Tomato on a WNR3500v2.

    IIRC, there are no DD-WRT micro builds with N router support. Otherwise that could be an alternative method, could it not?
     
  35. rhdcheme

    rhdcheme Addicted to LI Member

    Hi, I am experimenting with the beta 11, build 45 USB Mod firmware on a WNR3500L with a FIOS 35/35 connection. Everything works very nicely (actually beyond expectations) except there is one problem. It seems that the WAN IP, which is leased for 2 hours, does not get renewed properly, so the WAN IP address given by FIOS keeps changing every 2-4 hours.

    Has anyone experienced this problem? If so, is there a fix? Thanks.
     
  36. teddy_bear

    teddy_bear Network Guru Member

    rhdcheme,
    I have not heard about this problem from anybody else yet... Does it only happen with Tomato, or does the same problem exist with DD-WRT and/or OEM firmware?

    To start troubleshooting, activate dhcp logging by checking the "DHCP Client" box on the Administration->Logging page, and post the log messages captured during a few subsequent DHCP lease renewals.

    Also, try to manually release/renew the lease using the buttons on the Status->Overview page. Post the log messages during that process too. Does that change your IP as well? Can you still access the internet after using the "Release" button in the GUI, but before hitting "Renew"?

    tsanga,
    No, dd-wrt micro won't be an alternative method since it's not the size of the already installed firmware that causes the problem. It's the MTD partitioning, which would be the same for all DD-WRT editions. The new firmware must fit into the current "linux" partition which is too small... Well, I guess I'll just start including no-USB, no-CIFS builds in the future updates - that should be small enough.
     
  37. rhdcheme

    rhdcheme Addicted to LI Member

    TB- Thanks for the quick reply. I hit release on the wnr3500l as I was replacing it with my dd-wrt Linksys wrt610n because FIOS will not give me an internet connection otherwise when changing routers. The release did not work on the wnr3500l with tomato. I had to clone the MAC address of the tomato wnr3500l onto the dd-wrt to get internet again. With dd-wrt Linksys, I did not have such a problem and was able to change routers with no problems. Nor did I have any problem with renewing or changing WAN IP's on the dd-wrt Linksys.

    I will troubleshoot as you suggested (probably next week), but I suspect that there is some issue with DHCP renewal in Tomato. There have been reports of some trouble with DHCP renewal for tomato wnr3500l. See http://www.myopenrouter.com/forum/thread/17828/How-to-install-Tomato-on-WNR3500L/?page=2 and http://www.myopenrouter.com/forum/thread/17841/Tomato-1.27-issues-on-WNR3500L/
     
  38. tsanga

    tsanga Networkin' Nut Member

    Thank you much!

    Patiently waiting for next release....:hubba:
     
  39. teddy_bear

    teddy_bear Network Guru Member

    The posts you linked to are about different problem, and have nothing to do with DHCP renewal. They are about obtaining DHCP lease for the first time after firmware upgrade or resetting nvram. That particular problem, I believe, was solved in beta11. But you still have to power-cycle the modem anyway after changing firmwares - the default WAN port' MAC address in Tomato may not be the same as, for example, in factory firmware or DD-WRT.

    As for your problem, it seems to be specific to either your modem, or FIOS connection - you can get an IP, it's just getting changed every time the lease is renewed. You may try to toggle "Reduce packet size" checkbox on the "Advanced->DHCP/DNS" page to see if it helps...

    I take it that you did erase the nvram after installing Tomato for the 1st time? If you did, and unless somebody else with FIOS will chime in, I can't say anything further without your logs...
     
  40. rhdcheme

    rhdcheme Addicted to LI Member

    OK, thank you very much. You are completely right. I just thought that perhaps the problems in the posts and mine might be related.

    Yes, I did clear nvram in tomato. I will try what you suggested and report back.

    BTW,
    there is no modem for FIOS. I have this setup: FIOS ethernet ONT>>>>WAN of Primary Router (wnr3500l or wrt610n)>>>>Primary router LAN TO WAN of Actiontec FIOS router for set top boxes
     
  41. gingernut

    gingernut LI Guru Member

  42. teddy_bear

    teddy_bear Network Guru Member

    Another attempt to update wi-fi driver - 5.10.147.0 in this release. Who knows what Broadcom changed - but hopefully they fixed the horrible instability of 5.10.140.0 (Asus even had to pull off the firmware release based on that driver version)...
     
  43. gingernut

    gingernut LI Guru Member

    lly over at wl500g forums put up some sort of explanation but I can't quiet understand google's dodgy translation.

    Something about a newer kernel and some module updates.
     
  44. teddy_bear

    teddy_bear Network Guru Member

    He's just bitching about Broadcom and Asus still using the old kernel, proprietary conntrack module (same as in 5.10.140.0), and the lame Asus' attempt to fix jumbo frame :biggrin:...
    There are no important fixes in the available sources - just some minor stuff. What's in the closed-source new wifi driver - only Broadcom knows...
     
  45. mstombs

    mstombs Network Guru Member

    There was a similar problem in basic Tomato/dd-wrt where the dhcp server reply to RENEW comes from an unexpected source which gets blocked by the firewall. dd-wrt wiki has a firewall fix

    http://www.dd-wrt.com/wiki/index.php/Iptables_command#Firewall_blocks_DHCP_renewal_responses

    It is clear that the need for this is ISP specific, wan dhcp works fine for me cable or adsl modem.
     
  46. rhdcheme

    rhdcheme Addicted to LI Member

    Holy ___! That, together with reducing packets as per TB's suggestion, did the trick! Thanks TB and mstombs!

    May 28 22:34:19 rhdcheme daemon.info udhcpc[2128]: Sending renew...
    May 28 22:34:19 rhdcheme daemon.info udhcpc[2128]: Lease of XX.XX.XXX.XXX obtained, lease time 7200
     
  47. teddy_bear

    teddy_bear Network Guru Member

    Good to know, thanks for the update!
    Now, I thought that particular issue with blocked port has been corrected in the recent Busybox by changing the listen mode of dhcp client after sending the renew request. Apparently it's not... But at least the iptables rule works :).
     
  48. x-demon

    x-demon Addicted to LI Member

    Thank you! Well, resetting modem and router does not help, but when after ~10 mins i went back with dd-wrt to flash it back, i saw that tomato started establishing connection. Good Bye, slow, buggy, commercial dd-wrt :D
     
  49. Ruzzian

    Ruzzian Addicted to LI Member

    Quick Note: Having issues getting the WRT160N v3 to flash properly. I was using the VPN version:
    tomato-K26-1.27.9045MIPSR2-beta11-vpn3.6.trx

    Tried several times and so it kept failing. Once I used the standard version it finally went through. I did try it again after getting standard to work and that is when Tomato told me the file was to large.

    Not sure if VPN is even a good idea with this router. If there is a way to make it work please let me know otherwise no biggie.

    Scott
     
  50. iloveramen

    iloveramen Networkin' Nut Member

    I just recently purchased the Asus RT-N16. I read on the first page that the tomato fw beta11 is able to flash directly from the Asus WebGUI. Am I correct? I just wanted to make sure.
     
  51. ladysman

    ladysman LI Guru Member


    To flash Asus RT-N16 and RT-N12 with this build, use Asus Firmware Restoration Utility (worked like a charm for me many times before I was able to produce a bootable firmware image), or load DD-WRT first, and then flash Tomato from DD-WRT Web UI following this step-by-step guide by soldier and cariyawa. To load it on Netgear WNR3500L, you'll have to flash DD-WRT first, and then upgrade to Tomato.

    Guide

    http://www.linksysinfo.org/forums/showpost.php?p=358080&postcount=278
     
  52. KapaT

    KapaT Networkin' Nut Member

    About DHCP and W7. Lease time 3600min.
    Log has too many DHCPINFORM,DHCPACK :
    Jun 1 16:15:20 ROUTER daemon.info dnsmasq-dhcp[1438]: DHCPINFORM(br0) 192.168.0.8 00:1f:c6:08:XX:XX
    Jun 1 16:15:20 ROUTER daemon.info dnsmasq-dhcp[1438]: DHCPACK(br0) 192.168.0.8 00:1f:c6:08:XX:XX Home
    Jun 1 16:16:25 ROUTER daemon.info dnsmasq-dhcp[1438]: DHCPINFORM(br0) 192.168.0.8 00:1f:c6:08:XX:XX
    Jun 1 16:16:25 ROUTER daemon.info dnsmasq-dhcp[1438]: DHCPACK(br0) 192.168.0.8 00:1f:c6:08:XX:XX Home
    Jun 1 16:18:20 ROUTER daemon.info dnsmasq-dhcp[1438]: DHCPINFORM(br0) 192.168.0.8 00:1f:c6:08:XX:XX
    Jun 1 16:18:20 ROUTER daemon.info dnsmasq-dhcp[1438]: DHCPACK(br0) 192.168.0.8 00:1f:c6:08:XX:XX Home
    Jun 1 16:19:25 ROUTER daemon.info dnsmasq-dhcp[1438]: DHCPINFORM(br0) 192.168.0.8 00:1f:c6:08:XX:XX
    Jun 1 16:19:25 ROUTER daemon.info dnsmasq-dhcp[1438]: DHCPACK(br0) 192.168.0.8 00:1f:c6:08:XX:XX Home
    Jun 1 16:21:20 ROUTER daemon.info dnsmasq-dhcp[1438]: DHCPINFORM(br0) 192.168.0.8 00:1f:c6:08:XX:XX
    Jun 1 16:21:20 ROUTER daemon.info dnsmasq-dhcp[1438]: DHCPACK(br0) 192.168.0.8 00:1f:c6:08:XX:XX Home
    Jun 1 16:22:25 ROUTER daemon.info dnsmasq-dhcp[1438]: DHCPINFORM(br0) 192.168.0.8 00:1f:c6:08:XX:XX
    Jun 1 16:22:25 ROUTER daemon.info dnsmasq-dhcp[1438]: DHCPACK(br0) 192.168.0.8 00:1f:c6:08:XX:XX Home
    Jun 1 16:24:15 ROUTER daemon.info dnsmasq-dhcp[1438]: DHCPINFORM(br0) 192.168.0.8 00:1f:c6:08:XX:XX
    Jun 1 16:24:15 ROUTER daemon.info dnsmasq-dhcp[1438]: DHCPACK(br0) 192.168.0.8 00:1f:c6:08:XX:XX Home
    Jun 1 16:25:20 ROUTER daemon.info dnsmasq-dhcp[1438]: DHCPINFORM(br0) 192.168.0.8 00:1f:c6:08:XX:XX
    Jun 1 16:25:20 ROUTER daemon.info dnsmasq-dhcp[1438]: DHCPACK(br0) 192.168.0.8 00:1f:c6:08:XX:XX Home
    Jun 1 16:27:25 ROUTER daemon.info dnsmasq-dhcp[1438]: DHCPINFORM(br0) 192.168.0.8 00:1f:c6:08:XX:XX
    Jun 1 16:27:25 ROUTER daemon.info dnsmasq-dhcp[1438]: DHCPACK(br0) 192.168.0.8 00:1f:c6:08:37:73 Home
     
  53. teddy_bear

    teddy_bear Network Guru Member

    Ruzzian,
    Yes, the VPN build is too big for WRT160N v3. It can be flashed to Asus RT-N12, but Linksys has larger CFE, leaving ~128KB less of flash space for the firmware.
    EDIT: just released a new beta 14 build with the 5.10.147.0 wifi driver, which is smaller. You should be able to flash VPN build to 160N v3 now.

    KapaT,
    Instead of reposting the same question again, you should bother to read responses to your previous post...
     
  54. KapaT

    KapaT Networkin' Nut Member

    I am so sorry for repost.
    Thanks for answer again.
     
  55. teddy_bear

    teddy_bear Network Guru Member

    Update - build 46, beta 14

    Let's test a couple of major changes in this build - the new Broadcom wifi driver from the latest Asus firmware release, and MiniDLNA integration :).

    Changes from previous build, beta 11:
    • Updated Broadcom wireless driver and SDK to version 5.10.147.0 (experimental).
    • Added Media Server (MiniDLNA 1.0.17) to Extras and VPN builds.
    • Fixed upnp bug when NAT-PMP redirections were expired prematurely.
    • Fixed bug causing error in the GUI trying to save negative numeric values (i.e. the default "-1" value for "TLS Renegotiation Time" in VPN builds).
    • D-Link DIR-320 support: the router should retain its original MAC address after flashing with Tomato (untested).
    • Software updates: miniupnpd 1.4 (20100511), ntfs-3g (in Extras builds) 2010-05-16, libusb 1.0.8.
    • Fixed bug in Samba configuration allowing Linux clients to bypass authentication even when authentication is set to "required" in the GUI.
    • Slightly improved Samba compatibility with Windows clients (do not use "share" mode).
    • Fixed obtaining label/uuid from swap partitions.
    • Added Wireless Interference Level to Status -> Overview GUI page (for APs in 40Mhz wireless-N mode).
    • Do not restart FTP/Samba on every USB partition unmount - do it only if the partition can't be unmounted otherwise.
    • Modified USB after-mount and before-unmount scripts. Now they are always called for every partition getting mounted or unmounted, and they get one parameter - the mountpoint (can be examined in addition to the environment variables). Previously in K26 builds the after-mount script was called for every partition, while before-unmount script was only called once per device.
    • Added minimalistic tune2fs Busybox applet to the Extras build - only supports the "label" (-L <lbl>) option.
    • Improved automatic reconnect for PPTP/L2TP WAN connections.
    • Fixed DHCP lease renewal with some broken ISPs (should eliminate a need for workaround iptables rule).
    • Fixed minor memory leak in iptables2.
    • Fixed domain name corruption in Dnsmasq.
    • Added MIME handler to Tomato http server for proxy autodiscovery files.
    • Removed "Reduce packet size" option from the GUI DHCP settings - this is always enabled now.
    • Updates for USB kernel drivers backported from newer kernel 2.6 tree.
    • Various kernel fixes and updates backported from kernel 2.6 tree in networking support modules, MIPS CPU support, ext3/fat fs support.
    • Fixed regression in beta11 that decreased USB transfer speed for some devices.
    • Included ebtables 2.0.9-2 into Extras and VPN builds.
    • Added maxSize parameter for usb_serial module to specify USB endpoint size.
    • ftdi_sio.ko and pl2301.ko modules are now included into Extras builds.
    • CIFS module updated to ver 1.52: backported from kernel 2.6.24.
    • In Extras and USB builds the standard uClibc libraries are not getting stripped out of unused symbols to make it easier to use additional custom compiled software.
    • Added preliminary support for Linksys WRT320N (thanks to dbt78 for the router id patch) and Netgear WNR2000v2 (untested).
    • Fixed flashing with Netgear .chk images from Web GUI (untested).
    • Modified the build system to allow more flexible firmware configurations.
    • Cosmetics and code cleanup.

    Links to the firmware binaries and the git repository with sources are in the 1st post.
     
  56. ladysman

    ladysman LI Guru Member

    Teddy,
    For this release, is it a good idea to not save the configuration and start over or is it OK, to save config, upgrade then reload the config?

    I'm still on Beta 10. :biggrin:
     
  57. jnappert

    jnappert LI Guru Member

    ...Updated Broadcom wireless driver and SDK to version 5.10.147.0 (experimental).

    Wow - WDS in WPA/WPA2 (mixed) with AES seems to be working. The WDS Links are established immediately. Beta 10 had to reboot several times to connect and only connected using WPA/AES.
     
  58. though

    though Network Guru Member

    thanks teddy. will flash tonight!
     
  59. bake73

    bake73 LI Guru Member

    I've got a blinking power led on my WRT320N, seems to be working ok though.
     
  60. EricCartman

    EricCartman Addicted to LI Member

    I love the new beta 14
    :)
     
  61. myersw

    myersw Network Guru Member

    Actually this behavior dates back to XP at least. I have a RT-N16. When I run the Asus firmware I do not see these log messages, looks like they do not bother to put in log. When I run Tomato I see these. Would make you think something is broken. As stated before the dhcpinform is from the client, all the dhcp server does is gather info and send back in the dhcp ack.

    Here is some info from "The DHCP Handbook"
    DHCPINFORM Messages:
    A client that does not need to obtain an address through DHCP uses the DHCPINFORM message. computers with manually configured IP addresses,such as large systems or mission-critical servers,can use DHCPINFORM to obtain other network information, such as location or print servers,time servers,name servers and so on. The client can either use unicast to send a message to a server known by the client or use broadcast to send the message to all available servers. In either case,the client use its own IP address as the source address in the message.

    Some Windows applications may need information from the DHCP server that is not requested or sent when the DHCP client acquires its lease. In that case, the application can send a DHCPINFORM message, requesting further information. For ths reason, recent versions of Windows frequently generate DHCPINFORM requests, and it's helpful to have a DHCP server that supports DHCPINFORM. One example is IE requesting proxy information.

    DHCPINFORM Message Handling:
    When the server receives a DHCPINFORM message, it collects the parameters that are appropriate for the network segment that the client claims to be connected to and sends them to the client in a DHCPACK message. No address allocation is performed. The server prints log messages, indicating that the DHCPINFORM message was received and that the DHCPACK was sent. If the server has not been configured to be authoritative, the server ignores and does not respond to the DHCPINFORM messages because the information it has may not be correct.
     
  62. EricCartman

    EricCartman Addicted to LI Member

    I need this version to get some setings out Asus RT-N16 Tomato Firmware v1.27.9042 RTN16-beta02 ND USB Ext

    can someone pls post the link to it?
     
  63. teddy_bear

    teddy_bear Network Guru Member

    ladysman,
    You should be able to just flash it over the previous build without any reconfiguration. But in case of any problems, erasing the nvram and manualy entering your settings is a first step in troubleshooting.

    jnappert,
    Thanks! I'm glad to know WDS issues are getting fixed... Is it still limited by one link per router, or can you establish multiple links now?

    bake73,
    Possibly - I don't have this router, and just used the WRT320N patches from this thread with some minor adjustments from dd-wrt sources. Did you erase the nvram ("thorough" option in the GUI) after upgrading to this build? Have you tried the dbt78' build, and if so - did it have the same issue?

    EricCartman,
    I don't understand your question. What do you mean by "getting some setings out... RTN16-beta02"? If you're already running any of the previous versions of this mod, you can just flash the new build over - your settings should be retained. However, see my reply to ladysman above :)...
     
  64. bake73

    bake73 LI Guru Member

    I erased nvram thorough and did a 30-30-30 reset and it still blinks. dbt78's version did not blink.
     
  65. teddy_bear

    teddy_bear Network Guru Member

    Strange, they should be the same in that regard...
    If possible, can you reflash the dbt78's build again and see if it fixes the led (maybe another reset will be needed)? If so, please PM me the output of "nvram show" command from both - the dbt78's build, and this build (mask out the passwords etc).
     
  66. dbt78

    dbt78 Networkin' Nut Member

    Wow , .. new Broadcom wireless driver with WRT320N. Your firmware is getting better!!
    thank's teddy bear. :):)

    I confirm that the power LED blinks continuously on the WRT320N.
    I think it can be solved in the source code by setting the value 2 instead of -2 for the constant power (led.c).

    when I had a moment this weekend, I will flash all my routers to see how they behave.

    best regards
     
  67. bake73

    bake73 LI Guru Member

    I'm glad its not just me :)

    Is there any code i can put in to stop it blinking? it's doing my head in.
     
  68. teddy_bear

    teddy_bear Network Guru Member

    Interesting... Supposedly it should only affect the initial state of the power led (on/off), and should not cause blinking by itself...
    What do the "led diag on" and "led diag off" commands do with this build, and with your build?
     
  69. bake73

    bake73 LI Guru Member

    It still blinks with both commands with this build.
     
  70. belliash

    belliash Addicted to LI Member

    And still no additional modules for IPv6.... Is that really a problem? :|
     
  71. mstombs

    mstombs Network Guru Member

    Loaded 14 up on my -TM, from latest BS dd-wrt (set to auto reset to defaults) , all fine, WAN reconnected immediately without modem reboot, and at the moment the Power LED is stable. Another great release teddy_bear!
     
  72. dbt78

    dbt78 Networkin' Nut Member


    Oops !

    The problem seems solved for the power LED ... :):)
    I re-compiled the build and everything seems to work now.
    The problem is the routine gpio_write () (which I had patched in version WRT320N for new gpio).
    Teddy, I send you by the MP the little mod.
     
  73. teddy_bear

    teddy_bear Network Guru Member

    And still no new firmware, and no single contribution for this project either from the author of this post :wink:...

    Great, thank you :)! Maybe it will fix the very similar annoying issue with blinking power led on TM as well...
     
  74. belliash

    belliash Addicted to LI Member

    @teddy_bear: i dont see any reason for doubling Your work... Look at the post date. Also when there was a problem with IMQ, i reported it to You and sent a possible solution.
    Now please dont tell me that You need a contribution for few changes in kernel config. Many people already asked in this thread for at least kernel support for IPv6. I never thought that it might be a big deal. If i were You, and someone send me a patch for that, it may even take more time as i would have to review patch before i apply it. When i was reading changelog and came across that You added ftdi_sio.ko and pl2301.ko modules i was hope You included also support for ipv6 - i was wrong :(
     
  75. teddy_bear

    teddy_bear Network Guru Member

    belliash,
    If all you need is kernel compiled with IPv6 modules, I'm sure you can change the kernel .config, and make a custom build for yourself.

    However, the proper IPv6 support should also include the corresponding iptables libraries, busybox applets, radvd daemon, IPv6 support enabled in dnsmasq, zebra and probably other software, ddns for IPv6, and then proper firewall configuration and GUI settings... It all should be optional, so the builds can be made with and without IPv6 support included. All of that, and more, is coming sooner or later - but asking "when" is not gonna speed it up...
     
  76. I also confirm that the Power LED blinks continuously in beta11 and beta14. Other than that, seems fine.

    Running tomato-K26-1.27.9046MIPSR1-beta14-vpn3.6 on a WRT54G-TM.
     
  77. teddy_bear

    teddy_bear Network Guru Member

    Yes. So far the only 2 models affected are TM and 320N, AFAIK. But looks like the last patch from dbt78 should fix it :)...
     
  78. ladysman

    ladysman LI Guru Member

    Teddy,
    Upgraded from beta 05 to beta 14 (I know, I thought I was running 10...lol :biggrin: )

    Everything seems fine.
     
  79. teddy_bear

    teddy_bear Network Guru Member

    Beta 14 turned out a bit smaller than beta 11 was, so you should be able to flash your WNR3500v2 with the Standard build now.
    If you update to beta 14, try to remove the iptables rule - I'd like to know if DHCP renewal now works properly for your FIOS connection without that rule (hopefully it does).
     
  80. KapaT

    KapaT Networkin' Nut Member

    Please help, how to manual install optware without LA scripts?
    Optware do not installed from this - http://www.dd-wrt.com/wiki/index.php/Optware After enable jffs log print:
    Old JFFS2 bitmask found at 0x003ad568
    You cannot use older JFFS2 filesystems with newer kernels
     
  81. bagu

    bagu Network Guru Member

    since upgrade, i get a bunch of :

    Jun 2 10:44:01 Tomato user.warn kernel: DROP IN=vlan2 OUT= MAC=e0:cb:4e:43:9d:3c:00:07:cb:4b:8e:f5:08:00:45:00:00:4c SRC=212.27.40.240 DST=88.184.248.105 LEN=76 TOS=0x00 PREC=0x00 TTL=59 ID=0 DF PROTO=UDP SPT=53 DPT=65205 LEN=56
    Jun 2 10:44:01 Tomato user.warn kernel: DROP IN=vlan2 OUT= MAC=e0:cb:4e:43:9d:3c:00:07:cb:4b:8e:f5:08:00:45:00:00:4c SRC=212.27.40.240 DST=88.184.248.105 LEN=76 TOS=0x00 PREC=0x00 TTL=59 ID=0 DF PROTO=UDP SPT=53 DPT=13305 LEN=56
    Jun 2 10:44:01 Tomato user.warn kernel: DROP IN=vlan2 OUT= MAC=e0:cb:4e:43:9d:3c:00:07:cb:4b:8e:f5:08:00:45:00:00:4c SRC=212.27.40.241 DST=88.184.248.105 LEN=76 TOS=0x00 PREC=0x00 TTL=59 ID=0 DF PROTO=UDP SPT=53 DPT=57378 LEN=56

    where 212.27.40.240 and 212.27.40.241 are my isp dns

    I try checking Intercept DNS port (UDP 53) box, but it have no effect.
    How can i correct this please ?

    Other thing, before i upgrade, i save my config.
    I upgrade with erasing everything.
    And when i try to put my config file, i get bad hardware error message.
    So i must put every config manually
     
  82. mstombs

    mstombs Network Guru Member

    The power LED on my TM worked fine after upgrade (from K26 dd-wrt) - until router power cycled. Must be due to nvram vars that are interpreted on boot and then changed, but haven't found what.

    Look forward to testing from git when the patch posted.
     
  83. Guzel

    Guzel Network Guru Member

    Thanks teddy
    The gigabit an WAN and LAN port is working :) on beta14
    I have wnr3500l, I get 246/168 mbits :)

    Ther is a steel problem in PPTP client ,it workts abat 30 min
    The DNS chages back to orginal DNS the ip is from the PPTP client
     
  84. peyton

    peyton LI Guru Member

    Thks i'm gonna test it ! :)
     
  85. Spyros

    Spyros LI Guru Member

    Thanks for this firmware :)

    There is also another problem with WRT320N, the led above the SES button remains off and it should turn on when the WAN iface gets an IP or it should turn amber when someone presses it.

    Another problem is that the router restarts too many services when changing settings and you lose connectivity, eg change wireless channel --> restart.

    Apart from this everything is good and the QoS looks much better than DD-WRT but haven't tried it yet.

    Question:

    What's the best way to restore defaults in WRT320N? Just restore defaults or choose the option to thoroughly erase NVRAM and if i erase NVRAM is there any danger to delete variables that were created by the trailer build and brick the router?
     
  86. Guzel

    Guzel Network Guru Member

    I get this log when I connet whit my VPN client (winxp)
    I think the vpn server is brocken on beta14, I yoused the same setting before on beta10 and beta11 It did work,
    on wnr3500l beta14 I get this log when I connet tro my client

    Jun 2 14:30:45 unknown user.warn kernel: WARNING: at net/8021q/vlan_dev.c:351 vlan_dev_hard_header()
    Jun 2 14:30:45 unknown user.warn kernel: Call Trace:
    Jun 2 14:30:45 unknown user.warn kernel: [<8000e0e4>] dump_stack+0x8/0x34
    Jun 2 14:30:45 unknown user.warn kernel: [<80202ef0>] vlan_dev_hard_header+0x1ec/0x20c
    Jun 2 14:30:45 unknown user.warn kernel: [<80175c14>] neigh_resolve_output+0xd4/0x310
    Jun 2 14:30:45 unknown user.warn kernel: [<801f277c>] bcm_fast_path+0x158/0x1fc
    Jun 2 14:30:45 unknown user.warn kernel: [<80192344>] nf_hook_slow+0x1ac/0x1b4
    Jun 2 14:30:45 unknown user.warn kernel: [<801a7040>] ip_rcv+0x3e8/0x720
    Jun 2 14:30:45 unknown user.warn kernel: [<8016f168>] process_backlog+0x104/0x234
    Jun 2 14:30:45 unknown user.warn kernel: [<8016f348>] net_rx_action+0xb0/0x200
    Jun 2 14:30:45 unknown user.warn kernel: [<8002c244>] __do_softirq+0x80/0x110
     
  87. teddy_bear

    teddy_bear Network Guru Member

    KapaT,
    You didn't say what hardware, and - more importantly - at what exact step of the installation procedure you get this error.

    bagu,
    These log messages by themselves indicate no problem. Do you experience any real issues at the same time - i.e. lost connections, noticeable slowdowns etc?

    mstombs,
    You can try this before I push new sources into the git:
    Code:
    --- a/release/src/router/shared/led.c
    +++ b/release/src/router/shared/led.c
    @@ -80,6 +80,7 @@ void gpio_write(uint32_t bit, int en)
     	if ((f = gpio_open(0)) < 0) return;
     
     	_gpio_ioctl(f, GPIO_IOC_RESERVE, bit, bit);
    +	_gpio_ioctl(f, GPIO_IOC_OUTEN, bit, bit);
     	_gpio_ioctl(f, GPIO_IOC_OUT, bit, en ? bit : 0);
     	close(f);
     }
    Guzel,
    I do not understand your question about PPTP/DNS. Could you clarify what the issue is, with some logs if possible?
    As for the warning message in the log when using VPN - I believe I know what it is, and it's harmless - just annoying. Hopefully you don't have any problems with VPN - only the log warning. It got in with the wireless driver update - I'll silent it for the next build.

    Spyros,
    The WAN connection led will stay unsupported at least for now - I'll probably change it to be always "on" instead of "off", but it won't change with the connection state. This is the same issue as with WNR3500L - I don't want to add all that code (which is not in Tomato now) for the very little benefit....
    As for restoring the defaults, always use "thorough" option when upgrading to Tomato from another firmware for the first time. If later you update to another version of this mod, you don't have to reset to defaults anymore unless specifically stated in the release notes.
     
  88. Spyros

    Spyros LI Guru Member

    Is there a command to turn it on?
     
  89. teddy_bear

    teddy_bear Network Guru Member

    I believe you can change the initial state of that led on the Administration -> Buttons/LED page - try White/Amber check-boxes. Also, there's a "led" command you can experiment with.
    I don't have this router to try myself - so please report your results.
     
  90. bagu

    bagu Network Guru Member

    Yes, a real slowdown and my homeserver can't resolve hmailserver dns request anymore.
    Revert to the previous release correct the problem.
     
  91. teddy_bear

    teddy_bear Network Guru Member

    bagu,
    No idea what this is then...
    Anything else relevant in the log (if you turn off the logging of dropped packets)?
    Could you PM me the "sysinfo" command output (mask out passwords etc)?
     
  92. Spyros

    Spyros LI Guru Member

    I tried all combinations in Administration -> Buttons/LED page without result, also tried

    Code:
    led amber on
    led white on
    and off without luck

    The strange is that the LED was working but after some resets it stopped working, maybe something was left back from DD-WRT.
     
  93. teddy_bear

    teddy_bear Network Guru Member

    Spyros,
    Have you tried the
    Code:
    led amber on; led white off
    and
    Code:
    led amber off; led white on
    If that still doesn't do anything, it could be the same problem that makes the power led blink. If so, you'll need to wait until it's fixed (currently waiting for confirmation from a few people testing it).
     
  94. deboyz1014

    deboyz1014 Addicted to LI Member

    Weirdest thing regarding transfer speed after upgrading from Beta10 > Beta14.

    RT16 as Main (Ext build)
    RT12 as wireless bridge (standard build)
    Gigabit switch connected to RT12 downstair
    All wired transfer are through the gigabit switch

    BETA 10
    Wired
    NAS > Comp = ~12MB/s
    Comp > NAS = ~22MB/s
    Wireless
    NAS > Main comp connected to RT16 = ~2-5MB/s
    Main > NAS = ~2-5MB/s

    BETA 14
    Wired
    NAS > Comp = ~17MB/s
    Comp > NAS = ~31MB/s
    Wireless
    NAS > Main comp connected to RT16 = ~800kbs-2MB/s
    Main > NAS = ~800kbs-2MB/s

    NVram reset after upgrade on both routers and both are set exactly the same as it was when running BETA10.
     
  95. Spyros

    Spyros LI Guru Member


    No luck
     
  96. KapaT

    KapaT Networkin' Nut Member

    Error with JFFS arose when I pointed out in the Web user interface - turn on JFFS.
     
  97. dbt78

    dbt78 Networkin' Nut Member

    After testing, I confirmed that it also resolved with the gpio patch for the wrt320n.
     
  98. alien3456

    alien3456 Addicted to LI Member

    What scripts or customizations do you guys use with the ND-USB mod? I just upgraded to the RT-N16 from my WRT54GL because I wanted the USB storage and felt my old router was constantly getting bogged down from wireless access, so I didn't like running anything custom beyond QoS. I notice vastly improved performance with the RT-N16 so I'm interested in what else I can do with this puppy.

    The only things I've used in the past are the Adblocking script and the script to backup bandwidth stats via FTP (which I'll try to alter to backup to the USB drive tonight). What else do you find useful?
     
  99. teddy_bear

    teddy_bear Network Guru Member

    deboyz1014,
    So the wired speed improved (that's good :) ) while the wireless declined?

    Well, I can't comment on that since all my wireless-N clients still can transfer the files with the 9-11MB/s rate, the same as in previous builds. But - the wireless driver is updated, so potentially you may need to make configuration changes to tune it up. At least try different channels. If you post all of you wireless settings (including "advanced"), I or someone else may come up with other suggestions.

    Also, it may help if you can compare beta10 > beta11 > beta14. Jumping through the builds leaves too many variables to deal with...

    KapaT,
    Did you remeber to do "Format/Erase..."? Also, you didn't state your router model - unless it's Asus RT-N16 there's no sense to use jffs for opt - not enough space for most of the software anyway.

    dbt78,
    Does the led amber off; led white on also work properly after the patch?
     
  100. KapaT

    KapaT Networkin' Nut Member

    Yes, My router is RT-N16.
    Hmmm, Right way Enable JFFS - Format - Save.
    Thanks a lot.
     

Share This Page