LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 05-01-2009, 08:28 PM   #1
krmayfield
LQ Newbie
 
Registered: May 2005
Posts: 10

Rep: Reputation: 0
Logging into a DNS to get access to the internet HOW?


I want to setup a wireless network so that a client must first login before accessing the internet.
I want to do what a lot of hotels do. The first time the the user browses the internet it shows a login page. After the user successfully logins then they can surf the web.

Not sure how its done or even what it is called (Make googleing it hard )

If I would guess how it work... The client is setup up with a DNS server via DHCP. When the client ask for an ip address for a web site it returns back a ip address for the *login* page. When the client successfully logins then the MAC address is store and so the next DNS request the DNS server looks at the stored MAC address and sees that they have successfully login and sends back the real IP address for the web site.

That is totally a guess how it works. Tell me how it actually works...

So Questions:
What is this called?
How do I set this up? Is there a "How to"?
Where should I go for further assistance?


Thank You!!
 
Old 05-01-2009, 08:35 PM   #2
paulsm4
Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

This question actually came up on LQ fairly recently:
override-default-homepage-with-apache

Quote:
What you're talking about is called a "Captive Portal".

It has nothing to do with Apache per se. It's possible because you control the DHCP lease, you control DNS, and you control the firewall.
Here's a bit more detail:

http://en.wikipedia.org/wiki/Captive_portal

'Hope that helps .. PSM
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Skolelinux (debian edu) DNS for external internet access ernst Debian 6 08-25-2008 05:49 AM
logging file access otoomet Linux - Software 3 12-13-2005 10:30 AM
File Access Logging dman65 Linux - General 3 04-08-2005 01:12 PM
ipchains ? Unable to access internet ... dns error ! mystique98ls Linux - Newbie 5 09-17-2004 09:06 AM
DNS Logging Problem JJX Linux - Networking 0 04-15-2004 10:22 AM


All times are GMT -5. The time now is 01:48 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration