[SOLVED] WiFi : (my) slackware15x64 fails connecting to Xfinity hotspots
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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.
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
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.
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.