Networking Forums

Networking Forums > Computer Networking > Linux Networking > Question on public WIFI access points

Reply
Thread Tools Display Modes

Question on public WIFI access points

 
 
General Schvantzkoph
Guest
Posts: n/a

 
      10-25-2006, 02:25 PM
I'm in a hotel that provides WIFI Internet access. They have a number of
access points which run unencrypted. My initial attempts to connect to it
through Linux were unsuccessful. I was able to scan the access points
through iwlist but DHCP couldn't get an IP address. I then booted into XP
and used a Broadcom utility to find the access points and to attach to one
of them. After I did that a web based registration page popped up which
asked for my name and company. It also had an option to assign an IP
address to me. I did all that and then rebooted Linux (FC5). DHCP worked
at that point and I was able to get to the Internet. I'm assuming that
when I registered and asked for a IP address it took my MAC address and
put it into a table along with the assigned IP.

My questions are,

1) How did Windows access that registration page?

2) Was the communication with the access point MAC based prior to my
asking it to assign an IP address? What protocol was used?

3) Is there some way to do this registration from Linux?
 
Reply With Quote
 
 
 
 
ray
Guest
Posts: n/a

 
      10-26-2006, 03:30 AM
On Wed, 25 Oct 2006 10:25:20 -0400, General Schvantzkoph wrote:

> I'm in a hotel that provides WIFI Internet access. They have a number of
> access points which run unencrypted. My initial attempts to connect to it
> through Linux were unsuccessful. I was able to scan the access points
> through iwlist but DHCP couldn't get an IP address. I then booted into XP
> and used a Broadcom utility to find the access points and to attach to one
> of them. After I did that a web based registration page popped up which
> asked for my name and company. It also had an option to assign an IP
> address to me. I did all that and then rebooted Linux (FC5). DHCP worked
> at that point and I was able to get to the Internet. I'm assuming that
> when I registered and asked for a IP address it took my MAC address and
> put it into a table along with the assigned IP.
>
> My questions are,
>
> 1) How did Windows access that registration page?
>
> 2) Was the communication with the access point MAC based prior to my
> asking it to assign an IP address? What protocol was used?
>
> 3) Is there some way to do this registration from Linux?


I'm no expert, but I think the answers depend. A year or so ago I did a
demo at a local hotel using a linux laptop (atheros chipset wifi card) and
it did pretty much what you described - I think it probably depends on the
installation.

 
Reply With Quote
 
General Schvantzkoph
Guest
Posts: n/a

 
      10-31-2006, 05:38 AM
On Wed, 25 Oct 2006 10:25:20 -0400, General Schvantzkoph wrote:

> I'm in a hotel that provides WIFI Internet access. They have a number of
> access points which run unencrypted. My initial attempts to connect to it
> through Linux were unsuccessful. I was able to scan the access points
> through iwlist but DHCP couldn't get an IP address. I then booted into XP
> and used a Broadcom utility to find the access points and to attach to one
> of them. After I did that a web based registration page popped up which
> asked for my name and company. It also had an option to assign an IP
> address to me. I did all that and then rebooted Linux (FC5). DHCP worked
> at that point and I was able to get to the Internet. I'm assuming that
> when I registered and asked for a IP address it took my MAC address and
> put it into a table along with the assigned IP.
>
> My questions are,
>
> 1) How did Windows access that registration page?
>
> 2) Was the communication with the access point MAC based prior to my
> asking it to assign an IP address? What protocol was used?
>
> 3) Is there some way to do this registration from Linux?


I was able to access the registration page when running W2K in a Parallels
VM on top of FC5. The behavior was identical to that of native Windows,
i.e. when I opened up Firefox the registration page was there. After I had
it assign an IP to me I was able to do an ifup wlan0 and then access the
Internet from Linux. Bringing up native Firefox on FC5 didn't get anything.

So now I'm even more confused, how is Windows making the connection to the
registration web page before the IP is assigned? Windows had to go through
Linux to get to the WiFi hardware, so it must be possible to do the same
thing natively. Does anyone have any theories?

 
Reply With Quote
 
Matthias Apitz
Guest
Posts: n/a

 
      10-31-2006, 05:53 AM
General Schvantzkoph <(E-Mail Removed)> writes:

>I was able to access the registration page when running W2K in a Parallels
>VM on top of FC5. The behavior was identical to that of native Windows,
>i.e. when I opened up Firefox the registration page was there. After I had
>it assign an IP to me I was able to do an ifup wlan0 and then access the
>Internet from Linux. Bringing up native Firefox on FC5 didn't get anything.


>So now I'm even more confused, how is Windows making the connection to the
>registration web page before the IP is assigned? Windows had to go through
>Linux to get to the WiFi hardware, so it must be possible to do the same
>thing natively. Does anyone have any theories?


Watch the traffic in both cases with tcpdump to see what the diff is;

I was once in a hotel in NL where I got an IP from AP but could not
go nowhere with KDE/FreeBSD Konqueror; I already wanted to give up
when a colleague said: fire up Firefox. I did so and put it some URL
and magically came up the login page of the provider for paying
the fee and after that everything worked. I watched as well with
tcpdump and saw that Firefox, before going to the URL, wanted to phone
home and this DNS request was answered by the AP/provider, while all others
DNS request were not. Bottom line: somehow the providers know what
certain system is doing first and combining that with the login
logic.

Bad world :-((

matthias
--
Matthias Apitz
Manager Technical Support - OCLC PICA GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <(E-Mail Removed)> - w http://www.oclcpica.org/ http://guru.UnixLand.de/
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't find free public Wifi points Toone Wireless Networks 13 07-17-2007 06:18 PM
Free WiFi Access Points Jonny Moore Wireless Internet 9 01-21-2005 10:54 AM
File security - public access points Falcon Wireless Networks 0 09-12-2004 08:39 AM
Security and Public Access Points Scott Meyers Wireless Internet 4 03-07-2004 10:19 PM
question on more than two access points nicros Wireless Internet 1 07-31-2003 01:53 AM



1 2 3 4 5 6 7 8 9 10 11