Summary
For some reason Ubuntu loses track of the IP address associated with the router URL that processes the login to the router. I posted an answer that addresses this. Look for the IP address of the router on your phone and put that in /etc/hosts
under the name that is attempting to process your router login. That solved it for me. There are other answers as well in case the SB setup is different where you are at.
Details
One post I found on my phone said to add the host IP of the connection service to /etc/hosts
. The url displayed in the browser address bar is:
https://sbux-portal.globalreachtech.com/check?cmd=login&mac=a0:88:39:65:f0:cc&essid=Google%20Starbucks&ip=172.31.98.108&apname=24%3Ade%3Ac6%3Ace%3A49%3Af6&apmac=24%3Ade%3Ac6%3Ace%3A49%3Af6&vcname=S17730-VC&switchip=aruba.odyssys.net&url=http%3A%2F%2Fdetectportal.firefox.com%2Fsuccess.txt
So I did that, but the result is the same. Any ideas? Starbucks is the only WIFI I cannot connect to.
Please update us if you know when Google WIFI / Starbucks has fixed this issue.
I tried using a different mac address using macchanger:
Permanent MAC: a0:88:69:15:f0:cc (Intel Corporate)
New MAC: 00:11:22:33:44:55 (CIMSYS Inc)
However that did not work.
Today April 18 I tried a completely different laptop and I'm still getting the same hangup. The message says:
Error resolving "aruba.odyssys.net": Name or service not known.
So so far nothing is working for me. Been on contact with both Starbucks WIFI support and their general customer support and so far no one can provide an estimate on when or if ever this will be fixed. Starbucks support gave me this reference number:
180413-010073
They said to call Wifi support and give the the number and they will fix this. When I did Wifi Support said they don't need the number and there's nothing they can do. For a company that goes out of it's way to provide great customer experiences this is pretty sad. It's been over a month since they rolled this out and still no fix.
When attempting to connect in a browser this is the url it redirects to and hangs https://aruba.odyssys.net/cgi-bin/login
.
Update
Also tried using my phone MAC address today. It did not work. The Starbucks Wifi thought I was a new laptop, and so it opened the initial splash page signup again, but after completing the entries it still hangs on https://aruba.odyssys.net/cgi-bin/login
.
The problem in my case is that Ubuntu does not know how to access
https://aruba.odyssys.net/cgi-bin/login
. The hostaruba.odyssys.net
is the WIFI router.The Work Around
/etc/hosts
./etc/resolv.conf
.Detailed Steps
Find the router ip - in a terminal run:
(Example output:
default via 172.31.98.1
)Edit the file by running
sudo nano /etc/hosts
to add the line:Optional?
sudo nano /etc/resolv.conf
to add the line before any other nameserver entries:After that the connection goes through without a hitch.
Bug Report
The problem seems to be bug report: 1766969.
Spoke to google Wifi support about this. There is a known problem with the Starbucks splash page if you register more than one device with the same email address. The first device you register will work but not the second one. If you can use a cloned MAC address on your wireless card you can get to the registration page again and use a different email address.
whois
is not the right tool to lookup addresses, and it mostly deals with domain names anyway. To find IPs, usenslookup
ordig
or evenping
:(
ping
will additionally confirm if the side is reachable, but not getting an answer can also mean that the site doesn't respond toping
requests).success: 1. got my phone (android) working at Starbucks by filling out the login page.
found the phone mac by using Network Info II android app.
turned off the phone wifi and laptop wifi (e.g. ifconfig wlan0 down as root or via sudo)
used macchanger -m ##:##... wlan0 (as root or via sudo) to set the android mac on the linux laptop.
reconnected laptop to Starbucks SSID to connect laptop directly with no login page
Since this is a DNS resolution issue. I decided to take a look at what Ubuntu is doing to resolve that name:
So that failed and it is using
127.0.0.53
as nameserver. I checked my phone, which was able to connect, for the DNS server it is using. Turned out to be8.8.8.8
followed by8.8.4.4
, which makes sense for a Google network. Sure enough:That obviously worked! So I edited my
/etc/resolv.conf
addingAnd behold, I was able to connect by opening firefox and triggering the login page again.
You are specifically told not to edit
/etc/resolv.conf
bysystemd-resolved
. But I think this is its fault anyway.I tried the advice listed in all of the other answers without success. Here is how I finally got it working:
sudo macchanger -m [your phone's MAC] [your wireless interface]
You should now have a stable WiFi and internet connection on your laptop.
If you skip Step 2, the network will detect your spoofed MAC address, but, because you're not yet connected, it will take you to the relogin page instead of the login page—both of which fail to load properly. So, the trick is to first connect using your phone.
This has worked for me several times now at several different locations. I hope it helps!