on Realtek Semiconductor RTL8188CE 802.11b/g/n WiFi Adapter install problems

I am new to openSUSE with 2 years of ubuntu experience I want to install Wifi Driver for my openSUSE 13.11

When I run the command:
linux-cjel:~ # lspci | grep WiFi
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter (rev 01)

So I find this driver:
http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=21&PFid=48&Level=5&Conn=4&DownTypeID=3&GetDown=false&Downloads=true

I selected this option: Linux driver for kernel 2.6.24 (and later)

However, when I install it, I got this error:

snowsun@linux-cjel: > make
make -C /lib/modules/3.11.10-7-desktop/build M=/home/snowsun/Downloads/Wifi Driver/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013 modules
make[1]: Entering directory /usr/src/linux-3.11.10-7-obj/i386/desktop' make[3]: *** No rule to make target Driver/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013’. Stop.
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-3.11.10-7-obj/i386/desktop’
make: *** [all] Error 2

But why? Who can Help me?
Thank you very much.

On 06/30/2014 02:36 AM, snowsun wrote:
>
> I am new to openSUSE with 2 years of ubuntu experience I want to install
> Wifi Driver for my openSUSE 13.11
>
>
> When I run the command:
> linux-cjel:~ # lspci | grep WiFi
> 03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8188CE
> 802.11b/g/n WiFi Adapter (rev 01)
>
>
> So I find this driver:
> http://tinyurl.com/yj3jvnk
>
>
> I selected this option: Linux driver for kernel 2.6.24 (and later)
>
>
> However, when I install it, I got this error:
>
>
> snowsun@linux-cjel: > make
> make -C /lib/modules/3.11.10-7-desktop/build
> M=/home/snowsun/Downloads/Wifi
> Driver/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013
> modules
> make[1]: Entering directory `/usr/src/linux-3.11.10-7-obj/i386/desktop’

make[3]: *** No rule to make target
Driver/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013'. > Stop. > make[2]: *** [sub-make] Error 2 > make[1]: *** [all] Error 2 > make[1]: Leaving directory /usr/src/linux-3.11.10-7-obj/i386/desktop’
> make: *** [all] Error 2
>
>
> But why? Who can Help me?
> Thank you very much.

There is no openSUSE 13.11. I assume you mean 13.1.

When you provide lspci output, it is a lot more informative that you use ‘lspci
-nn’. That way we get the PCI ID, which is what the kernel uses to determine the
device <=> driver correspondence.

Your error indicates that you do not have the necessary kernel headers installed
to make an out-of-kernel driver. That, however, is not important as the
rtl8188ee driver has been in the kernel since 3.10. It is available in the
standard 3.11.10 kernel that you are using. You have some other problem.

The most likely case is that the firmware is not available. You can confirm that
by looking at the output of dmesg, or by seeing if file
/lib/firmware/rtlwifi/rtl8188efw.bin exists. If that file is missing, install
the kernel-firmware package using

sudo zypper install kernel-firmware

I am sorry it’s my type error. It should be 13.1.
Besides, I have rtl8188efw.bin file.
And This is my lspci -nn output:

linux-cjel:~ # lspci -nn | grep WiFi
03:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter [10ec:8176] (rev 01)

I try to install the driver again. But I got the following error:

cd Driver/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013

linux-cjel:~/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013 # make
make -C /lib/modules/3.11.10-7-desktop/build M=/root/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013 modules
make[1]: Entering directory /usr/src/linux-3.11.10-7-obj/i386/desktop' CC [M] /root/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013/base.o In file included from /root/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013/base.c:39:0: /root/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013/pci.h:247:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl_pci_probe’ int __devinit rtl_pci_probe(struct pci_dev *pdev, ^ /root/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013/base.c: In function ‘rtl_action_proc’: /root/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013/base.c:885:32: error: ‘struct ieee80211_conf’ has no member named ‘channel’ rx_status.freq = hw-&gt;conf.channel-&gt;center_freq; ^ /root/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013/base.c:886:32: error: ‘struct ieee80211_conf’ has no member named ‘channel’ rx_status.band = hw-&gt;conf.channel-&gt;band; ^ /root/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013/base.c: In function ‘rtl_send_smps_action’: /root/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013/base.c:1451:24: error: ‘struct ieee80211_conf’ has no member named ‘channel’ info-&gt;band = hw-&gt;conf.channel-&gt;band; ^ make[4]: *** [/root/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013/base.o] Error 1 make[3]: *** [_module_/root/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013] Error 2 make[2]: *** [sub-make] Error 2 make[1]: *** [all] Error 2 make[1]: Leaving directory /usr/src/linux-3.11.10-7-obj/i386/desktop’
make: *** [all] Error 2

I do not know why. Could you help me?
I post my problem here: https://forum.suse.org.cn/viewtopic.php?f=3&t=2833 . And there are some actions I took. However, I didn’t solve the problem at last.

Thank you very much.

Hi
That PCI ID refers you to the rtl8192ce driver and rtl8192cfwU_B.bin, rtl8192cfwU.bin, rtl8192cfw.bin firmware, but since your talking directly with the kernel developer for these drivers, please wait for his response.

In the mean time can you install rfkill and check it’s not blocked?


zypper in rfkill
rfkill list

On 07/01/2014 12:06 PM, malcolmlewis wrote:
>
> Hi
> That PCI ID refers you to the rtl8192ce driver and rtl8192cfwU_B.bin,
> rtl8192cfwU.bin, rtl8192cfw.bin firmware, but since your talking
> directly with the kernel developer for these drivers, please wait for
> his response.
>
> In the mean time can you install rfkill and check it’s not blocked?
>
> Code:
> --------------------
>
> zypper in rfkill
> rfkill list

I misread 8188CE for 8188EE. Sorry.

Driver rtl8192ce, which is the driver you need, has been in the kernel since
version 2.6.38. Please explain once again in simple words why you are trying to
build an out-of-kernel version. Please do not refer to a different link. I am
refusing to follow such links.

I am sorry to show that link. (In fact, that is the openSUSE forum in China.)
While I don’t under the meaning of ‘why you are try to build an out-of-kernel version’ . my kernel version is:

linux-cjel:/lib/firmware/rtlwifi # uname -a
Linux linux-cjel.site 3.11.10-7-desktop #1 SMP PREEMPT Mon Feb 3 09:41:24 UTC 2014 (750023e) i686 i686 i386 GNU/Linux

And I just want to install the WiFi Driver for my computer.

Besides, This is the following command I have tried, maybe you can get more information:


linux-cjel:/lib/firmware/rtlwifi # cd
linux-cjel:~ # modprobe rtl8192ce
linux-cjel:~ # iwlist wlol scan
wlol      Interface doesn't support scanning.

linux-cjel:~ # ls mod | grep rtl8192ce
ls: cannot access mod: No such file or directory
linux-cjel:~ # lsmod | grep rtl8192ce
rtl8192ce              78698  0 
rtl8192c_common        68973  1 rtl8192ce
rtl_pci                35002  1 rtl8192ce
rtlwifi                83192  2 rtl8192ce,rtl_pci
mac80211              560313  3 rtl8192ce,rtl_pci,rtlwifi
linux-cjel:~ # systemctl enable NetworkManager
linux-cjel:~ # systemctl start NetworkManager
linux-cjel:~ # (And I reboot)

However, at the task bar, the “Enable wireless” selection can be clicked, but can not be remaining be selected. I think this shows that the wireless driver card is installed but can not be used. I do not know why.
When I click on the network icon on the task bar, I see that WLAN Interface is Unavaliable.
This is the WLAN Interface information:

 

| [RIGHT]Type:[/RIGHT]|  Wireless 802.11
|---|
|
| [RIGHT]Connection State:[/RIGHT]|  Unavailable
|
| [RIGHT]IPv4 Address:[/RIGHT]|  No IP address.
|
| [RIGHT]IPv4 Gateway:[/RIGHT]|  No IP gateway.
|
| [RIGHT]IPv6 Address:[/RIGHT]|  No IPv6 address.
|
| [RIGHT]IPv6 Gateway:[/RIGHT]|  No IP gateway.
|
| [RIGHT]Connection Speed:[/RIGHT]|  Unknown
|
| [RIGHT]System Name:[/RIGHT]|  wlo1
|
| [RIGHT]MAC Address:[/RIGHT]|  68:A3:C4:3E:38:38
|
| [RIGHT]Driver:[/RIGHT]|  rtl8192ce
|



Then , I try:

linux-cjel:~ # systemctl status NetworkManager
NetworkManager.service - Network Manager
   Loaded: loaded (/usr/lib/systemd/system/NetworkManager.service; enabled)
   Active: active (running) since Wed 2014-07-02 07:25:45 CST; 1h 3min ago
 Main PID: 691 (NetworkManager)
   CGroup: /system.slice/NetworkManager.service
           ├─ 691 /usr/sbin/NetworkManager --no-daemon
           └─4983 /sbin/dhclient -d -sf /usr/lib/nm-dhcp-client.action -pf /var/run/dhclient-eno1.pid -lf /var/lib/NetworkM...

Jul 02 07:42:23 linux-cjel.site NetworkManager[691]: <info> Activation (eno1) successful, device activated.
Jul 02 07:42:23 linux-cjel.site NetworkManager[691]: <info> (wlo1): bringing up device.
Jul 02 07:42:23 linux-cjel.site NetworkManager[691]: <info> WiFi hardware radio set enabled
Jul 02 07:42:23 linux-cjel.site NetworkManager[691]: <info> (wlo1): bringing up device.
Jul 02 07:42:23 linux-cjel.site NetworkManager[691]: <info> WiFi hardware radio set enabled
Jul 02 07:42:42 linux-cjel.site NetworkManager[691]: <info> (eno1): IP6 addrconf timed out or failed.
Jul 02 07:42:42 linux-cjel.site NetworkManager[691]: <info> Activation (eno1) Stage 4 of 5 (IPv6 Configure Timeout) sc...ed...
Jul 02 07:42:42 linux-cjel.site NetworkManager[691]: <info> Activation (eno1) Stage 4 of 5 (IPv6 Configure Timeout) started...
Jul 02 07:42:42 linux-cjel.site NetworkManager[691]: <info> Activation (eno1) Stage 4 of 5 (IPv6 Configure Timeout) complete.
Jul 02 08:23:51 linux-cjel.site systemd[1]: Started Network Manager.
Hint: Some lines were ellipsized, use -l to show in full.


Could you help me and tell me the solution? Thank you very much.

Hi
As explained you do not need to install anything…

Please post the output from the rfkill command, your hardware maybe soft or hard blocked.

It seems that it is blocked:

linux-cjel:~ # rfkill list all
0: hp-wifi: Wireless LAN
        Soft blocked: yes
        Hard blocked: no
1: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: yes


while how can I turn it on?
thank you.

Hi
So you have a wireless switch, button or Fn key for the wireless?


rfkill unblock 0
rfkill list

I am sorry to ask this stupid question just now.
And I read the man page of rfkill.
And I do the following:

linux-cjel:/home/snowsun # rfkill list
0: hp-wifi: Wireless LAN
        Soft blocked: yes
        Hard blocked: no
1: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: yes
linux-cjel:/home/snowsun # rfkill unblock all
linux-cjel:/home/snowsun # rfkill list
0: hp-wifi: Wireless LAN
        Soft blocked: yes
        Hard blocked: no
1: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: yes
linux-cjel:/home/snowsun # rfkill unblock wifi
linux-cjel:/home/snowsun # rfkill unblock wlan
linux-cjel:/home/snowsun # rfkill list
0: hp-wifi: Wireless LAN
        Soft blocked: yes
        Hard blocked: no
1: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: yes


I reboot my computer and the problem remains the same.
Besides, I have the button for wireless switch and I checked it is on especially.
I am so confused.

This is the output:

linux-cjel:/home/snowsun # rfkill unblock 0
linux-cjel:/home/snowsun # rfkill list
0: hp-wifi: Wireless LAN
        Soft blocked: yes
        Hard blocked: no
1: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: yes


I do not know why the Wireless LAN is hard blocked.

Hi
So you must have a physical switch for the wireless?

What is your hardware?

Amazing!!
I reboot again and tried it and it worked!
It works fine somehow though I do not know why it did not work just now :frowning: . Thank you so much!

linux-cjel:/home/snowsun # rfkill list
0: hp-wifi: Wireless LAN
        Soft blocked: no
        Hard blocked: no
1: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no

Again, Thank you.
The openSUSE forum is excellent.

Problem solved.