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

Setting up ADSL modem access in Tomato on WRT54GSv4 router

Discussion in 'Tomato Firmware' started by apinunt, Nov 8, 2008.

  1. apinunt

    apinunt LI Guru Member

    I just acquired a Linksys AM300 ADSL modem, and got it to work connected directly to my PC with no problem. I also have a Linksys router and a second computer, and thought I could connect the ADSL modem to the router to share the internet with both computers, but cannot get it to work.
    The routers IP is 192.168.1.1 so I had previously set the ADSL modem to 192.168.1.2 in order to eliminate any conflict, but cannot ping the modem through the router.
    Has anyone got a similar setup and can share info on what I may have to change to get this setup to work?
    Thanks
     
  2. mstombs

    mstombs Network Guru Member

    You should have the modem on a different subnet 192.168.2.1 not just a different IP.

    Do you put the AM300 in pppoe full bridge mode? Or are you going to run with "double nat" or "half-bridge"?
     
  3. apinunt

    apinunt LI Guru Member

    Thanks for the response. Someone on IRC said the same thing, and I am going to try and change the modem to 192.168.0.1 which is what the old satellite modem was using.
    Currently the modem is set to RFC2516 PPPoE mode, and I don't really understand what the different modes are. I would like it to work like the satellite connection I had previously, where the modem contains the login and password.
    The modem shows NAT enabled, but I can't find NAT mentioned in the routers setup pages using Tomato firmware. Nor do I understand what NAT does.
     
  4. apinunt

    apinunt LI Guru Member

    I've now have the router set to 192.168.1.1 and the modem set to 192.168.0.1
    I can connect to the internet using just the modem connected to a computer by setting the computers IP to 192.168.0.110, and the gateway and DNS to 192.168.0.1
    I connect the modem to the WAN port of the router, and change the computers IP back to 192.168.1.110 and the gateway and DNS to 192.168 1.1 in the computer, and in the routers Tomato fw setup, Basic, Network, set connection to static and enter an IP of 192.168.0.1 but cannot connect to the Internet.
    At this point I can bring up a browser and type 192.168.1.1 and access the routers Tomato setup page, and if I type 192.168.0.1 it also logs into the routers Tomato setup page and not the modems setup page.
    I've read everything I can find, and only am becoming more confused. Would greatly appreciate any help resolving this
     
  5. baldrickturnip

    baldrickturnip LI Guru Member

    you will probably find it easier to set the modem to full bridge mode and then use your WRT54 to drive it - do all your PPPoE settings in tomato - set your gateway on your computers to the WRT54.

    you can then add a line in the scripts page so you gain access your modem from inside your network if you want to look at its status page etc.
    a quick search should show you the line you need to add
     
  6. pfoomer

    pfoomer LI Guru Member

    Hi
    this may help

    http://www.linksysinfo.org/forums/showthread.php?t=58829
     
  7. apinunt

    apinunt LI Guru Member

    As it is right now, I can access the router set up page at 192.168.1.1, but cannot access the modems setup page at 192.168.0.1
    Both addresses bring up the routers setup page.
    On Tomato's Basic - Network page I have the following changes applied:
    WAN
    Type - Static
    IP Address - 192.168.0.1
    Subnet Mask - 255.255.255.0
    Gateway - 192.168.0.1
    MTU - Manual 1492

    LAN
    Router IP Address - 192.168.1.1
    Subnet Mask - 255.255.255.0
    Static DNS - 0.0.0.0

    Something confusing is when I view the Advanced - Routing page, it shows:
    Current routing table
    Destination Gateway Subnet Mask Metric Interface
    192.168.2.0 * 255.255.255.0 0 br0 (LAN)
    192.168.0.0 * 255.255.255.0 0 vlan1 (WAN)
    127.0.0.0 * 255.0.0.0 0 lo
    default 192.168.0.1 0.0.0.0 0 vlan1 (WAN)
    Should I have 2 entries showing vlan1 (WAN)?
    And why is the subnet mask showing 0.0.0.0 when I set it to 255.255.255.0?

    I wish to keep the login to the ISP in the modem, which is how the router was working when it was connected to a satellite system.

    Edit: Previously, I was able to access the routers setup at 192.168.1.1, and the satellite modems setup screens at 192.168.0.1 and now both addresses bring up Tomato in the router.

    Does anyone see anything wrong above, or know of something I've overlooked in setup?
     
  8. apinunt

    apinunt LI Guru Member

    Correction to previous post.
    Previously I was able to access the satellite modems setup screens by typing:
    192.168.0.1:8080/xGateway?page=
     
  9. brugar

    brugar Network Guru Member

    You need to set the Tomato router's WAN address to 192.168.0.x where x is not 1. The WAN gateway address 192.168.0.1 (the address of your ADSL modem) is correct.

    You may need to change the LAN Static DNS address to 192.168.0.1 to access the internet. This assumes that the ADSL modem provides domain name service.
     
  10. apinunt

    apinunt LI Guru Member

    brugar:
    Thank you very much. This fixed everything and I learned something. I've been working on this problem for several months and am very relieved to have it fixed.
     

Share This Page