Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Stupid Hotel Wireless
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10459
Location: Somewhere over Atlanta, Georgia

PostPosted: Sat Oct 12, 2019 5:02 pm    Post subject: Stupid Hotel Wireless Reply with quote

So I'm stuck in a hotel room today and would like to use their wireless. I'm using my main laptop which has successfully connected several wireless networks, but I'm getting some interesting symptoms here. wpa_supplicant negotiates a connection and I get an IP address from DHCP okay:
/var/log/messages chatter:
Oct 12 12:24:20 triton kernel: wlp2s0: authenticate with 88:dc:96:20:fd:2b
Oct 12 12:24:20 triton kernel: wlp2s0: send auth to 88:dc:96:20:fd:2b (try 1/3)
Oct 12 12:24:20 triton kernel: wlp2s0: authenticated
Oct 12 12:24:20 triton kernel: wlp2s0: associating with AP with corrupt beacon
Oct 12 12:24:20 triton kernel: wlp2s0: associate with 88:dc:96:20:fd:2b (try 1/3)
Oct 12 12:24:20 triton kernel: wlp2s0: RX AssocResp from 88:dc:96:20:fd:2b (capab=0x421 status=0 aid=1)
Oct 12 12:24:20 triton kernel: wlp2s0: associated
Oct 12 12:24:20 triton kernel: ath: EEPROM regdomain: 0x8348
Oct 12 12:24:20 triton kernel: ath: EEPROM indicates we should expect a country code
Oct 12 12:24:20 triton kernel: ath: doing EEPROM country->regdmn map search
Oct 12 12:24:20 triton kernel: ath: country maps to regdmn code: 0x3a
Oct 12 12:24:20 triton kernel: ath: Country alpha2 being used: US
Oct 12 12:24:20 triton kernel: ath: Regpair used: 0x3a
Oct 12 12:24:20 triton kernel: ath: regdomain 0x8348 dynamically updated by country element
Oct 12 12:24:20 triton dhcpcd[4974]: wlp2s0: carrier acquired
Oct 12 12:24:20 triton wpa_cli[6701]: interface wlp2s0 CONNECTED
Oct 12 12:24:20 triton wpa_cli[6704]: executing '/etc/init.d/net.wlp2s0 --quiet start' failed
Oct 12 12:24:20 triton dhcpcd[4974]: wlp2s0: IAID 09:48:db:55
Oct 12 12:24:21 triton dhcpcd[4974]: wlp2s0: rebinding lease of 172.17.100.59
Oct 12 12:24:21 triton dhcpcd[4974]: wlp2s0: probing address 172.17.100.59/16
Oct 12 12:24:21 triton dhcpcd[4974]: wlp2s0: soliciting an IPv6 router
Oct 12 12:24:26 triton dhcpcd[4974]: wlp2s0: leased 172.17.100.59 for 3600 seconds
Oct 12 12:24:26 triton dhcpcd[4974]: wlp2s0: adding route to 172.17.0.0/16
Oct 12 12:24:26 triton dhcpcd[4974]: wlp2s0: adding default route via 172.17.1.1
Oct 12 12:24:33 triton dhcpcd[4974]: wlp2s0: no IPv6 Routers available
After that, the browser displays its typical "You must log in to this network before you can access the Internet" message. Clicking the "Open Network Login Page" button results in a failed connection. I can't ping nor manually access the default gateway either.

I know that my stack is generally working because I am currently connected to my phone's hot spot to post this message. Furthermore, two phones and one MacBook are successfully connected to the hotel wireless. How would I go about troubleshooting this?

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 15989

PostPosted: Sat Oct 12, 2019 5:17 pm    Post subject: Reply with quote

I would start by comparing the output of ip r with the equivalent (maybe route -n?) from the MacBook. Check that the working and non-working systems agree about how traffic should be routed, and to which gateway. As an unlikely, but easy to check issue, check that both systems use the same MTU. Check what exactly the browser tries to do when you click the Open Network Login Page button. Is the host it tries to access resolvable? (The network operator may be using a different host for the captive portal page vs for serving the later pages.) If it resolves, does the browser successfully negotiate TCP with it? Same question for TLS. If you can take the MacBook back to a starting state so that it is again challenged by the captive portal, use the developer tools on the MacBook's browser to check what happens when you Open Network Login Page there. How does that compare to what the Linux-hosted browser does?

Does the Linux browser have any security extensions that might conflict with this, such as NoScript, uBlock, etc.? Perhaps some key resources is blocked there, and the MacBook is not secured as tightly.
Back to top
View user's profile Send private message
Fitzcarraldo
Veteran
Veteran


Joined: 30 Aug 2008
Posts: 1873
Location: United Kingdom

PostPosted: Sat Oct 12, 2019 6:39 pm    Post subject: Reply with quote

I'm probably wide of the mark in your case, but I've been in your situation in hotels around the World quite a few times, and what has, perhaps surprisingly, often worked for me is to try to open http://neverssl.com or https://www.youtube.com instead of clicking on the hotel's Open Network Login Page button. That usually then pulls up the hotel's network login page. Don't ask me why.
_________________
Clevo W230SS: amd64 nvidia-drivers & xf86-video-intel.
Compal NBLB2: ~amd64 xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC eudev elogind & KDE on both.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 46322
Location: 56N 3W

PostPosted: Sat Oct 12, 2019 7:50 pm    Post subject: Reply with quote

John R. Graham,

I would use my mobile phone tethering.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum