T
T
topbanana2013-02-24 17:29:49
Computer networks
topbanana, 2013-02-24 17:29:49

Help setting up wi-fi on dd-wrt with your own gateway and dns parameters

Good afternoon.

There is a small local network with a server that can distribute the Internet through nat. That is, we prescribe gateway and DNS 192.168.1.200 (server IP) on the computer and access to the Internet appears on the computer.

D-LINK DIR320 is used as a switch, wan port is not used. I want to set up wi-fi so that the Internet is on the phone. I tried to manually register IP, gateway and dns on the phone - the Internet does not work. I tried to set these parameters on the router, there is also no connection.

I can't figure out what I'm doing wrong. The computer goes online, the phone with the same settings does not go out. What to do?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Anton Solomonov, 2013-02-24
@topbanana

Read here. www.dd-wrt.com/wiki/index.php/DNSMasq_as_DHCP_server
dhcp-option=3,xyzw
Ideally, you should set up dhcp on a nat server and use the router as an access point. Those. use the router as a switch, and raise all the services necessary for the network on the server.

N
Nevelon, 2014-07-21
@Nevelon

You can try something like

bool done = false;
do {
      try {

                doc = Jsoup.connect("http://"+generateUrl()[position]).get();
                done = true;
            } catch (IOException e) {
                e.printStackTrace();
            }
}
while(!done)

V
vdem, 2014-07-21
@vdem

public String HttpURLConnection(int position) {
    org.jsoup.nodes.Document doc = null;
    while(true) {
        try {
            return Jsoup.connect("http://" + generateUrl()[position]).get().tagName("head").text();
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question