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. galex111

    galex111 Addicted to LI Member

    Just updated: I tried to install MiniDLNA 1.0.16.3 again (_http://sourceforge.net/projects/minidlna/) - it's just to copy 2 files only, very easy configuration file minidlna.conf. But ... unfortunately I can't start it:

    root@asus:/tmp/home/root# /opt/sbin/minidlna -f /opt/etc/minidlna.conf
    /opt/sbin/minidlna: line 1: syntax error: unexpected "("

    Teddy could you advice what's wrong ? (probably it was the main reason I rejected MiniDLNA that time and used uShare instead). For me there is just one advantage of MiniDLNA against uShare - MiniDLNA has option of auto-rescan media directory while for uShare you need to do it by hands after each file adding.

    UPD: Now I'm testing Fuppes (_http://fuppes.ulrich-voelkel.de/documentation/configuration/) - it really seems to be very-very interesting also ... additionally to the other features there is flexible transcoding options there ... as well as it's free. So may be Teddy you could consider Fuppes as potential mediaserver to include into your supermod ?
     
  2. galex111

    galex111 Addicted to LI Member

    Dear Teddy, could you consider to include into your further roadmap (for Ext-rev) to add afpd (Netatalk) support for all Mac users (like me). For my tests afpd is a little bit faster (IMHO) than Samba 2 and has more stable connect between Mac and router as well as it easy resolves a problem of Unicode - unlike Samba 2 afpd supports Unicode so I can read/write file names in any languages without problem.
     
  3. netRAT

    netRAT Networkin' Nut Member

    Been running tomato-1.27-ND-9044MIPSR2-beta07-Std for the past few days and so far everything has been running very well!
    Thank you very much Teddy Bear for making your fantastic work available to the world :)

    I currently have only one query...
    I have my ADSL modem bridged and PPPoE is done by the RT-N16.
    Since both devices use 192.168.1.1 by default for webUI access I changed the modem to 192.168.1.100, yet still I cannot access it's UI when connected through the router.
    I've done some research and found a few guides claiming that a FW script was necessary in order to do so. I tried that and it didn't work.

    Can someone kindly explain how this is done?
    Please show some mercy tho, I'm familiar with the basics yet lack the advanced know how.

    Cheers.
     
  4. bogderpirat

    bogderpirat Network Guru Member

  5. pharma

    pharma Network Guru Member

    Hi Teddy,

    Loading tomato-K26-1.27.9045MIPSR2-beta09.08-Std.bin on my WRT160N v3 was successful, and can report the router is running excellent. No problems with NVRAM reset or rebooting, and WAN ip came right up! Currently the router has been running rock solid 4 hours with no issues. :)

    I will continue to monitor the WRT160N v3 and report as required. Let me know if you require additional troubleshooting.

    Many thanks!

    Pharma
     
  6. chriswieringa

    chriswieringa Addicted to LI Member

    I have a similar situation, and it's pretty easy to work around. Personally, I changed my LAN subnet to something besides the 192.168.1.0/255.255.255.0 range, for example, the 192.168.10.0/255.255.255.0 range. Setup your router with the 192.168.10.1 IP address, and change the DHCP range to serve the 192.168.10.0 range and restart all your devices.

    At that point, the ADSL modem's web UI (at 192.168.1.1) is considered "off-subnet", and will be routed out the default route, and should come up just fine.
     
  7. humba

    humba Network Guru Member

    I called it system LED.. it's the second LED from the top. I think it's supposed to be green if you have a working Internet connection. As it is now, it's orange until the router has booted, then it's green if there's something plugged in. Unplug the WAN cable and it immediately turns off.

    And I think the WLAN led is inverted.. in the original firmware, it is always on when WLAN is on, and it is blinking if there's activity. With Tomato, it is always off unless there's some activity - so from looking at the box you don't know if WLAN is on or off. If I look at how my WRT54GL acts with regards to the WLAN LED, it acts like the same way (on when WLAN is on, blinking while there's activity, and off if WLAN is off).

    I'll get a backup Netgear router shortly so I can be sure that what I'm reporting when talking about the original behavior is always correct.
     
  8. teddy_bear

    teddy_bear Network Guru Member

    free2share,
    Try posting OpenVPN-related questions in a new thread, or in the VPN mod thread - that way there's a better chance that you get help from others, and from SgtPepperKSU, the VPN mod author.

    mstombs,
    If you see the problem, please share it with us ;). I don't see anything wrong with your "git status" output other than that you probably changed something in the httpd.c and router/Makefile...

    galex111,
    If you didn't compile MiniDLNA yourself, I don't believe the binaries available on the project home page are mipsel-compatible. Thanks for the Fuppes link - I'll take a look. And the Samba in this mod is long as updated to Samba 3 - there're no Unicode support issues with this version AFAIK.

    pharma,
    Great, thanks for testing! When you get a chance, please also verify the leds and buttons behavior on WRT160N v3.

    humba,
    That's definitely wrong WLAN led behavior - hopefully should be easy to fix. I'll let you know if I need your help in finding the correct gpio settings.
     
  9. PanRatio

    PanRatio Networkin' Nut Member

    Hi all.

    For several weeks I have a Netgear WNR3500L. At the moment I am using Tomato Firmware v1.27.9044 MIPSR2 ND-beta07 USB Ext by teddy_bear :).

    Everything works correctly except for USB. I plugged into the router HDD Seagate Momentus 320 GB 2,5'' (SATA) in external enclosure USB by LogiLink. The disk is properly detected and mounted (ext3 file system). I ran FTP server. On my PC I used FileZilla and I started to upload a file (4 GB). Transfer was at ~ 7.8 MB/s. FileZilla do not upload a file to end, because in a random moment the router is crashing. Not working FTP, SSH, Tomato GUI and the Internet. LEDs burn the color orange. I turn off the FTP client on my PC and in few seconds the router itself restarts. I tried to repeat it many times and always the same.

    As discussed earlier: everything is working properly, but no USB :frown:.
     
  10. free2share

    free2share Networkin' Nut Member

    Start Button not showing up after pressing stop VPN

    When I used this version (tomatovpn-1.27vpn3.6.7z) of SgtPepperKSU's firmware, I didn't see that issue. When I hit Stop, the button would refresh and it would change to Start. I thought I let you know of this and see if others are seeing the same thing happen.

    I also posted in the VPN mod section as you suggested. Thanks!
     
  11. mstombs

    mstombs Network Guru Member

    Will do httpd.c was Rodney's bind fix, router/Makefile was commenting out zebra configure - but I think that was reverted. prebuilt/Makefile was adding my prebuilt pixelserv.

    Something else said I was 31 commits behind head, but my git folder now broken, (running git command and looking at git gui locked my Ubuntu gnome desktop, had to ctrl-alt-F1 to get command line to reboot!) I was also using my own compiled toolchain from Git source but my /opt/brcm trashed - (was symlinked to a Victek Tomato tree), so I will start again from clean 'head' will report back ...

    The unmodified latest Git with the downloaded toolchain or recompiled has the WRT54G-TM flashing power button.

    Well now all versions of the code on my WRT54G-TM have the same flashing power button.

    I have gone back to the Feb 2 binary and now get

    Code:
    Linux unknown 2.6.22.19 #1 Tue Feb 2 00:24:11 GMT 2010 mips GNU/Linux
    / # gpio poll
    0000FDFC ..2345678.ABCDEF
    0000FDFC ..2345678.ABCDEF
    0000FDFC ..2345678.ABCDEF
    0000FDFC ..2345678.ABCDEF
    0000FDFC ..2345678.ABCDEF
    0000FDFC ..2345678.ABCDEF
    The router now has the dd-wrt stock TM CFE, but this firmware worked fine earlier today, and I intended to test all after nvram clear thorough...
     
  12. teddy_bear

    teddy_bear Network Guru Member

    Have you saved your nvram configuration from the time the power led worked properly on your TM? If so, try to reload it back...
    Also, what output of "nvram find gpio" command do you get now?
     
  13. teddy_bear

    teddy_bear Network Guru Member

    Could you please try the following nvram setting:
    Code:
    nvram set ledbh0=7
    to see if it affects the WLAN led behavior? It may take effect immediately, or you may need to commit the change ("nvram commit") and reboot - I don't know...
    Also, please run the following commands
    Code:
    gpio enable 1
    gpio disable 1
    
    Do they turn the WDS led on and off? If so, which one is "off", and which one is "on"?
     
  14. PanRatio

    PanRatio Networkin' Nut Member

    I understand that my post has been ignored -.-
     
  15. mstombs

    mstombs Network Guru Member

    Well, I'm not quite that organized, I do have loads of logs, nvram and cfe backups but when things are not repeatable I can't be too sure, so:-

    I went back to a dd-wrt K24 mega that the power (and SES) led works on.

    I have now gone back to Tomato without resetting to defaults (and used serial console to get the http_password!). The power led is now stable again, so I am not completely insane:-

    Code:
    / # uname -a
    Linux unknown 2.6.22.19 #6 Thu Mar 25 20:38:19 GMT 2010 mips GNU/Linux
    
    / # gpio poll
    Enable gpio mask: 0x0000
    0000FDFE .12345678.ABCDEF
    0000FDFE .12345678.ABCDEF
    0000FDFE .12345678.ABCDEF
    0000FDFE .12345678.ABCDEF
    
    / # nvram find gpio
    gpio2=ses_led
    gpio3=ses_led2
    gpio4=ses_button
    gpio5=adm_eedi
    gpio6=adm_rc
    mmc_gpio=0
    wl0gpio0=136
    wl0gpio2=0
    wl0gpio3=0
    / #
    The answer must be in a combination of these or the other 1590 nvram entries...

    In this state I can make the power led flash with

    Code:
    gpio disable 1
    and I can turn on the ses lamp with

    Code:
    gpio disable 2
    enable puts both back - there must be a table somewhere where these can be added to the "led" command syntax?

    The only one of

    Code:
    led <wlan/diag/white/amber/dmz> <on/off> [...]
    that appears to work is "wlan"
     
  16. Varp

    Varp Guest

    Hi.
    I've tried to install this firmware at RT-N16 and i get an error. My ISP uses Dynamical IP+PPTP. I couldn't apply such settings via this firmware. Static IP+PPTP only. Could you tell me how i could do it or add such settings support to this firmware.
    Best regards, Varp.
     
  17. pharma

    pharma Network Guru Member

    LEDs: Ethernet (1-4), Wi-Fi Protected Setup, Wireless, Internet, Power

    Teddy,

    All LEDs are functioning normally. Power is on, Internet and Wireless are blinking, Wi-Fi Protected is steady when turned on, and Ethernet are blinking.

    The Wi-Fi Protected Setup led (small orange led) by default is turned on in Linksys and DD-WRT firmware. When I load Tomato it is off, but I am able to turn it on when I choose Amber for the SES startup color. I think it is operating normally in Tomato so this if fine. When Tomato is loaded it should be off by default and only be ON when a color is chosen as the SES startup color.


    The 2 buttons (Reset and Wi-Fi Protected Setup) work as expected. When I change the functionality of the SES button in Tomato (reboot, toggle wireless, shutdown, or do nothing), the Wi-Fi Protected Setup will perform that function when pressed.

    So far everything is operating normally.

    Pharma
     
  18. teddy_bear

    teddy_bear Network Guru Member

    PanRatio,
    I have no issues transferring large files via FTP (wired or wireless) to/from RT-N16 (other than that FTP is much slower than Samba). Can't say anything about 3500L - maybe someone with this router can share his/her experience.
    EDIT: Actually, I believe there's a bug in kernel ext3 support, related to block sizes != 4KB, the same as I just recently fixed for ext2 by backporting a few updates from newer kernel versions. I'll do the same for ext3 - hopefully it will fix your problem as well.

    Varp,
    Wait until the next build - it will allow you to use PPTP with dynamic IP, and will utilize kernel PPTP driver that should noticeably speed up PPTP connection and reduce CPU load. If you're interested in testing it before release, please let me know.

    mstombs,
    I suppose right now your router has a mix of Tomato/dd-wrt nvram settings - could be useful for testing/trying things, but needs to be cleaned up eventually... I suggest you erase the nvram again (save your current settings prior to that just in case), and then try one or combination of the following:
    Code:
    nvram set aa0=3
    nvram set wl0gpio0=136
    nvram set wl0gpio2=0
    nvram set wl0gpio3=0
    nvram set cctl=0
    nvram set ccode=0
    
    I hope it will fix the power led. Then, if it does, please post the results of
    Code:
    gpio enable|disable N
    commands (N=0..11) - what each one does to the leds.

    pharma,
    Thanks! Did you also notice whether or not any led blinks every second while you keep WPS button pressed?
     
  19. Brandonc

    Brandonc Addicted to LI Member

    On WNR3500
    gpio disable 0 - Turns off WDS
    gpio enable 0 - Turns it back on.
     
  20. teddy_bear

    teddy_bear Network Guru Member

    Really? I thought WPS led is controlled by pin1, not 0... (I suppose we both meant "WPS", not "WDS", right :)?)
    But then what does "gpio enable|disable 1" actually do?

    Also, can you try "nvram set ledbh0=7" to see if it resolves the WLAN led issue described in this post?
     
  21. pharma

    pharma Network Guru Member

    If the WPS button is kept pressed the Power led will blink every second.
     
  22. PanRatio

    PanRatio Networkin' Nut Member

    teddy_bear thank you - now remained only to wait for beta 8...

    ... long? :biggrin:
     
  23. mstombs

    mstombs Network Guru Member

    There is something very funny going on, I reset the password to "admin" and the power led started flashing, loading the good backup did not help, going back to dd-wrt and back again worked! Those nvram settings are all as you recommend whether it is working or not.

    The only difference I can see in nvram show dump is the flags

    Code:
    wl0_lazywds=1
    wl0_radio=1
    wl_lazywds=1
    wl_radio=1
    are all set to zero when power button flashing. I assume these are outputs from the wireless driver?

    Right now not only have I reset the password, I have done a reset to defaults - thorough and it is still working.

    When working

    gpio disable 0 - turns on wlan
    gpio disable 1 - flashes power led
    gpio disable 2 - turns on ses white
    gpio disable 3 - turns on ses orange

    I am not routinely using wireless on this test box, so I tend to turn it off - then it doesn't get upset? Or is an issue sometimes when nvram commit writes to flash?

    I was greeted by that weird message

    Code:
    SysRq : HELP : loglevel0-8 reBoot tErm Full kIll showMem Nice showPc show-all-timers(Q) Sync showTasks Unmount shoW-blocked-tasks
    when I first connected the serial console this eve... but everything was fine for a while and I haven't seen it since!

    [edit] After power cycle the power led now flashing again and the only way I know of recovering is to load dd-wrt firmware!

    [edit2] reverting to Tomato 1.27.8744 ND with same config also fixes the power Led, so there is basically an incompatibility between the WRT54G-TM hardware and the K26 + new wireless drivers I reckon.
     
  24. netRAT

    netRAT Networkin' Nut Member

    Would it instead be possible to shift the modem onto a different subnet?

    The reason I'm asking is I have quite a few fixed DHCP leases and port forwarding settings locked to specific local IPs in the current default range.

    Cheers.
     
  25. Toastman

    Toastman Super Moderator Staff Member Member

  26. PanRatio

    PanRatio Networkin' Nut Member

    Add 'led amber on' in Init script and we have always green power led :)
     
  27. huyhong

    huyhong Networkin' Nut Member

    Been following this thread for awhile and having issues with my Asus RT-N16 router I bought a little over a month ago. Initially went from the original Asus firmware to the build 44 beta02 usb/vpn (via the firmware restoration utility), then to the build 44 beta07 usb/vpn, then now to the build 44 beta07 std and this router is still not performing at the same level as my Asus WL-520GU running a stock Tomato 1.27. I'm on a Comcast Business Cable line that's something like 12mbit up/8mbit down. The WL-520GU runs like a champ, where I get pretty much my whole bandwidth allocation with no issues. Bought the RT-N16 anticipating it'll handle more internal traffic but no luck so far. We're mainly running newer 27" iMacs and a few PC boxes and WPA2 AES encryption.

    My issues with all the firmwares listed above:
    - Running the default settings after a thorough NVRAM clearing results in horrible throughput and pocketless. We're talking about going from 9862 Kbps/7570 Kbps on the WL520GU to 78 Kbps/203 Kbps on the N16 (via dslreports.com)
    - Fidgeting with settings, mainly setting the WAN port speed to 100mb/full and forcing B/G on the wireless, improves my throughput to 6367 Kbps/2539 Kbps on the N16 but it feels a bit lagger than the WL520GU (haven't done extensive ping time comparisons yet).
    - Torrents don't work via Transmission with NAT-PMP and/or UPNP enabled, or a port explicitly forwarded (no issues with either on the WL520GU)
    - Local network access is also paltry

    If anyone has any thoughts, I'd love to know what I'm doing wrong :). Would flashing DDWRT then back to Tomato and resetting the NVRAM do anything? Do I have a bad router?
     
  28. gearmato

    gearmato Networkin' Nut Member

    I had similar problem with WNR3500L + 3G USB modem. Router reseted after some random time. When I put some DBG-flags to kernel problem problem went away. Minus side of this "solution" was that wlan didn't work, because prebuilt broadcomm .o file didn't have data structures for kernel with debug flags.

    I didn't analyze problem properly, but I quess that It has something to do with spinlock-handling in USBcore.

    Anyhow this problem has been corrected in latest git-merge branch (i pulled it out on 29-Mar-2010), because with these fresh sources I was enable to build flash image, which doesn't crash anymore :) Basically this means that Tomato with WNR3500L can act like 3G Wlan routerbox.

    Now there is only one problem, which is that connection freezes after 5-6hours to tcp timeouts.
     
  29. netRAT

    netRAT Networkin' Nut Member

    Thanks, however that did not work.

    I set the modem to 192.168.0.1, DHCP turned off. Applied the scripts and rebooted the router. I'm still getting a 404 when attempting to log on to the modem.

    Is there anything else I can try?
     
  30. rmccask

    rmccask Network Guru Member

    Success with Buffalo WHR-G54S

    I finally got a chance to play more and I succeeded in loading tomato-1.27-ND-9044MIPSR1-beta07-Std.trx onto a Buffalo WHR-G54S. I tried previously with tomato-1.27-NDUSB-9044MIPSR1-beta07-Lite.trx and that didn't work (that is in a previous post). I have it running as a Wireless Ethernet Bridge with WPA2-PSK and AES for now. I did end up rebooting it a couple of extra times since it had problems connecting to my other router but I was making lots of changes at the time trying to configure it and it may just have gotten confused somehow.

    Thanks for all your work,
    -Randy
     
  31. humba

    humba Network Guru Member

    Code:
    gpio enable 1
    Turns on the WDS LED.
    Code:
    gpio disable 1
    turns off the WDS LED.

    Code:
    nvram set ledbh0=7
    Alone does nothing. It takes a commit and reboot and then the WLAN LED behavior is indeed correct.

    One more thing - and this is more a nice to have - seeing as LEDs can have multiple colors - any chance to make use of that for the WAN link LED? Keep the turned off state as is, but when there's a cable plugged in, keep it orange until the WAN link is up (and with up I mean PPPoE session established in case of PPPoE, IP address received when in DHCP mode)
     
  32. gingernut

    gingernut LI Guru Member

    Try putting this in your firewall script and then reboot

    /usr/sbin/iptables -I POSTROUTING -t nat -o vlan2 -d 192.168.0.0/24 -j MASQUERADE
    ip addr add 192.168.0.2/24 dev vlan2 brd +
     
  33. netRAT

    netRAT Networkin' Nut Member

    Bingo!

    Thank you very much gingernut :biggrin:
     
  34. Catalin

    Catalin Addicted to LI Member

  35. mstombs

    mstombs Network Guru Member

    Its great they are continuing to work with Broadcom in public beta on this.

    If the GPL release notes are to be trusted they have rolled back the Broadcom kit version and wireless driver to

     
  36. Crypton

    Crypton Networkin' Nut Member

    Do you think it is enough to put this command at the Administration/Scripts/Init?
    "echo 8192 > /proc/sys/vm/min_free_kbytes"
     
  37. joew333

    joew333 LI Guru Member

    Asus RT-N12 latest build

    Hi everyone!
    Is it possible we can get the latest test builds posted also for the Asus RT-N12?
     
  38. Catalin

    Catalin Addicted to LI Member

    You have the link in the first post of this thread. You can choose between the 2 non USB versions: tomato-1.27-ND-9044MIPSR2-beta07-vpn3.6.rar (with VPN) or tomato-1.27-ND-9044MIPSR2-beta07-Std.rar (standard).
     
  39. joew333

    joew333 LI Guru Member

    RT-N12

    Hi! I am running tomato-1.27-ND-9044MIPSR2-beta07-Std.rar on my RT-N12 but would like to kick the tyres on beta 9. Possible to get a version of beta 9 for the N12?
     
  40. Catalin

    Catalin Addicted to LI Member

    I would like to jump straight to version beta99 or maybe final version 3.0... But to do that, it must be released first...
     
  41. ffbadkill

    ffbadkill LI Guru Member

    May I ask a question?
    If I need Chinese and Japanese supported in samba, do I need to do something similar to K2.4?:eyebrow:

    If yes, how to do it?
     
  42. blackmack

    blackmack Addicted to LI Member

    One question.I can access my modems interface which is on 192.168.1.254 when modem is connected directly to computer. If I connect it thru the router(192.168.1.1) via wan port I can't access it anymore. Is it possible with tomato to add a routing, so I can access this interface through wan too?
     
  43. Toastman

    Toastman Super Moderator Staff Member Member

    This question has just been answered - it's even on the same page!
     
  44. cyan

    cyan Networkin' Nut Member

    is downloading to usb device considered to be future feature for tomato or not ?
     
  45. vanhh

    vanhh Network Guru Member

    I tried both your and gingernut ways to access the modem, but they didn't work.
     
  46. gingernut

    gingernut LI Guru Member

    Because you didn't change the IP's for your setup.

    If your modem has an IP 192.168.1.1 then it's like this.

    usr/sbin/iptables -I POSTROUTING -t nat -o vlan2 -d 192.168.1.0/24 -j MASQUERADE
    ip addr add 192.168.1.2/24 dev vlan2 brd +

    Remember to do a reboot after.
     
  47. jyxent

    jyxent Guest

    igmpproxy would refuse to start for me when I added an ip address this way. Adding an IP alias with ifconfig didn't cause this issue for me. This is the equivalent line to what I have in my firewall script:

    ifconfig `nvram get wan_ifname`:0 192.168.1.2 netmask 255.255.255.0
     
  48. vanhh

    vanhh Network Guru Member

    my modem ip is 192.168.0.1 and it didn't work with reboot.
     
  49. Toastman

    Toastman Super Moderator Staff Member Member

    Sometimes, the modems do not respond even though they do so if plugged in directly. The one I am on right now (Level One) responded last week, but it isn't doing so today, for example. If I change the modem for a different one, (Zyxel, Hatari Wireless, or D-Link) it works ok, proving that the method of routing still works fine.

    I am curious to know why, but I don't suppose we'll ever know.
     
  50. mstombs

    mstombs Network Guru Member

    I don't have pppoe so I haven't tried myself but:-

    Some modems allow you to set a default gateway, which you can set to be the router rather the DSL interface, which 'might' help. You can also then use routing, and not "nat masquerade" on the router. A further router command can also enable internet access to the modem, which is useful to get correct times in the modem logs.
     
  51. teddy_bear

    teddy_bear Network Guru Member

    Update - build 9045, beta 10

    Still beta, but no longer "early" ;). There were too many changes since the last published build so more testing is needed - but hopefully we're getting closer to a stable build.

    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.6-based builds (since the previous beta07 has never been announced, here are the changes from beta05 to beta07):
    • Various fixes backported from kernel 2.6 tree to improve stability and reduce memory allocation errors.
    • Fixed bug writing random values into Ethernet controller registers at startup.
    • Fixed USB support for BCM5354 chipset (Asus WL500GPv2, WL520GU).
    • Fixed USB support for Netgear WNR3500L.
    • Fixed SSL certificates being rewritten on every reboot.
    • Added support for additional devices to USB option driver.
    • Fixed memory leak in USB hotplugging code.
    • Fixed bug preventing Scheduled Access restriction to be turned off.
    • Fixed setting conntrack hash table size via GUI.
    Kernel 2.6-based builds (changes from beta07 to beta10):
    • Added support for Linksys WRT160Nv3 router.
    • Adjustments to correct LEDs behavior on Netgear WNR3500L.
    • Fixed support for large files (4GB+) in Samba 3.
    • Tune up the default Samba 3 configuration (can be overriden by specifying "socket options" settings in the "Samba Custom Configuration" box).
    • Fixed support for non-standard block sizes (!= 4KB), and the max file size calculation for Ext2 and Ext3 file systems (backports from kernel 2.6 tree).
    • Optimized OpenVPN build to utilize kernel epoll support (VPN builds).
    • Fixed VPN server/client "Stop Now"/"Start Now" button not working, and/or zombie vpnserver/vpnclient processes left when using this button (VPN builds).
    • Backports from kernel 2.6 tree to optimize and speed up memory allocator and network routing, and to improve overall stability. Enabled page allocation fallback.
    • Fixed IMQ driver causing network slow-downs and freezes when loaded, allowed to specify IMQ hooking behavior via module parameters.
    • Support for additional USB modems and bug fixes in USB option driver.
    • Fixed GRE/PPTP conntrack helper being broken preventing clients to connect to remote PPTP servers (There seems to be a conflict with RTSP conntrack module though. Uncheck RTSP helper if you still have issues with other conntracks).
    • Fixed USB Setup GUI page being inaccessible when some USB storage devices are connected to the router.
    • Bug fixes in kernel Netfilter modules: connlimit, recent, u32 and time matches, TCPMSS target, added hashlimit match.
    • Busybox: patch from trunk for lsusb.
    • Software updates: usb_modeswitch ver. 1.1.1.
    Links to the firmware binaries and the git repository with sources are in the 1st post.
     
  52. though

    though Network Guru Member

    wow Teddy YOU ARE THE MAN! gonna test out 10 now.

    thanks!
     
  53. Toastman

    Toastman Super Moderator Staff Member Member

    Likewise, thanks for the update!
     
  54. cariyawa

    cariyawa Addicted to LI Member

    Just flashed my RT-N16. Working great. Thanks LOT TB..
     
  55. Toastman

    Toastman Super Moderator Staff Member Member

    T/B - my RT entered a reboot loop - as soon as it gets IP and DNS from the ISP, it reboots. PPPOE connection - the log seems normal up to the point where it reboots. I can't be more specific as I had to restore service ASAP after the phone started ringing :biggrin: Let's see if anyone else has a similar experience.

    The K24 version is running OK on WRT54GL.
     
  56. teddy_bear

    teddy_bear Network Guru Member

    Toastman,
    When you get a chance to test it again, try to uncheck "DHCP Routes" on Advanced->Routing page (you may need to unplug the WAN cable to prevent the reboots).
    Also, when was it last time that the RT sources you compiled from git yourself worked ok for you?
     
  57. Toastman

    Toastman Super Moderator Staff Member Member

    Mmm. Last time I used the point in the git just before you changed to the new wireless driver 5.10.140.0, and built on that. Only because of the suspected poorer operation of the later driver - no other reason. I think you've also reverted to the earlier driver 5.210.56.46.

    I did not try the code you and Ray etc posted a few days ago, as I've been busy.

    I'll give it a try and report back.
     
  58. Catalin

    Catalin Addicted to LI Member

    Mine works ok after update, also on PPPoE. I have DHCP Routes enabled (default). Thanks TB.
     
  59. Toastman

    Toastman Super Moderator Staff Member Member

    I unchecked DHCP route and rebooted. Seemed OK. I checked it again and rebooted, still seems OK after 7 minutes uptime. I'm puzzled, but maybe there's a clue in it for you. All logs look normal now.

    Previously, it rebooted about 20 times before I killed it, by the way. I used the old config without NVRAM erase.

    OK, bedtime for me, see what tomorrow brings, I will leave it running for you to peek at.
     
  60. mstombs

    mstombs Network Guru Member

    Great - thanks teddy_bear, loaded no usb std from the k24 version on WRT54G-TM and power led working fine - normally steady, flashes while saving config changes and returns to steady. Not tried resetting to defaults (no need ...!).

    But after power cycle - power led always flashing
     
  61. roflcopter

    roflcopter Networkin' Nut Member

    Access restriction problem

    Hi,

    I am using Asus RTN-16 with the k26 beta 07 tomato firmware (USB + VPN), which is working a whole lot better than Asus own I must say!

    The issue I am having is with Access Restriction.

    I have it scheduled to block Bittorrent traffic every day from 11:30 am to 11.30 pm.

    The rule blocks torrent traffic ok, but the rule is not disabling.

    The log file excerpt reads

    Apr 5 23:30:01 router user.info rcheck[16620]: Deactivating rule 0
    Apr 5 23:30:01 router cron.info crond[455]: crond: USER root pid 16619 cmd rcheck --cron
    Apr 5 23:30:01 router user.err rcheck[16620]: Iptables command failed. Retrying in 15 minutes.

    This repeats from that point onwards.

    I have deleted the rule and recreated and rebooted router - no change.

    In changelog, it said for beta 07 - Fixed bug preventing Scheduled Access restriction to be turned off.

    I have just updated to Tomato Firmware v1.27.9045 MIPSR2-beta10 K26 USB vpn3.6 so will see what happens.

    But any ideas here?
     
  62. huyhong

    huyhong Networkin' Nut Member

    Just updated to beta10 K26 vpn3.6 on a RT-N16 that was throwing me major fits on beta2 and beta7, working beautifully so far. Thanks Teddy!
     
  63. pharma

    pharma Network Guru Member

    Teddy,

    When loaded on the WRT160Nv3 it entered in a reboot loop. I tried to load 3 times with the same result -- similar to Toastman issue.

    For the time being I have reloaded the original beta (tomato-K26-1.27.9045MIPSR2-beta09.08-Std) you sent with no problems
     
  64. teddy_bear

    teddy_bear Network Guru Member

    That looks precisely like an old issue that was fixed I believe in beta07. Well, let me know whether it works or not in beta10. If you still have this problem, please post the exact restriction rule you're using.
    Try the same as I recommended to Toastman - disable "DHCP Routes" - that seems to help. If it does - please post the output of "nvram find routes" command after WAN connection is established.

    If there's anyone here with the same issue and a serial console, please check "Enable cprintf output to console" check-box in the GUI, and send me a console crash log.
     
  65. lsiguy10

    lsiguy10 Addicted to LI Member

    Thanks TB for all your work. I've been following this thread.

    I have the Asus RT-N12.

    The first firmware version I used was beta 5 (when it came out) which worked great.

    Then I used beta 7 (when it came out) and that worked great also.

    Now I tried beta 10 (tomato-K26-1.27.9045MIPSR2-beta10-Std) and it won't work at all.

    I've tried installing it within the Tomato GUI and also via the Asus Firmware Restoration Utility. Both seem to finish uploading the firmware then it says to wait while it reboots, but it doesn't seem to reboot. I did clear the NVRAM before flashing each time.

    Only the PWR and LAN1 lights are lit. I've un/replugged the power cord, but the same 2 lights are lit. I cannot access the GUI and I cannot ping 192.168.1.1.

    Thankfully, I can always recover via recovery mode.

    So I've gone back to beta 7 for now.
     
  66. pharma

    pharma Network Guru Member

    Recovered WRT160Nv3 and loaded DD-WRT mini, then loaded tomato-K26-1.27.9045MIPSR2-beta10-Std, but kept rebooting. After recovery, then tried DD-WRT mini --> tomato-K26-1.27.9045MIPSR2-beta09.08-Std (disabled DCHP Routes) --> tomato-K26-1.27.9045MIPSR2-beta10-Std, but it fell into the reboot loop.

    Currently running tomato-K26-1.27.9045MIPSR2-beta09.08-Std.

    Pharma
     
  67. pzlmg

    pzlmg LI Guru Member

    Thanks teddy_bear, loaded K26-MIPSR1/tomato-K26-1.27.9045MIPSR1-beta10-Std on Buffalo WHR-G54S ,it works very well.
     
  68. teddy_bear

    teddy_bear Network Guru Member

    Ok, I can confirm that the beta10 MIPSR2 Std build (tomato-K26-1.27.9045MIPSR2-beta10-Std) is broken.

    Don't know if something went wrong during compile, or the file got damaged afterwards (unlikely) - simply recompiling the image fixes it. I'm pulling off the Std build, and will replace it soon with a new image.

    EDIT: Re-uploaded beta10.01 MIPSR2 Std build (tomato-K26-1.27.9045MIPSR2-beta10.01-Std). Also re-tested other MIPSR2 builds (Ext/VPN/no-USB-VPN) - and they all work.

    Very strange indeed. It seems that the K24 Ext build is broken too, and in exactly the same way - invalid inode addresses in squashfs filesystem. And again - simple recompile fixes it...
     
  69. nrnm

    nrnm Networkin' Nut Member

    hi,teddy,i got somg troubles,i have a wrt300n,when i open usb ohci,the route would not wor anymore,i have to press the reset to make it work,i've tried so many times,and,the bcm4321 could work 802.11n in this fire,so lucky~
     
  70. KyleChen

    KyleChen Addicted to LI Member

    Heaps of random code stream pass through your router and they evolve, become intelligence. They are the ghost in your router. This fact was pointed in some movies.:chuckle:

    Dont worry, It happens to me too. LOL

    Thanks teddy bear beta07->beta10 feels like winXP->win7 ~~
     
  71. though

    though Network Guru Member

    VERY ODD problem that i have ran into. i use a N16 for my main router and have a buffalo WHR-G54S that i use as an access point on another floor of my house as an Access Point. It plugs in directly to the N16 via cat6. my problem is that the Buffalo Access Point's radio drops offline randomly for anywhere between 2 minutes to 1+ hours daily. The SSID just disappears from wireless clients so you can't connect to it wirelessly. You can still access it from another wired computer on the network though by typing it's IP address and can browse through the different tomato menus like normal.

    I have tried different encryption (WPA, WPA2 AES, WPA2 TKIP), changed wireless channels, used different SSID's.

    Anyone have any advice????
     
  72. teddy_bear

    teddy_bear Network Guru Member

    nrnm,
    Not sure what you're talking about ;(...
    What's your WRT300N hardware version - v1, v1.1, v2? I only got confirmation that this mod works on v1.0 - I have no idea about other versions. What is displayed as the router "Model" in the Tomato GUI? What does "open usb ohci" mean, and why are you talking about USB at all - I thought 300N doesn't have USB port?

    though,
    So your Buffalo doesn't actually "drop offline", it just looses wireless, while you still can access it via its wired port? After SSID disappears from the clients, can you still see it in wireless survey on N16? What do you do to bring the radio back - reboot the router? Does turning radio off/on help? What Tomato version/mod are you running on the Buffalo now, and have you tried any others? Was Buffalo working fine before you started to use it as N16 client?
     
  73. nrnm

    nrnm Networkin' Nut Member


    teddy
    wrt300n v1.0,my friend help me to add a usb 1.1 port and change the flash to 8M

    i mean when i select usb ohci in usb and nas,the route is "dead",there isn't any display,i could't enter the gui using 192.168.1.1,just like firmware flash is fail,the ping message show me the boot_wait to use tftp to recover the firmware , press the reset button the route will work again~

    this usb-port works well before,I tried beta07 and 10 ,the same problem
     
  74. pharma

    pharma Network Guru Member

    Hi Teddy,


    The latest build (tomato-K26-1.27.9045MIPSR2-beta10.01-Std) now loads on my WRT160N v3. Everything is working fine ... :)


    Thank you for all your hard work and dedication! :)

    Pharma
     
  75. Papka__

    Papka__ Addicted to LI Member

    Hi Teddy. As I understand better way, after installing new version, is clear nvram and configure manually again, neither restore configuration from backup? Am I right?
     
  76. shibby20

    shibby20 Network Guru Member

    yes.
    restore cofiguration from backup = not clear nvram :)
    well if you cleared nvram, you have to configure all manually again
     
  77. Papka__

    Papka__ Addicted to LI Member

    Reconfigure QOS, WiFi filters, settings - that's cool. :)
     
  78. bogderpirat

    bogderpirat Network Guru Member

    you can backup specific nvram variables using `nvram show | grep -i <searchstring>` and hope for their syntax not to have changed between versions to re-set them after a nvram clear doing `nvram set varname="varvalue"`.
    at least that's how i get around re-writing QoS rules, static dhcp entries and pppoe data.
     
  79. Papka__

    Papka__ Addicted to LI Member

    Thanks. Will try.
     
  80. lsiguy10

    lsiguy10 Addicted to LI Member

    I just tried the fixed beta 10 (tomato-K26-1.27.9045MIPSR2-beta10.01-Std) on my RT-N12 and it works now.

    Thanks TB.
     
  81. bake73

    bake73 LI Guru Member

    The power led is now the right colour but now the internet led is wrong. This is on the Netgear WNR3500L.
    Apart from the led everything is running fine :)

    I've just noticed the wireless led doesn't work at all now.
     
  82. though

    though Network Guru Member

    teddy-

    i've never used an AP along with my main router, i just started doing this a few weeks ago to give a solid wireless connection in all areas of the house. i've used beta02 and beta07 on the N16 and the current 'standard' 1.27-ND (non-teddy) tomato release for the buffalo, no other firmwares. do you have any suggestions for me to try??
     
  83. gearmato

    gearmato Networkin' Nut Member

    Yep same here. WNR3500L seems to work fine, if leds are excluded :)
     
  84. nitr8

    nitr8 Network Guru Member

    There have been posts regarding uptimes and people thinking that there is an issue with big downloads, and uptime. I would like to post my stats saying thats rubbish:

    WNR3500L - Beta 07 (VPN)

    Uptime 21 days, 02:32:20

    Date Download Upload Total
    2010-04-06 45.52 GB 0.50 GB 46.01 GB
    2010-04-05 98.59 GB 2.43 GB 101.02 GB

    teddy_bear top man :) I just dont know if I should upgrade to beta10....
     
  85. roflcopter

    roflcopter Networkin' Nut Member


    FYI update - Tomato Firmware v1.27.9045 MIPSR2-beta10 K26 USB vpn3.6 seems to have resolved the issue. Rule now activates and deactivates without error.

    Thanks again.
     
  86. teddy_bear

    teddy_bear Network Guru Member

    Netgear WNR3500L:
    Argh... It would be really helpful to get consistent reports about gpio pins - otherwise we'll have to keep experimenting ;)...
    To fix the wireless led, try "gpio enable 0" command. Or "gpio disable 0"... Please let me know which one works if any.

    WAN (internet) led is expected to be orange now, and I'm not going to fix that in the near future - in this particular case fixing one led on one router model isn't worth the efforts. However, if you prefer it green, you can add "gpio enable 2" (or "gpio disable 2" - whichever works) command to the "Init" script. By the way - was the WAN led green or orange in beta07 by default?
     
  87. teddy_bear

    teddy_bear Network Guru Member

    Ok, so if I understood you correctly - your problem is that the Buffalo with vanilla Tomato drops wireless from time to time. In such case I suggest you post this question on a new separate thread as it has little to nothing to do with this mod.
     
  88. though

    though Network Guru Member

    teddy-

    it seems that i got the AP to drop the wireless connection both today and yesterday when i logged into a pc that was on my network using pcanywhere. the pc that i connect to is hard wired to the RT-N16. am i getting some sort of NAT interference possibly?
     
  89. Count0

    Count0 Addicted to LI Member

    Issue with iptables -F

    On both beta7 ad beta10, when I run iptables -F it freezes an asus RT-N16 router such that I need to power cycle it.
     
  90. teddy_bear

    teddy_bear Network Guru Member

    Heh... What did you expect?? Maybe it will surprise you, but flushing iptables is not the only way of locking yourself out of the router and the internet :wink:.
     
  91. cherepochek

    cherepochek Addicted to LI Member

    Russian dual PPTP test

    Installed firmware versions: K26USB-1.27.9045MIPSR2-beta10-vpn3.6, ASUS RT-N16.

    My provider gives me these options:
    Static IP:_____172.16.194.125.
    Subnet Mask:__255.255.255.252
    Gateway:_____172.16.194.126
    DNS:_________172.17.0.1
    Vpn server:___vpn.istra.ru
    or instead of "vpn.istra.ru" one of the IP-address:
    10.87.65.254
    or 10.87.65.251.
    –––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––

    I enter my settings:
    [​IMG]

    Routes enter manually, because the provider did not issue them automatically:
    [​IMG]

    although a default firmware from ASUS articulate all the routes automatically.


    get a log-№1:
    Code:
    Dec 31 16:00:18 unknown daemon.info pptp[383]: Plugin pptp.so loaded.
    Dec 31 16:00:18 unknown daemon.info pptp[383]: PPTP plugin version 0.8.4 compiled for pppd-2.4.5, linux-2.6.22.19
    Dec 31 16:00:18 unknown daemon.notice pptp[384]: pppd 2.4.5 started by root, uid 0
    Dec 31 16:00:19 unknown daemon.info dnsmasq[389]: started, version 2.52 cachesize 150
    Dec 31 16:00:19 unknown daemon.info dnsmasq[389]: compile time options: no-IPv6 GNU-getopt no-RTC no-DBus no-I18N DHCP no-scripts TFTP
    Dec 31 16:00:19 unknown daemon.info dnsmasq-dhcp[389]: DHCP, IP range 192.168.1.100 -- 192.168.1.149, lease time 1d
    Dec 31 16:00:19 unknown daemon.warn dnsmasq[389]: failed to access /etc/resolv.dnsmasq: No such file or directory
    Dec 31 16:00:19 unknown daemon.info dnsmasq[389]: read /etc/hosts - 2 addresses
    Dec 31 16:00:19 unknown daemon.info dnsmasq[389]: read /etc/hosts.dnsmasq - 1 addresses
    [COLOR="Red"]Dec 31 16:00:19 unknown daemon.err pptp[384]: PPTP: Unknown host vpn.istra.ru[/COLOR]
    [COLOR="red"]Dec 31 16:00:19 unknown daemon.info pptp[384]: Exit.[/COLOR]
    Dec 31 16:00:19 unknown user.info init[1]: Tomato 1.27.9045 MIPSR2-beta10 K26 USB vpn3.6
    Dec 31 16:00:19 unknown user.info init[1]: Asus RT-N16
    Dec 31 16:00:37 unknown daemon.info dnsmasq-dhcp[389]: DHCPREQUEST(br0) 192.168.1.100 00:1d:4f:f7:ab:3c 
    Dec 31 16:00:37 unknown daemon.info dnsmasq-dhcp[389]: DHCPACK(br0) 192.168.1.100 00:1d:4f:f7:ab:3c iMac
    Dec 31 16:00:58 unknown user.info redial[382]: WAN down. Reconnecting...
    Dec 31 16:00:58 unknown user.debug kernel: vlan2: del 01:00:5e:00:00:01 mcast address from vlan interface
    Dec 31 16:00:58 unknown user.debug kernel: vlan2: del 01:00:5e:00:00:01 mcast address from master interface
    Dec 31 16:00:58 unknown daemon.warn dnsmasq[389]: no servers found in /etc/resolv.dnsmasq, will retry
    Dec 31 16:00:58 unknown user.warn kernel: vlan2: Setting MAC address to  90 e6 ba 2e eb 33.
    Dec 31 16:00:58 unknown user.debug kernel: vlan2: add 01:00:5e:00:00:01 mcast address to master interface
    Dec 31 16:00:58 unknown user.info redial[416]: Started. Time: 30
    Dec 31 16:00:58 unknown daemon.info pptp[417]: Plugin pptp.so loaded.
    Dec 31 16:00:58 unknown daemon.info pptp[417]: PPTP plugin version 0.8.4 compiled for pppd-2.4.5, linux-2.6.22.19
    Dec 31 16:00:58 unknown daemon.notice pptp[418]: pppd 2.4.5 started by root, uid 0
    Dec 31 16:00:58 unknown daemon.err pptp[418]: PPTP: Unknown host vpn.istra.ru
    Dec 31 16:00:58 unknown daemon.info pptp[418]: Exit.
    Dec 31 16:01:38 unknown user.info redial[416]: WAN down. Reconnecting...
    Dec 31 16:01:39 unknown user.debug kernel: vlan2: del 01:00:5e:00:00:01 mcast address from vlan interface
    Dec 31 16:01:39 unknown user.debug kernel: vlan2: del 01:00:5e:00:00:01 mcast address from master interface
    Dec 31 16:01:39 unknown user.warn kernel: vlan2: Setting MAC address to  90 e6 ba 2e eb 33.
    Dec 31 16:01:39 unknown user.debug kernel: vlan2: add 01:00:5e:00:00:01 mcast address to master interface
    Dec 31 16:01:39 unknown user.info redial[435]: Started. Time: 30
    Dec 31 16:01:39 unknown daemon.info pptp[436]: Plugin pptp.so loaded.
    Dec 31 16:01:39 unknown daemon.info pptp[436]: PPTP plugin version 0.8.4 compiled for pppd-2.4.5, linux-2.6.22.19
    Dec 31 16:01:39 unknown daemon.notice pptp[437]: pppd 2.4.5 started by root, uid 0
    [COLOR="red"]Dec 31 16:01:39 unknown daemon.err pptp[437]: PPTP: Unknown host vpn.istra.ru[/COLOR]
    Dec 31 16:01:39 unknown daemon.info pptp[437]: [COLOR="red"]Exit.[/COLOR]
    Dec 31 16:02:19 unknown user.info redial[435]: WAN down. Reconnecting...
    Dec 31 16:02:19 unknown user.debug kernel: vlan2: del 01:00:5e:00:00:01 mcast address from vlan interface
    Dec 31 16:02:19 unknown user.debug kernel: vlan2: del 01:00:5e:00:00:01 mcast address from master interface
    Dec 31 16:02:19 unknown user.warn kernel: vlan2: Setting MAC address to  90 e6 ba 2e eb 33.
    Dec 31 16:02:19 unknown user.debug kernel: vlan2: add 01:00:5e:00:00:01 mcast address to master interface
    Dec 31 16:02:19 unknown user.info redial[452]: Started. Time: 30
    Dec 31 16:02:19 unknown daemon.info pptp[453]: Plugin pptp.so loaded.
    Dec 31 16:02:19 unknown daemon.info pptp[453]: PPTP plugin version 0.8.4 compiled for pppd-2.4.5, linux-2.6.22.19
    Dec 31 16:02:19 unknown daemon.notice pptp[454]: pppd 2.4.5 started by root, uid 0
    [COLOR="red"]Dec 31 16:02:19 unknown daemon.err pptp[454]: PPTP: Unknown host vpn.istra.ru[/COLOR]
    Dec 31 16:02:19 unknown daemon.info pptp[454]: [COLOR="Red"]Exit.[/COLOR]

    Replace the server address with "vpn.istra.ru" on 10.87.65.254 ,on at the same routes
    [​IMG]

    get a log-№2:
    Code:
    Dec 31 16:00:18 unknown daemon.info pptp[383]: Plugin pptp.so loaded.
    Dec 31 16:00:18 unknown daemon.info pptp[383]: PPTP plugin version 0.8.4 compiled for pppd-2.4.5, linux-2.6.22.19
    Dec 31 16:00:18 unknown daemon.notice pptp[384]: pppd 2.4.5 started by root, uid 0
    Dec 31 16:00:18 unknown daemon.err pptp[384]: PPTP: connect failed (Network is unreachable)
    Dec 31 16:00:18 unknown daemon.info pptp[384]: Exit.
    Dec 31 16:00:19 unknown daemon.info dnsmasq[389]: started, version 2.52 cachesize 150
    Dec 31 16:00:19 unknown daemon.info dnsmasq[389]: compile time options: no-IPv6 GNU-getopt no-RTC no-DBus no-I18N DHCP no-scripts TFTP
    Dec 31 16:00:19 unknown daemon.info dnsmasq-dhcp[389]: DHCP, IP range 192.168.1.100 -- 192.168.1.149, lease time 1d
    Dec 31 16:00:19 unknown daemon.warn dnsmasq[389]: failed to access /etc/resolv.dnsmasq: No such file or directory
    Dec 31 16:00:19 unknown daemon.info dnsmasq[389]: read /etc/hosts - 2 addresses
    Dec 31 16:00:19 unknown daemon.info dnsmasq[389]: read /etc/hosts.dnsmasq - 1 addresses
    Dec 31 16:00:19 unknown user.info init[1]: Tomato 1.27.9045 MIPSR2-beta10 K26 USB vpn3.6
    Dec 31 16:00:19 unknown user.info init[1]: Asus RT-N16
    Dec 31 16:00:37 unknown daemon.info dnsmasq-dhcp[389]: DHCPREQUEST(br0) 192.168.1.100 00:1d:4f:f7:ab:3c 
    Dec 31 16:00:37 unknown daemon.info dnsmasq-dhcp[389]: DHCPACK(br0) 192.168.1.100 00:1d:4f:f7:ab:3c iMac
    Dec 31 16:00:58 unknown user.info redial[382]: WAN down. Reconnecting...
    Dec 31 16:00:58 unknown user.debug kernel: vlan2: del 01:00:5e:00:00:01 mcast address from vlan interface
    Dec 31 16:00:58 unknown user.debug kernel: vlan2: del 01:00:5e:00:00:01 mcast address from master interface
    Dec 31 16:00:58 unknown daemon.warn dnsmasq[389]: no servers found in /etc/resolv.dnsmasq, will retry
    Dec 31 16:00:58 unknown user.warn kernel: vlan2: Setting MAC address to  90 e6 ba 2e eb 33.
    Dec 31 16:00:58 unknown user.debug kernel: vlan2: add 01:00:5e:00:00:01 mcast address to master interface
    Dec 31 16:00:58 unknown user.info redial[420]: Started. Time: 30
    Dec 31 16:00:58 unknown daemon.info pptp[421]: Plugin pptp.so loaded.
    Dec 31 16:00:58 unknown daemon.info pptp[421]: PPTP plugin version 0.8.4 compiled for pppd-2.4.5, linux-2.6.22.19
    Dec 31 16:00:58 unknown daemon.notice pptp[422]: pppd 2.4.5 started by root, uid 0
    [COLOR="red"]Dec 31 16:00:58 unknown daemon.err pptp[422]: PPTP: connect failed (Network is unreachable)[/COLOR]
    [COLOR="Red"]Dec 31 16:00:58 unknown daemon.info pptp[422]: Exit.[/COLOR]
    Dec 31 16:01:38 unknown user.info redial[420]: WAN down. Reconnecting...
    Dec 31 16:01:39 unknown user.debug kernel: vlan2: del 01:00:5e:00:00:01 mcast address from vlan interface
    Dec 31 16:01:39 unknown user.debug kernel: vlan2: del 01:00:5e:00:00:01 mcast address from master interface
    Dec 31 16:01:39 unknown user.warn kernel: vlan2: Setting MAC address to  90 e6 ba 2e eb 33.
    Dec 31 16:01:39 unknown user.debug kernel: vlan2: add 01:00:5e:00:00:01 mcast address to master interface
    Dec 31 16:01:39 unknown user.info redial[436]: Started. Time: 30
    Dec 31 16:01:39 unknown daemon.info pptp[437]: Plugin pptp.so loaded.
    Dec 31 16:01:39 unknown daemon.info pptp[437]: PPTP plugin version 0.8.4 compiled for pppd-2.4.5, linux-2.6.22.19
    Dec 31 16:01:39 unknown daemon.notice pptp[438]: pppd 2.4.5 started by root, uid 0
    [COLOR="Red"]Dec 31 16:01:39 unknown daemon.err pptp[438]: PPTP: connect failed (Network is unreachable)[/COLOR]
    [COLOR="red"]Dec 31 16:01:39 unknown daemon.info pptp[438]: Exit.[/COLOR]
    
    Connect and failed! Excuse me for bad English!

    PS:Probably in this case, PPTP connection, you must specify the gateway address 172.16.194.126 through which the router will connect to the "vpn.istra.ru"

    Automatically get a route, default firmware ASUS (for example)
    [​IMG]
     
  92. jnappert

    jnappert LI Guru Member

    The new build beta 10 seems to be rock solid on my Asus RT-N16. As with wl drivers 5.10.140.0 WPA/WPA2 (AES) encryption was fully functional even in WDS-Mode (besides the one node problem i described in 2.4 USB-Thread), is there a possibility to compare both configs?
     
  93. gearmato

    gearmato Networkin' Nut Member

    With "gpio enable 0" wireless led turns on, but doesn't blink when data is transfered.
    I took led.c from earlier sources and built new image. Now wireless led is on and it blinks ;)
     
  94. blinkfrog

    blinkfrog Addicted to LI Member

    Now PPTP works correctly in beta10! Thank you very much, teddy_bear, for your work! It is one of the coolest (if not the best) firmwares for RT-N16 at the moment.
     
  95. teddy_bear

    teddy_bear Network Guru Member

    You must check "Use DHCP" check-box to be able to load routes from ISP, and to be able to specify the gateway as a domain name. In case of static IP you need to enter the gateway IP address, and it must be accessible from the router before you can connect - so yes, it probably should be 172.16.194.126 - have you tried that?

    Latest PPTP changes were never tested with static IP though - you're the first one to try... We may need to spend some time troubleshooting before it will be fully functional.
     
  96. teddy_bear

    teddy_bear Network Guru Member

    It's not the question of configs... The router just crashed previously when you select WPA/WPA2 combined encryption with WDS. If it doesn't crash anymore, that's probably because a lot of fixes have been applied to kernel memory allocator code, and that helped.
     
  97. cherepochek

    cherepochek Addicted to LI Member

    Thanks, will try!
     
  98. teddy_bear

    teddy_bear Network Guru Member

    By the way, are you saying that Asus firmware loads the routes even if you specify a Static IP?? I'm looking at their code, and don't see how it may be possible. Looks like it only should work if you specify a client wan IP as 0.0.0.0 - which means dynamic IP. It's the same as checking "Use DHCP" box in my firmware.
    Does your provider allow dynamic IP as well as static IP? If so, I'd recommend to check "Use DHCP" box, and go with dynamic IP.
     
  99. bake73

    bake73 LI Guru Member

    Same results here.

    The wan led was green in beta 7.
     
  100. teddy_bear

    teddy_bear Network Guru Member

    Ok, thanks for the feedback. Since you're recompiling it, could you please try the following patch against beta10 sources, and let me know if any issues with LEDs are still left after that?
    Code:
    diff --git a/release/src/router/shared/led.c b/release/src/router/shared/led.c
    index b5f8456..51c8481 100644
    --- a/release/src/router/shared/led.c
    +++ b/release/src/router/shared/led.c
    @@ -189,7 +189,7 @@ int led(int which, int mode)
     	static int wr850g2[]	= { 0,    1,    255,  255,  255,  255,  255,  255	};
     	static int wtr54gs[]	= { 1,    -1,   255,  255,  255,  255,  255,  255	};
     	static int dir320[]	= { -99,   1,     4,    3,  255,  255,  255,   -5	};
    -	static int wnr3500[]	= { 255, 255,   255,  -99,  255,   -1,  255,   -2	};
    +	static int wnr3500[]	= { 255, 255,     2,  255,  255,   -1,  255,  255	};
     	static int wrt160nv3[]	= { 255,   1,     4,    2,  255,  255,  255,  255	};
     
     	char s[16];
    
     

Share This Page