wireless networking - How do I connect to the internet from a dd-wrt router plugged into a modem-router combination?

08
2014-07
  • John Baber

    I've got a cable modem (A) which is also a wireless router and a dd-wrt wireless router (B).

    I've connected (B)'s "internet" port to one of (A)'s local ports.

    I can connect to (B) over the air just fine, but when connected, cannot connect to the internet.

    Questions like How to bring Internet to a DD-WRT router from another router? seem to indicate I shouldn't have to do anything at all.

  • Answers
  • Robert C Glass

    You connect the WAN port of router B to a LAN port on router A. You have to set the WAN address to DHCP and take whatever address router A issues to it. Set router B to have a network address range different then router A.


  • Related Question

    wireless networking - How to provide free connection with limited bandwidth (dd-wrt firmware)
  • Shiki

    I've got a pretty badass router (okay, not that good, but not bad: TP_link TR1043ND), with DD-WRT firmware. My connection is about 90/35mbps which is also pretty good.

    I want to provide a free access point with limited bandwidth. The range is really huge so anyone could use it even on the street and I'm fine with that. But I don't want everyone to download their porn from my wifi every day from the street. I don't want to bandwidth limit them.. so let's say they can use 1gb, BUT speed limit them. They can sleep before my house if they want, I dont care... but don't make my connection slow/useless. :)

    So.. how could I do this? Basically a public network+limited bw is what I need.


  • Related Answers
  • KronoS

    DD-WRT has built in options for configuring hotspots. There are three that I know of:

    1.Chillispot

    • Easily make the wireless or lan-connected computers display a 'landing page' on user's browsers.
    • Redirection occurs on the first web page, and until the user clicks through (I Agree/Login).
    • Optionally earn revenue from your hotspot.
    • Provide a WiFi usage agreement, advertising or other neighbourhood or commercial activities.
    • Pro-active over-use prevention:
    • Limit the bandwidth, up and down, hotspot-connected laptops or desktops can use.
    • Limit the number of times within a given period hotspot users can log in.
    • Other fine-grained limitations.
    • ChilliSpot can be used for single router, or extended with the use of external services to cover an entire metropolitan area.

    2.Anchor Free

    Which is similar to Chillispot but is advertising based.

    3.SputnikNet

    SputnikNet is the super-flexible, web-based management and captive portal authentication system for Wi-Fi hotspots and hotzones. Manage one or thousands of hotspots with SputnikNet. SputnikNet enables you to:

    • auto-provision Wi-Fi access points (APs) by plugging them into broadband
    • manage Wi-Fi APs centrally, over a secure Web connection
    • design captive portals with your brand
    • authenticate users and devices for free or paid Wi-Fi
    • track usage by access point and Wi-Fi end user

    Each of these are already installed on the DD-WRT flashed device. Setup is pretty easy, and here are the guides:

  • Pexsol

    You can also give Tomato firmware a thought as it has some features which might help you. We are using the Toastman build and it has exactly what you require w/o any complicated configurations or Qos settings as needed in DD-WRT:

    Access Restriction Overview

    You can restrict access to your AP by IP/MAC and even assign the timings/days for restriction. For example, you can allow your trusted IPs to bypass this limit and rest can enjoy the free internet for a set time period or just Sundays!

    Bandwidth Limiter - QOS

    You can define your own trusted IP Ranges/MAC ids to bypass this limit while rest of the people accessing your AP will be restricted.

    There is also a Captive Portal Management so your guests can see your banner or something when accessing.

  • MaQleod

    Look here for a QoS article with ddwrt, you will want to do it by IP address. Provide public access to a specific IP range and then apply QoS to that range.