problem with realtek usb wi-fi

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

problem with realtek usb wi-fi

Postby maggie2 » Sat Mar 21, 2015 1:28 am

I'm trying to get my usb wi-fi called "Vilros 150 Mbps wireless 802.11b/g/n nano USB adapter" to work.

$this->bbcode_second_pass_code('', '# lsusb
Bus 001 Device 004: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter')

I get this error:
$this->bbcode_second_pass_code('', '# wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant/example.conf
Successfully initialized wpa_supplicant
nl80211: Driver does not support authentication/association or connect commands
wlan0: Failed to initialize driver interface
')

The hardware is good because I can plug it into my Arch x86_64 box and it works just fine.

The 8192cu module is loaded on my Pi.
$this->bbcode_second_pass_code('', '# lsmod
Module Size Used by
cfg80211 446651 0
8192cu 516676 0
uio_pdrv_genirq 3238 0
uio 8753 1 uio_pdrv_genirq
sch_fq_codel 7611 2
snd_bcm2835 19627 0
snd_pcm 84574 1 snd_bcm2835
snd_timer 20697 1 snd_pcm
snd 60977 3 snd_bcm2835,snd_timer,snd_pcm
bcm2708_rng 1044 0
rng_core 5666 1 bcm2708_rng
ipv6 327652 18 ')

The hardware is seen by ip:
$this->bbcode_second_pass_code('', '# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: ifb0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 32
link/ether e2:4e:14:91:33:aa brd ff:ff:ff:ff:ff:ff
3: ifb1: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 32
link/ether ba:ea:eb:1f:3f:52 brd ff:ff:ff:ff:ff:ff
4: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
link/ether b8:27:eb:77:8f:fa brd ff:ff:ff:ff:ff:ff
5: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 00:13:ef:90:43:27 brd ff:ff:ff:ff:ff:ff
')
maggie2
 
Posts: 22
Joined: Mon Mar 16, 2015 8:32 pm

Re: problem with realtek usb wi-fi

Postby maggie2 » Sat Mar 21, 2015 9:34 am

I have tried using the included 8192cu module and the alternative version in dkms-8192cu without any success. Any advice?
maggie2
 
Posts: 22
Joined: Mon Mar 16, 2015 8:32 pm

Re: problem with realtek usb wi-fi

Postby maggie2 » Sat Mar 21, 2015 1:02 pm

It seems that the hardware works perfectly fine with the standard module provided by linux-raspberrypi if I use netctl and not wpa_supplicant
$this->bbcode_second_pass_code('', 'sudo wifi-menu -o
Scanning for networks... ioctl[SIOCSIWAP]: Operation not permitted
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
done
')

I can then connect to whatever I want from the menu but I want to use systemd native network management for my wired and wireless and I think it only interacts with wpa_supplicant so the question is why doesn't wpa_supplicant work with my RPi?
maggie2
 
Posts: 22
Joined: Mon Mar 16, 2015 8:32 pm

Re: problem with realtek usb wi-fi

Postby graysky » Sat Mar 21, 2015 2:25 pm

Seems as though wpa_supplicant is on v2.4 now but the repos have v2.3. I know you said that the hardware works on x86_64 but maybe there is a fix for this in the new release? You'll have to read through the changelog or just build it and see if it helps.

http://w1.fi/releases
graysky
Developer
 
Posts: 1880
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: problem with realtek usb wi-fi

Postby maggie2 » Sat Mar 21, 2015 4:51 pm

I compiled it but there is not change using the new version :(
maggie2
 
Posts: 22
Joined: Mon Mar 16, 2015 8:32 pm


Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 15 guests