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

    BuonaDomenica Networkin' Nut Member

    I'm trying to flash an Asus RT-N12 router to Tomato but not sure which firmware to use.

    thanks in advance.

    BD
     
  2. though

    though Network Guru Member

  3. karog

    karog Networkin' Nut Member

  4. though

    though Network Guru Member

    you're correct karog. brain fart. link updated.
     
  5. BuonaDomenica

    BuonaDomenica Networkin' Nut Member

    thank you for the instructions

    flashed the router and it works great so far. Love Tomato for the stability!!

    Happy Holidays!!
     
  6. though

    though Network Guru Member

    teddy or others in the know,

    if i have other N12's and N16's connected to my main N16 AP in bridge mode and other units plugged into them as AP's, do i need to check the 'spanning-tree protocol' -or- 'efficient multicast forwarding' or uncheck 'DHCP Routes' or change any other settings for this? my main router AP is running DHCP and the other AP's have dhcp disabled.

    the reason i am asking this is because the wireless network goes down on the main AP about once every day or 2 for about 30-60 minutes then comes back so thought something must be causing a hiccup.

    thanks
     
  7. shibby20

    shibby20 Network Guru Member

    my RT-N16 has 111 days uptime right now (beta20-ext) :)
     
  8. tmr250z

    tmr250z LI Guru Member

    Although I am sure this wireless channel scan unknown error thing wasn't happening before on build 52, it's happening now.
    In an effort to troubleshoot this further, I pulled out my old WRT54GL router, which still had vanilla Tomato 1.28 on it. I did a wireless channel scan, and no unknown error was received, it scanned normally. So I decided to try out different versions of Tomato on it, erasing NVRAM thoroughly before and after it's flashed and leaving everything at default settings. No error with vanilla Tomato 1.28, so I upgraded it to vanilla Tomato 1.28 ND. Guess what, I got a wireless channel scan unknown error. Flashed it to Tomato RAF 1.25.8025.2, which just has the old wireless driver and performed a wireless channel scan. No unknown error from this one either. OK, then I flashed it to Tomato RAF 1.25.8515.2, which has the ND wireless driver, and bam, received that unknown error again. Flashed it to Tomato RAF 1.28.121006, which has the old wireless driver, no known error after performing a wireless channel scan. I continued the experiment with other versions of Tomato and the table below shows my complete results:

    [​IMG]

    There isn't a version of Tomato w/ the old wireless driver for the RT-N16, so I can't perform the same test on it, I do get the unknown error with build 52 and build 54. They have to the ND wireless driver.


    In addition to this error occurring with the ND wireless driver, this also only happens if I perform a wireless channel scan while connected to the router wirelessly. On a wired connection to either my WRT54GL and Asus RT-N16, this error doesn't occur.


    So teddy, or anyone, any thoughts or ideas?
     
  9. kosiko

    kosiko Addicted to LI Member

    SIP support on build 54, K26 R1

    Hi Teddy,

    First of all thanks a lot for your new K26 firmware, I was using 1.23 for 1 year and now I just have chance to upgrade my GP500V2 to 1.28 build 54, K26/R1.

    The firmware looks great, I really enjoy the minidlna.:biggrin:

    I got two questions for you:

    1. I had weird SIP issue with 1.28. I did erase NVRAM setting after the firmware upgrade. The issue was my SIPURA SPA1001 ATA was not able to register successful at the beginning. I tried all the settings I know but no way to make it work, include reboot ROUTER / ATA and put ATA to DMZ, no luck. I thought that's something relative to NAT so I changed the ATA to a new ip, issue was temporary fixed. That moment I can't explain why as the router/ata rebooted and NVRAM was cleaned. Again today I found the ATA can registered to VOIP service provider but one line can't hear / speak at all, one line was ok, end up I fixed the issue but unchecked the SIP helper from NAT track/Helper menu. Do you have any idea on my issues? Is that due to the NAT function changed in 1.28? In 1.23, I can choose "NAT Target" under FIREWALL menu and from my screenshot backup I know I choosed "MASQUERADE", in the 1.28 firmware this option is gone.

    2. I experienced 3 times halt issue in two days. It seems relative to Transmission or minidlna, can I know if there is any know bug cause the router hanging? or any way to diagnostic the issue?

    I will happy to provide any necessary information, please let me know if you need any thing.

    Thank you
    Kosiko
     
  10. occamsrazor

    occamsrazor Network Guru Member

    Kosiko - I can't say if it is related but you might want to check this thread about timeouts breaking VOIP
     
  11. kosiko

    kosiko Addicted to LI Member

    Thanks a lot occamsrazor. That's the exactly two problems I have as Mango mentioned. In my topic above I only bring up issue one, actually I also have issue two in past years (very annoying!) I prefer keep default tomato UDP setting to 30/180, but increase my SPA-1001 NAT interval from 15 to 60 instead.

    I just rebooted my tomato and my ATA and register well... seems this change fixed both problem now. I hope this is is a permanent fix (looks very likely:tongue:)

    The question is, I remember few years ago when I used old tomato release I think I set the NAT interval on ATA to 30 or 40 etc after read some topics, and I found I even do NOT need to forward 5060 to my ATA, no STUN need, very good. Then later I read some topic again to set NAT interval back to 15 and use this setting with TOMATO 1.23 for more than 1 year no problem.

    Now, why after upgrade to TOMATO 1.28 K26 R1 will has problem with NAT interval 15 in ATA? while 1.23 has no problem. Seems some NAT function/rule changed in 1.28
     
  12. kosiko

    kosiko Addicted to LI Member

  13. nastech

    nastech Networkin' Nut Member

    Flashed my RT-N16 with Tomato DualWan 1.28.5018

    Running great so far :)
     
  14. meeces2911

    meeces2911 Addicted to LI Member

    wow, that looks cool. Is there a current mod that supports daily user bandwidth monitoring ? (for just single wan connections) Because im pretty sure teddys doesnt.

    p.s.
    Happy New Year!
     
  15. TerminatorHTK

    TerminatorHTK LI Guru Member

    Has anyone had any experience with getting the Inactive Rules Cleaning to work with uPnP & NAT-PMP? With the defaults of 600 & 20, the rules seemed to stay indefinately. I changed the settings to 300 & 5, and it seemed to work...once...
    Does anyone have any recommended values that make this work? Is there any explanation of what 'redirections' even are?
    Thx
     
  16. Thux

    Thux Addicted to LI Member

    Thank you teddy_bear for this firmware mod! :thumbups:
    I just bought a WNR3500L and it's swift as an arrow with tomato-K26USB-1.28.9054MIPSR2-beta-vpn3.6!

    No issues so far, it has 24 hours uptime for the moment. The speeds are like this:
    93 Mbps wired and 85 Mbps wireless on N @ 40 Mhz. It just rocks... :rockon:

    Now my old WRT54GL rests quietly in his box :)

    Keep up the good work!
     
  17. kosiko

    kosiko Addicted to LI Member

    hi Thux,

    I got mine WNR3500L today too. I am going to flash to the same firmware. Can I know if I have to fresh to DD-WRT at first or I can go to K26 build54 VPN directly? If you list the steps briefly that will be great!

    Thanks

    --edit: for safety, I went to dd-wrt at first and upgrade to tomato, do 30/30/30 reset in each step
     
  18. kosiko

    kosiko Addicted to LI Member

    btw, 93Mbps wired? Are you having a 100Mbps network? WNR3500L has 1000Mbps LAN ports
     
  19. Thux

    Thux Addicted to LI Member

    Yes, I have a 100 Mbps connection!

    Sorry that I've missed your previous post.

    For installing Tomato I've followed 3 steps:

    1. The original firmware was reset to factory settings.
    2. Flashed with this dd-wrt version: http://www.dd-wrt.com/routerdb/de/d....v24-14311_NEWD-2_K2.6_mini-WNR3500L.chk/3467
    3. Installed Tomato 1.28 - K26 with USB+VPN from tomatousb.org. P.S.: changed extension from chk to bin.

    After each flash I've done a 30/30/30 reset just to be safe!

    Now I have 5+ days uptime and everything runs perfectly!
     
  20. BeHappy

    BeHappy Network Guru Member

    I've Intel(R) WiFi Link 5300 AGN on my laptop. If not change the (NIC) property - 802.11n Channel Width (2.4 GHZ) to Auto I just get only max. 144 Mbps. By doing it I'm now w. 300 Mbps.
    http://img841.imageshack.us/i/wlanspeed.jpg/
     
  21. Thux

    Thux Addicted to LI Member

    I have an Intel WiFi Link 5100 which is similar with what you have (5300) and I've noticed almost no difference by switching from manual to Auto -- for me Auto was worse because the router keep on staying on channel 6 which was crowded. The thing is that you have to set your router to a channel which is free if you have one... I'm now running on channel 3 and the closest next AP is on channel 6, so the noise is little. Use the Scan function if you didn't already do that and see which channels are free, or less noisy.

    Oh, and btw, I'm running Mandriva Linux...
     
  22. BeHappy

    BeHappy Network Guru Member

    It doesn't relate to Auto Channel on yr router, only affect which band width y want to operate with from yr nic

    Btw. you can change the channel range 1-7 (lower) or 7-11 (upper) by using option from yr router - Control Sideband - so yr router broadcasts w. yr wanted channel (my on channel 1)
     
  23. valerima

    valerima LI Guru Member

    asus RT-N16 and TomatoUSB

    Dears,
    What the longest period was reported with wireless connection maintained at decent level with tomato firmware?
     
  24. teddy_bear

    teddy_bear Network Guru Member

    Well, in general I was against translating Tomato to different languages mostly for 2 reasons: (1) I'll have to rely on someone else who knows the language to support the translation and update it every time new text strings are added to the firmware, and (2) proper multi-language support requires a huge rework of Tomato GUI, and will increase the firmware size...

    How exactly did you do it? If you just created a separate copy of all web pages translated to Polish, it can't be used in the mainstream firmware. Or did you do it in a proper way, i.e. moved all existing text strings from the Web GUI and httpd daemon into a separate "resource" file (a separate file for every language) with appropriate setting in the GUI to switch between languages? If so, send me your patches and I'll consider including them.
     
  25. cariyawa

    cariyawa Addicted to LI Member

    I have 63 days.
     
  26. valerima

    valerima LI Guru Member

    asusu rt-n16wireless speed

    Dears, Thank you so much for all the information and possibility to use this wonderful firmware. Just flashed my new asus RT-N16 with tomato-K26USB-1.28.9054MIPSR2-beta-Ext.
    Hope it will be stable with wireless as my previous wrt 54GL.
    However while tried original asus 1.1.0.9 firmware, my son sitting in the next room with his dell xps studio was happy because wireless speed he acieved was 8mb/s (we have cable 100 mbp/s connection) just it was for a while because dropped substantially soon.
    So after flash to tomato his connection decreased to 2mpb/s, but looks like in constant level.
    Do you have any idea or explanation, please how to have higher wireless speed?

    What speed do you report with tomatousb at asus RT-N16 and with similar initial speed? Is it possible to increase it? Or maybe ssomebody can provide link about optimal configuration of tomato usb, please?
     
  27. valerima

    valerima LI Guru Member

    wireless asus rt-n16tomato usb ext

    http://www.dd-wrt.com/wiki/index.php/Wireless-N_Configuration

    You MUST use WPA2 authentication with AES encryption only, or use no security at all if you wish to achieve N rates. Anything else is against the N spec and typically results in the client falling back to G rates.

    Can anybody comment this?
     
  28. valerima

    valerima LI Guru Member

    other tomato usb firmware builds

    Sorry for being active last days. Can anybody comment:

    http://infodepot.wikia.com/wiki/Asus_RT-N16?cb=1393
    .....NOTE: This firmware is provided as-is without any warranty. We will NOT be responsible for any damages that may occur due to the use of this firmware. USE IT AT YOUR OWN RISK!
    Tomato Asus Theme

    I Have compiled a build for the RT-N16 that has an Asus Theme built-in.

    tomato-K26USB-1.28.9054MIPSR2-beta_asus_rt-n16-VPN
    tomato-K26USB-1.28.9054MIPSR2-beta-asus_rt-n16-Ext
    tomato-K26-1.28.9054MIPSR2-beta-Asus-Std
    --------------------------
     
  29. nulland

    nulland Addicted to LI Member

    I installed the latest build, tomato-E2000-1.28.9054MIPSR2-beta-Std (special built) on my Linksys E2000. I am able to enter and save changes in the configuration settings, but all changes keep getting lost after a reboot or restart. All settings are reset to defaults. I have reset the router after flashing with a 30-sec push on the reset button, and a soft reset with the "erase all data in the NVRAM" in the configuration tab, all to no avail. I suspect this has something to do the 62kb nvram space in the E2000? I am a newbie on this firmware, need help desperately. Thanks.
     
  30. imago54

    imago54 Networkin' Nut Member

    Dynamic DNS support for XName

    teddy,
    would it be possible to add support for XName (www.xname.org) service in tomato's Dynamic DNS section?

    XName is commonly used free DNS hosting service. There are also other services which are using same (or slightly modified) software (like freedns.42.pl).

    They are not providing classic dynamic DNS service, but they are giving the possibility of using XML RPC to achieve similar results:

    http://www.xname.org/dynamic-update.php?language=en

    Example of Python script:
    http://www.xname.org/xnameArec.py

    Example of PHP script:
    http://www.xname.org/xname-commandline.sphp

    Freedns42 Python script:
    https://freedns.42.pl/freedns-dyndns.py

    What do you think?

    /imago
     
  31. shibby20

    shibby20 Network Guru Member

    at the moment i was translate all strings from www, httpd and rc to polish. But i thing about moved all strings to separate language file. If i will have more time i will try to make this modification.
     
  32. saxin

    saxin LI Guru Member

    OpenVPN cannot load CA certificate file

    Hi,

    Someone maybe familiar with this error I'm getting on tomato-ND-1.28.8754-vpn3.6
    version ?


    "Cannot load CA certificate file ca.crt path (null) (SSL_CTX_load_verify_locations) (OpenSSL)"

    Of course server isn't starting ?!

    Thanks
     
  33. elitenoobboy

    elitenoobboy Networkin' Nut Member

    When I assign a MAC address to static DHCP, what could cause it from taking effect? I had a laptop connect to the router, and it got an address of 192.168.1.100. I then assigned that laptop to a static DHCP address (192.168.1.20), but so far, it has not taken effect. I have tried revoking the lease, rebooting the router, and rebooting the laptop, and then when it reconnected, it had an address of 192.168.1.146, which is still not what I assigned it to. I know I didn't mistype the MAC address because I assigned by clicking static from the device list page. Is there anything special that I need to do to get the laptop to take the address I specified?
     
  34. Thux

    Thux Addicted to LI Member

    @saxin:

    Check:
    1. is the certificate created correctly?
    2. free space in NVRAM? -- Administration -> Configuration

    @elitenoobboy:

    Check your IP Address Range, for example if you had configured the range 192.168.1.100 -to- 192.168.1.200 you can't assign 192.168.1.20, it's out of range.
     
  35. elitenoobboy

    elitenoobboy Networkin' Nut Member

    It is definitely within range, and I have other devices assigned around that range.
    Could it be some setting or bug on the laptop itself that is preventing it from taking the address properly, or would more likely be a glitch with the router?
     
  36. ladysman

    ladysman LI Guru Member

    What is your range set too? Default is .100-.149.
     
  37. bohannin

    bohannin Networkin' Nut Member

    Access point wireless DHCP problem

    Hello -
    I currently have 2 Asus routers - one RT-N16 and one RT-N12. Both flashed with the latest TomatoUSB 2.6 build 54 - VPN and NoUSB Std respectively.

    I have the rt-n12 configured as an access point, with the RT-N16 as the router connected to my WAN. the 2 routers are connected via powerline ethernet.

    The main router is set for 192.168.1.1, the access point is 192.168.1.2. Access point has DHCP disabled, wan disabled and gateway and dns set to 192.168.1.1. Wireless settings are the same ssid and security as the main router (wpa2 aes), on different channels (1 and 11).

    All works well if I have a client connected via lan to the 2nd router. I am able to obtain an IP from the main router and access the network and wan without issue. When I connect wirelessly to the accesspoint, I am unable to obtain an IP address from the dhcp server. I see the same entries in the log on the main router over and over:

    Code:
    Jan 23 18:49:45 router daemon.info dnsmasq-dhcp[522]: DHCPDISCOVER(br0) 00:23:76:f9:90:48 
    Jan 23 18:49:45 router daemon.info dnsmasq-dhcp[522]: DHCPOFFER(br0) 192.168.1.132 00:23:76:f9:90:48 
    Jan 23 18:49:47 router daemon.info dnsmasq-dhcp[522]: DHCPDISCOVER(br0) 00:23:76:f9:90:48 
    Jan 23 18:49:47 router daemon.info dnsmasq-dhcp[522]: DHCPOFFER(br0) 192.168.1.132 00:23:76:f9:90:48 
    Jan 23 18:49:56 router daemon.info dnsmasq-dhcp[522]: DHCPDISCOVER(br0) 00:23:76:f9:90:48 
    Jan 23 18:49:56 router daemon.info dnsmasq-dhcp[522]: DHCPOFFER(br0) 192.168.1.132 00:23:76:f9:90:48 
    I never get a DHCPACK wirelessly, however as soon as I switch to lan, I immediately receive an IP from DHCP.

    Code:
    Jan 23 18:51:36 router daemon.info dnsmasq-dhcp[522]: DHCPDISCOVER(br0) 00:23:76:f9:90:48 
    Jan 23 18:51:36 router daemon.info dnsmasq-dhcp[522]: DHCPOFFER(br0) 192.168.1.132 00:23:76:f9:90:48 
    Jan 23 18:51:36 router daemon.info dnsmasq-dhcp[522]: DHCPREQUEST(br0) 192.168.1.132 00:23:76:f9:90:48 
    Jan 23 18:51:36 router daemon.info dnsmasq-dhcp[522]: DHCPACK(br0) 192.168.1.132 00:23:76:f9:90:48 myhost
    Any ideas? Thanks in advance!! :wave:
     
  38. baker99

    baker99 Addicted to LI Member

    @ Bohannin have you tried using WPA instead of WPA2? I've been trying to do similar to you with a netgear as my main router and a buffalo as a second router, although I want to use a wireless link between the two routers myself, and than use the Buffalo as an AP from what I have read WPA2 isn't supported for me.

    Also try putting a different SSID for the second router, I have a wireless camera connected to my Buffalo and a direct cable between the two routers and it connects fine.
     
  39. bohannin

    bohannin Networkin' Nut Member

    @baker99: Thanks, I'll try changing the wireless security and ssid of the access point to see if that makes a difference. I did see the WPA2 compatibility issues, but it seemed that only applied to linking the routers via wireless - WDS, wireless bridge, etc.. The connection between the 2 is wired (although it is powerline ethernet, which I assume isn't the issue, as I can successfully connect via wired connection on the AP)
     
  40. BeHappy

    BeHappy Network Guru Member

    Try this; similar to Tomato http://www.dd-wrt.com/wiki/index.php/Wireless_Access_Point
     
  41. baker99

    baker99 Addicted to LI Member

    @Bohannin it's worth a try, mine is currently set to wpa/wpa 2 it wouldn't work any other way but that may just be the camera.
     
  42. elitenoobboy

    elitenoobboy Networkin' Nut Member

    Okay, I was being stupid and left out a ".1" in the ip address. :oops:
    Sorry for wasting your time...
    Anyway, should tomato really let the user enter in a malformed ip address that only has 3 entries like that? Would it be possible to add a check for valid ip addresses like it already does with the MAC address?
     
  43. mikester

    mikester Network Guru Member

    I've read some contradictory posts which is why I am asking it here now.

    I just picked up a new Cisco E3000 with the stock firmware.

    Do I still need to flash DD-WRT "dd-wrt.v24-14929_NEWD-2_K2.6_std_usb_ftp-e3000.bin" onto my new stock E3000 BEFORE flashing the TomatoUSB build?

    TIA
     
  44. shibby20

    shibby20 Network Guru Member

    i think, yes.
     
  45. Guzel

    Guzel Network Guru Member

    NO,
    Flash whit TomatoUsb 54
     
  46. valerima

    valerima LI Guru Member

  47. Thux

    Thux Addicted to LI Member

    Hey guys, one little question about IPv6:

    I have a Netgear WNR3500L which I flashed with

    tomato-K26USB-1.28.9054MIPSR2-beta-vpn3.6

    So far so good, no problems, but where's the IPv6 menu? According to this table for the VPN flavor and Kernel 2.6 the IPv6 feature should have been there...

    Thanks

    L.E.: Just found this post and now I can see that my interfaces are ipv6 enabled but still there's no menu in the admin web page. I would have to configure ip6tables manually now and I need to be able to create a 6in4 tunnel.

    Any ideas?
     
  48. achoi

    achoi Networkin' Nut Member

    Dear all,

    I need some help with https. I have just flashed in beta54 on my Asus RT-N16. I have followed the steps suggested in this link on getting the certificate (http://tomatousb.org/tut:use-ssl-certificate-for-wan-admin). I have done the regeneration and save in NVram.

    I have also done the following in terminal session.

    Tomato v1.28.9054 MIPSR2-beta K26 USB vpn3.6
    root@unknown:/tmp/home/root# tar -C / -czf /tmp/cert.tgz etc/cert.pem etc/key.pe
    m
    root@unknown:/tmp/home/root# nvram setfb64 https_crt_file /tmp/cert.tgz
    root@unknown:/tmp/home/root# nvram commit
    Commit... done.
    root@unknown:/tmp/home/root# service httpd restart
    .
    Done.
    root@unknown:/tmp/home/root#

    But https connect to router still does not work. Have I done anything wrong. Do I need to change any settings, or input anything into my web browser? Please help.

    thanks

    Alex
     
  49. mikester

    mikester Network Guru Member

    BTW Victek's RAF version flashed no problems. Good work Victek!
     
  50. shibby20

    shibby20 Network Guru Member

    @teddy_bear - any progress with resupport RT-N10 in newest build?
     
  51. noahod

    noahod Networkin' Nut Member

    ASUS RT-N16 Samba Speed issue

    Hi, I have an ASUS RT-N16, Build 54 - 11/30/2010 of TomatoUSB,

    When transferring files over the network, I can get around 6MB/s. (instead of around 20MB/s I get directly attached via USB)

    Curiously, if I run top on the router smbD is using 100% cpu, instead of usb-storage.

    I have my external drive formatted with ext3.

    Is there some reason for this bottleneck that can be addressed?

    Thanks
     
  52. rhester72

    rhester72 Network Guru Member

    If you are getting 20MB/s direct-attach, I'm dying to know how - most of us are barely managing 6-8MB/s with ext2/3. Samba, of course, does create additional overhead.

    Rodney
     
  53. noahod

    noahod Networkin' Nut Member

    Sorry, should have clarified, 20MB/s directly attached to my linux laptop, not the router. So 6MB/s is normal for the asus RT-N16? I think I'll build my own linux server then out of an old laptop..
     
  54. rhester72

    rhester72 Network Guru Member

    6-8MB/s is normal, yes.

    Rodney
     
  55. mrg666

    mrg666 Networkin' Nut Member

    Is it possible to flash tomato-K26-1.28.9054MIPSR2-beta-Std.rar on E1000-V1 from DD-WRT? I am using the same TomatoUSB build 54 on ASUS RT-N12 with similar chipset. But I could not find the answer for E1000-V1 searching this thread. I know that E1000-V1 has the same hardware with WRT160N-V3 and the latter is supported by TomatoUSB; I am just trying to make sure.
     
  56. shibby20

    shibby20 Network Guru Member

    i try to flash tomato to my friend`s router dlink dir-320. When i try flash build54 k24, router brick.
    Then i use tomatousb build52 k24 and on this version router works.

    The same situation i have with asus rtn10. Is it possible, guilty of not support dir-320 in build54 is newer broadcom driver?
     
  57. teddy_bear

    teddy_bear Network Guru Member

    No, the K24 driver has not been updated. If it's not working, there must be another reason - the console dump of the boot might help.
     
  58. shibby20

    shibby20 Network Guru Member

    ok, if my friend agrees to open his router i will try to figure out bootlog.

    BTW Teddy is any chance to restore support rt-n10 in build54 or newer?
     
  59. teddy_bear

    teddy_bear Network Guru Member

    I'm going to release at least the next K26 build with the same driver as in b54 (with no rt-n10 support). Then we'll see depending on the feedback - if there are no noticeable advantages of this driver compare to the previous one, I'll roll it back...
     
  60. mrg666

    mrg666 Networkin' Nut Member

    To answer my question, I tested TomatoUSB on E1000-V1 and it works. Actually it works great. The wireless performance (mixed - 40MHz channel width) is so good that saturation of the 100 Mbps Ethernet port limits my iperf testing. I am getting >90 Mbps upload/download speed using iperf between a wireless-N client upstairs and a server connected to the router via Ethernet downstairs. Thank you, Teddy Bear, thank you!
     
  61. shibby20

    shibby20 Network Guru Member

    i hope your decision will be revert broadcom driver ;) Thank you TB
     
  62. mrg666

    mrg666 Networkin' Nut Member

    Does current driver support the new BCM5357 chipset in E1000-V2? I would prefer TomatoUSB use the newest drivers that support the latest chipsets.
     
  63. tomato-rocks

    tomato-rocks Addicted to LI Member

    Thanks for testing it on e1000. I'm so happy to find out it is supported. I just got re-certified v1 from TD and not so happy with dd-wrt. I've been using Teddy's tomato firmware on 520gu for about two years and liking it so much. Sweet. Thanks, Teddy.
     
  64. onehomelist

    onehomelist Addicted to LI Member

    I have setup a vlan with these nvram values:

    Code:
    nvram set vlan1ports="3 2 1 8*"
    nvram set vlan3hwname=et0
    nvram set vlan3ports="4 8*"
    nvram set manual_boot_nv=1
    nvram commit
    
    inti script:
    Code:
    sleep 10; ifconfig vlan3 10.0.0.1 netmask 255.255.255.0 up;
    
    Firewall script:
    Code:
    iptables -I INPUT -i vlan3 -j ACCEPT;
    iptables -I FORWARD -i vlan3 -o vlan2 -m state --state NEW -j ACCEPT;
    iptables -I FORWARD -s 192.168.0.50 -o vlan3 -j ACCEPT;
    iptables -I FORWARD -i vlan3 -d 192.168.0.50 -j ACCEPT;
    
    But I cannot access (or ping) 192.168.0.50 which exists on br0 (tomato default) from vlan3. Is there anything wrong with my settings?

    I have discussed the issue here and here
     
  65. onehomelist

    onehomelist Addicted to LI Member

    It worked with this command:

    Code:
    iptables -I FORWARD -i vlan4 -d 192.168.0.50 -j ACCEPT
     
  66. galex111

    galex111 Addicted to LI Member

    Hi Teddy,

    Sorry for so long message and bothering you here ...
    I already wrote few comments on the forum to you - it's me who suggested to include any DNLA server into the build - that time (and now also) I use uShare dnla-server. I already use your mod since build 19 - all is OK and it's the best FW for my ASUS WL-500W to my mind. No any problem, and beautiful GUI … unlike of Asus' original or Oleg's GUI … so I prefer your USB mod !
    Yesterday I download and install latest build 54 - I tested both 2.4 an 2.6 variants - all works fine. But I have just single "problem" - I can't setup correct IPTV multicast. Could you pleasure to give me advice how to make it correctly - as I understood you created both WAN and MAN interfaces but they work something incorrect for me - may be "problem" is very simple for you but I can't resolve it 2 days already.
    In brief:
    When I connect to my ISP via DHCP connection type then IPTV works fine and I can watch TV show via VLC-player. Routing table looks like this:
    Destination Gateway Genmask Flags Metric Ref Use Iface
    212.1.224.34 10.16.128.1 255.255.255.255 UGH 1 0 0 eth1
    77.246.96.90 10.16.128.1 255.255.255.255 UGH 0 0 0 eth1
    10.16.128.1 * 255.255.255.255 UH 0 0 0 eth1
    77.246.96.96 10.16.128.1 255.255.255.224 UG 0 0 0 eth1
    192.168.1.0 * 255.255.255.0 U 0 0 0 br0
    233.49.170.0 10.16.154.120 255.255.255.0 UG 0 0 0 eth1
    10.16.128.0 * 255.255.192.0 U 0 0 0 eth1
    10.0.0.0 10.16.128.1 255.0.0.0 UG 0 0 0 eth1
    127.0.0.0 * 255.0.0.0 U 0 0 0 lo
    default 10.16.128.1 0.0.0.0 UG 0 0 0 eth1

    BUT in this case I have no Internet because my ISP request PPPoP connection ! But when I connect via PPPoP connection then I have Internet but have no streaming for VLC-player at all:
    Destination Gateway Genmask Flags Metric Ref Use Iface
    212.1.254.113 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
    192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 br0
    127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
    0.0.0.0 212.1.254.113 0.0.0.0 UG 0 0 0 ppp0

    I read a lot of messages on the forums and even install latest Oleg's FW - there is no problem with his FW at all ! All works via PPPoP connection (I-net+IPTV) I made a copy of routing table of that experiment:
    Destination Gateway Genmask Flags Metric Ref Use Iface
    212.1.224.34 10.16.128.1 255.255.255.255 UGH 1 0 0 eth1
    77.246.96.90 10.16.128.1 255.255.255.255 UGH 0 0 0 eth1
    212.1.254.113 * 255.255.255.255 UH 0 0 0 ppp0
    212.1.230.111 10.16.128.1 255.255.255.224 UGH 1 0 0 eth1
    77.246.96.96 10.16.128.1 255.255.255.224 UG 0 0 0 eth1
    192.168.1.0 * 255.255.255.0 U 0 0 0 br0
    233.49.170.0 10.16.154.120 255.255.255.0 UG 0 0 0 eth1
    10.16.128.0 * 255.255.192.0 U 0 0 0 eth1
    10.0.0.0 10.16.128.1 255.0.0.0 UG 0 0 0 eth1
    127.0.0.0 * 255.0.0.0 U 0 0 0 lo
    default msk-b2-s49.ti.r 0.0.0.0 UG 0 0 0 ppp0
    default 10.16.128.1 0.0.0.0 UG 1 0 0 eth1

    Later I found information that probably my ISP have no correct DHCP-support for MAN-interface and I don't receive address for MAN. So I reload your mod again and add static routes by myself so now routing table looks same as for Oleg's FW. But no luck … same problem is still here - no IPTV stream. As I can see in your system (unlike Oleg's) I can't assign eth1-interface to the network of my ISP. All the time igmp.conf file includes just ppp0 interface assigned as upstream and I can't change it to eth1:
    root@unknown:/tmp/home/root# cat /etc/igmp.conf
    quickleave
    phyint ppp0 upstream
    altnet 0.0.0.0/0
    phyint br0 downstream ratelimit 0

    I read somewhere that WL-500W has a little bit different internal port allocation so may be the problem is here ? But from the other side Oleg's FW has no such issue on the same router ? May be there is any "special" idea in your FW ? Could you pleasure to give me any advice how to fix it ?
    Kindest regards,
    Alex
     
  67. teddy_bear

    teddy_bear Network Guru Member

    Please confirm - are you using PPPoE + DHCP connection?

    I didn't know that's possible - I thought russian ISPs use "dual" PPTP/L2TP + DHCP connections, but not PPPoE. That's why it doesn't pull the routes properly, and doesn't configure the MAN interface - the PPPoE + DHCP combination is simply not supported in the firmware as of now. Adding routes won't be enough to fix it - the interface must be configured with the DHCP IP address as well...
     
  68. galex111

    galex111 Addicted to LI Member

    Yes, probably - I'm not 100% sure but when I used Oleg's FW it was so - "dual" connect to internal ISP' LAN as well as to external ISP's WAN (Internet). I only need to check "DHCP Routes" in web interface. Then I've got correct routing table including eth1 (MAN) and ppp0 (WAN) interfaces - all was OK.
    Sorry, may be I don't understand it clear: of course I can't use PPPoP and DHCP connections in the same time within your mod - just one type in one time is possible and I have to use PPPoP of course. But with the same time when I used Oleg's FW loaded and used PPPoP connection then I saw in routing table (automatic table made by DHCP, w/out adding my static routes) there were two type of connections: to "internal" LAN of my ISP (IP/gate: 10.16.154.120/10.16.128.1 - assigned to eth1) as well as to "external" WAN (IP/gate: 46.73.3.197/212.1.254.113 assigned as ppp0) - to my mind that exactly means we use PPPoP+DHCP connection, isn't it ?. And with such configuration all works - I-net and IPTV, no any problem and routing table looks like I described above.
    Probably it's because Oleg's FW has special code inside which your mod hasn't. I saw few loaded processes in his FW which missed in your mode (although may be my guess is wrong, I didn't understand meaning of those processes correctly):
    [root]$ ps
    ....
    97 admin 440 S /udhcp -i eth1 -p /var/run/udhcpc0.pid -s /tmp/udhcp -b -H unknown
    98 admin 796 S pppd file /tmp/ppp/options.wan0

    ... to my mind above mentioned it's that allows to arrange the following assignements (in the same processes list):
    92 admin 384 S /usr/sbin/udpxy -a br0 -m eth1 -p 4022
    93 admin 332 S /usr/sbin/igmpproxy -c /etc/igmpproxy.conf

    ... where is igmpproxy.conf ...

    [root]$ cat /etc/igmpproxy.conf
    #automatically generated from web settings
    quickleave
    phyint eth1 upstream
    altnet 0.0.0.0/0
    phyint br0 downstream

    Unfortunately it's impossible to arrange the same in your mod - all the time I have only following igmp.conf (I even tried to make changes by hands - but igmp.conf file has autosave to default after any changes in web interface made, and moreover your mod can't allow to assign eth1 because it's "not allowed upstream interface" system replies):
    root@asus:# cat /etc/igmp.conf
    quickleave
    phyint ppp0 upstream
    altnet 0.0.0.0/0
    phyint br0 downstream ratelimit 0

    I can guess (I'm not so familiar with Linux systems) may be the following string makes some changes in your mod:
    515 root 1216 S pppoecd eth1 -u XXXXXXX -p XXXXXXX -r 1492 -t 1492 -i 0 -I 30 -N 5 -T 5 -P 0 -C ppp
    ... so that eth1 interface became already assigned for another purposes ... double WAN or double PPP ... but it's just my guess.

    As you wrote in your reply "...the PPPoE + DHCP combination is simply not supported in the firmware as of now" - may be that is the main reason and we can't use PPPoP+DHCP in the same time (like in Oleg's FW). If so then I would only like to offer you to consider possibility to make such changes into your mod - after such modification your mod will be the best, really ! As I already wrote Asus' and Oleg's FW GUI are ... not so good and very slow ... as well as few interesting features are missing there. So ... could you pleasure to consider to make such changes into further builds ? :)
    P.S. If you have no planes to make changes now (I guess that isn't 1st-turn task for you) then may be you can give advice is it possible to make such arrangement by аny additional commands or it's necessary to make changes into the main code ?

    UPD #1: just found on the Oleg's forum.
    If you need DHCP + PPTP/L2TP/PPPoE
    If you note that your IPS gives you the same IP all the time but in any case he requests to use DHCP then you can setup that IP as your "static" address and run in telnet/ssh the following commands:

    mkdir -p /usr/local/sbin
    echo "#!/bin/sh" >> /usr/local/sbin/post-boot
    echo "udhcpc -i $(nvram get wan_ifname) -r $(nvram get wan_ipaddr) -s /bin/true -b" >> /usr/local/sbin/post-boot
    chmod +x /usr/local/sbin/post-boot
    flashfs save && flashfs commit && flashfs enable
    reboot

    After that your router will restart and begins to sent DHCP request to your ISP ... although any other kind problems are possible ...
    Starting from FW 1.9.2.7-7d you don't need to setup anything by hands - all commands have been included into FW ! Just setup IP address as 0.0.0.0 and continue to use it.
    ------------------------------------
    What do you think about it Teddy ? Is it not a trick which we need ? I tested exactly that Oleg's FW 1.9.2.7-10 and all was OK with his FW - PPPoP+DHCP works !

    UPD #2:
    Just tried to execute Oleg's commands above and then changed igmp.conf file by hands - replaced ppp0 to eth1 and restarted igmpproxy:

    root@asus:/tmp/home/root# echo "udhcpc -i $(nvram get wan_ifname) -r $(nvram get wan_ipaddr) -s /bin/true -b"
    udhcpc -i eth1 -r 46.73.34.107 -s /bin/true -b

    root@asus:/tmp/home/root# udhcpc -i $(nvram get wan_ifname) -r $(nvram get wan_ipaddr) -s /bin/true -b
    udhcpc (v1.17.4) started
    Sending discover...
    Sending select for 10.16.154.120...
    Lease of 10.16.154.120 obtained, lease time 432000

    root@asus:/tmp/home/root# route
    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use Iface
    212.1.224.34 10.16.128.1 255.255.255.255 UGH 1 0 0 eth1
    77.246.96.90 10.16.128.1 255.255.255.255 UGH 0 0 0 eth1
    212.1.254.113 * 255.255.255.255 UH 0 0 0 ppp0
    212.1.230.111 10.16.128.1 255.255.255.255 UGH 1 0 0 eth1
    77.246.96.96 10.16.128.1 255.255.255.224 UG 0 0 0 eth1
    192.168.1.0 * 255.255.255.0 U 0 0 0 br0
    233.49.170.0 10.16.154.120 255.255.255.0 UG 0 0 0 eth1
    10.16.128.0 * 255.255.192.0 U 0 0 0 eth1
    10.0.0.0 10.16.128.1 255.0.0.0 UG 0 0 0 eth1
    127.0.0.0 * 255.0.0.0 U 0 0 0 lo
    default msk-b2-s49.ti.r 0.0.0.0 UG 0 0 0 ppp0
    default 10.16.128.1 0.0.0.0 UG 1 0 0 eth1

    root@asus:/tmp/home/root# cat /etc/igmp.conf
    quickleave
    phyint eth1 upstream
    altnet 0.0.0.0/0
    phyint br0 downstream ratelimit 0

    root@asus:/tmp/home/root# igmpproxy /etc/igmp.conf -d
    MC-Router API already in use; Errno(125): Address already in use

    ... no luck for me again :confused:
    Still hope for your advice how to resolve the problem ... may be temporarily ... until you'd made a patch for you mod.
     
  69. elitenoobboy

    elitenoobboy Networkin' Nut Member

    When configuring web monitoring, it works when I tell it to monitor all computers/devices, however, when selecting a range, such as "192.168.1.100-192.168.1.150", it never logs anything from those addresses. Am I doing something wrong or is it not reading the ip addresses correctly?
     
  70. vinuneuro

    vinuneuro Networkin' Nut Member

    I'm currently using an RT-N12 and looking to switch to something with usb support. Can someone please tell me if the low usb speeds in the RT-N16 are controller or firmware based? If it's controller limited I'll look into other routers.

    Thanks.
     
  71. rhester72

    rhester72 Network Guru Member

    It's software (read: firmware), combined with interrupt processing overhead. If you need very high throughput, you need something Intel-based/rack mount.

    Rodney
     
  72. vinuneuro

    vinuneuro Networkin' Nut Member

    Not that it should make any difference, but I typo'd the previous post. Currently using RT-N12, considering switching to RT-N16.

    I don't need anything crazy, need to stream from it for an htpc. The 6-8mb/s you wrote earlier in the thread; is that over a wired or wireless connection? If I read and write at the same time is there any speed penalty?

    Thanks.
     
  73. galex111

    galex111 Addicted to LI Member

    So dear Teddy ...
    is it possible to include PPPoE + DHCP "dual" connection with one of further builds or that isn't in your roadmap :confused:? I tested Oleg's FW again - all is OK except ... absolutely unattractive and very slow GUI as well as couple missing features. :mad: I'm almost sure you will make it but ... I wonder how long we will wait (so personally for me it means ... temporary using of Oleg's FW until your new release ... but how long ... approx ? Frankly speaking I don't like Oleg's FW :eek:)
     
  74. rhester72

    rhester72 Network Guru Member

    The 6-8mb/s is actual throughput to/from the disk. Wired can certainly keep up with that rate - wireless N should as well.

    There is some penalty from simultaneous reads and writes (depending on workload), but that has more to do with how storage devices work in general than anything about Tomato.

    Rodney
     
  75. teddy_bear

    teddy_bear Network Guru Member

    Yes, I'm planning to do this.
     
  76. galex111

    galex111 Addicted to LI Member

    It's great :)
    Teddy, if it not disturbs you too much then I just would like to place additional offer for further IPTV compatibility & usability:
    1) to add "Multicast to HTTP Proxy", say udpxy (with port assignment like in Oleg's FW: Ip Config->Miscellaneous) ... somewhere on Routing page of Tomato_mod where we can turn on multicast - Advanced->Routing ... or somewhere else where you think it should be.
    2) to include possibility to add playlists into Video directory of minidlna server - so that we could add http->udp links (something like "http://192.168.1.1:port/udp/xxx.xxx.xxx.xxx:port") for IPTV streaming via say PS3 or other media players.
    *** But we need to check if mindlna supports ContentDirectory service or not - as I understood not all dlna servers support it (say Twonky/ushare doesn't support it). For test I used additional simple dlna server pshare: License: GPL; Copyright (C) 2010 Anton Burdinuk ; 2010, E-Mail: clark15b@gmail.com

    I personally tested such variant on WL-500W + Oleg's FW with my PS3 - all works fine even with HDTV and to my mind it will be also interesting for the others. Thanks in advance for your so great work.
     
  77. vinuneuro

    vinuneuro Networkin' Nut Member

    What is your setup to get 6-8mb/s? Eg. what drive/enclosure, ntfs/ext2/ext3/ext4, etc? Looks like some people never seem to manage to break 5mb/s.

    Also, is a single usb port on the router capable of powering a hdd?

    Thanks again.
     
  78. rhester72

    rhester72 Network Guru Member

    Straight from the GUI:

    WD My Book 1110
    Partition 'sda1' swap (250.98 MB) is active
    Partition 'opt' ext3 (45.84 GB / 42.02 GB free) is mounted on /opt
    Partition 'share' ext3 (1,787.05 GB / 1,226.18 GB free) is mounted on /tmp/mnt/share

    The USB ports are self-powered, but anything more than a basic 2.5-inch drive will certainly require external power.

    Rodney
     
  79. vinuneuro

    vinuneuro Networkin' Nut Member

    Found the cnet review of the router which says a single usb port can't power a WD Passport. Also found that some are able to make it work with a 2-1 usb cable, downside is the loss of a port. Any reason to believe throughput would suffer with a purely usb-powered 2.5" vs. a AC powered 3.5" hdd?

    Also mounting router hosted ext3 partitions should work find with something like Ex2ifs/ex2fsd right?
     
  80. rhester72

    rhester72 Network Guru Member

    Absolutely - that's precisely why I migrated to the WD from the Xigmatek Lighter (I was using both ports, but found it unnecessary). There's no way a 2.5" bus-powered 5400 RPM drive is going to keep pace with a 7200 RPM 3.5" drive with a 32MB cache.

    My understanding is that the Windows-based extX solutions are unstable at best. The partitions used on the router are just plain old ext2/3, so they'll work as well (or as poorly) as any others.

    Rodney
     
  81. vinuneuro

    vinuneuro Networkin' Nut Member

    Why is there a throughput difference (between ac and usb power) when absolute max attainable speed is a fraction of what the drives and interface are capable of, and what seems to be a software limitation?

    I absolutely need to be able to mount the drive in Windows (7). What would you suggest? Searching shows NTFS is a lot slower for whatever reason.
     
  82. rhester72

    rhester72 Network Guru Member

    Latency (seek time) is more visible to the end-user than throughput, and varies widely between 2.5" and 3.5" drives. This does indirectly translate to a difference in possible aggregate throughput. No need to believe me - the limitation is the USB bus itself, and there are _countless_ benchmarks available that don't require use of a router. ;)

    If you need to mount it in Windows, NTFS it is, but please be aware that the open-source implementation of ntfs3g is _horribly_ inefficient (the commercially-licensed version is much, MUCH better).

    Six of one, half dozen of another - with that requirement, you're going to hit a nasty throughput wall, but there's no way around that.

    Rodney
     
  83. vinuneuro

    vinuneuro Networkin' Nut Member

    Since I'm streaming throughput is really what I'm after. What did you get with the usb powered 2.5" drive?

    I guess I'll have to look into the Windows ext3 options and make a decision.

    How well do low-cost NAS solutions like WD My Book work?
     
  84. vinuneuro

    vinuneuro Networkin' Nut Member

    OT question: how do you access your files on the hard drive connected to the router if it's formatted ext3, are you running linux on your computer?
     
  85. Isildur

    Isildur Addicted to LI Member

    Via samba or ftp share? Client doesn't bother about server's file-system type, it accesses files through standardized protocol (smb or ftp, etc.).
     
  86. vinuneuro

    vinuneuro Networkin' Nut Member

    I decided to just get a separate NAS to guarantee the speeds I need. Thanks Rodney and Isildur for the feedback.

    Different topic, is the transmit power in Advanced Wireless settings per antenna or total? FCC test reports for the RT-N12 and RT-N16 show measured power of 100-110mW per antenna.
     
  87. vdimitrov

    vdimitrov Networkin' Nut Member

    Wireless Admin access does not work if https is used

    Hello,

    I flashed the last beta of Tomato ND USB firmware on my new Asus RT-N16 router (used: tomato-K26USB-1.28.9054MIPSR2-beta-vpn3.6.rar).

    After following the installation instructions and then enabling https admin access for wireless - Allow Wireless Access - checked and Local Access: HTTPS, HTTPS Port: 443 my wireless clients are unable to access the router admin page (Internet Explorer cannot display the webpage). The wired clients are able to access the router via https without issues. The router is set on 192.168.0.1 and no DHCP is used. All workstations have fixed IP addresses.

    Switching to Local Access: HTTP and HTTP port: 80 and everything works for both wireless and wired clients. Tried switching Allow Wireless Access and it properly enables and disables the wireless clients in this case. However the same option does not seem to do anything when Local Access:HTTPS is selected.

    Any idea what could be the issue? It seems like a bug in this version of the Tomato firmware. I have been using Tomato firmware for years and this configuration used to work fine on my WRT54GL router with Tomato 1.28.

    Regards,
    Vlad
     
  88. though

    though Network Guru Member

    hi teddy and all-

    does this (or any tomato firmware) have the option to use the router in repeater mode? i need to bounce the wireless signal just a little farther to a printer that is out of range and would like to do this with 1 unit instead of 2. i know DD-WRT has this capability...

    thanks
     
  89. groosh

    groosh Addicted to LI Member

    build issue in openssl

    having a build issue from the git, latest TB update from 0227 or toastman's 0301, both failing in the same location:

    Code:
    mipsel-uclibc-gcc -DMONOLITH -I.. -I../include  -fPIC -DOPENSSL_PIC -DDSO_DLFCN -DHAVE_DLFCN_H -ffunction-sections -fdata-sections -DOPENSSL_NO_ERR -DL_ENDIAN -DTERMIO -Os -DLINUX26 -DCONFIG_BCMWL5 -pipe -DBCMWPA2 -funit-at-a-time -Wno-pointer-sign -mtune=mips32 -mips32 -DOPENSSL_SMALL_FOOTPRINT -fomit-frame-pointer -Wall   -c -o openssl.o openssl.c
    rm -f openssl
    shlib_target=; if [ -n "libcrypto.so.1.0.0 libssl.so.1.0.0" ]; then \
    		shlib_target="linux-shared"; \
    	fi; \
    #	LIBRARIES="-L.. -lssl  -L.. -lcrypto" ; \
    	LIBRARIES="-L.. -lcrypto" ; \
    	make -f ../Makefile.shared -e \
    		APPNAME=openssl OBJECTS="openssl.o req.o rsa.o x509.o apps.o app_rand.o enc.o" \
    		LIBDEPS=" $LIBRARIES -Wl,--gc-sections -ldl" \
    		link_app.${shlib_target}
    make[6]: Entering directory `/home/user/code/tomato.git/release/src/router/openssl/apps'
    openssl.o:(.data.rel.functions+0x8): undefined reference to `verify_main'
    openssl.o:(.data.rel.functions+0x14): undefined reference to `asn1parse_main'
    openssl.o:(.data.rel.functions+0x2c): undefined reference to `dgst_main'
    openssl.o:(.data.rel.functions+0x44): undefined reference to `passwd_main'
    openssl.o:(.data.rel.functions+0x50): undefined reference to `errstr_main'
    openssl.o:(.data.rel.functions+0x5c): undefined reference to `ca_main'
    openssl.o:(.data.rel.functions+0x68): undefined reference to `crl_main'
    openssl.o:(.data.rel.functions+0x80): undefined reference to `rsautl_main'
    openssl.o:(.data.rel.functions+0x8c): undefined reference to `dsa_main'
    openssl.o:(.data.rel.functions+0x98): undefined reference to `dsaparam_main'
    openssl.o:(.data.rel.functions+0xb0): undefined reference to `genrsa_main'
    openssl.o:(.data.rel.functions+0xbc): undefined reference to `gendsa_main'
    openssl.o:(.data.rel.functions+0xc8): undefined reference to `genpkey_main'
    openssl.o:(.data.rel.functions+0xd4): undefined reference to `s_server_main'
    openssl.o:(.data.rel.functions+0xe0): undefined reference to `s_client_main'
    openssl.o:(.data.rel.functions+0xec): undefined reference to `speed_main'
    openssl.o:(.data.rel.functions+0xf8): undefined reference to `s_time_main'
    openssl.o:(.data.rel.functions+0x104): undefined reference to `version_main'
    openssl.o:(.data.rel.functions+0x110): undefined reference to `pkcs7_main'
    openssl.o:(.data.rel.functions+0x11c): undefined reference to `crl2pkcs7_main'
    openssl.o:(.data.rel.functions+0x128): undefined reference to `sess_id_main'
    openssl.o:(.data.rel.functions+0x134): undefined reference to `ciphers_main'
    openssl.o:(.data.rel.functions+0x140): undefined reference to `nseq_main'
    openssl.o:(.data.rel.functions+0x14c): undefined reference to `pkcs8_main'
    openssl.o:(.data.rel.functions+0x158): undefined reference to `pkey_main'
    openssl.o:(.data.rel.functions+0x164): undefined reference to `pkeyparam_main'
    openssl.o:(.data.rel.functions+0x170): undefined reference to `pkeyutl_main'
    openssl.o:(.data.rel.functions+0x17c): undefined reference to `spkac_main'
    openssl.o:(.data.rel.functions+0x188): undefined reference to `smime_main'
    openssl.o:(.data.rel.functions+0x194): undefined reference to `rand_main'
    openssl.o:(.data.rel.functions+0x1a0): undefined reference to `ocsp_main'
    openssl.o:(.data.rel.functions+0x1ac): undefined reference to `prime_main'
    openssl.o:(.data.rel.functions+0x1b8): undefined reference to `ts_main'
    openssl.o:(.data.rel.functions+0x1c4): undefined reference to `dgst_main'
    openssl.o:(.data.rel.functions+0x1d0): undefined reference to `dgst_main'
    openssl.o:(.data.rel.functions+0x1dc): undefined reference to `dgst_main'
    openssl.o:(.data.rel.functions+0x1e8): undefined reference to `dgst_main'
    collect2: ld returned 1 exit status
    make[6]: *** [link_app.gnu] Error 1
    make[6]: Leaving directory `/home/user/code/tomato.git/release/src/router/openssl/apps'
    make[5]: *** [openssl] Error 2
    make[4]: *** [build_apps] Error 1
    make[3]: *** [openssl] Error 2
    make[2]: *** [all] Error 2
    make[1]: *** [bin] Error 2
    make: *** [s] Error 2
    
    my guess is that I am missing some package that was added recently, any help would be much appreciated.

    running ubuntu 10.10, updated from 10.04; first time in a while I have had a problem doing a build.

    any help would be great, thanks
    G
     
  90. shibby20

    shibby20 Network Guru Member

  91. groosh

    groosh Addicted to LI Member

    stupid ubuntu patches

    well it seems that I can not build anything at the moment, updated my ubuntu build with the latest patches and now I am corked.

    if anyone can help that would be great, but I do not even have a clue what patch messed things up.
     
  92. groosh

    groosh Addicted to LI Member

    nm, problem corrected
     
  93. Edrikk

    Edrikk Network Guru Member


    How? having same issue.
     
  94. groosh

    groosh Addicted to LI Member

    there is a document on teddybear's website under the tutorials sections, its title is something about "how to build tomato..." within there I found a list of the different packages that are needed to make builds, I was missing automake-1.7 and automake-1.9.

    Adding these seems to have corrected thing on ubuntu 10.10, I also build a 10.04 and 8.04 VM... they are the vanilla O/S with updates and the packages listed in the tutorial and are able to do builds fine as well.


    So in short I am not exactly sure what update broke 10.10 nor why I having been able to build fine till now without some required packages, but everything is working now so I am happy.

    Sorry I can not be of more help.
     
  95. shibby20

    shibby20 Network Guru Member

    @TB i saw you revert commit about "auto-detect the nvram size"

    if i want to compile present source for router E3000 i should use
    make e3000 or maybe make r2m?
     
  96. though

    though Network Guru Member

    did toastman take over the project?
     
  97. Toastman

    Toastman Super Moderator Staff Member Member

    The intention is there but the support is not ....
     
  98. groosh

    groosh Addicted to LI Member


    FYI...

    Well ubuntu did another update and now my 10.10 image is no building again... my other images 10.04-2 and 8.04-4 are building fine so it is some "new" package

    No going to waste any time this time trying to fix it, moving my builds to 10.04-2

    again just an FYI

    Code:
    mipsel-uclibc-gcc -DMONOLITH -I.. -I../include  -fPIC -DOPENSSL_PIC -DDSO_DLFCN -DHAVE_DLFCN_H -ffunction-sections -fdata-sections -DOPENSSL_NO_ERR -DL_ENDIAN -DTERMIO -Os -DLINUX26 -DCONFIG_BCMWL5 -pipe -DBCMWPA2 -funit-at-a-time -Wno-pointer-sign -mtune=mips32 -mips32  -DOPENSSL_SMALL_FOOTPRINT -fomit-frame-pointer -Wall   -c -o openssl.o openssl.c
    rm -f openssl
    shlib_target=; if [ -n "libcrypto.so.1.0.0 libssl.so.1.0.0" ]; then \
    		shlib_target="linux-shared"; \
    	fi; \
    #	LIBRARIES="-L.. -lssl  -L.. -lcrypto" ; \
    	LIBRARIES="-L.. -lcrypto" ; \
    	make -f ../Makefile.shared -e \
    		APPNAME=openssl OBJECTS="openssl.o req.o rsa.o x509.o apps.o app_rand.o enc.o" \
    		LIBDEPS=" $LIBRARIES -Wl,--gc-sections -ldl" \
    		link_app.${shlib_target}
    make[6]: Entering directory `/home/user/code/tomato/release/src/router/openssl/apps'
    openssl.o:(.data.rel.functions+0x8): undefined reference to `verify_main'
    openssl.o:(.data.rel.functions+0x14): undefined reference to `asn1parse_main'
    openssl.o:(.data.rel.functions+0x2c): undefined reference to `dgst_main'
    openssl.o:(.data.rel.functions+0x44): undefined reference to `passwd_main'
    openssl.o:(.data.rel.functions+0x50): undefined reference to `errstr_main'
    openssl.o:(.data.rel.functions+0x5c): undefined reference to `ca_main'
    openssl.o:(.data.rel.functions+0x68): undefined reference to `crl_main'
    openssl.o:(.data.rel.functions+0x80): undefined reference to `rsautl_main'
    openssl.o:(.data.rel.functions+0x8c): undefined reference to `dsa_main'
    openssl.o:(.data.rel.functions+0x98): undefined reference to `dsaparam_main'
    openssl.o:(.data.rel.functions+0xb0): undefined reference to `genrsa_main'
    openssl.o:(.data.rel.functions+0xbc): undefined reference to `gendsa_main'
    openssl.o:(.data.rel.functions+0xc8): undefined reference to `genpkey_main'
    openssl.o:(.data.rel.functions+0xd4): undefined reference to `s_server_main'
    openssl.o:(.data.rel.functions+0xe0): undefined reference to `s_client_main'
    openssl.o:(.data.rel.functions+0xec): undefined reference to `speed_main'
    openssl.o:(.data.rel.functions+0xf8): undefined reference to `s_time_main'
    openssl.o:(.data.rel.functions+0x104): undefined reference to `version_main'
    openssl.o:(.data.rel.functions+0x110): undefined reference to `pkcs7_main'
    openssl.o:(.data.rel.functions+0x11c): undefined reference to `crl2pkcs7_main'
    openssl.o:(.data.rel.functions+0x128): undefined reference to `sess_id_main'
    openssl.o:(.data.rel.functions+0x134): undefined reference to `ciphers_main'
    openssl.o:(.data.rel.functions+0x140): undefined reference to `nseq_main'
    openssl.o:(.data.rel.functions+0x14c): undefined reference to `pkcs8_main'
    openssl.o:(.data.rel.functions+0x158): undefined reference to `pkey_main'
    openssl.o:(.data.rel.functions+0x164): undefined reference to `pkeyparam_main'
    openssl.o:(.data.rel.functions+0x170): undefined reference to `pkeyutl_main'
    openssl.o:(.data.rel.functions+0x17c): undefined reference to `spkac_main'
    openssl.o:(.data.rel.functions+0x188): undefined reference to `smime_main'
    openssl.o:(.data.rel.functions+0x194): undefined reference to `rand_main'
    openssl.o:(.data.rel.functions+0x1a0): undefined reference to `ocsp_main'
    openssl.o:(.data.rel.functions+0x1ac): undefined reference to `prime_main'
    openssl.o:(.data.rel.functions+0x1b8): undefined reference to `ts_main'
    openssl.o:(.data.rel.functions+0x1c4): undefined reference to `dgst_main'
    openssl.o:(.data.rel.functions+0x1d0): undefined reference to `dgst_main'
    openssl.o:(.data.rel.functions+0x1dc): undefined reference to `dgst_main'
    openssl.o:(.data.rel.functions+0x1e8): undefined reference to `dgst_main'
    collect2: ld returned 1 exit status
    make[6]: *** [link_app.gnu] Error 1
    make[6]: Leaving directory `/home/user/code/tomato/release/src/router/openssl/apps'
    make[5]: *** [openssl] Error 2
    make[4]: *** [build_apps] Error 1
    make[3]: *** [openssl] Error 2
    make[2]: *** [all] Error 2
    make[1]: *** [bin] Error 2
    make: *** [s] Error 2
    Command exited with non-zero status 2
    2:54.64 real, 111.42 user, 11.79 sys
    make[5]: Leaving directory `/home/user/code/tomato/release/src/router/openssl/apps'
    make[4]: Leaving directory `/home/user/code/tomato/release/src/router/openssl'
    make[3]: Leaving directory `/home/user/code/tomato/release/src/router'
    make[2]: Leaving directory `/home/user/code/tomato/release/src-rt'
    make[1]: Leaving directory `/home/user/code/tomato/release/src-rt'
    
     
  99. Toastman

    Toastman Super Moderator Staff Member Member

    Try Mint ...
     
  100. desiromeo

    desiromeo Networkin' Nut Member

    just got a couple questions before i switch over from dd-wrt:

    1. Does tomato have the option to run only the N and G radios instead of the mixed mode?
    2. Is the samba included in the firmware samba 2 or 3?
    3. Is there an easy way to get Frater's 'Optware the right way' working on tomato...which is the only reason im using dd-wrt at the moment.

    I was looking at benchmarks done on the RT-N16 and tomato had much higher benchmarks then an OC'd RT-N16 running dd-wrt... also is overclocking stable on tomato?
     

Share This Page