Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some SSID not found #64

Closed
mquinson opened this issue Aug 17, 2019 · 30 comments
Closed

Some SSID not found #64

mquinson opened this issue Aug 17, 2019 · 30 comments

Comments

@mquinson
Copy link

mquinson commented Aug 17, 2019

Hello,
first of all, thanks for this driver, it's really helpful as I have a network card that is not supported without it.
My problem is that while it seems to work correctly, the laptop fails to detect the set-top-box of my internet provider (ESSID:"Freebox-58EB78"). That's weird because the laptop detects other SSID that seem very similar, but not the one I'm interested into. Other laptops connect to this SSID with no problem.

I'm not sure about the information I should provide to help debugging the issue. Here is the output of iwlist wlo1 scan on another laptop, that do see the SSID:

          Cell 01 - Address: AC:E2:D3:AF:13:E6
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=46/70  Signal level=-64 dBm  
                    Encryption key:on
                    ESSID:"DIRECT-E5-HP OfficeJet 3830"
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
                              36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=0000024bed51a253
                    Extra: Last beacon: 7992ms ago
                    IE: Unknown: 001B4449524543542D45352D4850204F66666963654A65742033383330
                    IE: Unknown: 01088C129824B048606C
                    IE: Unknown: 030106
                    IE: Unknown: 200100
                    IE: Unknown: 23021100
                    IE: Unknown: 2A0100
                    IE: Unknown: 2F0100
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 2D1A20001AFF00000000000000000000000000000000000000000000
                    IE: Unknown: 3D1606080000000000000000000000000000000000000000
                    IE: Unknown: DD090010180200000C0000
                    IE: Unknown: DD180050F202010188000364000027A4000041435E0061322F00
                    IE: Unknown: DD640800090004000000100102010003164F66666963654A657420333833302073657269657300040533383333000510434E37424534513132503036565A000006101C852A4DB8001F08ABCDACE2D3AF13E5070400000000080200C4090200080A0400000001
                    IE: Unknown: DDC40050F204104A000110104400010210570001011041000100103B000103104700101C852A4DB8001F08ABCDACE2D3AF13E5102100024850102300164F66666963654A65742033383330207365726965730010240005333833330010420010434E37424534513132503036565A00001054000800030050F20400051011001B4449524543542D45352D4850204F66666963654A657420333833301008000200001049000600372A00012010490017000137100600101C852A4DB8001F08ABCDACE2D3AF13E5
          Cell 02 - Address: E4:9E:12:DE:20:A4
                    Channel:9
                    Frequency:2.452 GHz (Channel 9)
                    Quality=44/70  Signal level=-66 dBm  
                    Encryption key:on
                    ESSID:"Freebox-58EB78"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 22 Mb/s
                              6 Mb/s; 9 Mb/s; 12 Mb/s
                    Bit Rates:18 Mb/s; 24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=000003a55aec2a71
                    Extra: Last beacon: 7948ms ago
                    IE: Unknown: 000E46726565626F782D353845423738
                    IE: Unknown: 010882848B962C0C1218
                    IE: Unknown: 030109
                    IE: Unknown: 2A0104
                    IE: Unknown: 3205243048606C
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 7F080000000000000040
                    IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00
                    IE: Unknown: DD0C0007CB010101000000000000

Here is the full output of the same command on the machine using the rlt8821ce network card:

wlp2s0    Scan completed :
          Cell 01 - Address: AC:E2:D3:AF:13:E6
                    ESSID:"DIRECT-E5-HP OfficeJet 3830"
                    Protocol:IEEE 802.11gn
                    Mode:Master
                    Frequency:2.437 GHz (Channel 6)
                    Encryption key:on
                    Bit Rates:72 Mb/s
                    Extra:rsn_ie=30140100000fac040100000fac040100000fac020c00
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DDC40050F204104A000110104400010210570001011041000100103B000103104700101C852A4DB8001F08ABCDACE2D3AF13E5102100024850102300164F66666963654A65742033383330207365726965730010240005333833330010420010434E37424534513132503036565A00001054000800030050F20400051011001B4449524543542D45352D4850204F66666963654A657420333833301008000200001049000600372A00012010490017000137100600101C852A4DB8001F08ABCDACE2D3AF13E5
                    Quality=85/100  Signal level=-68 dBm  
                    Extra:fm=0003
          Cell 02 - Address: B0:B2:8F:99:EC:50
                    ESSID:"Livebox-EC50"
                    Protocol:IEEE 802.11bgn
                    Mode:Master
                    Frequency:2.412 GHz (Channel 1)
                    Encryption key:on
                    Bit Rates:144 Mb/s
                    Extra:rsn_ie=30140100000fac040100000fac040100000fac020c00
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD970050F204104A0001101044000102103B00010310470010423042323846F939F54335304230423210210008536167656D636F6D10230015536167656D636F6D46617374353336305F4D4942341024000C53475F4C42345F312E312E30104200094E51313631383546461054000800060050F2040001101100094C697665626F782034100800020001103C0001011049000600372A000120
                    Quality=78/100  Signal level=-91 dBm  
                    Extra:fm=0003
          Cell 03 - Address: B0:B2:8F:99:EC:51
                    ESSID:"orange"
                    Protocol:IEEE 802.11bgn
                    Mode:Master
                    Frequency:2.412 GHz (Channel 1)
                    Encryption key:off
                    Bit Rates:144 Mb/s
                    Quality=88/100  Signal level=-90 dBm  
                    Extra:fm=0003
          Cell 04 - Address: FA:8F:CA:52:D3:97
                    ESSID:"Cuisine.o"
                    Protocol:IEEE 802.11bgn
                    Mode:Master
                    Frequency:2.437 GHz (Channel 6)
                    Encryption key:off
                    Bit Rates:72 Mb/s
                    Quality=54/100  Signal level=-89 dBm  
                    Extra:fm=0003
          Cell 05 - Address: 40:65:A3:FC:7D:B2
                    ESSID:"Livebox-7DB2"
                    Protocol:IEEE 802.11bgn
                    Mode:Master
                    Frequency:2.437 GHz (Channel 6)
                    Encryption key:on
                    Bit Rates:144 Mb/s
                    Extra:wpa_ie=dd1a0050f20101000050f20202000050f2040050f20201000050f202
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    Extra:
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD8F0050F204104A0001101044000102103B000103104700103B373D3C483AFD4AFE4B49393B373D3C10210008536167656D636F6D10230016536167656D636F6D46617374333936355F4C42322E381024000C53475F4C42335F312E322E31104200093332313631373446461054000800060050F204000110110000100800020006103C0001011049000600372A000120
                    Quality=26/100  Signal level=-91 dBm  
                    Extra:fm=0003
          Cell 06 - Address: 12:65:A3:FC:7D:B2
                    ESSID:"orange"
                    Protocol:IEEE 802.11bgn
                    Mode:Master
                    Frequency:2.437 GHz (Channel 6)
                    Encryption key:off
                    Bit Rates:144 Mb/s
                    Quality=54/100  Signal level=-93 dBm  
                    Extra:fm=0003
          Cell 07 - Address: 54:64:D9:3B:F2:C4
                    ESSID:"Livebox-F2C4"
                    Protocol:IEEE 802.11bgn
                    Mode:Master
                    Frequency:2.437 GHz (Channel 6)
                    Encryption key:on
                    Bit Rates:144 Mb/s
                    Extra:wpa_ie=dd1a0050f20101000050f20202000050f2040050f20201000050f202
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    Extra:
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD1D0050F204104A0001101044000102103C0001011049000600372A000120
                    Quality=4/100  Signal level=-94 dBm  
                    Extra:fm=0001
          Cell 08 - Address: A0:63:91:C7:B3:B3
                    ESSID:"Livebox-E1D4_2GEXT"
                    Protocol:IEEE 802.11bgn
                    Mode:Master
                    Frequency:2.462 GHz (Channel 11)
                    Encryption key:on
                    Bit Rates:144 Mb/s
                    Extra:wpa_ie=dd1a0050f20101000050f20202000050f2020050f20401000050f202
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : TKIP CCMP
                        Authentication Suites (1) : PSK
                    Extra:
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : TKIP CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD880050F204104A0001101044000102103B00010310470010D9F83E06A24D80083EBA385C37394A6A1021000D4E4554474541522C20496E632E10230006455833383030102400064558333830301042000D343756323535374E41323538311054000800060050F20400011011000645583338303010080002218C103C0001011049000600372A000120
                    Quality=69/100  Signal level=-90 dBm  
                    Extra:fm=0003

I'm really puzzled because the rtl card sees the same Cell 01 than the working one, but not the Cell 02. I fail to see any change between the machines that may explain this.

I understand that you don't have a RTL8821CE card anymore and that you cannot really help me here, but I'd be really grateful for any help you could provide.

Thanks,

@lindquistc
Copy link

Hello Martin, I had the same issue as you reported: my laptop (running Ubuntu 19.04) wireless card (rtl8821ce) apparently worked with the current version of this driver (latest commit, August 16), i.e. it detected most of the SSIDs of my neighborhood. Unfortunately (and quite strangely) it could not detect the wifi signal from my Freebox, which could be detected by my smartphone, another laptop, etc. The solution for me was to use an older version, I chose commit 6fcab13 of March 1 (Fix compilation against Linux 5.0.0) since my Kernel version is 5.0.0. Now it works like a charm! I hope this helps you while waiting for a fix.

@aquaris45
Copy link

hello,
i have exactly same behaviour today with driver version kernel: [ 1637.953641] RTW: rtl8821ce v5.5.2_34066.20190614_COEX20180712-3232
freebox wifi network is not detected.
i have compiled the same old version 6fcab13 and ... tada ... my freebox wifi is seen and usable.
i don't have enough knowledge to analyse this trouble but using the old version is a workable circumvention.

@mquinson
Copy link
Author

mquinson commented Sep 23, 2019

I bisected the problem.
It works with 6274276 which is a bit later than the previously know working commit, but not in 6b9a569 so the problem lays in #54. Since I failed to compile the individual commits of that PR, and since I don't understand the code, there is not much I can do here.

Note that it also doesn't work with the current latest commit, 55b90f4 .

I hope that this information helps someone with better technical habilities. I'm available to run all tests you want if it can help. Meanwhile, I'm happy with that older version that works for me.

Thanks for the fish,

@farid4212
Copy link

Sam problème some ssid not fond
In kernel >5.3.6

@Fivizzz
Copy link

Fivizzz commented Sep 27, 2019

Same ISP, same issue. Had to use 6fcab13 as well to work around it. 6274276 for some reason (probably a mistake of my own) refused to compile.

Am using Mini 4K router, don't know if the problem appears with all of Free's hardware but they must be doing something different with their WiFi signal. Tried multiple options in router wifi config none of which made the SSID visible by the recent commits.

@brubar
Copy link

brubar commented Sep 28, 2019

FWIW: same ISP, same issue here too. I've checked out 6274276 and installed it. I'm now seeing Freebox ESSIDs, and I'm connected to mine.

Linux 5.0.0-29-generic #31~18.04.1-Ubuntu SMP x86_64

@mquinson: Thanks for bisecting a working commit

And thanks Tomás for your work on this driver.

I may provide some help testing, but only for a short period, as I don't own that laptop.

@Topper30
Copy link

Same ISP here, same device (Freebox), but no SSID shown with #6fcab13

Linux 5.3.6-arch1-1-ARCH x86_64

Thanks to work on this !

@Funeoz
Copy link

Funeoz commented Oct 18, 2019

I also have a Freebox. I tried to compile the module from the latest commit on Kubuntu 19.10 (kernel : 5.3.0.18.21). I wasn't not seeing my home wifi. So as a workaround, I'm booting Kubuntu with an older kernel and an older module compiled.

@Funeoz
Copy link

Funeoz commented Oct 23, 2019

@mquinson Which kernel are you using ?

@mquinson
Copy link
Author

$ uname -a
Linux host 5.0.0-32-generic #34-Ubuntu SMP Wed Oct 2 02:06:48 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

@Jodaille
Copy link

Jodaille commented Nov 6, 2019

Hi,
driver works with an Openwrt router, but cannot see Freebox SSID.
Kernel 5.3.0-8.1-liquorix-amd64 on Debian Buster

@xbeaudet
Copy link

Hi,
quite same problem here, but i can precise it a little (and workaround inside) :
on a freebox revolution, only ssid on 2.4Ghz card are not seen.
When i activate the 5Ghz card of the box, my laptop sees the SSID affected to the card (i choose to set a different SSID for the 2 frequencies, only the 5Ghz one is detected and works when connected to).
This still is a problem for some access points....

using a manjaro linux, kernel 5.3.11-1, i tried the 16 last commits with no success for 2.4Ghz (1ddc1d9 to 697c5ab)

ended with using AUR version on 5Ghz SSID which is ok at home, but only at home : i will have problems in some places where i won't be able to connect...

@soladev
Copy link

soladev commented Dec 5, 2019

I have the same problem, with that same ISP

@lindquistc
Copy link

As explained in my previous post, I managed to use my laptop's RTL8821CE wireless card and to see my Freebox SSID after installing version 6fcab13 of this driver on a laptop running Ubuntu 19.04 (kernel 5.0.0).

Today, after upgrading Ubuntu to version 19.10 (kernel 5.3.0-24-generic), the wireless card was not working anymore... Looking (again) for a solution to this problem, I've found a package in the universe repository of Ubuntu 19.10 containing a driver for the RTL8821CE wireless card. After removing the old driver (sudo ./dkms-remove.sh from the folder containing the source downloaded from GitHub) and installing the above mentioned package (sudo apt-get install rtl8821ce-dkms), the wireless card worked again and I can now use my Freebox SSID!

@Fivizzz
Copy link

Fivizzz commented Dec 8, 2019

Oh interesting, so Realtek's drivers have indeed been implemented in Ubuntu 19.10. I've been holding off on upgrading because of reported issues with Kernel ver 5.3.xxx. Will try it out next weekend and report.

EDIT 14/12: Running Ubuntu 19.10 now, and can confirm this driver is now unnecessary. Driver in Ubuntu repos is perfectly functional albeit not installed automatically.

@Funeoz
Copy link

Funeoz commented Jan 4, 2020

I can also confirm that the wifi works for the Kernel 5.3.0-24-generic (and 5.3.0-26-generic) with the package rtl8821ce-dkms and the Freebox.

@delestro
Copy link

Thank you so much for this thread, I also confirm that sudo apt-get install rtl8821ce-dkms solves the problem for Ubuntu 19.10, running on a Lenovo Ideapad S540 with a RTL8821CE 802.11ac PCIe Wireless.

Before I could detect some networks, but not the one from Freebox. Everything is fine now

@Fivizzz
Copy link

Fivizzz commented Feb 28, 2020

Note: For people now running the rtl8821ce-dkms package on Ubuntu 19.10, the package has recently been updated, and Freebox SSID have disappeared again (after full reboot and not after update and module restart, mind you).

Apparently rtl8821ce-dkms is based on this driver and our issue has finally made it into the official repos :D

I advise not to upgrade, however if this is too late for you (or for new installs) reverting package to previous version solves it.
sudo apt-get install rtl8821ce-dkms=5.2.5.2.1.30816.20190425-0ubuntu1

You might wanna hold the version from future updates as well after that.
sudo apt-mark hold rtl8821ce-dkms

@Funeoz
Copy link

Funeoz commented Feb 28, 2020

That will be an issue for the next upgrade to Ubuntu Focal. The package is based on the version 5.5.2.1-0ubuntu3...

@Funeoz
Copy link

Funeoz commented Feb 28, 2020

I've started a new thread about this bug on launchpad:
https://bugs.launchpad.net/ubuntu/+source/rtl8821ce/+bug/1865147

@Fivizzz
Copy link

Fivizzz commented Feb 29, 2020

Thanks. Everyone in this thread should mark themselves as affected in Funeoz's launchpad thread to give the bug visibility and hopefully get some able stranger to fix it before 20.04.

@aauzi
Copy link

aauzi commented Mar 11, 2020

As explained in my previous post, I managed to use my laptop's RTL8821CE wireless card and to see my Freebox SSID after installing version 6fcab13 of this driver on a laptop running Ubuntu 19.04 (kernel 5.0.0).

hi everyone,
I was facing the same issue plus a kernel error on kernel 5.5.8 on Fedora 31.
Based on the information above I managed to build a workaround that gives me back the freebox SSIDs.
One can check it out in the workaround-freebox branch of my fork.

@Funeoz
Copy link

Funeoz commented Mar 11, 2020

If this works, maybe you could ask for a PR on this repo.

@healBvdb
Copy link

Thanks aauzi for your workaround I did succeed to get my Freebox SSID with it. Otherwise I could not get it on a laptop running Ubuntu 19.10

BuBuaBu added a commit to BuBuaBu/rtl8821ce that referenced this issue Mar 24, 2020
The update of the driver to the version 'Realtek v5.5.2' introduce
a check of the DR broadcasted in the WLAN_EID_SUPP_RATES IE.
As a conseconsed AP with 22MB or 33MB Data Rate are filtered out.
The check has been added in to function collect_bss_info of rtw_mlne_ext.c
and performed in the function rtw_validate_value of rtw_wlan_util.c

Adding these constants will allow to make the AP available again.
Even if I did not observe any issue, I don't known if the driver is
able to support such data rate.

Anyway this patch permits to connect again on "Freebox" AP, the modem
provided by French ISP "Free". Issue tomaspinho#64
@tomaspinho
Copy link
Owner

We have a fix in #135 that you can try out in the meantime, thanks to @BuBuaBu

@ludzovic
Copy link

We have a fix in #135 that you can try out in the meantime, thanks to @BuBuaBu

This worked perfectly for me, thanks a lot! I'm on Kubuntu 19.10, kernel 5.3.0-45. Laptop FX505DT

@tomaspinho
Copy link
Owner

Fix now merged into master. Closing this issue. Thanks everyone!

@Funeoz
Copy link

Funeoz commented Jul 22, 2020

Just to say that the fix has been merged for the packaged version rtl8821ce-dkms. Not tested yet but it should be working. https://bugs.launchpad.net/ubuntu/+source/rtl8821ce/+bug/1865147

@Funeoz
Copy link

Funeoz commented Aug 17, 2020

The fix has been released for the Ubuntu package rtl8821ce-dkms.

@afgranero
Copy link

afgranero commented Oct 16, 2021

I still have the problem on an HP256 G8 on a Linux Mint Uma kernel 5.4.0-74.

I tried the Ubuntu package and compiling from this source in master and all branches discussed here.
I have an TL-WR941ND running a custom version of DD-WRT for this exact model. I have more than 15 devices connected from several brands, some of them running Linux Mint Uma, so I don't think is a router problem per se.
I thought it was the regulatory domain that blocks some channels in my country, but it was not the case. I even changed the channel for one that I was sure is not forbidden with no result. My router off course broadcasts the SSID and my SSID has no special chars on it.

So I think it is really an issue. should I open another issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests