Init Script not working

Discussion in 'Tomato Firmware' started by Ati, Dec 4, 2006.

  1. Ati

    Ati Network Guru Member

    I'm using the newest Tomato Version 1.00.0905 on a WRT54GS 1.0 and generally am quite fond of it with one exception.

    I've got the following under Administration -> Scripts -> Init

    ip addr add dev vlan1 brd +

    so that I can get some line stats from my dsl modem. This does not work since the last two firmware revisions. DD-WRT and 0.7 Ver of Tomato didn't have any problem with this.

    Current workaround is to logon to the router via telnet/ssh and enter the appropiate line manually everytime a connection is being initiated.

    Would be very grateful if this can be fixed. It's the only thing that keeps me from using tomato full-time. Have to get back to dd-wrt because of this.

    Thanks for any help!
  2. Ati

    Ati Network Guru Member


    In addition i have another problem. My DSL Connection randomly disconnects afer a few hours. My DSL line is fine. I do not have this problem with dd-wrt.

    My WRT54GS is connected to a thomson speedtouch 536i DSL modem.

    My ISP ist T-Com (Germany). Any insights? Anything that i might provide in order to solve this?

    Thanks in advance!
  3. grcore

    grcore Network Guru Member

    You will need to add this to the POSTROUTING chain also...

    iptables -I POSTROUTING -t nat -o vlan1 -d -j MASQUERADE

  4. tofu

    tofu Network Guru Member

    Also, the startup script is started ahead of most things - including networking stuff. This is probably a different behavior than DD-WRT or HyperWRT. Try the firewall script, or add a "sleep 5" before anything else.
  5. Ati

    Ati Network Guru Member

    I put that in the firewall section, sorry that i didn' mention that.

    Thanks! The sleep command did the trick! :)
  6. canis

    canis Network Guru Member

    @ Ati: Your Thomson is a real Router, but forget the web interface.
    The CLI- Commands are powerfull enough to beat any WRT Firmware.
  7. feynman

    feynman Network Guru Member

    Hi! Try to disable the DHCP server on your Thomson 536i. I had problems using my WRT54G v2.2 with Tomato 1.07 and a Thomson 516v6 (PPPoE random disconnects). After disabling DHCP on the 516v6, which was configured as bridge, everything seems to be ok.
    I guess that enabling the option Advanced Settings - DHCP/DNS - Reduce Packet Size
    in Tomato may also work.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice