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

Discussion in 'Tomato Firmware' started by teddy_bear, Dec 17, 2008.

  1. endiz

    endiz Network Guru Member

    Thanks for the link. I haven't found a successful process to install optware on your mod, but I'll take a look when I get home.
     
  2. teddy_bear

    teddy_bear Network Guru Member

    I don't know why so many people find Optware installation difficult ;)... Maybe some day I'll get around to write a short Tomato-specific guide on this. Until then - use links from the 1st post...
     
  3. ray123

    ray123 LI Guru Member

    I've begun a writeup on the optware instructions, as necessary to support a torrent client on Tomato. Haven't finished it yet, though. I keep getting distracted.
     
  4. asterger

    asterger Network Guru Member

    Using teddy_bear's excellent Tomato ND USB v1.27.8744 ND USB Ext mod on a Linksys WRTSL54GS. Have USB 2.0 Support enabled with a 8 GB memory stick plugged in. I am accessing this NAS via a 32-bit Vista Business system. File access is fine.

    Issue is a visible, empty network Printers icon on the Vista machine. Icon is at the same level as the share.

    Is this a Vista artifact or do I need to set a parameter within the smb.conf below.

    Any suggestions?

    Thanks,

    -- Asterger

    [global]
    bind interfaces only = yes
    browseable = yes
    client code page = 437
    coding system = utf8
    dns proxy = no
    domain master = yes
    encrypt passwords = yes
    guest account = nobody
    guest ok = yes
    guest only = no
    interfaces = br0
    local master = yes
    log level = 0
    netbios name = NAS
    os level = 65
    preferred master = yes
    preserve case = yes
    security = share
    server string = tomato
    short preserve case = yes
    syslog = 1
    syslog only = yes
    timestamp logs = no
    workgroup = WORKGROUP


    [share]
    path = /tmp/mnt
    writable = no
     
  5. dennys

    dennys Addicted to LI Member

    Thanks, I just tried to disable internal log, the result is I don't see klogd and syslogd any more. But when I open a ftp (only one thread, about 100KB/s), keventd still uses about 60-80% CPU. If I change to use 3 threads, then the CPU loading is always more then 90%. Maybe not only due to log :eyebrow:
     
  6. ray123

    ray123 LI Guru Member

    Teddybear,
    I've been looking into making UVC webcam support, with sidetracks into making torrents work (without killing the router) and playing streaming music with a $2.55 USB audio/headphone adapter.

    In this testing, my router often freezes up---and I've encountered error conditions that the code didn't handle too well, plus a few miscellaneous problems. The big one is when the remote logging data file gets corrupted, because the code couldn't handle that situation and couldn't recover. The other biggie is when the OS gets crammed in sideways and won't reboot---requiring you to get out of your comfy chair and pull the power plug.

    Anyway, here's the patchset with my fixes.

    http://www.mediafire.com/file/zlyog00owya/rvt-v44.patch

    Changes:
    * Kernel:
    * Added vol control mixer label to the log, for the benefit of mpd. (mpd.conf)
    * Fix to avoid a flood of zombie cifsd processes, if there are
    problems connecting to a cifs. (backport)

    * Router:
    * Fix for missing syslog entries on startup. (resubmit)
    * Fix so that samba "USB auto-share" only does actual directories, and
    only directories that are an actual mountpoint (i.e., are really mounted).
    * Fix for bandwidth history, if it is trying to load a remote history file
    which is corrupted. Also, automatically restore (load) from backup files when
    necessary. Fixed the logic for naming of backup files.
    * Fixed a coding bug in setup of jumbo_frame_enable.
    * If the reboot hangs, do a hard reset after 10 seconds.

    ===========================
    The good news: adding music support looks to be pretty safe & easy.
    The not-so-good-news: Torrent client has an inclination to work. More-or-less. It still has a tendency to lock up the router.
    The medium-good news: UVC webcam seems do-able, but not yet working.

    I intend to make a write-up on how to install streaming music capability. Part of this doc will have the step-by-step instructions on adding ipkg/optware to a router. This probably won't happen until May or later, since we're going on another long cruise.
     
  7. teddy_bear

    teddy_bear Network Guru Member

    Thanks Ray! Will apply for future builds.
    I tested this fix many times vs. the simple delay increase, and ended up with the delay in v44. Turns out increasing the delay from 0.5 sec to 1 secs provides better results than the more complex solution in your patch. In both cases some of the entries may still get lost - however it happens more often, and more messages are lost with this patch than with 1s delay, especially in K26 builds.
    Have a nice trip :)!
     
  8. mjd26

    mjd26 Networkin' Nut Member

    Hey all, as you'll note I'm a first time poster and I'll admit I'm definitely a serious newbie compared to most of the people here. :)

    Firstly; a HUGE thankyou to Teddy and all of the others who have put in so much effort to make these custom firmwares, it's fantastic work and I'm already really really pleased with the results. THANKYOU!!! :D

    Now; here comes the bit where I really need some help if anyone is able. (TIA)

    My setup:
    Router: Asus RT-N16
    Firmare: tomato-1.27-NDUSB-9044MIPSR2-beta07-Ext

    ADSL Modem: Billion 7401VGP-M

    ISP connections, one ISP, one modem, two connections:
    PVC1:
    VPI = 8, VCI = 35
    PPPoE, Chap, auto assigned everything, WAN IP generally = 122.x or 219.x or 114.x or 115.x
    6 possible BRAS servers to hit, not really consequential which one.

    PVC2:
    VPI = 8, VCI = 36
    Pure DHCP
    IP = 10.x
    No BRAS, 1 switch, completely independent route to PVC1.

    What I DO have working:
    At present, I have the WAN port of the Asus connected to eth1 on the Billion and successfully bridging a PPP session through PVC1 and out to the internet. P2P, routing and everything seem fine for all computers behind the Asus on wired and wireless connections.
    USB (etc) all fine.

    What I DON'T have working:
    I can't seem to figure out how to make the second PVC (8/36/DHCP) work.
    I've found many guides around which deal with everything from dual cable modems to cable and ADSL to cable and 3G, to triple cable, etc.
    But all guides pre-suppose that the second connection is being made by a second modem, via a second (re-assigned) WAN port on the router.

    In my case, what I need to do is get the single WAN port on the router to host a second connection through the same (single) ADSL modem.

    Background (in case it helps)
    My (Australian) ISP has limited data ADSL plans purchased at relatively high prices (compared to most of the world). It does however provide a free service, known as "CommunityNet", which allows users on the same telephone exchange to share data between one another without any data being counted to the plan.
    To make that free service work, a second connection must be made through the DSLAM on a seperate PVC, all traffic passed through that second PVC to other users on the same DSLAM is then completely uncounted towards the (limited) data allocations, thus allowing far higher usage than the plan would otherwise allow.


    If anybody is able to provide any assistance, that would be hugely appreciated.
    Please try to bear in mind that I'm a bit of a novice.

    Thanks again. :)
     
  9. DaeMonS

    DaeMonS Addicted to LI Member

    well, in this case we think about tomato firmware with optware in it,with web management system.....what do u think?

    http://www.netcoure.com/forum/viewtopic.php?f=25&t=4&sid=50bfe7147917640d2b1feef8b427cff3&start=70

    and does anyone know how can i setup the ftpd with user specified directories?
     
  10. irobot

    irobot Networkin' Nut Member

    How do you auto spin down and spin up usb attached harddisks. I can manually do that using scsi-stop/scsi-start.
     
  11. ray123

    ray123 LI Guru Member

    In my effort to get a torrent client to work without periodically crashing my router, I've been experimenting with many things, and now have a puzzlement on the network device traffic stats.

    From what I understand, eth0 is the wired (local) lan and eth1 is the wireless. Vlan1 seems to be the WAN (that is, my ISP connection).

    I thought that I could look at the traffic counts for eth0 & eth1 to get the traffic to/from my desktop computers. I wanted to get the traffic stats for my computers, so I could throttle the torrent client running on the router.

    But eth0 seems to count both locally-generated traffic as well as traffic on my wired lan. And eth1 is flat-lined---I guess because I don't use wireless.

    Vlan0 seems to be the wired lan traffic. Is that right? Seems odd that wireless would be eth while wired would be vlan.
    What is br0?
     
  12. ImGeo

    ImGeo Addicted to LI Member

    Could someone help me compile a custom version? I just have short simple and minor changes, but don't have a Linux box to compile it on.

    Thanks in advance!
     
  13. rhester72

    rhester72 Network Guru Member

    You might want to consider a small VM using VirtualBox or similar to run Linux to do compiles. Works very well here - I haven't had a hardware-dedicated Linux box for years.

    Rodney
     
  14. ray123

    ray123 LI Guru Member

    Yes, a Linux in VBox would do just fine.

    What are your changes? If it's something simple maybe I can help. How can you make & test your changes if you don't have a Linux box to work on?
     
  15. teddy_bear

    teddy_bear Network Guru Member

    The actual network interface names depend on the router model. Assuming 520GU:
    • eth0 - all wired ports (LAN and WAN)
    • eth1 - wireless
    • vlan1 - WAN
    • br0 and vlan0 - both are LAN, one is wired+wireless, the other one wired only (don't remember which one)
     
  16. ImGeo

    ImGeo Addicted to LI Member

    I suppose it's best to get a vbox setup. I'll probably want to make continual changes anyways :)
     
  17. kamatschka

    kamatschka Network Guru Member

    Hi teddy_bear ..

    I have a Linksys WRT54GSv1.1 and Ive modded it with an SD-Card (mmc) Slot .
    It is working with DDWRT but I wasnt happy with it. So I got back to Tomato 1.28 beta and I am happy with it but there is no SD-Card feature.

    I looked here on the Tomato Wiki which Firmwares are supporting SD Card Mods and the Wiki shows that your mod is supporting SD-Card - Mods .

    Here the link: http://en.wikibooks.org/wiki/Tomato_(firmware)#Feature_comparison

    Sooo. I really want to go with your Firmware but I looked at the features of your Tomato-Mod on the First page of this thread but its not saying anything about the SD-Card-Mod compatibility. Is it just a mistake or can I find your Tomato-Mod with implemented SD-Card-Mod feature somewhere else??

    I really want this Firmware with SD-Card-Mod compatibility.. ;-)


    Thank you very much...

    Greetz kamatschka
     
  18. gonesuper

    gonesuper Guest

    WRT620N v2

    Hi teddy_bear

    I use your firmware on my asus wl500g but i'm looking to upgrade everything to a gigabit lan.

    I saw your 2 recomendations for the Netgear 3500L and the Asus RT-N16 but i really want to have a full dualband option like the linksys wrt610n as i live on a very wifi busy street. Constant clashes mean poor signal and dropouts for me on 2.4ghz but i have some legacy devices that need to use it so full dualband seems the best choice.

    I noticed that the WRT610N v2 has the same chipset as the RT-N16 and is already ported to dd-wrt.

    Would there be any option of porting this to your Tomato ND or better yet your 2.6 kernel version.

    Heres the specs from dd-wrt to save u the time looking them up

    Model Q87-WRT610NV2
    Chipset Broadcom4718@480
    Ram 64
    Flash 8
    Wlan a/b/g/n -
    Serial Yes / Jtag
    Eth ports 4 LAN/1 WAN 1000BaseT (gigabit) switch
    Voltage 12V/1.5A
    Extra USB 2.0
    DD-WRT v.24 SP2 - build 13364 - 20091203


    Thanks in advance for any info.

    James.
     
  19. teddy_bear

    teddy_bear Network Guru Member

    Update - build 45

    Changes common for kernel 2.4 and kernel 2.6 based builds:
    • Improved stability of wireless link when using router in wireless client or wireless Ethernet bridge modes.
    • Automatically load network routing table supplied via DHCP from ISP with GUI setting to disable it if desired (enabled by default).
    • Replaced vconfig application with Busybox applet.
    • Fixed WLAN led for Asus WL500GPv2.
    • Use kernel driver for PPTP and L2TP connections to improve speed and reduce CPU load, replaced pptp-client with accel-pptp pppd plugin ver. 0.8.4. This is by far the biggest functional change in this build - still is in "alpha" stage, and needs more testing.
    • Allowed to specify server for PPTP and L2TP connections as either IP address (as before), or domain name.
    • Allowed PPTP connections with dynamic IP addresses ("Use DHCP" GUI setting).
    • Fixed bug causing constant reconnects for some PPPoE connections (introduced in previous build 44).
    • Added display of current wireless link rates to the "Status->Overview" and "Status->Device List" pages.
    • Display N-capability of AP in Wireless Survey results.
    • Country selection on Advanced->Wireless page changed to obtain the list of available countries from the wireless driver.
    • Fixed USB auto-share to only share actually mounted partitions, and not any other directory under /mnt.
    • Bind HTTP daemon to LAN interface only instead of 0.0.0.0 to simplify binding of other applications (like pixelserv) to an alternate LAN IP (change by rhester72, see this thread for details).
    • Force hard reset if reboot hangs for longer then 10 secs.
    • Execute .autorun scripts located in /jffs when mounting JFFS partition.
    • Fixed Bandwidth history loading when it's trying to load a corrupted remote file.
    • Busybox: patches from trunk for awk, unzip, wget, modprobe, syslog, fdisk, ping, top, wc, ash, tail, vi. Added flock applet to the Extras build.
    • Software updates: ntfs-3g (in Extras build) 2010.3.6, MiniUPnPd 1.4 20100308, pppd (used by PPTP and L2TP connection) 2.4.5, GNU Zebra 0.95.
    • Minor fixes and cosmetics.
    Kernel 2.4-based builds only:
    • Fixed memory leak in "recent" iptables match.
    • Fixed flood of zombie cifsd processes in case of CIFS connection problems.

    Changes specific for kernel 2.6-based builds can be found here.

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

    someguyfromhell Addicted to LI Member

    Do I need to clear the nvram to upgrade from build 44 to build 45?

    Thanks for excellent firmware :wink1:
     
  21. richardtaur

    richardtaur Addicted to LI Member

    Many Thanks

    Hi teddy_bear: The donation is on your way from my paypal. It may take 3-4 days. It is a small donation of $10.00, hope that you don't mind. I do appreciate your hard work on firmware for this and the mjproxy for my MagicJack. Thank you very much. Will donate more when I can. :)
     
  22. ray123

    ray123 LI Guru Member

    Wow, I just googled "pixelserv" to see what he was talking about, and found a treasure trove. Also found the long thread about installing optware & transmission on larger routers. Too bad he spend so much time trying to hack the optware scripts, and reinventing methods that the new *.autorun and *.autostop methods will do for you. I have to get back to work on and update my Advanced Operations document.

    But first, I plan to make a little recipe for setting up a USB stick or USB HD for optware, and how to get things to load automagically. That should make things a lot easier for people like Lost_Animal, so they won't have to re-invent the wheel.

    But more news:
    Trnasmission kinda works on a 520GU. But mostly, it crashes. Sometimes it just mysteriously disappears, sometimes it locks up the router and I have to pull power to reboot it. Nonetheless, I'm planning to write this up.

    Great news (at least---I'm excited about it): For the price of $1.55 (including shipping) you can have your router play streaming music from internet radio stations. Controllable via telnet or Firefox or an app on your Windows/Linux machine. Or by just pulling in the USB audio stick.

    We'll be gone for about a month......maybe I'll be able to get a writeup done before we leave.

    I will definitely look into adding support for adblocking with pixelserv when I get back.
     
  23. cr00kedview

    cr00kedview Network Guru Member

    Flashed from build 44 to 45 on my WL-500W -

    Status: Bricked, unable to recover in restoration mode using ASUS firmware restoration utility. Did not reset to defaults prior to flashing.

    Time to exchange the router ;)
     
  24. teddy_bear

    teddy_bear Network Guru Member

    cr00kedview,
    I don't believe it's bricked - Asus is very hard to brick. Most probably just stuck in the reboot loop as reported in K26 thread... I'm trying to figure out what's wrong as this (obviously) is not happening with 3 routers I'm testing it on. Also, if this is indeed the same problem, you might be able to access the router with WAN cable unplugged.

    If it enters the restoration mode it's not bricked. You may need to configure your computer to use static IP address in 192.168.1.x subnet to be able to access the router though.
     
  25. cr00kedview

    cr00kedview Network Guru Member

    teddy_bear:

    Tried accessing the router with both methods you suggested prior to posting, both with no results.. The router seems to enter the restoration mode (the power light flashes on and off), but I'm not able to access it, even with my IP address specified to a 192.168.1.xxx address.
     
  26. pharma

    pharma Network Guru Member

    That happens with me. What you should also do is keep the reset button pressed 30 sec or until the power led does not flash -- you might have to try different things maybe 30--30--30.

    After that you should be able to get the recovery mode or you might have to assign a static ip first.

    Pharma
     
  27. teddy_bear

    teddy_bear Network Guru Member

    cr00kedview,

    Very strange - worked for me many times on 4 different Asus models (never had 500W though). A few times it seemed that it doesn't work, but always went through in the end. You may try flashing arp/dns caches on your computer, or simply reboot it, or connect the router to another computer... Maybe search for tips on dd-wrt forums...

    I've never heard of completely bricked Asus - but everything's possible of course :(.

    By the way, what build (Ext/VPN/etc) did you flash?
     
  28. qgiasz

    qgiasz Networkin' Nut Member

    Build 45 has pptp vpn, does it mean openvpn is deleted? If still have openvpn I'd like to upgrate to 45.
    I think if providing some UI pictures in releasing it will be much easier to be understood.
     
  29. teddy_bear

    teddy_bear Network Guru Member

    I wonder - what could possibly lead you to this conclusion?
    Sure. You're welcome to get the screenshots and post them here so everyone else will be able to understand it easier.
     
  30. cr00kedview

    cr00kedview Network Guru Member

    teddy_bear,

    Flashed the Extras build. This would be my second WL-500W brick, so I don't doubt that it's possible :).

    I've tried two different PCs, both unable to connect to the router in restore mode (both PCs having static IPs), and tried several reboots etc. Regardless of how long I hold down the restore button, the power light and corresponding LAN light flash/flicker as if it's actually in restore mode, but there is no communication between the PC and router.

    Have an RMA in from ASUS, but will continue to try everything I can think of to get it working.
     
  31. teddy_bear

    teddy_bear Network Guru Member

    I confirm that the build45 Extras edition (tomato-NDUSB-1.27.8745-Ext) was broken, and could brick the router :frown: (although I had no problems restoring my 520gu after that via the Asus restoration utility). Looks like the compile just got screwed up for some reason for this particular build (and for one of the editions of last K26 build as well).

    I will rebuild the Ext build, and re-upload it soon.

    I also tested VPN, Std (both - USB and no-USB) and Lite builds on my 520GU (couldn't test them all...), and they are fine.
     
  32. qgiasz

    qgiasz Networkin' Nut Member

    I used dualwan tomato before and it used pptpvpn in place of openvpn.

    It's very good having openvpn, I will upgrate from 44.

    Thank you very much.
     
  33. jnappert

    jnappert LI Guru Member

    Tested the new build 45 within my WDS-Cloud (nonUSBVersion on WRT54GLs1.1). I noticed the same behavior as when i tested the 2.6. builds with newer (5x) drivers - the build only establishes ONE WDS-Link. Therefor i can only use it in end-nodes.

    The second WDS-link is displayed correctly with its signal strength but no connectivity. This can also been seen as there are no TX/RX-Rates displayed (nice function btw).
     
  34. teddy_bear

    teddy_bear Network Guru Member

    Ok, the problematic 1.27.8745-Ext build has been pulled off, and I reuploaded the fixed 8745.01 Extras build (tomato-NDUSB-1.27.8745.01-Ext). Should not brick routers anymore :).
     
  35. teddy_bear

    teddy_bear Network Guru Member

    jnappert,
    I have not touched anything WDS-related in K24 builds for a long time. What Tomato builds actually worked and/or still work for your WDS setup? Did any of my previous builds work? If so, what wi-fi driver version was in that build?
     
  36. mememe2345

    mememe2345 Addicted to LI Member

    Had to down grade from build 45 to 44 for mjproxy to work.
     
  37. jnappert

    jnappert LI Guru Member

    Running flawless with up to 3 WDS Links: vanilla tomato 1.27/1.27 ND; Tomato (beta) 1.28/1.28ND; Victec 1.25.8515.2

    You sent me some test builds in October 2009 (fix BCM4707). This was the first time, i noticed this behavior maybe it was introduced earlier. I could be your tester again. Would be nice to solve this...
     
  38. richardtaur

    richardtaur Addicted to LI Member

    The mjproxy works for me with build 45 std. It should work for you as well.
     
  39. mememe2345

    mememe2345 Addicted to LI Member

    Thanks for the info, tried again and it works this time. It might just because I was kind sleepy before went bed this morning while doing the upgrade. It used to be left jffs intact during upgrade, but with this build, had to format it and reload the mjproxy and print firmware. Anyway, it works like a charm like always. Thanks TB for the great mod.
     
  40. genjuro

    genjuro Addicted to LI Member

    Atheros AR5005

    Hello Tomato gurus :)

    I have a Asus Wl500gp v1, and the wifi card is dead, i got a Engenius EMP-3602 (Atheros AR5005 - AR2413 Single Chip CMOS MAC/Baseband/Radio), I read in some Openwrt posts that this kind of hardware is supported by the madwifi driver, is there any possibility that i can compile the driver to make it work with teddy_bear mod... i'm a little noob in the world of compliling firmware, any hint would be appreciated :)


    [[]] see ya all...
     
  41. bapti

    bapti Addicted to LI Member

    Compile build 43

    I have downloaded the code as Teddy_bear mentioned in "update - build 43" post. Could someone tell me how to compile this code ?
    I want to run it on Netgear WNR3500L.
     
  42. pharma

    pharma Network Guru Member

    I think for the WNR3500L you are looking at the wrong thread. You might want to look at the firmware from this thread: Tomato ND USB Mod with kernel 2.6 since it already supports the WNR3500L.

    Read the notes at the beginning of the thread to see if your router model is supported!
     
  43. someguyfromhell

    someguyfromhell Addicted to LI Member

    Do I need to clear the nvram to upgrade from build 44 to build 45?
     
  44. Rurimoon

    Rurimoon Network Guru Member

    How to get SNMP to work on this mod

    I tired to install snmpd on this mod (Tomato Firmware v1.27.8745 ND USB vpn3.6)

    I follow the instruction here http://www.linksysinfo.org/forums/showthread.php?t=51064 and it doesn't seem to work.

    Will that version of snmpd works on this mod??
     
  45. rhester72

    rhester72 Network Guru Member

    Use mini_snmpd from the last page of that thread.

    Rodney
     
  46. parkhaus

    parkhaus Addicted to LI Member

    After flashing build 45 no Internet connection could be established (Wifi was fine though). Flashed it a second time, no success.
    I am back to build 44 now, which works perfectly.
     
  47. Skyfallkavu

    Skyfallkavu Networkin' Nut Member

    Same goes for my and my WL520GU, is there a way to backup the 44 firmware from my WRT54GL before trying to upgrade to .45? The latest firmware available in the archive is 43.
     
  48. teddy_bear

    teddy_bear Network Guru Member

    parkhaus & Skyfallkavu,

    Guys, if you have problems, you need to share the details (i.e. in this case - your WAN connection type with the detailed settings, router model, full system log during the startup and connection attempt, anything else you think might be relevant), and describe what you did - if anything - to troubleshoot the issue (starting from erasing nvram)... Otherwise absolutely nothing can be done about it.

    And previous build (v44) is available on sourceforge - select "view all files", and go to "Rotten" subfolder.
     
  49. richardtaur

    richardtaur Addicted to LI Member

    I was having issue with the WAN after the update. The following steps I took to upgrade to build 45.

    Build 44
    1. Wrote down all configs from router and save it to the text file
    2. Unplug all LAN cables except WAN cable to the COX cable modem and LAN cables to my laptop.
    3. Erase all data in NVRAM memory (thorough) from the router.
    4. Log back in router with default login
    5. Update 1.27.8745-Std.trx to the router
    6. Log back in router with default login
    Build 45
    7. Unable to get WAN IP from the cable modem
    8. Power cycled the cable modem - no help
    9. Power cycled the router - no help
    10. Log back in the router
    11. Put the check mark on Reduce packet size under Advanced DHCP/DNS
    12. Power cycled the modem - no help
    13. Power cycled the router - no help
    14. Log back in the router
    15. Clicked Reboot on the left hand side from the router
    16. Log back in the router
    17. Got the WAN IP from the cable modem, able to get online through router
    18. Put all of my configuration back to router and apply all settings.
    19. Connect all LAN cables back to router, all devices are online.
    Notice slow to no response when I opened up PPStream (P2P online movies)
    It will not happen to build 44, build 44 is handling very very well.
    20. Adjust the QOS settings. (Changed the value on Outbound Rate / Limit)
    21. P2P traffic is always on Lowest. Changed from 2% 90% to 2% 40%
    22. After I changed the settings, P2P traffic will not slow down the entire network, but I was having trouble to watch movie on line like I used to be with build 44.

    Hope this info will help.
     
  50. teddy_bear

    teddy_bear Network Guru Member

    Router model?
    Nvram erase should not be needed when going from 44 to 45, but it may help in case of any issues. However, erasing the nvram must be done after the update, not before - it doesn't make much sense otherwise.
    Your WAN connection type? DHCP? PPPoE? Any other? Unless you're using PPTP or L2TP to connect to the ISP, there were very minimal changes between 44 and 45 (in kernel 2.4 - based builds), and nothing that could affect QoS that way - if you use the same settings...

    Are all the settings exactly the same now as you had in v44, or they are different after adjustments you made?
    In any case, to make sure it's indeed something in a new version that made a difference, a single comparison is often not enough... The only way to be certain is to flash it back and force a few times between 44 and 45 within a short time period, and measure throughput under the same or very close conditions. "Watching a movie" is a very subjective test - it's usually better to use a reliable speed test instead (speakeasy is a lot better in that regard than the popular speedtest.net) - but in some cases, depending on your QoS setup, movie stream could fall in a different class than the regular file download, and that can be important...

    By the way, QoS may be very tricky to configure, and can cause more harm than good if done incorrectly. Did you follow the guidelines from this thread to setup QoS on your router, and did you verify using the QoS graphs and Details that your connections are classified as intended?
     
  51. Skyfallkavu

    Skyfallkavu Networkin' Nut Member

    Sorry I cant be more helpful, but I no longer have access to that router and cant post detailed logs.

    The WL520GU was a new flash, it just came in the mail today and it was initial setup, I flashed it to ddwrt using recovery mode and the Asus flasher, from inside the web GUI, I uploaded the latest std version of tomato, 45. I didnt get any WAN connection via DHCP, so I reset the nvram, hard rebooted the modem and then hard rebooted the router. It still wasnt connecting so I went into adv-dhcp and enabled the packet limiter, im forgetting its exact name. Then I came here and saw the post about no connection on 45, And reflashed back to 44. Sorry I cant be of more help, ill be glad to flash over my GL tomorrow afternoon and see whatz up with that, if I can replicate the problem.

    BTW, I thought the mediafire mirror was the archives, sorry :3
     
  52. parkhaus

    parkhaus Addicted to LI Member

    I have WL-500gP v2 Router, and flashed the Ext (extra) build #45. I enter the WAN port directly from my DSL modem.
    Will share more details when I am back home.
    Besides rebooting and powering down for a few seconds, I did not do any major troubleshooting. I never had to adjust anything, upgrading was a matter of minutes on previous versions.

    Anyway, thanks for your great firmwares, Teddy Bear!
     
  53. richardtaur

    richardtaur Addicted to LI Member

    Hi teddy_bear:

    Thanks for the replying. I forgot to write out the model of router I have. Sorry about that...

    I have ASUS WL-520GU

    The WAN connection is DHCP from COX.

    In Build 44. I didn't change any settings on Outbound Rate / Limit from QOS.
    The only difference from 44 to 45 which I changed the settings on
    Outbound Rate / Limit for lowest traffic.
    Before 45, I have settings on all default.
    Settings I modified after build 45

    [QOS Basic Settings] - Outbound Rate / Limit
    Max Bandwidth 256 kbit/s
    Highest 80% - 100% 204 - 256 kbit/s
    High 10% - 90% 25 - 230 kbit/s
    Medium 5% - 80% 12 - 205 kbit/s
    Low 3% - 50% 7 - 128 kbit/s
    Lowest 2% - 40% 5 - 102 kbit/s
    Class A 1% - 50% 2 - 128 kbit/s
    Class B 1% - 40% 2 - 102 kbit/s
    Class C 1% - 30% 2 - 77 kbit/s
    Class D 1% - 20% 2 - 51 kbit/s
    Class E 1% - 10% 2 - 26 kbit/s



    Settings on Classification are the same on build 44 and build 45 at the following.
    [Classification]
    TCP/UDP
    Dst Port: 53
    Transferred: 0 - 2KB Highest DNS

    From 192.168.1.3-192.168.1.4 TCP/UDP Highest HT-286 & HT-386

    TCP/UDP
    L7: skypetoskype Highest Skpe to Skype

    TCP/UDP
    Dst Port: 5061,5070,5071 Highest MSN Voice

    TCP
    Dst Port: 80,443
    Transferred: 0 - 512KB High WWW

    TCP
    Dst Port: 110,25,587,995,465,993 Medium E-Mail

    TCP
    Dst Port: 80,443
    Transferred: 512KB+ Low WWW (512K+)

    TCP/UDP
    Dst Port: 53
    Transferred: 2KB+ Lowest DNS (2K+)

    TCP/UDP
    Dst Port: 1024-65535 Lowest Bulk Traffic
     
  54. Gree

    Gree Guest

    I have Asus WL-500gP V2 - upgraded from 44 ext to 45 ext (Tomato-NDUSB-1.27.8745.01-Ext) - works perfectly :)
     
  55. Toastman

    Toastman Super Moderator Staff Member Member

    This thread isn't really the place for this post, the problem you have is due to ineffective QOS.
     
  56. lanceykins

    lanceykins Network Guru Member

    good day,

    i was under the impression that nd firmwares can only be flashed to the newer chipset series which do not include the older WRT54G/gs or wrtsl54gs with 4mb/8mb support.

    May i ask for a clarification?
    Can i flash build 45 vpn firmware to the 4mb WRT54G?
    Can i flash build 45 vpn firmware to the wrtsl54gs with 8mb or wrt54gs with 8mb?

    Thank you.
     
  57. hypermood

    hypermood LI Guru Member

    For an ND firmware you need to have a core revision greater than or equal to 7. With the Linksys routers, version numbers are critical. Check the link http://www.dd-wrt.com/wiki/index.php/Corerev
     
  58. lanceykins

    lanceykins Network Guru Member

    thanks for the reply.

    my WRT54G v 3.1 shows this:
    size: 13843 bytes (18925 left)
    wl_corerev=
    wl0_corerev=7

    my wrt54gs v4 shows this:
    wl_corerev=
    wl0_corerev=9

    so this means, i can put nd versions in them? does this mean i can also put non nd versions?

    sorry for asking but i'm a bit confused. what is the nd version if i may ask?
     
  59. qgiasz

    qgiasz Networkin' Nut Member

    Dear Teddy,

    First thank you for your firmware.

    I have a proposal.

    How about integrate web server in nas besides ftp and samba.
    ftp need special client soft and samba mainly used for lan users.
    web server will make file share very easily for wan users.

    Thanks,
     
  60. hypermood

    hypermood LI Guru Member

  61. asterger

    asterger Network Guru Member

    qgiasz,

    There is no need for a "special client" to use FTP. If using Windows, type ftp in a CMD window. It's built in. How sweet is that!

    Cheers,

    -- Asterger
     
  62. andy

    andy Addicted to LI Member

    qgiasz and Asterger,

    You can access the FTP by just using IE or Firefox.
    I am using IE, Firefox and FireFox+FireFTP to access my router.
     
  63. polin

    polin Networkin' Nut Member

  64. qgiasz

    qgiasz Networkin' Nut Member

    Thanks,

    IE sometimes have problems to access ftp, and not every pc using firefox.

    Not only client, port also not available for lan users.
     
  65. kastytis75

    kastytis75 Addicted to LI Member

    D-Link DIR-320 and tomato?

    Hello, I have find in Wiki that dir-320 supports teddy bear tomato...but there is no info how to....looks like dir-320 the same hardware as wl520gu is...but how to flash it with tomato firmware...with ddwrt its working. Can somebody tell how to covert in to tomato usb support router

    Thanks
     
  66. viralmind

    viralmind Addicted to LI Member

    I have Asus WL-500w - upgraded from 44 ext to 45 ext /tomato-NDUSB-1.27.8745.01-Ext/

    Works fine.

    Thanks again Teddy Bear!
     
  67. lanceykins

    lanceykins Network Guru Member

    Thank you.

    I've just installed build 45 teddy bear mod vpn.

    I'm trying to look for the IP/MAC bandwidth limiter. I can't seem to find it in the Tomato teddy bear web UI.
    May I ask where is this under?
     
  68. viniciusferrao

    viniciusferrao Addicted to LI Member

    DIR-320 methods isn't work... I think Tomato will never be installed in my DIR-320 :(

    Any ideias?
     
  69. mirovic

    mirovic Networkin' Nut Member

    I have installed tomato standart on dir-320 few days ago. Working fine. Migrated from dd-wrt. VPN version of firmware is so big, the problem is that. Try to install standart version of firmware.
     
  70. SpiritOzr

    SpiritOzr Guest

    Sorry for my bad English.
    Installed tomato DIR-320 via tftp (ip router 192.168.0.1).
    All is fine, except that the router does not ping on the LAN and there is no access, nor HTTP, nor by telnet (192.168.1.1).
    Through telnet (192.168.0.1) router stitched (with the inclusion of hold reset)
    How to treat?
    Firmwares tried different, the result is always the same.
     
  71. viniciusferrao

    viniciusferrao Addicted to LI Member

    You must be kidding... I'm gonna try this. But I'll miss the VPN functionality that I already use at DD-WRT.
     
  72. kastytis75

    kastytis75 Addicted to LI Member

    dir-320

    Nothing help for me...I have checked standard, lite and no USB firmware... but router did not start after reflash... from dd-wrt, tftp... the same...dd-wrt working..

    is the trx and bin the same? can I simple rename extension...or I need convert it somehow?

    Or maybe there is different dir-320 hardware... mine is version 1?

    Looks like this is quite tricky to do that... with asus wl-520gu there was no problem

    :confused:
     
  73. mirovic

    mirovic Networkin' Nut Member

    Try this way:
    1. From dd-wrt web interface Administration->Commands run command
    erase nvram
    2. Re-enter web interface
    3. Unrar tomato-NDUSB-1.27.8745-Std and rename it to firmware.bin.
    4. Upgrade firmware from Administration->Firmware without making reset of nvram.
    5. If you have problem with password read official tomato's faq.
     
  74. ahngau

    ahngau Networkin' Nut Member

    A big thank you to teddy_bear. The tomato-NDUSB-1.27.8745-vpn3.6 has been running flawlessly on my Belkin F5D7231-4P (I believe it is the same as Siemens SE505 V2).

    I have a small question though. I see some people install Samba3 on optware to replace the default Samba2. Why is that?

    Teddy_bear chose to include Samba2 in this version but Samba 3 in the 2.6 kernel, any reason behind it?

    Why I ask is that the firmware right now is bulletproof stable, but if I transfer large file to/from the share drive, there is some performance issues (cpu overclocked to 264mhz, doesn't seem to max out but some how the wan port throughput drops a lot). Just want to see if there is any advantage switching to samba3.
     
  75. rhester72

    rhester72 Network Guru Member

    This may well come down to tuning, both at the kernel (wmem_max) and Samba (various config options) level.

    Rodney
     
  76. kastytis75

    kastytis75 Addicted to LI Member


    Yes...it started tomato on dir-320... but reset button killing router...after reset pressed...router goes to the same situation as before...maybe I do not need reset button, but what if :)
     
  77. teddy_bear

    teddy_bear Network Guru Member

    Hmm... I was not aware that erasing nvram on dir-320 (and that's what "reset" button does as well) causes issues. Can anyone with this firmware currently runing on dir-320 PM me the output of "nvram show" command (mask out your personal info - passwords, usernames etc)?
    Samba 3 has better compatibility with newer Windows versions (Win7 and Vista). While Samba 2 also works, it may require some tweaking with Windows registry. The other reason why some people may want to install Optware Samba is that I only include support for a few European codepages (because of space limit) into K24 builds, while the full installation includes all of them. Other than that there're no real benefits - performance wise both are about the same, and I don't know of any major bugs or problems being resolved in newer versions. As rhester72 noted, you may try to tune it up a bit but don't expect a miracle - it's still only a router with limited hardware resources.
     
  78. dswann

    dswann Networkin' Nut Member

    Never mind wrong thread
     
  79. dutch

    dutch Networkin' Nut Member

    i just atempted to flash tomato-NDUSB-1.27.8745.01-Ext.rar from an older version of your firmware.

    I can not connect to the router anymore. How do i fix this? Why did it happen?
     
  80. myersw

    myersw Network Guru Member

    Make and model of router??
     
  81. dutch

    dutch Networkin' Nut Member

    sorry i didn't realize the firmware is made to work on other routers.

    its netgear WNR3500L
     
  82. pharma

    pharma Network Guru Member

    People with that router have gotten it to run using "Tomato ND USB Mod with kernel 2.6". But before you try you should read everything in the first post regarding how to install the firmware and what to expect.

    http://www.linksysinfo.org/forums/showthread.php?t=63587
     
  83. dutch

    dutch Networkin' Nut Member

    I'm not sure what you are getting at.

    I had it running great. I upgraded to the latest tomato-NDUSB-1.27.8745.01-Ext.trx from an earlier version of tomato(most likely this file tomato-1.27-NDUSB-9044MIPSR2-beta07-Ext.bin). I upgraded to the newest build and it bricked my router for what I can tell. It doesn't respond at all to 30-30-30 reset.
     
  84. ahngau

    ahngau Networkin' Nut Member

    Thanks for the reply.

    Yup, the code page is something of a concern to me, so I installed the samba3 before making an effort tweaking samba2. And now some thing interesting is observed. I'll writing about it in a new thread.
     
  85. pharma

    pharma Network Guru Member

    You downloaded and used the wrong file - you used K24 download directory instead of K26 download directory. To upgrade to the latest for your router you should have used "tomato-K26USB-1.27.9045MIPSR2-beta10-Ext.rar", which uses the 2.6 kernel. I believe your router is only supported using firmware from "Tomato ND USB Mod with kernel 2.6", not "Tomato ND USB Mod".

    Best luck trying to recover Netgear router ... I found it next to impossible and is reason I bought WRT160Nv3. :frown:

    Pharma
     
  86. shap123

    shap123 Networkin' Nut Member

    I need some help from you - I saw some users already complained about similar issue - but no resolution was found.

    I am using L2TP to connect to my ISP. It is connecting ok. However, it can not renew the lease without dropping WAN connection. So it take 5-10 sec when I click on "Renew" until L2TP connection established once more. Here is what I see in the log when I press on 'Renew":

    Apr 18 17:04:37 shaprouter daemon.err l2tpd[1764]: network_init: bind: Address already in use
    Apr 18 17:04:40 shaprouter user.info redial[1770]: Started. Time: 30
    Apr 18 17:05:02 shaprouter daemon.err l2tpd[1766]: Too many retransmissions on tunnel (3231/0); closing down
    Apr 18 17:05:10 shaprouter daemon.info dnsmasq-dhcp[1737]: DHCPINFORM(br0) 192.168.1.103 00:18:de:ca:fc:93
    Apr 18 17:05:10 shaprouter daemon.info dnsmasq-dhcp[1737]: DHCPACK(br0) 192.168.1.103 00:18:de:ca:fc:93 shap-laptop
    Apr 18 17:05:20 shaprouter user.info redial[1770]: WAN down. Reconnecting...
    Apr 18 17:05:20 shaprouter daemon.warn dnsmasq[1737]: no servers found in /etc/resolv.dnsmasq, will retry
    Apr 18 17:05:22 shaprouter user.debug kernel: vlan1: del 01:00:5e:00:00:01 mcast address from vlan interface
    Apr 18 17:05:22 shaprouter user.debug kernel: vlan1: del 01:00:5e:00:00:01 mcast address from master interface
    Apr 18 17:05:22 shaprouter user.warn kernel: vlan1: Setting MAC address to 00 14 bf ba 5f d7.
    Apr 18 17:05:22 shaprouter user.debug kernel: vlan1: add 01:00:5e:00:00:01 mcast address to master interface
    Apr 18 17:05:26 shaprouter daemon.info dnsmasq[1737]: exiting on receipt of SIGTERM
    Apr 18 17:05:26 shaprouter daemon.info dnsmasq[1794]: started, version 2.52 cachesize 150
    Apr 18 17:05:26 shaprouter daemon.info dnsmasq[1794]: compile time options: no-IPv6 GNU-getopt no-RTC no-DBus no-I18N DHCP no-scripts TFTP
    Apr 18 17:05:26 shaprouter daemon.info dnsmasq-dhcp[1794]: DHCP, IP range 192.168.1.200 -- 192.168.1.220, lease time 1d
    Apr 18 17:05:26 shaprouter daemon.info dnsmasq[1794]: reading /etc/resolv.dnsmasq
    Apr 18 17:05:26 shaprouter daemon.info dnsmasq[1794]: using nameserver 192.168.101.102#53
    Apr 18 17:05:26 shaprouter daemon.info dnsmasq[1794]: using nameserver 192.168.101.101#53
    Apr 18 17:05:26 shaprouter daemon.info dnsmasq[1794]: read /etc/hosts - 0 addresses
    Apr 18 17:05:26 shaprouter daemon.info dnsmasq[1794]: read /etc/hosts.dnsmasq - 6 addresses
    Apr 18 17:05:28 shaprouter user.info redial[1816]: Started. Time: 30
    Apr 18 17:05:28 shaprouter daemon.info pppd[1818]: Plugin pppol2tp.so loaded.
    Apr 18 17:05:28 shaprouter daemon.notice pppd[1818]: pppd 2.4.5 started by root, uid 0
    Apr 18 17:05:28 shaprouter daemon.info pppd[1818]: Using interface ppp0
    Apr 18 17:05:28 shaprouter daemon.notice pppd[1818]: Connect: ppp0 <--> l2tp (212.199.173.127)
    Apr 18 17:05:28 shaprouter daemon.notice pppd[1818]: PAP authentication succeeded
    Apr 18 17:05:28 shaprouter daemon.err pppd[1818]: not replacing existing default route via 172.25.160.1
    Apr 18 17:05:28 shaprouter daemon.notice pppd[1818]: local IP address 77.127.232.194
    Apr 18 17:05:28 shaprouter daemon.notice pppd[1818]: remote IP address 212.199.17.89
    Apr 18 17:05:28 shaprouter daemon.notice pppd[1818]: primary DNS address 80.179.52.100
    Apr 18 17:05:28 shaprouter daemon.notice pppd[1818]: secondary DNS address 80.179.55.100
    Apr 18 17:05:28 shaprouter daemon.info dnsmasq[1794]: reading /etc/resolv.dnsmasq
    Apr 18 17:05:28 shaprouter daemon.info dnsmasq[1794]: using nameserver 80.179.55.100#53
    Apr 18 17:05:28 shaprouter daemon.info dnsmasq[1794]: using nameserver 80.179.52.100#53
    Apr 18 17:05:28 shaprouter daemon.info dnsmasq[1794]: exiting on receipt of SIGTERM
    Apr 18 17:05:28 shaprouter daemon.info dnsmasq[1823]: started, version 2.52 cachesize 150
    Apr 18 17:05:28 shaprouter daemon.info dnsmasq[1823]: compile time options: no-IPv6 GNU-getopt no-RTC no-DBus no-I18N DHCP no-scripts TFTP
    Apr 18 17:05:28 shaprouter daemon.info dnsmasq-dhcp[1823]: DHCP, IP range 192.168.1.200 -- 192.168.1.220, lease time 1d
    Apr 18 17:05:29 shaprouter daemon.info dnsmasq[1823]: reading /etc/resolv.dnsmasq
    Apr 18 17:05:29 shaprouter daemon.info dnsmasq[1823]: using nameserver 80.179.55.100#53
    Apr 18 17:05:29 shaprouter daemon.info dnsmasq[1823]: using nameserver 80.179.52.100#53
    Apr 18 17:05:29 shaprouter daemon.info dnsmasq[1823]: read /etc/hosts - 0 addresses
    Apr 18 17:05:29 shaprouter daemon.info dnsmasq[1823]: read /etc/hosts.dnsmasq - 6 addresses



    Any thoughts ?

    Thank you ...
     
  87. teddy_bear

    teddy_bear Network Guru Member

    Well, as pharma already told you, you flashed the wrong build, and your router is indeed bricked. You should have used the K26 build from this thread. Be more careful in the future - you already had build 9044 on your router, so you needed to upgrade to 9045, not 8745.

    Try searching dd-wrt and myopenrouter forums for tips on how to unbrick your Netgear...
    Yes, that's expected - when you click "Renew", all wan services are restarted in case of L2TP/PPTP/PPPoE connection. That's the way it's implemented in the firmware. Now, why do you have a need to click "Renew"? Can other firmwares renew the L2TP lease without dropping WAN connection? If so - which ones?
     
  88. shap123

    shap123 Networkin' Nut Member

    Well, it seems that the problem is related to the short lease I am getting from ISP (1 hour). The renew of this lease drop wan connection. (by pressign the Renew button I tried to simulate this condition). The problem core seems to be the firewall, that prevented outgoing DHCP renew request to be send. I added the appropriate rules and it seems to fix the problem. Will need to debug little bit more to be sure.

    Thank you !
     
  89. Sopmod

    Sopmod Network Guru Member

    Hi all,

    I just switched over to TB's firmware. cleaned the nvram and started from scratch.

    My WDS was working fine but now there seems to be an problem issuing a DHCP address to my xbox.

    So I have and ASUS wl-500gp2 AP ----> WDS to a out of the box Belkin ----> hardwired to my xbox

    I have:

    Both Belkin and xbox in the "allow" mac filter.
    Static DHCP assigned to the xbox
    WDS is fine a I can see the Belkin ----> wds0.1 Signal is fine

    I have NO static for the Belkin, but never had before either.

    I've tried setting the xbox to the same static IP. Tried ftping to the xbox trying to prompt any activity.

    Any ideas? Is it a bug?
     
  90. mwsealey

    mwsealey Addicted to LI Member

    I have a braindead question: one of my WRT54G-TMs has DD-WRT on it and I'd like to use Tomato USB (actually the 2.6 versions) but, all the latest Tomato and any one I can find online have a .trx extension.. somehow the latest DD-WRT hates this when using the upgrade web page, and no Tomato firmware works.

    What on earth do I do here? I've googled for "dd-wrt update to tomato" and they reference .bin files, and references to flashing .trx files from the command line in dd-wrt - yes, this IS a dd-wrt question, but the point is I hate it and want Tomato :)

    Anyone know the relevant documentation to flash a dd-wrt router with the latest Tomato/TomatoUSB .trx files? I am just not searching for the right terms to get results and I'm not sure what I *should* be looking for..
     
  91. Toastman

    Toastman Super Moderator Staff Member Member

    Change the filename to .bin
     
  92. dadaniel

    dadaniel Network Guru Member

    Static routes do not work!

    Hello teddybear!

    I noticed a problem that also exists in the original version from Jon. I wrote him a month ago, but he did not respond.

    --> Static Routes do not work, they never appear in the routing table.

    When I set them manually via telnet, they work BUT dissapear as soon as the router try to establish PPTP dialup.
     
  93. pharma

    pharma Network Guru Member

    If you read the first post in the 2.6 thread, you will see a link to a step-by-step guide on how to flash using Teddy_Bear's firmware. This should give you some hints on the procedure, however when I flashed my WRT160Nv3 router from dd-wrt I renamed the .trx file to .bin. You should definitely read the guide.

    Pharma
     
  94. rasa

    rasa LI Guru Member

    Hi,

    I have Asus WL-520GU with 32MB RAM upgrade. Everything is working just fine, memory is correctly recognized. But free memory reported in Status Overview page is not correct.

    [​IMG]
    Code:
    root@unknown:/tmp/home/root# free
                  total         used         free       shared      buffers
      Mem:        30620        22284         8336            0         5260
     Swap:            0            0            0
    Total:        30620        22284         8336
    Just a little cosmetic problem :)
     
  95. teddy_bear

    teddy_bear Network Guru Member

    shap123,
    If a firewall rule indeed fixed your problem, please post it here - maybe it can be incorporated into future builds to solve this issue for others as well.

    dadaniel,
    What is "PPTP dialup"? Did you mean PPTP WAN connection type? If so, I'm not sure what could be wrong - I know a few people with PPTP connection who successfully use static routes. Have you tried erasing nvram for troubleshooting? What version of this mod are you running, and what settings are you using for PPTP (use DHCP, connect mode, DHCP routes)?

    rasa,
    It's correct. It respects the "Count cache memory and buffers as free memory" setting on the Administration->Debugging page.
     
  96. shap123

    shap123 Networkin' Nut Member

    I mislead you - it did not help. I was thinking that this (http://northstarlabs.net/2010/02/17/tomato-and-att-u-verse-disconnects) was relevant, but apparently not.
    However, installing 1.28 beta solved the problem. It seems that the following fix was relevant:
    1804 * Change back udhcpc behavior when renewing. May help in problems where initial request is ok, but not renew.

    Now, when lease time is going to expire, instead of performing full discover it just renew the lease, w/o connection to be affected:

    Apr 20 09:58:24 shaprouter daemon.info udhcpc[122]: Sending renew...
    Apr 20 10:05:50 shaprouter daemon.info udhcpc[122]: Sending renew...
    Apr 20 10:09:32 shaprouter daemon.info udhcpc[122]: Sending renew...
    Apr 20 10:11:24 shaprouter daemon.info udhcpc[122]: Sending renew...
    Apr 20 10:12:19 shaprouter daemon.info udhcpc[122]: Sending renew...
    Apr 20 10:12:19 shaprouter daemon.info udhcpc[122]: Lease of 172.25.187.151 obtained, lease time 604800


    It is still not clear why I see several renew requests - it seems that DHCP server agree to renew just few seconds before the actual expiration.

    Do you know if this fix from 1804 included in your mod ?
     
  97. teddy_bear

    teddy_bear Network Guru Member

    Well... Have you tested 1804, or the latest 1808 beta?
    The latest 1808 actually includes all DHCP-related Busybox fixes that I sent to John, and that were part of this mod since build 40.

    So if it works for you in 28.1808 but doesn't work in this mod, it must be something else. As you might have noticed, the last build includes major modifications for L2TP/PPTP support - switched to use kernel drivers, and replaced the userspace client software, so there could be new issues. In your previous post you included the log during manually initiated renewal - that log was normal as manual renew will interrupt the connection. What happens if you don't click "Renew"? Do you loose the connection? Or is it only interrupted for a short time during auto-renewal? If possible, I would like to see the syslog during these auto-renewals. Do you always get the same 1Hr lease time from your ISP after connecting, or is it varied from time to time (what's strange is that in the log it shows 604800 = 7 days, but you said it's 1 Hr)? What does "nvram find lease" show after connection is established? What lease time is shown on the "Overview" page? How often do auto-renewals actually occur?

    By the way, these 5 "sending renew..." messages are not normal - something's still wrong there even if your connection is not interrupted...
     
  98. shap123

    shap123 Networkin' Nut Member

    I am not sure I properly checked this - I was under impression that "Renew" button should do the same as automatic lease renew by dhcp client. I will re-install your mod and try again.

    It is varies - ussualy it is 7 day's, however if I connect/reconnect several times one after another, I will get 1 hour lease. No idea why, but it is good for testing :)

    Agree, but I did not find any error message or Firewall blocking report. It seems that the only way to know exactly what happening there is to install tcpdump - something that I tried to avoid...
     
  99. shap123

    shap123 Networkin' Nut Member

    I checked and found your mod to follow the 1.28 beta behavior - connection is not terminated during the lease renew. Here is the log : (you can see several renew until it actually renewed 2 sec before lease end)

    Apr 21 13:55:36 shaprouter user.warn kernel: DROP IN=ppp0 OUT= MAC= SRC=212.117.129.66 DST=192.168.1.1 LEN=84 TOS=0x00 PREC=0x00 TTL=58 ID=0 DF PROTO=ICMP TYPE=8 CODE=0 ID=27591 SEQ=0
    Apr 21 13:55:36 shaprouter user.warn kernel: DROP IN=ppp0 OUT= MAC= SRC=212.117.129.66 DST=192.168.1.1 LEN=84 TOS=0x00 PREC=0x00 TTL=58 ID=0 DF PROTO=ICMP TYPE=8 CODE=0 ID=27591 SEQ=0
    Apr 21 13:55:36 shaprouter user.warn kernel: DROP IN=ppp0 OUT= MAC= SRC=212.117.129.66 DST=192.168.1.1 LEN=84 TOS=0x00 PREC=0x00 TTL=58 ID=0 DF PROTO=ICMP TYPE=8 CODE=0 ID=27591 SEQ=0
    Apr 21 13:55:37 shaprouter user.warn kernel: DROP IN=ppp0 OUT= MAC= SRC=212.117.129.66 DST=192.168.1.1 LEN=84 TOS=0x00 PREC=0x00 TTL=58 ID=0 DF PROTO=ICMP TYPE=8 CODE=0 ID=27591 SEQ=0
    Apr 21 13:56:57 shaprouter user.warn kernel: DROP IN=ppp0 OUT= MAC= SRC=71.231.199.69 DST=80.178.4.169 LEN=127 TOS=0x00 PREC=0x00 TTL=112 ID=32076 PROTO=UDP SPT=2256 DPT=20507 LEN=107
    Apr 21 13:56:59 shaprouter user.warn kernel: DROP IN=ppp0 OUT= MAC= SRC=71.231.199.69 DST=80.178.4.169 LEN=127 TOS=0x00 PREC=0x00 TTL=112 ID=32079 PROTO=UDP SPT=2256 DPT=20507 LEN=107
    Apr 21 13:57:03 shaprouter user.warn kernel: DROP IN=ppp0 OUT= MAC= SRC=71.231.199.69 DST=80.178.4.169 LEN=127 TOS=0x00 PREC=0x00 TTL=112 ID=32086 PROTO=UDP SPT=2256 DPT=20507 LEN=107
    Apr 21 14:01:42 shaprouter user.warn kernel: DROP IN=ppp0 OUT= MAC= SRC=188.72.202.22 DST=80.178.4.169 LEN=40 TOS=0x00 PREC=0x00 TTL=58 ID=0 DF PROTO=TCP SPT=80 DPT=1133 WINDOW=0 RES=0x00 ACK RST URGP=0
    Apr 21 14:03:00 shaprouter daemon.info udhcpc[4407]: Sending renew...
    Apr 21 14:06:43 shaprouter user.warn kernel: DROP IN=ppp0 OUT= MAC= SRC=212.117.129.66 DST=192.168.1.1 LEN=84 TOS=0x00 PREC=0x00 TTL=58 ID=0 DF PROTO=ICMP TYPE=8 CODE=0 ID=22100 SEQ=0
    Apr 21 14:06:43 shaprouter user.warn kernel: DROP IN=ppp0 OUT= MAC= SRC=212.117.129.66 DST=192.168.1.1 LEN=84 TOS=0x00 PREC=0x00 TTL=58 ID=0 DF PROTO=ICMP TYPE=8 CODE=0 ID=22100 SEQ=0
    Apr 21 14:06:43 shaprouter user.warn kernel: DROP IN=ppp0 OUT= MAC= SRC=212.117.129.66 DST=192.168.1.1 LEN=84 TOS=0x00 PREC=0x00 TTL=58 ID=0 DF PROTO=ICMP TYPE=8 CODE=0 ID=22100 SEQ=0
    Apr 21 14:06:43 shaprouter user.warn kernel: DROP IN=ppp0 OUT= MAC= SRC=212.117.129.66 DST=192.168.1.1 LEN=84 TOS=0x00 PREC=0x00 TTL=58 ID=0 DF PROTO=ICMP TYPE=8 CODE=0 ID=22100 SEQ=0
    Apr 21 14:06:44 shaprouter user.warn kernel: DROP IN=ppp0 OUT= MAC= SRC=212.117.129.66 DST=192.168.1.1 LEN=84 TOS=0x00 PREC=0x00 TTL=58 ID=0 DF PROTO=ICMP TYPE=8 CODE=0 ID=22100 SEQ=0
    Apr 21 14:07:12 shaprouter user.warn kernel: DROP IN=ppp0 OUT= MAC= SRC=116.48.127.247 DST=80.178.4.169 LEN=90 TOS=0x00 PREC=0x00 TTL=109 ID=3132 PROTO=UDP SPT=64756 DPT=55052 LEN=70
    Apr 21 14:07:14 shaprouter user.warn kernel: DROP IN=ppp0 OUT= MAC= SRC=71.231.199.69 DST=80.178.4.169 LEN=127 TOS=0x00 PREC=0x00 TTL=112 ID=285 PROTO=UDP SPT=2256 DPT=20507 LEN=107
    Apr 21 14:07:16 shaprouter user.warn kernel: DROP IN=ppp0 OUT= MAC= SRC=71.231.199.69 DST=80.178.4.169 LEN=127 TOS=0x00 PREC=0x00 TTL=112 ID=286 PROTO=UDP SPT=2256 DPT=20507 LEN=107
    Apr 21 14:07:20 shaprouter user.warn kernel: DROP IN=ppp0 OUT= MAC= SRC=71.231.199.69 DST=80.178.4.169 LEN=127 TOS=0x00 PREC=0x00 TTL=112 ID=291 PROTO=UDP SPT=2256 DPT=20507 LEN=107
    Apr 21 14:07:30 shaprouter user.warn kernel: DROP IN=ppp0 OUT= MAC= SRC=84.228.112.17 DST=80.178.4.169 LEN=48 TOS=0x00 PREC=0x00 TTL=125 ID=35172 DF PROTO=TCP SPT=1675 DPT=9363 WINDOW=65535 RES=0x00 SYN URGP=0 OPT (0204055001010402)
    Apr 21 14:07:31 shaprouter user.warn kernel: DROP IN=ppp0 OUT= MAC= SRC=84.228.112.17 DST=80.178.4.169 LEN=48 TOS=0x00 PREC=0x00 TTL=125 ID=35228 DF PROTO=TCP SPT=1680 DPT=9363 WINDOW=65535 RES=0x00 SYN URGP=0 OPT (0204055001010402)
    Apr 21 14:08:37 shaprouter user.warn kernel: DROP IN=ppp0 OUT= MAC= SRC=132.77.50.87 DST=80.178.4.169 LEN=48 TOS=0x00 PREC=0x00 TTL=121 ID=45298 DF PROTO=TCP SPT=2222 DPT=443 WINDOW=65535 RES=0x00 SYN URGP=0 OPT (0204055001010402)
    Apr 21 14:08:44 shaprouter user.warn kernel: DROP IN=ppp0 OUT= MAC= SRC=64.122.106.54 DST=80.178.4.169 LEN=126 TOS=0x00 PREC=0x00 TTL=106 ID=29477 PROTO=UDP SPT=3883 DPT=20507 LEN=106
    Apr 21 14:08:46 shaprouter user.warn kernel: DROP IN=ppp0 OUT= MAC= SRC=64.122.106.54 DST=80.178.4.169 LEN=126 TOS=0x00 PREC=0x00 TTL=106 ID=29480 PROTO=UDP SPT=3883 DPT=20507 LEN=106
    Apr 21 14:08:50 shaprouter user.warn kernel: DROP IN=ppp0 OUT= MAC= SRC=64.122.106.54 DST=80.178.4.169 LEN=126 TOS=0x00 PREC=0x00 TTL=106 ID=29483 PROTO=UDP SPT=3883 DPT=20507 LEN=106
    Apr 21 14:09:14 shaprouter user.warn kernel: DROP IN=ppp0 OUT= MAC= SRC=195.212.29.179 DST=80.178.4.169 LEN=52 TOS=0x00 PREC=0x00 TTL=109 ID=19075 PROTO=UDP SPT=58036 DPT=13654 LEN=32
    Apr 21 14:09:14 shaprouter user.warn kernel: DROP IN=ppp0 OUT= MAC= SRC=195.212.29.179 DST=80.178.4.169 LEN=52 TOS=0x00 PREC=0x00 TTL=109 ID=19088 PROTO=UDP SPT=58036 DPT=13654 LEN=32
    Apr 21 14:10:35 shaprouter daemon.info udhcpc[4407]: Sending renew...
    Apr 21 14:10:40 shaprouter user.warn kernel: DROP IN=ppp0 OUT= MAC= SRC=188.72.202.22 DST=80.178.4.169 LEN=40 TOS=0x00 PREC=0x00 TTL=58 ID=0 DF PROTO=TCP SPT=80 DPT=1076 WINDOW=0 RES=0x00 ACK RST URGP=0
    Apr 21 14:13:09 shaprouter user.warn kernel: DROP IN=ppp0 OUT= MAC= SRC=217.164.111.204 DST=80.178.4.169 LEN=48 TOS=0x00 PREC=0x00 TTL=115 ID=4078 DF PROTO=TCP SPT=56484 DPT=9363 WINDOW=8192 RES=0x00 SYN URGP=0 OPT (0204055001010402)
    Apr 21 14:13:11 shaprouter user.warn kernel: DROP IN=ppp0 OUT= MAC= SRC=217.164.111.204 DST=80.178.4.169 LEN=48 TOS=0x00 PREC=0x00 TTL=115 ID=4226 DF PROTO=TCP SPT=56489 DPT=9363 WINDOW=8192 RES=0x00 SYN URGP=0 OPT (0204055001010402)
    Apr 21 14:13:12 shaprouter user.warn kernel: DROP IN=ppp0 OUT= MAC= SRC=217.164.111.204 DST=80.178.4.169 LEN=48 TOS=0x00 PREC=0x00 TTL=115 ID=4343 DF PROTO=TCP SPT=56484 DPT=9363 WINDOW=8192 RES=0x00 SYN URGP=0 OPT (0204055001010402)
    Apr 21 14:13:14 shaprouter user.warn kernel: DROP IN=ppp0 OUT= MAC= SRC=217.164.111.204 DST=80.178.4.169 LEN=48 TOS=0x00 PREC=0x00 TTL=115 ID=4472 DF PROTO=TCP SPT=56489 DPT=9363 WINDOW=8192 RES=0x00 SYN URGP=0 OPT (0204055001010402)
    Apr 21 14:13:18 shaprouter user.warn kernel: DROP IN=ppp0 OUT= MAC= SRC=217.164.111.204 DST=80.178.4.169 LEN=48 TOS=0x00 PREC=0x00 TTL=115 ID=4790 DF PROTO=TCP SPT=56484 DPT=9363 WINDOW=8192 RES=0x00 SYN URGP=0 OPT (0204055001010402)
    Apr 21 14:13:20 shaprouter user.warn kernel: DROP IN=ppp0 OUT= MAC= SRC=217.164.111.204 DST=80.178.4.169 LEN=48 TOS=0x00 PREC=0x00 TTL=115 ID=4904 DF PROTO=TCP SPT=56489 DPT=9363 WINDOW=8192 RES=0x00 SYN URGP=0 OPT (0204055001010402)
    Apr 21 14:13:27 shaprouter user.warn kernel: DROP IN=ppp0 OUT= MAC= SRC=212.117.129.66 DST=192.168.1.1 LEN=84 TOS=0x00 PREC=0x00 TTL=58 ID=0 DF PROTO=ICMP TYPE=8 CODE=0 ID=30907 SEQ=0
    Apr 21 14:13:27 shaprouter user.warn kernel: DROP IN=ppp0 OUT= MAC= SRC=212.117.129.66 DST=192.168.1.1 LEN=84 TOS=0x00 PREC=0x00 TTL=58 ID=0 DF PROTO=ICMP TYPE=8 CODE=0 ID=30907 SEQ=0
    Apr 21 14:13:27 shaprouter user.warn kernel: DROP IN=ppp0 OUT= MAC= SRC=212.117.129.66 DST=192.168.1.1 LEN=84 TOS=0x00 PREC=0x00 TTL=58 ID=0 DF PROTO=ICMP TYPE=8 CODE=0 ID=30907 SEQ=0
    Apr 21 14:13:27 shaprouter user.warn kernel: DROP IN=ppp0 OUT= MAC= SRC=212.117.129.66 DST=192.168.1.1 LEN=84 TOS=0x00 PREC=0x00 TTL=58 ID=0 DF PROTO=ICMP TYPE=8 CODE=0 ID=30907 SEQ=0
    Apr 21 14:13:27 shaprouter user.warn kernel: DROP IN=ppp0 OUT= MAC= SRC=212.117.129.66 DST=192.168.1.1 LEN=84 TOS=0x00 PREC=0x00 TTL=58 ID=0 DF PROTO=ICMP TYPE=8 CODE=0 ID=30907 SEQ=0
    Apr 21 14:14:23 shaprouter daemon.info udhcpc[4407]: Sending renew...
    Apr 21 14:16:17 shaprouter daemon.info udhcpc[4407]: Sending renew...
    Apr 21 14:17:13 shaprouter daemon.info udhcpc[4407]: Sending renew...
    Apr 21 14:17:13 shaprouter daemon.info udhcpc[4407]: Lease of 172.25.187.151 obtained, lease time 604800
    Apr 21 14:17:13 shaprouter daemon.info dnsmasq[4413]: reading /etc/resolv.dnsmasq
    Apr 21 14:17:13 shaprouter daemon.info dnsmasq[4413]: using nameserver 192.168.101.102#53
    Apr 21 14:17:13 shaprouter daemon.info dnsmasq[4413]: using nameserver 192.168.101.101#53
    Apr 21 14:17:13 shaprouter daemon.info dnsmasq[4413]: exiting on receipt of SIGTERM
    Apr 21 14:17:13 shaprouter daemon.info dnsmasq[5837]: started, version 2.52 cachesize 150
    Apr 21 14:17:13 shaprouter daemon.info dnsmasq[5837]: compile time options: no-IPv6 GNU-getopt no-RTC no-DBus no-I18N DHCP no-scripts TFTP
    Apr 21 14:17:13 shaprouter daemon.info dnsmasq-dhcp[5837]: DHCP, IP range 192.168.1.200 -- 192.168.1.220, lease time 1d
    Apr 21 14:17:13 shaprouter daemon.info dnsmasq[5837]: reading /etc/resolv.dnsmasq
    Apr 21 14:17:13 shaprouter daemon.info dnsmasq[5837]: using nameserver 192.168.101.102#53
    Apr 21 14:17:13 shaprouter daemon.info dnsmasq[5837]: using nameserver 192.168.101.101#53
    Apr 21 14:17:13 shaprouter daemon.info dnsmasq[5837]: read /etc/hosts - 0 addresses
    Apr 21 14:17:13 shaprouter daemon.info dnsmasq[5837]: read /etc/hosts.dnsmasq - 6 addresses
     
  100. shap123

    shap123 Networkin' Nut Member

    Few things to mention:

    1. Definitely there is much lower utilization by using L2TP - 10% instead of 60% in my case.

    2. However, (I need to check it more), I see that WAN speed is lower somehow when using L2TP than in 1.28 Beta. In beta version I get 4.0 - 4.5 Mps, in your mod: 2.3-3.5 Mps. I will verify this more before getting to conclusion.
     

Share This Page