[ 解决 ]Realtek Semiconductor RTL8188CE 802.11b/g/n WiFi Adapter

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

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:
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 targetDriver/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.

cd Driver/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013

1赞

你的意思是我没有在驱动的主目录下面?我记得我当时进入了目录了啊。
我又试了很多次
得到的错误是这样的
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->conf.channel->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->conf.channel->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->band = hw->conf.channel->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

我也不知道为什么和原来不一样。

看报错这驱动和 3.10+ 的内核不兼容。这里有个人自己改的 github.com/FreedomBen/rtl8188ce-linux-driver
话说我怎么记得这网卡驱动应该系统自带的吧?

1赞
  1. 请阅读版规 本站版规
    代码要用 括起来。

  2. 第一次和第二次不一样就是因为你没有 cd 啊。

  3. 你第二次这个错误说明你的这个驱动是在老旧的内核下面开发的,新内核上面无法编译。

  4. forums.opensuse.org/showthread.php/461505-Need-wireless-help-for-rpm-for-RTL8188CE-and-RTL8192CE

这个帖子说你的 rtl8188ce 是可以使用 rtl8192ce 的驱动的。

至少在 openSUSE 13.1 上面:

/lib/modules/3.11.6-4-desktop/kernel/drivers/net/wireless/rtlwifi/rtl8192ce/rtl8192ce.ko

默认是有这个内核模块的。

应该直接 sudo modprobe rtl8192ce 就好。

  1. I am sorry for that. Because I post that on my iPad and it is inconvenient to insert code.

  2. It is my fault maybe.

    1. I try this:

    modprobe rtl8192c3

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.

Thank you very much!

I am trying this. Whether it can be used. Thank you!

not c3 but ce.

And you may need to start NetworkManager systemd service because if openSUSE detects no network available during installation, it will not enable & start NetworkManager.service for you

Sent from my iPhone 5s using Tapatalk

Oh, my type error here. :frowning:
And I try it correctly again at my computer. It remain the same.

While how to “Start NeworkManager service”.

Maybe my wifi card is still not working. because:

linux-cjel:/home/snowsun # iwlist wlo1 scan
wlo1      Interface doesn't support scanning : Network is down

lsmod | grep rtl8192ce

I got the following:

linux-cjel:/home/snowsun # 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

excuse me. It means the driver is working? or anything?

then

sudo systemctl enable NetworkManager
sudo systemctl start NetworkManager

I did it.

linux-cjel:/home/snowsun # sudo systemctl enable NetworkManager
linux-cjel:/home/snowsun # systemctl start NetworkManager

However, When I click the network icon on the task bar. The Interfaces list the WLAN Interface Unavailable.

try reboot

I reboot.
However, it remains the same and the WLAN Interface is Unavaliable.
This is the WLAN Interface information:

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

excuse me, can you tell me why and how to solve it.

按理说你的无线现在应该由 NM 管理着。对了你的 sudo systemctl status NetworkManager 如何?

Sent from my iPhone 5s using Tapatalk

This is the output of the command:

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; 1min 3s ago
 Main PID: 691 (NetworkManager)
   CGroup: /system.slice/NetworkManager.service
           ├─ 691 /usr/sbin/NetworkManager --no-daemon
           └─1502 /sbin/dhclient -d -sf /usr/lib/nm-dhcp-client.action -pf /var/run/dhclient-eno1.pid -lf /var/lib/NetworkManager/dhclient-06bff1a8-9427-4fd6-8d67-91ede3451fd8-eno1.lease -c...

Jul 02 07:26:38 linux-cjel.site NetworkManager[691]: <info>   nameserver '222.246.129.80'
Jul 02 07:26:38 linux-cjel.site NetworkManager[691]: <info>   nameserver '59.51.78.210'
Jul 02 07:26:38 linux-cjel.site NetworkManager[691]: <info> Activation (eno1) Stage 5 of 5 (IPv4 Configure Commit) scheduled...
Jul 02 07:26:38 linux-cjel.site NetworkManager[691]: <info> Activation (eno1) Stage 5 of 5 (IPv4 Commit) started...
Jul 02 07:26:39 linux-cjel.site NetworkManager[691]: <info> (eno1): device state change: ip-config -> secondaries (reason 'none') [70 90 0]
Jul 02 07:26:39 linux-cjel.site NetworkManager[691]: <info> Activation (eno1) Stage 5 of 5 (IPv4 Commit) complete.
Jul 02 07:26:39 linux-cjel.site NetworkManager[691]: <info> (eno1): device state change: secondaries -> activated (reason 'none') [90 100 0]
Jul 02 07:26:40 linux-cjel.site NetworkManager[691]: <info> NetworkManager state is now CONNECTED_GLOBAL
Jul 02 07:26:40 linux-cjel.site NetworkManager[691]: <info> Policy set 'Wired connection 1' (eno1) as default for IPv4 routing and DNS.
Jul 02 07:26:40 linux-cjel.site NetworkManager[691]: <info> Activation (eno1) successful, device activated.

The NetworkManager is loaded.

不会是无线硬件开关没打开吧! :point_up:

exactly not :wink:
If that swithc is closed. The ‘Enable Wireless’ selection of the Network icon at the task bar can not be clicked, I tried it specially.

Hello everyone.
Problem solved:
I install the rfkill tool.
and read the rfkill’s man page.
do the following:

rfkill list all
rfkill unblock all
reboot

It worked. I got this solution from: forums.opensuse.org/showthread.php/499185-on-Realtek-Semiconductor-RTL8188CE-802-11b-g-n-WiFi-Adapter-install-problems

Problem solved

Thank you very much.
openSUSE forum is excellent. :1: