Results 1 to 10 of 17
Hi all,
I need to compile a driver for my OS Debian Squeeze 2.6.38 to get my WiFi stick running. Unfortunaley, I'm unable to locate and install the Linux headers ...
- 10-25-2011 #1Just Joined!
- Join Date
- Oct 2011
- Posts
- 9
Need some help compiling a driver
Hi all,
I need to compile a driver for my OS Debian Squeeze 2.6.38 to get my WiFi stick running. Unfortunaley, I'm unable to locate and install the Linux headers successfully to compile it by myself (I've already spent a lot of time to fix it, searched for answers for my questions in several forums, asked my teachers, etc...).
I would be REALLY appreciated if somebody can help me out!
Unfortunaley, I'm not allowed to post the link to the official driver here unless I have made 15 posts, so you have to google for it: It's the RTL8188CUS driver, you can find it by going to the offical Realtek homepage.
Thank you in advance!
- 10-25-2011 #2Guest
- Join Date
- Feb 2005
- Posts
- 314
2.6.38 is not the squeeze kernel. Where did you get that kernel from?
Refer to the debian wiki for installing the driver: rtl819x - Debian Wiki
You need a newer kernel (2.6.39) and non-free firmware.
- 10-25-2011 #3Just Joined!
- Join Date
- Oct 2011
- Posts
- 9
- 10-25-2011 #4
Hello and Welcome!
Start here: http://www.linuxforums.org/forum/wir...tart-here.html
Post back with all requested info.Jay
New users, read this first.
New Member FAQ
Registered Linux User #463940
I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.
- 10-25-2011 #5Just Joined!
- Join Date
- Oct 2011
- Posts
- 9
Yeah that's pretty much it. My guess is that the module "r8712u" is the wrong one for my WiFi Stick, that's why I'm looking for a compiled version of 8192cu. If I'm trying to set wlan0 per "ifconfig wlan0 up" up, I get no response.============ lspci ============
============ lsusb ============
Bus 001 Device 002: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
============ lsmod ============
Module Size Used by
ipv6 221082 10
r8712u 274688 0
firmware_class 5023 1 r8712u
============ dmesg-firmware ============
============ kernel version ============
2.6.38
============ ifconfig ============
eth0 Link encap:Ethernet HWaddr 00:04:25:28:03:22
inet addr:192.168.1.254 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::204:25ff:fe28:322/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:11269 errors:0 dropped:0 overruns:0 frame:0
TX packets:2289 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:15338894 (14.6 MiB) TX bytes:241690 (236.0 KiB)
Interrupt:21 Base address:0x4000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
============ iwconfig ============
wlan0 unassociated Nickname:"rtl_wifi"
Mode:Auto Access Point: Not-Associated Sensitivity:0/0
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
- 10-25-2011 #6
The Debian wiki has some instructions for getting that adapter working on Squeeze.
rtl819x - Debian WikiJay
New users, read this first.
New Member FAQ
Registered Linux User #463940
I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.
- 10-25-2011 #7Just Joined!
- Join Date
- Oct 2011
- Posts
- 9
- 10-25-2011 #8Just Joined!
- Join Date
- Oct 2011
- Posts
- 9
It's me again,
I'm getting an error at Step 4 of the tutorial:
debarm:~# modprobe r8192s_usb
FATAL: Module r8192s_usb not found.
- 10-25-2011 #9Guest
- Join Date
- Feb 2005
- Posts
- 314
The wiki states which controllers are supported by the kernel driver included in the squeeze kernel and yours is not one of them. The kernel module you need is also not included in 2.6.38 - you need at least 2.6.39 for the RTL8188CUS support, so no luck there either.
The module you're trying to insert was removed form the mainline kernel in 2.6.37 (which is what the fatal error refers to) and replaced by r8712u (also covered in the same wiki page) which is actually being loaded according to the report you posted - but it looks like r8712u is not the correct module for RTL8188CUS which should use the rtl8192cu - which is not in your kernel version (this is probably why it's loading r8192s_usb).
If the 2.6.38 kernel you have is the one from squeeze-backports, and you already have the backports repo set up, just install the 2.6.39 kernel from there and reboot. The module should load and all should be well, you will still need to install wireless-tools and wpasupplicant then configure your device as required: WiFi/HowToUse - Debian Wiki
- 10-26-2011 #10Linux Newbie
- Join Date
- Sep 2007
- Posts
- 137
The squeeze-backports repo may have the header pkg you're looking for:I'm unable to locate and install the Linux headers
Debian -- Package Search Results -- headers-2.6.38
If so, add this line to /etc/apt/sources.list file, then update:
Code:deb http://backports.debian.org/debian-backports squeeze-backports main
Try r8192u_usb
Originally Posted by Zebra


Reply With Quote

