LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 12-20-2011, 09:01 PM   #1
tondalar
LQ Newbie
 
Registered: Oct 2011
Posts: 19

Rep: Reputation: Disabled
WLAN issues in Debian Squeeze RTL8188CE


I've been having the hardest time getting the WiFi on my laptop working in Debian. The wireless card is RTL8188CE. I've tried everything I can think of to get this working and it's gotten me nowhere.

First, I went to Realtek's website and they only have the driver listed as compatible with krenel 2.6, but I've seen many posts saying it works fine with 3.0. However, I can't compile the darn thing. Whenever I try to, I get the following error message:
Code:
turtle@mobile-tux:~/Downloads/rtl_92ce_92se_92de_linux_mac80211_0004.0816.2011$ make >> out.txt
/home/turtle/Downloads/rtl_92ce_92se_92de_linux_mac80211_0004.0816.2011/base.c: In function ‘_rtl_init_mac80211’:
/home/turtle/Downloads/rtl_92ce_92se_92de_linux_mac80211_0004.0816.2011/base.c:320: error: ‘IEEE80211_HW_CONNECTION_MONITOR’ undeclared (first use in this function)
/home/turtle/Downloads/rtl_92ce_92se_92de_linux_mac80211_0004.0816.2011/base.c:320: error: (Each undeclared identifier is reported only once
/home/turtle/Downloads/rtl_92ce_92se_92de_linux_mac80211_0004.0816.2011/base.c:320: error: for each function it appears in.)
/home/turtle/Downloads/rtl_92ce_92se_92de_linux_mac80211_0004.0816.2011/base.c: In function ‘rtl_watchdog_wq_callback’:
/home/turtle/Downloads/rtl_92ce_92se_92de_linux_mac80211_0004.0816.2011/base.c:1258: error: implicit declaration of function ‘ieee80211_connection_loss’
make[4]: *** [/home/turtle/Downloads/rtl_92ce_92se_92de_linux_mac80211_0004.0816.2011/base.o] Error 1
make[3]: *** [_module_/home/turtle/Downloads/rtl_92ce_92se_92de_linux_mac80211_0004.0816.2011] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2
Following the advice of a friend, I installed this .deb: http://packages.debian.org/wheezy/firmware-realtek

The system still does not recognize the card (it will appear in lspci, but not under ifconfig. Running iwconfig however will now show a "pan0" interface that was not there before).

Continuing to troubleshoot I then followed the directions here: http://wiki.debian.org/rtl819x#Wheezy
I now have a rtl8192 module (which is what I've seen many people saying is the correct module for this card) available, however whenever I load it - I still have no wlan0 interface or such. The only module given from those directions that causes any form of system response is loading the rtl8192u_usb module and that causes Debian to show a "Kernel error" message.

I'm using this laptop for school, and I'd love to be using Debian on it before anything else. Any suggestions?


EDIT: I even tried using ndiswrapper on the latest Windows driver and no luck. :\
 
Old 12-21-2011, 10:07 AM   #2
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Thread at the Debian Forums: http://forums.debian.net/viewtopic.php?f=5&t=64140

The OP solved it apparently, the last post refers to the proprietary driver - best as a last resort.
 
Old 12-22-2011, 07:36 PM   #3
tondalar
LQ Newbie
 
Registered: Oct 2011
Posts: 19

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by caravel View Post
Thread at the Debian Forums: http://forums.debian.net/viewtopic.php?f=5&t=64140

The OP solved it apparently, the last post refers to the proprietary driver - best as a last resort.
Thanks for the link. I followed the steps and now at least have the rtl8192ce module available, but still no functioning wifi. The output of dmesg | tail after loading the module is this:

Code:
[  476.207744] rtl8192ce:rtl92c_init_sw_vars():<0-0> Failed to request firmware!
[  476.207748] rtlwifi:rtl_pci_probe():<0-0> Can't init_sw_vars.
[  476.207764] rtl8192ce 0000:04:00.0: PCI INT A disabled
I know that's usually due to missing firmware but I have the appropriate firmware in /lib/firmware/rtlwifi:
Code:
turtle@tux-deb:/lib/firmware/rtlwifi$ ls
rtlwifi_rtl8192cfw.bin  rtlwifi_rtl8192cufw.bin  rtlwifi_rtl8192sefw.bin
So I'm a bit confused now. Any suggestions?
 
Old 12-23-2011, 05:18 AM   #4
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
I take it you already installed the kernel from backports?

You also need to install firmware-realtek from backports. I would install it, as you said earlier you installed the .deb from wheezy? But clearly the kernel module is not finding firmware.

Code:
aptitude -t squeeze-backports install firmware-realtek
Code:
modprobe -r rtl8192ce && modprobe rtl8192ce
You should then be able to configure the interface.

Last edited by cynwulf; 12-23-2011 at 07:56 AM.
 
Old 02-29-2012, 12:01 PM   #5
oxide23
LQ Newbie
 
Registered: Feb 2004
Posts: 4

Rep: Reputation: 0
what is "kernel from backports" and how is that installed? what is the name of the package? thank you
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Various segmentation faults Debian Squeeze Virtualbox running on Debian Squeeze host fordwrench Debian 1 07-21-2011 03:55 AM
debian squeeze usb wlan configuration harald_sdt Debian 9 02-17-2011 09:29 AM
Issues w/Grub2 while trying to install Debian "squeeze" rickolai Linux - Newbie 1 02-07-2011 03:00 PM
Wlan connected but no internet access on Debian Sid/Squeeze 8bitpal Linux - Wireless Networking 3 09-30-2009 03:34 PM
Debian Squeeze installer found my wlan but not available once installed sonichedgehog Linux - Networking 6 08-13-2009 08:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration