D-Link DWA-131 USB nano Wireless vs RFKILL

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

D-Link DWA-131 USB nano Wireless vs RFKILL

Postby MaxG » Fri Jan 04, 2013 1:26 am

Hi, I've been trying to use the D-Link DWA-131 nano wireless adapter in Arch. I'm using wext driver, but when i start netcfg for wireless connection i receive this response:

$this->bbcode_second_pass_code('', 'rfkill: Cannot open RFKILL control device')

Can i resolve this RFKILL problem?
MaxG
 
Posts: 8
Joined: Thu Jan 03, 2013 8:57 pm

Re: D-Link DWA-131 USB nano Wireless vs RFKILL

Postby Nico38 » Wed Jan 09, 2013 8:54 pm

Hi,

Looks like DWA-131 uses a realtek chipset.
Can you confirm with 'lsusb' ?

Nicolas
Nico38
 
Posts: 16
Joined: Mon Aug 06, 2012 8:44 pm
Location: Grenoble, France

Re: D-Link DWA-131 USB nano Wireless vs RFKILL

Postby MaxG » Wed Jan 09, 2013 11:30 pm

$this->bbcode_second_pass_quote('Nico38', 'H')i,

Looks like DWA-131 uses a realtek chipset.
Can you confirm with 'lsusb' ?

Nicolas


Yes.
MaxG
 
Posts: 8
Joined: Thu Jan 03, 2013 8:57 pm

Re: D-Link DWA-131 USB nano Wireless vs RFKILL

Postby Nico38 » Thu Jan 10, 2013 7:34 pm

I use a realtek usb chipset.
I have downloaded the driver from realtek website, compiled it and installed it. It works perfectly.

Note : I had to tweak makefile a little bit.
Nico38
 
Posts: 16
Joined: Mon Aug 06, 2012 8:44 pm
Location: Grenoble, France

Re: D-Link DWA-131 USB nano Wireless vs RFKILL

Postby LDighera » Sat Feb 09, 2013 10:05 pm

I'm new to archlinux, and have just brought it up on a Raspberry Pi. I'd like to compile the Realtek RTL8192SU driver, but I don't find gcc, cc, nor make commands on my archlinux system (alarmpi 3.6.11-4ARCH+ armv61). Is there any chance you could e-mail the compiled Realtec DWA-131 USB nano driver to me at: LDighera@att.net. Or perhaps provide the pacman commands to get gcc, and a copy of your modified Realtec driver makefile? Many thanks.

Larry
UNIX is simple. It just takes a genius to understand its simplicity. --Dennis Ritchie
LDighera
 
Posts: 13
Joined: Sat Feb 09, 2013 9:35 pm
Location: California, USA

Re: D-Link DWA-131 USB nano Wireless vs RFKILL

Postby Nico38 » Sun Feb 10, 2013 10:20 am

To install dev tools and compiler :
$this->bbcode_second_pass_code('', 'pacman -S kernel26-headers file base-devel abs')
Instructions to build driver :
$this->bbcode_second_pass_code('', 'mkdir wifi
cd wifi')
copy rtl8188C_8192C_usb_linux_v3.4.3_4369.20120622.tar.gz in current dir.
$this->bbcode_second_pass_code('', 'tar xzf rtl8188C_8192C_usb_linux_v3.4.3_4369.20120622.tar.gz
cd cd rtl8188C_8192C_usb_linux_v3.4.3_4369.20120622
nano Makefile')
Change the following line :
CONFIG_PLATFORM_I386_PC = y
with :
CONFIG_PLATFORM_I386_PC = n

Add the following line :
CONFIG_PLATFORM_ARM_BCM2708 = y

Add following lines (near ifeq ($(CONFIG_PLATFORM_I386_PC), y)) :
ifeq ($(CONFIG_PLATFORM_ARM_BCM2708), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
ARCH := arm
CROSS_COMPILE :=
KVER := $(shell uname -r)
KSRC := /usr/lib/modules/$(KVER)/build
endif

To install the driver :
$this->bbcode_second_pass_code('', 'make
cp 8192cu.ko /usr/lib/modules/extramodules-<tab>
depmod -a
systemctl reboot')

Nicolas
Nico38
 
Posts: 16
Joined: Mon Aug 06, 2012 8:44 pm
Location: Grenoble, France

Re: D-Link DWA-131 USB nano Wireless vs RFKILL

Postby pepedog » Sun Feb 10, 2013 11:30 am

I don't understand, 8192cu is already in the kernel modules and doesn't need building.
Sometimes it needs kicking into life before networking scripts handle it, in which case this would cure it
$this->bbcode_second_pass_code('', 'echo "8192cu" > /etc/modules-load.d/8192cu.conf')
sync and reboot to take effect
ifconfig -a (to see if its available to configure)
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: D-Link DWA-131 USB nano Wireless vs RFKILL

Postby Nico38 » Sun Feb 10, 2013 2:14 pm

When I first used Archlinux on RaspberryPi On July, I was not successfull in using a ready to go driver. So I compiled it myself.
Maybe, with the new version things have changed.

Nicolas
Nico38
 
Posts: 16
Joined: Mon Aug 06, 2012 8:44 pm
Location: Grenoble, France

Re: D-Link DWA-131 USB nano Wireless vs RFKILL

Postby pepedog » Sun Feb 10, 2013 3:32 pm

Yes, that driver is so popular the raspberry pi people added it after that date
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: D-Link DWA-131 USB nano Wireless vs RFKILL

Postby Nico38 » Sun Feb 10, 2013 5:22 pm

It's good to know.
Thanks.
Nico38
 
Posts: 16
Joined: Mon Aug 06, 2012 8:44 pm
Location: Grenoble, France


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 4 guests