You are not logged in.

#1 2018-12-28 18:07:06

mt253
Member
From: Austin TX - United States
Registered: 2018-11-30
Posts: 8
Website

Need help with Starbucks Wifi not redirecting browser to login page

Hi everyone,

I am fairly new to Arch Linux (I have to google most of the commands). I am running Arch on Inspiron 7559 laptop with Deepin for the environment. One minor issue I currently running into is when I go into Starbucks and connect to wifi. Often my browser (firefox) does not take me to the disclaimer page for WiFi usage. The only workaround I have currently is to restart my laptop (which work half of the time), or setup my hotspot. Is anyone out there have similar issue and know of a fix for it? Thank You.

My laptop spec: https://www.notebookcheck.net/Dell-Insp … 508.0.html

my lspci command yield:

[vgforce@laptop ~]$ lspci
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers (rev 07)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16) (rev 07)
00:01.1 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x8) (rev 07)
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 07)
00:14.0 USB controller: Intel Corporation 100 Series/C230 Series Chipset Family USB 3.0 xHCI Controller (rev 31)
00:14.2 Signal processing controller: Intel Corporation 100 Series/C230 Series Chipset Family Thermal Subsystem (rev 31)
00:15.0 Signal processing controller: Intel Corporation 100 Series/C230 Series Chipset Family Serial IO I2C Controller #0 (rev 31)
00:16.0 Communication controller: Intel Corporation 100 Series/C230 Series Chipset Family MEI Controller #1 (rev 31)
00:17.0 SATA controller: Intel Corporation HM170/QM170 Chipset SATA Controller [AHCI Mode] (rev 31)
00:1c.0 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #1 (rev f1)
00:1c.4 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #5 (rev f1)
00:1c.5 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #6 (rev f1)
00:1c.6 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #7 (rev f1)
00:1f.0 ISA bridge: Intel Corporation HM170 Chipset LPC/eSPI Controller (rev 31)
00:1f.2 Memory controller: Intel Corporation 100 Series/C230 Series Chipset Family Power Management Controller (rev 31)
00:1f.3 Audio device: Intel Corporation 100 Series/C230 Series Chipset Family HD Audio Controller (rev 31)
00:1f.4 SMBus: Intel Corporation 100 Series/C230 Series Chipset Family SMBus (rev 31)
02:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 960M] (rev a2)
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 10)
05:00.0 Network controller: Intel Corporation Wireless 3165 (rev 79)
06:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader (rev 01)

my Firefox is version 'Mozilla Firefox 63.0.3'

Last edited by mt253 (2018-12-28 18:23:07)

Offline

#2 2018-12-28 18:11:39

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Need help with Starbucks Wifi not redirecting browser to login page

Please edit your thread title to one that removes the "newbie" and then include details of your card, driver and any error messages in your journal in your post:
https://wiki.archlinux.org/index.php/Co … ow_to_post


Moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2018-12-28 18:56:08

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,571
Website

Re: Need help with Starbucks Wifi not redirecting browser to login page

Ha, funny that you post this.  I've been working from a starbucks here frequently over the past couple of weeks and have a very similar problem.  I've not found any way to get through their captive portal in my browser (qutebrowser in my case).  They only seem to redirect starbucks.com and ignore everything else, but even that will not complete the connection in a browser.

I've been reliably getting through by using `curl -L $anyurl` to follow the initial redirect at which point I get the html of their captive portal page dumped.  Then I "manually" run the javascript that doesn't seem to be doing what it's supposed to do (taking a long url from the body and inserting "/check" into it at the end of the url before any of the parameters), the I take that reconstructed (and long) url and paste it into my browser and from then on I'm set.

It's horrible.  But it works here.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#4 2018-12-28 19:20:52

mt253
Member
From: Austin TX - United States
Registered: 2018-11-30
Posts: 8
Website

Re: Need help with Starbucks Wifi not redirecting browser to login page

Interesting, that solution is a little more complex than I hope for. I will go try it out at Wholefoods or other coffee shops to see if I encounter the same issue. If it work at other locations, then it might be Starbucks specific issue. I will report back with the result later.

Last edited by mt253 (2018-12-28 19:21:59)

Offline

#5 2018-12-28 19:28:23

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: Need help with Starbucks Wifi not redirecting browser to login page

I had a very simple script on my old laptop, that simply executed curl with the parameters of the final query on that login page. So when I was in starbucks I would simply open the terminal and run `sbux-login` and I would be all set. It's a very simple curl command, but I've forgotten what the exact implementation detail was and that laptop is currently several states away.

IIRC I figured out the correct parameters by using Firefox Devtools and checking the network requests while doing the login by hand.


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#6 2019-02-11 00:54:30

mt253
Member
From: Austin TX - United States
Registered: 2018-11-30
Posts: 8
Website

Re: Need help with Starbucks Wifi not redirecting browser to login page

Looks like there is a magic url call: http://gstatic.com/generate_204 which will trigger the auth token renewal.

Offline

#7 2019-03-06 21:36:33

haylayf
Member
Registered: 2019-03-06
Posts: 1

Re: Need help with Starbucks Wifi not redirecting browser to login page

mt253 wrote:

Looks like there is a magic url call: http://gstatic.com/generate_204 which will trigger the auth token renewal.

worked for me, thanks!

Offline

#8 2019-03-06 21:53:18

HalosGhost
Forum Moderator
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 2,095
Website

Re: Need help with Starbucks Wifi not redirecting browser to login page

Interesting; if it is explicitly about the 204 (on a non-https site), I wonder if http://httpstat.us/204 would work.

The code/service is open-source and they publicly state they capture no information about the requests made against the service. I am nowhere near a starbucks, and thus cannot test, but I thought it might be a privacy-interested alternative worth mentioning.

Note that https://httpstat.us does use Google Analytics, but the status-response pages do not appear to as far as I can tell.

All the best,

-HG

Offline

Board footer

Powered by FluxBB