LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-25-2024, 02:10 PM   #1
mw.decavia
Member
 
Registered: Feb 2024
Distribution: Slackware64-15 & Afterstep , oh my
Posts: 80

Rep: Reputation: 9
WiFi : (my) slackware15x64 fails connecting to Xfinity hotspots


I have about 10 years experience with slackware. But only 1 month's experience with any kind of WiFi.

I am using a dual-boot win7/slackware15 laptop, with a rtl8812au usb wireless adapter.

From the windows side, it connects to every AP I have tried. Including "Xfinity now wifi pass" with the ssid "xfinitywifi".

After I built the linux driver for rtl8812au from it's github repo, Slackware can connect to every AP *except* "xfinitywifi". Every time I try to connect to xfinity wifi, I get an error message "supplicant took too long to authenticate". I am using networkmanager (nmcli).

Users of other distros tell me they can access xfinity hotspots just fine. But I am not going to blame Slackware - given my inexperience with wifi, it is pretty sure I just have things configured wrong.

If any slackware users can access xfinity wifi, perhaps you could advise me re: your working wifi configs?

Thank you, in advance.
 
Old 02-26-2024, 01:57 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,387

Rep: Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336
It's probably a protocol thing with the Xfinity. Most folks use the init scripts for wifi, interface 4 in rc.inet1.conf & rc.wifi (which rc.inet1 starts)

A useful command:
Code:
sudo iwlist wlan0 scan
run this from a terminal under X so you can scroll back. Post the xfinity output.

Have a look at the wpa_supplicant man page, useful because you see all the weird and wonderful protocols that wpa_supplicant can use but that NM might be puking on. We can configure them if needs be.
 
Old 02-26-2024, 03:12 PM   #3
ctrlaltca
Member
 
Registered: May 2019
Location: Italy
Distribution: Slackware
Posts: 332

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
This page seems to suggest a particular type of authentication is required:
https://askubuntu.com/questions/1257...-kubuntu-20-04
 
Old 02-27-2024, 06:21 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,387

Rep: Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336
If you look at the "man wpa_supplicant page under "supported features, there is a range of protocol pairs which are usually employed together in key management. In /etc/wpa_supplicant.conf, these are mentioned in the network section.
Code:
network={
               ssid="MY-ESSID"
               scan_ssid=1
               key_mgmt=WPA-PSK
               #psk="MY-PLAINTEXT PASSWO0RD"
               psk=MY-SUPER-LONG-ENCRYPTED-PASSWORD-GOING-ON-FOREVER
}
I have highlighted the key management in bold, and that's what you need to fiddle. You have an idea what you want.Choose from the list & try. Then (as root) try a connection, something like
Code:
wpa_supplicant -D nl80211 -i wlan0 -c /etc/wpa_supplicant.conf
That will display the negotiation on stdout. The '-D' option adds debug. This leaves NM out totally, but once you make sense of the options you can set up NM, I'm sure.

Once wpa_supplicant is happy, grab another terminal and use 'sudo dhcpcd wlan0' to actually connect.

Last edited by business_kid; 02-27-2024 at 06:24 AM.
 
1 members found this post helpful.
Old 02-27-2024, 06:27 AM   #5
mw.decavia
Member
 
Registered: Feb 2024
Distribution: Slackware64-15 & Afterstep , oh my
Posts: 80

Original Poster
Rep: Reputation: 9
Quote:
Originally Posted by business_kid View Post
It's probably a protocol thing with the Xfinity. Most folks use the init scripts for wifi, interface 4 in rc.inet1.conf & rc.wifi (which rc.inet1 starts)

A useful command:
Code:
sudo iwlist wlan0 scan
run this from a terminal under X so you can scroll back. Post the xfinity output.

Have a look at the wpa_supplicant man page, useful because you see all the weird and wonderful protocols that wpa_supplicant can use but that NM might be puking on. We can configure them if needs be.
Code:
nmcli device wifi connect "xfinitywifi"
Error: Connection activation failed: (11) 802.1X supplicant took too long to authenticate.

Here is a sample of the xfinity hotspots I am trying to access. They are all pretty much the same, except for their mac-address and channel and signal strength.

They are not encrypted, no key needed. After connecting, which I can only do from windows right now, one must go to a portal landing page and login. But from my Slackware installation, I get no connection and there is no landing page for me to go to.

Code:
iwlist wlan0 scan
wlan0     Scan completed :
.
.
.
Cell 44 - Address: xx:xx:xx:xx:xx:xx
                    ESSID:"xfinitywifi"
                    Protocol:IEEE 802.11AC
                    Mode:Master
                    Frequency:5.22 GHz (Channel 44)
                    Encryption key:off
                    Bit Rates:1.56 Gb/s
                    Quality=64/100  Signal level=51/100
                    Extra:fm=0002
.
.
.
Cell 46 - Address: xx:xx:xx:xx:xx:xx
                    ESSID:"xfinitywifi"
                    Protocol:IEEE 802.11an
                    Mode:Master
                    Frequency:5.22 GHz (Channel 44)
                    Encryption key:off
                    Bit Rates:300 Mb/s
                    Quality=79/100  Signal level=65/100
                    Extra:fm=0002

Xfinity also has secured hotspots, which I have not bothered trying because they specifically state that Linuxes are *NOT* supported. Those are all pretty much the same too.

Code:
Cell 53 - Address: xx:xx:xx:xx:xx:xx
                    ESSID:"Xfinity Mobile"
                    Protocol:IEEE 802.11AC
                    Mode:Master
                    Frequency:5.785 GHz
                    Encryption key:on
                    Bit Rates:1.7335 Gb/s
                    Extra:rsn_ie=30140100000fac040100000fac040100000fac010000
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : 802.1x
                    Quality=67/100  Signal level=60/100
                    Extra:fm=0002

Last edited by mw.decavia; 02-27-2024 at 06:17 PM. Reason: to redact mac-addresses due to cyberattack directed on those routers
 
Old 02-27-2024, 06:59 AM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,387

Rep: Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336
What happens when you try with dhcpcd or dhclient?
Code:
dhcpcd wlan0
 
Old 02-27-2024, 08:10 AM   #7
mw.decavia
Member
 
Registered: Feb 2024
Distribution: Slackware64-15 & Afterstep , oh my
Posts: 80

Original Poster
Rep: Reputation: 9
Quote:
Originally Posted by business_kid View Post
What happens when you try with dhcpcd or dhclient?
Code:
dhcpcd wlan0

Code:
% nmcli device wifi connect "xfinitywifi"
Error: Connection activation failed: (11) 802.1X supplicant took too long to authenticate.

% dhcpcd wlan0
dhcpcd-9.4.1 starting
DUID xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx
wlan0: waiting for carrier
timed out

% nmcli device wifi connect "xfinitywifi"
Error: Timeout 90 sec expired.
Error: Connection activation failed: (0) No reason given.
Interesting. After trying dhcpcd, a second attempt to connect failed with a different error message.

Last edited by mw.decavia; 02-27-2024 at 06:21 PM. Reason: to redact DUID due to cyberattack directed at local xfinity routers
 
Old 02-27-2024, 09:37 AM   #8
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,387

Rep: Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336
The first thing the dhcp protocol does is ask "Is there (server) there?" Apparently it's not getting a response. Time to grok the long man pages of each program.
 
Old 03-01-2024, 06:31 PM   #9
mw.decavia
Member
 
Registered: Feb 2024
Distribution: Slackware64-15 & Afterstep , oh my
Posts: 80

Original Poster
Rep: Reputation: 9
Solved itself

Since 24 hours ago, the problem accessing "xfinitywifi" hotspots no longer happens. I wish I could say I solved it, because then I would know what the problem was, and I would be wiser for it. But no, I had changed nothing in my config. The problem just went away by itself.

I could theorize that some network engineer working at xfinity might have been reading this forum, said "ohh ...", and made some tiny network-wide change to fix it. But that would probably be just my imagination.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Comcast (xfinity) streaming video support for Linux mmurch03 Linux - Software 6 09-25-2017 10:52 PM
laptop wlan cannot connect to some smartphones wifi hotspots ondoho Linux - General 1 08-23-2014 02:23 PM
Xfinity gateway modem won't work with D-Link Dap-1630 access points flipper88 Linux - Networking 1 07-04-2014 03:13 PM
slackware xfinity html5 and firefox wufo Slackware 2 01-20-2014 03:08 AM
Wifi Setup for Wifi hotspots? business_kid Slackware 4 11-03-2010 03:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration