I recently installed Ubuntu 13.0.4 Raring Ringtail onto my HP Pavilion G6, and I am having trouble compiling the drivers for my rtl8192ce wi-fi adapter. I've been searching around for a few days now and I haven't had any luck.
The driver I'm attempting to compile and install is here:
Here's the error I'm receiving when I attempt to run the "make" command:
make -C /lib/modules/3.8.0-19-generic/build M=/home/addison/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012 modules
make[1]: Entering directory /usr/src/linux-headers-3.8.0-19-generic'
CC [M] /home/addison/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012/base.o
In file included from /home/addison/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012/base.c:39:0:
/home/addison/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012/pci.h:245:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl_pci_probe’
/home/addison/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012/base.c: In function ‘_rtl_init_mac80211’:
/home/addison/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012/base.c:320:6: error: ‘IEEE80211_HW_BEACON_FILTER’ undeclared (first use in this function)
/home/addison/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012/base.c:320:6: note: each undeclared identifier is reported only once for each function it appears in
/home/addison/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012/base.c: In function ‘rtl_action_proc’:
/home/addison/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012/base.c:870:25: error: ‘RX_FLAG_MACTIME_MPDU’ undeclared (first use in this function)
/home/addison/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012/base.c: In function ‘rtl_send_smps_action’:
/home/addison/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012/base.c:1432:16: error: ‘struct <anonymous>’ has no member named ‘sta’
make[2]: *** [/home/addison/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012/base.o] Error 1
make[1]: *** [_module_/home/addison/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012] Error 2
make[1]: Leaving directory
/usr/src/linux-headers-3.8.0-19-generic'
make: * [all] Error 2
Here is the information about my machine from "lspci -nnk | grep -iA2 net", "lsmod", "nm-tool", "nmcli nm status", "iwconfig", and "rfkill list all":
lspci -nnk | grep -iA2 net 01:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter [10ec:8176] (rev 01) Subsystem: Hewlett-Packard Company Device [103c:1629]
Kernel driver in use: rtl8192ce
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller [10ec:8136] (rev 05) Subsystem: Hewlett-Packard Company Device [103c:1695] Kernel driver in use: r8169
lsmod Module Size Used by nls_utf8 12557 1 nls_iso8859_1 12713 1 isofs 39815 1 parport_pc 28152 0 ppdev 17073 0 rfcomm 42641 0 bnep 18036 2 bluetooth 228619 10 bnep,rfcomm snd_hda_codec_hdmi 36913 1 snd_hda_codec_idt 70256 1 joydev 17377 0 coretemp 13355 0 kvm 443165 0 ghash_clmulni_intel 13259 0 cryptd 20373 1 ghash_clmulni_intel snd_hda_intel 61623 1 snd_hda_codec 136453 3 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_intel snd_hwdep 13602 1 snd_hda_codec arc4 12615 2 snd_pcm 97451 3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel hp_wmi 18048 0 snd_page_alloc 18710 2 snd_pcm,snd_hda_intel sparse_keymap 13890 1 hp_wmi snd_seq_midi 13324 0 snd_seq_midi_event 14899 1 snd_seq_midi snd_rawmidi 30180 1 snd_seq_midi rtl8192ce 53594 0 rtlwifi 79673 1 rtl8192ce snd_seq 61554 2 snd_seq_midi_event,snd_seq_midi wmi 19070 1 hp_wmi rtl8192c_common 48779 1 rtl8192ce mac80211 606457 3 rtlwifi,rtl8192c_common,rtl8192ce snd_seq_device 14497 3 snd_seq,snd_rawmidi,snd_seq_midi snd_timer 29425 2 snd_pcm,snd_seq i915 600351 3 snd 68876 10 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_idt,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec,snd_hda_intel,snd_seq_device uvcvideo 80847 0 videobuf2_vmalloc 13056 1 uvcvideo videobuf2_memops 13202 1 videobuf2_vmalloc cfg80211 510937 2 mac80211,rtlwifi videobuf2_core 40513 1 uvcvideo video 19390 1 i915 soundcore 12680 1 snd drm_kms_helper 49394 1 i915 videodev 129260 2 uvcvideo,videobuf2_core rtsx_pci_ms 13011 0 mac_hid 13205 0 drm 286313 4 i915,drm_kms_helper lpc_ich 17061 0 psmouse 95870 0 lp 17759 0 i2c_algo_bit 13413 1 i915 memstick 16554 1 rtsx_pci_ms mei 41158 0 parport 46345 3 lp,ppdev,parport_pc microcode 22881 0 serio_raw 13215 0 ext2 72837 1 usb_storage 57204 1 mmc_block 27090 0 hid_generic 12540 0 usbhid 47074 0 hid 101002 2 hid_generic,usbhid rtsx_pci_sdmmc 17475 0 ahci 25731 3 libahci 31364 1 ahci rtsx_pci 33355 2 rtsx_pci_ms,rtsx_pci_sdmmc r8169 67446 0
nm-tool
NetworkManager Tool
State: connected (global)
Device: eth0 [Wired connection 1] ------------------------------------------- Type: Wired Driver: r8169 State: connected Default: yes HW Address: 78:E3:B5:6D:8C:FA
Capabilities: Carrier Detect: yes Speed: 100 Mb/s
Wired Properties Carrier: on
IPv4 Settings: Address: 192.168.1.73 Prefix: 24 (255.255.255.0) Gateway: 192.168.1.254
DNS: 192.168.1.254
Device: wlan0 ---------------------------------------------------------------- Type: 802.11 WiFi Driver: rtl8192ce State: unavailable Default: no HW Address: 20:10:7A:5D:5F:EE
Capabilities:
Wireless Properties WEP Encryption: yes WPA Encryption: yes WPA2 Encryption: yes
Wireless Access Points
nmcli nm status
RUNNING STATE WIFI-HARDWARE WIFI WWAN-HARDWARE WWAN
running connected disabled disabled disabled disabled
iwconfig eth0 no wireless extensions.
lo no wireless extensions.
wlan0 IEEE 802.11bgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm
Retry long limit:7 RTS thr=2347 B Fragment thr:off
Encryption key:off
Power Management:on
rfkill list all 0: phy0: Wireless LAN Soft blocked: no Hard blocked: no 1: hp-wifi: Wireless LAN Soft blocked: no Hard blocked: yes 2: hp-bluetooth: Bluetooth Soft blocked: no Hard blocked: yes 3: hp-wwan: Wireless WAN Soft blocked: no Hard blocked: yes
----------
Please help me solve this issue. Many thanks in advance to those who may have any advice to offer.