Debt Consolidation | Credit Card | Loans | Free Cell Phone Screensavers | WoW Gold
DNS Redirector (or any captive portal) with 2Wire? [Archive] - PCMech Forums

PDA

View Full Version : DNS Redirector (or any captive portal) with 2Wire?


sjaguar13
06-28-2008, 04:02 PM
I am trying to install a captive portal/hotspot. I tried 2HotSpot, but I didn't like it. It did, however, work. I am trying to get DNS Redirector to work, but one of two things happen. It will either let everyone on the network without doing anything. It doesn't even see an incoming connection. Or it will kill the internet, and even the computer that is running the software can't get online.

I am trying to do this:
http://www.dnsredirector.com/networks/01/

One difference is, the 2Wire is a modem/router in one. I don't have everything going to a hub, and then to a router. How do I configure this? It looks like the IP of the computer running the software has to be the DNS of the router. When I do that, no one can get online. If I make my computer the IP of the DNS, I get an IP conflict error.

On the computer that will run the software, IPCONFIG /all gives me this:
Physical Address. . . . . . . . . : 00-0A-E6-D4-08-FB
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.1.69
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.254
DHCP Server . . . . . . . . . . . : 192.168.1.254
DNS Servers . . . . . . . . . . . : 192.168.1.254
Lease Obtained. . . . . . . . . . : Saturday, June 28, 2008 2:36:32 PM
Lease Expires . . . . . . . . . . : Sunday, June 29, 2008 2:36:32 PM

On the 2Wire Gateway, there is this:
Internet Connection Details
Connection Type: PPPoE
Internet Address: 69.221.168.105
Subnet Mask: 255.255.255.255
Default Gateway: 69.221.168.254
Primary Domain Name Server: 151.164.8.201
Secondary Domain Name Server: 66.73.20.40
Domain:
Maximum Transmission Unit (MTU): 1492
Gateway Ping: Successful
DNS Communication: Successful
Configuration Server Post: Successful

The only real configuration is:
ListenOnIP=
DNSServerIP1=
DNSServerIP2=

Everything else is just redirection and keyword lists.

If I leave ListenOnIP black, it binds to all the IPs, which is just one anyway. I have no idea what the DNSServerIP1 or 2 should be. The computer says the DNS is 192.168.1.254 and the router says it's 151.164.8.201. Neither one seem to work.

mojo
06-29-2008, 12:23 AM
The computer running the software is the DNS provider for all the other computers, so in your router's DHCP setup you have it tell the other computers to go there for the DNS. The computer running the software still needs to get it's DNS from either the router or the internet directly. On that computer you'll probably have to setup the IP address, DNS settings, etc. by hand.

ITlover
06-29-2008, 07:30 AM
The computer running the software is the DNS provider for all the other computers, so in your router's DHCP setup you have it tell the other computers to go there for the DNS. The computer running the software still needs to get it's DNS from either the router or the internet directly. On that computer you'll probably have to setup the IP address, DNS settings, etc. by hand.

If your computer that is directly connected to the router is geting TCP/IP configuration from the ISP than the other computers that will be connected to this computer should have the IP address of the DNS Server manually configured in there TCP/IP properties if you are using a DNS Server locally but if you want you can keep the TCP/IP configuration on your client computers on dynamic and they will automatically pick up the IP address of the DNS Servers of ISP?