<br><br><div class="gmail_quote">On Mon, Feb 18, 2013 at 12:54 AM, Karl Auer <span dir="ltr"><<a href="mailto:kauer@biplane.com.au" target="_blank">kauer@biplane.com.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Sun, 2013-02-17 at 13:09 -0700, JD wrote:<br>
> On Sun, Feb 17, 2013 at 1:01 PM, Karl Auer <<a href="mailto:kauer@biplane.com.au">kauer@biplane.com.au</a>> wrote:<br>
> > You can check the DNS situation using dig:<br>
> Well, apparently, you are not aware of the entire thread.<br>
> [etc]<br>
<br>
"When you have eliminated the impossible, whatever remains, *however<br>
improbable* must be the truth" - Sherlock Holmes.<br>
<br>
> The problem I presented is that Using Ubuntu and firefox,<br>
> I am unable to connect with open hotspots because most<br>
> of these hotspots require that you open the browser, which<br>
> automagically to the hotspat's start page (I do nto not know how, perhaps<br>
> via a directive from the hotspot's server),<br>
<br>
Exactly. You do not know. So the starting point is to find out what<br>
exactly works, and what exactly does not work, as expected. If you<br>
replace the word "because" in your sentence with a full stop, you have<br>
several facts. But the statement that some of those facts are related is<br>
not yet known to be true. Plausible - yes. True - maybe.<br>
<br>
The first thing your browser - any browser! - does is to resolve the<br>
given URL host into an IP address. This may be IPv4 or IPv6, and it may<br>
be multiple addresses. If you actually do "dig <a href="http://www.google.com" target="_blank">www.google.com</a> any" you<br>
will see quite a few addresses for Google.<br>
<br>
   <a href="http://www.google.com" target="_blank">www.google.com</a>. 300 IN AAAA 2404:6800:4006:804::1014<br>
   <a href="http://www.google.com" target="_blank">www.google.com</a>. 300 IN A    74.125.237.144<br>
   <a href="http://www.google.com" target="_blank">www.google.com</a>. 300 IN A    74.125.237.145<br>
   <a href="http://www.google.com" target="_blank">www.google.com</a>. 300 IN A    74.125.237.146<br>
   <a href="http://www.google.com" target="_blank">www.google.com</a>. 300 IN A    74.125.237.147<br>
   <a href="http://www.google.com" target="_blank">www.google.com</a>. 300 IN A    74.125.237.148<br>
<br>
The browser then starts at the top of this list and works through them,<br>
trying for a connection (that's a simplification, as that list may be<br>
reorganised by the resolver, and some browsers get tricky with what they<br>
try, but it's good enough for now).<br>
<br>
A lot of hot spots work by faking initial DNS responses - the browser<br>
looks up <a href="http://www.google.com" target="_blank">www.google.com</a> (or anything else) and the hotspot nameserver<br>
returns some completely other address which is the local address of<br>
their login page. Others capture the actual connection - the browser<br>
gets the correct addresses back from the DNS, but any attempt to<br>
actually connect is "diverted" to the login page.<br>
<br>
So the *first thing* to check is whether your Linux host can and does<br>
correctly resolve the target URL. If it does, then we move on. If it<br>
does not, then we have something we can work with. Doing "dig" at the<br>
hotspot tells you what the hotspot returns; putting literal addresses<br>
into a browser tells you what you connect to (if anything) when you use<br>
those addresses.<br>
<br>
> So my problem has nothing to do with getting to me browser's<br>
> default home page.<br>
<br>
Clear the mind of preconceptions and assumptions. Work only with what<br>
you know to be fact (because you have actually checked it), not with<br>
what you assume, presume or hope. Maybe the above assumption is<br>
absolutely correct! But right now you don't actually know that.<br>
<br>
> firefox does not behave as it behaves on windows when it comes<br>
> to connecting through hotspots.<br>
<br>
There are many differences between the two environments you are using.<br>
You may take a short cut and get lucky - or you may end up thrashing<br>
about. By all means take those short cuts (like checking for that cert<br>
problem someone mentioned), and if they work, that's great - lots of<br>
time saved. But if they do not, get ready to go back to first<br>
principles. That way lies almost certain success, though it may take a<br>
little longer.<br>
<br>
Regards, K.<br>
<span class="HOEnZb"></span></blockquote><div><br>After the NM declares that it is connected,<br>doing nslookup of ANYHTING, times out!<br>Doing dig of any web site, times out!<br>Opening the browser to go to default home page<br>
displays the FF error to the effect Server Not Found.<br><br>This by the way does NOT happen with hotspots that do not<br>require agreeing to the hotspot's usage policy in order to<br>be connected to the public net. A case in point is<br>
my Android cell phone, which I can put into hotspot mode.<br>I can connect almost instantly to the public internet.<br>Of course I did this as a test (i.e. open: no passphrase).<br><br>So, whatever it is that the Windows version of FF honors,<br>
it does not happen with the Linux FF.<br><br>By the way, I recall having the same issue with FF when booting Fedora.<br><br></div></div>