Author Topic: [SOLVED] Realtek wireless driver  (Read 8374 times)

Offline derekf

  • Full Member
  • ***
  • Posts: 249
Re: Realtek wireless driver
« Reply #15 on: February 04, 2012, 08:00:16 PM »

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: Realtek wireless driver
« Reply #16 on: February 05, 2012, 07:10:08 AM »
AS,

 I think i downloaded the driver from the link below:

http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PFid=48&Level=5&Conn=4&ProdID=226&DownTypeID=3&GetDown=false&Downloads=true


Quote
[derek@localhost ~]$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN


I have downloaded the same file, successfully compiled, but the resulting module doesn't support your card,

searching around have found the correct driver on the same web page: RTL8188CUS under section unix:
Quote
Linux Kernel 2.6.18~2.6.38 and Kernel 3.0.2              3.3.2_3192      2012/1/9       8322k

the filename is: RTL819xCU_USB_linux_ v3[1].3.2_3192.zip

Download the file, open a terminal and su to root, and perform the following commands:
Quote
cd <location where you have downloaded the zip file>
unzip -x RTL819xCU_USB_linux_ v3[1].3.2_3192.zip
cd RTL8188C_8192C_8192D_USB_linux_v3.3.2_3192.20120103
cd driver
tar xvf rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103.tar.gz
cd rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103
make


if compilation was successful the following command should report:
Quote
# modinfo 8192cu.ko
filename:       8192cu.ko
version:        v3.3.2_3192.20120103
author:         Realtek Semiconductor Corp.
description:    Realtek Wireless Lan Driver
license:        GPL
srcversion:     5B323C24BF8EB2D52BDB625
alias:          usb:v0BDAp8186d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0E66p0019d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0846p9021d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0B05p17ABd*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0DF6p0061d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v20F4p624Dd*dc*dsc*dp*ic*isc*ip*
alias:          usb:v050Dp2103d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v050Dp2102d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v2001p3307d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v4855p0091d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v07AAp0056d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v07B8p8178d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v2019pAB2Bd*dc*dsc*dp*ic*isc*ip*
alias:          usb:v7392p7822d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0586p341Fd*dc*dsc*dp*ic*isc*ip*
alias:          usb:v2001p3309d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v2001p330Ad*dc*dsc*dp*ic*isc*ip*
alias:          usb:v2001p3307d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v2019p1201d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v04F2pAFFCd*dc*dsc*dp*ic*isc*ip*
alias:          usb:v04F2pAFFBd*dc*dsc*dp*ic*isc*ip*
alias:          usb:v04F2pAFF8d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v04F2pAFFAd*dc*dsc*dp*ic*isc*ip*
alias:          usb:v04F2pAFF9d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v04F2pAFF7d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v13D3p3358d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v13D3p3359d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0BDAp317Fd*dc*dsc*dp*ic*isc*ip*
alias:          usb:v2019pAB2Ed*dc*dsc*dp*ic*isc*ip*
alias:          usb:v2019p4902d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v4856p0091d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0BDAp5088d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0DF6p005Cd*dc*dsc*dp*ic*isc*ip*
alias:          usb:v13D3p3357d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v4855p0090d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v20F4p648Bd*dc*dsc*dp*ic*isc*ip*
alias:          usb:v2019pAB2Ad*dc*dsc*dp*ic*isc*ip*
alias:          usb:v050Dp1102d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v2001p3308d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v103Cp1629d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v06F8pE033d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0EB0p9071d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v07B8p8189d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v7392p7811d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0DF6p0052d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v2019pED17d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0BDAp817Cd*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0BDAp8178d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0BDAp8177d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0BDAp018Ad*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0BDAp818Ad*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0BDAp817Fd*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0BDAp8754d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0BDAp817Dd*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0BDAp817Bd*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0BDAp817Ad*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0BDAp817Ed*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0BDAp8170d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0BDAp8176d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0BDAp8191d*dc*dsc*dp*ic*isc*ip*
depends:        usbcore
vermagic:       2.6.38.8-pclos3.pae SMP mod_unload modversions 686
parm:           rtw_ips_mode:The default IPS mode (int)
parm:           ifname:charp
parm:           rtw_initmac:charp
parm:           rtw_channel_plan:int
parm:           rtw_chip_version:int
parm:           rtw_rfintfs:int
parm:           rtw_lbkmode:int
parm:           rtw_network_mode:int
parm:           rtw_channel:int
parm:           rtw_mp_mode:int
parm:           rtw_wmm_enable:int
parm:           rtw_vrtl_carrier_sense:int
parm:           rtw_vcs_type:int
parm:           rtw_busy_thresh:int
parm:           rtw_ht_enable:int
parm:           rtw_cbw40_enable:int
parm:           rtw_ampdu_enable:int
parm:           rtw_rx_stbc:int
parm:           rtw_ampdu_amsdu:int
parm:           rtw_lowrate_two_xmit:int
parm:           rtw_rf_config:int
parm:           rtw_power_mgnt:int
parm:           rtw_low_power:int
parm:           rtw_wifi_spec:int
parm:           rtw_antdiv_cfg:int
parm:           rtw_enusbss:int
parm:           rtw_hwpdn_mode:int
parm:           rtw_hwpwrp_detect:int
parm:           rtw_max_roaming_times:The max roaming times to try (uint)
parm:           rtw_mc2u_disable:int


will follow a next step ... waiting your feedback  ;)

Offline derekf

  • Full Member
  • ***
  • Posts: 249
Re: Realtek wireless driver
« Reply #17 on: February 05, 2012, 04:47:32 PM »
AS,
 
 I downloaded that driver you said to download and did everything exactly what you typed, and it worked.

Now i am ready for the next step.

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: Realtek wireless driver
« Reply #18 on: February 05, 2012, 05:27:57 PM »
AS,
 
 I downloaded that driver you said to download and did everything exactly what you typed, and it worked.

Now i am ready for the next step.

Great!  :)

now copy the built module: (assuming you are in the same directory where you typed the modinfo command, su to root):
Quote
cp  8192cu.ko   /lib/modules/2.6.38.8-pclos3.bfs/kernel/drivers/net/wireless
depmod -a

now the modules is installed, the following command should confirm all is OK:

Quote
# modprobe --show-depends 8192cu
insmod /lib/modules/2.6.38.8-pclos3.bfs/kernel/drivers/usb/core/usbcore.ko.gz
insmod /lib/modules/2.6.38.8-pclos3.bfs/kernel/drivers/net/wireless/8192cu.ko

edit the file /etc/modprobe.preload and add the following line:
Code: [Select]
8192cuthen reboot

Upon reboot, open a terminal, su to root again:
Code: [Select]
lsmod | grep 8192should result something like (not identical):
Quote
8192cu                468964  0
usbcore               117923  8 8192cu,btusb,uvcvideo,uhci_hcd,ohci_hcd,ehci_hcd,usbhid

open PCLinuxOS control center and configure your wireless NIC    ;)

Offline derekf

  • Full Member
  • ***
  • Posts: 249
Re: Realtek wireless driver
« Reply #19 on: February 05, 2012, 05:56:58 PM »
AS,

 Everything is done up to where you say: edit the file /etc/modprobe.preload and add the following line:

Do i go into /etc/modprobe.preload folder and open the file and add 8192cu

If that is right, all i can see is modprobe.preload.d folder.

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: Realtek wireless driver
« Reply #20 on: February 05, 2012, 06:04:51 PM »
AS,

 Everything is done up to where you say: edit the file /etc/modprobe.preload and add the following line:

Do i go into /etc/modprobe.preload folder and open the file and add 8192cu

If that is right, all i can see is modprobe.preload.d folder.

Hmm ... there should exist both:
a file: /etc/modprobe.preload
a dir: /etc/modprobe.preload.d

What PCLinuxOS ISO did you installed ?

Offline derekf

  • Full Member
  • ***
  • Posts: 249
Re: Realtek wireless driver
« Reply #21 on: February 05, 2012, 06:06:29 PM »
FullMonty Release:               2011.09
Kernel-version:    2.6.38.8-pclos3.bfs
KDE4-version:                           4.6.5

All i can see is:

 modprobe.d
 modprobe.preload.d
« Last Edit: February 05, 2012, 06:08:11 PM by derekf »

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: Realtek wireless driver
« Reply #22 on: February 05, 2012, 06:10:47 PM »
OK,
create a new file /etc/modprobe.preload .... add the line with the module name ...
chmod 644 /etc/modprobe.preload
continue as described before ...

Offline derekf

  • Full Member
  • ***
  • Posts: 249
Re: Realtek wireless driver
« Reply #23 on: February 05, 2012, 06:17:34 PM »
AS, um how do i do that ?

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: Realtek wireless driver
« Reply #24 on: February 05, 2012, 06:22:57 PM »
AS, um how do i do that ?

open a terminal, su to root, copy & paste the followings:
Code: [Select]
echo 8192cu  >>  /etc/modprobe.preload
chmod  644  /etc/modprobe.preload

reboot ...

Offline derekf

  • Full Member
  • ***
  • Posts: 249
Re: Realtek wireless driver
« Reply #25 on: February 05, 2012, 06:33:56 PM »
AS,

 i copied what you said, rebooted and then went into network connections, put in my settings and rebooted again.

Once the desktop started i was connected to the internet, so it works.

 AS, Thank You for all your help mate, good stuff.

Derek.
« Last Edit: February 05, 2012, 06:36:57 PM by derekf »

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: ( SOLVED ) Realtek wireless driver
« Reply #26 on: February 05, 2012, 06:38:03 PM »
You are welcome!  :)

Enjoy PCLinuxOS!

AS