Hi
I have an Edmiax EW-7811UAC that I'm trying to use with a Raspberry Pi 2. The interface comes up, but no IP address is assigned. I've had this working OK with another adapter, one of the WiPi dongles, so am pretty sure the configuration files are OK. I got the drivers from
https://github.com/gnab/rtl8812au and they appeared to compile and install fine, and also appear in lsmod.
The main issue is in dmesg, in particular the line
IPv6: ADDRCONF(NETDEV_UP): wlan3: link is not ready
the full dmesg result for unplugging/replugging the adapter are
Code: Select all
[ 3429.269713] usb 1-1.5: new high-speed USB device number 6 using dwc_otg
[ 3429.358663] usb 1-1.5: New USB device found, idVendor=7392, idProduct=a812
[ 3429.358685] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3429.358701] usb 1-1.5: Product: Edimax AC600 USB
[ 3429.358716] usb 1-1.5: Manufacturer: Realtek
[ 3429.358731] usb 1-1.5: SerialNumber: 00e04c000001
[ 3429.576514] rtl8812au 1-1.5:1.0 wlan3: renamed from wlan0
[ 3429.582806] systemd-udevd[2711]: renamed network interface wlan0 to wlan3
[ 3430.001073] IPv6: ADDRCONF(NETDEV_UP): wlan3: link is not ready
[ 3430.006221] RTL871X: indicate disassoc
[ 3430.009214] IPv6: ADDRCONF(NETDEV_UP): wlan3: link is not ready
[ 3430.014864] RTL871X: set bssid:00:00:00:00:00:00
[ 3430.015078] RTL871X: set ssid [\x05\xffffffef\xfffffff7] fw_state=0x00000008
[ 3436.017467] RTL871X: nolinked power save enter
and lsmod shows
Code: Select all
Module Size Used by
cfg80211 376661 0
bnep 17650 2
rfcomm 50085 0
bluetooth 353080 10 bnep,rfcomm
rfkill 19527 4 cfg80211,bluetooth
binfmt_misc 12907 1
snd_soc_bcm2708_i2s 13257 0
bcm2708_rng 12445 0
snd_bcm2835 27675 0
snd_pcm_oss 44475 0
snd_mixer_oss 21946 1 snd_pcm_oss
regmap_mmio 12858 1 snd_soc_bcm2708_i2s
snd_soc_core 143741 1 snd_soc_bcm2708_i2s
snd_compress 17520 1 snd_soc_core
snd_pcm_dmaengine 12927 1 snd_soc_core
snd_seq_dummy 12465 0
snd_seq_oss 32826 0
snd_seq_midi 12782 0
snd_seq_midi_event 13200 2 snd_seq_oss,snd_seq_midi
snd_rawmidi 22437 1 snd_seq_midi
8812au 873896 0
snd_seq 56145 6 snd_seq_midi_event,snd_seq_oss,snd_seq_dummy,snd_seq_midi
snd_seq_device 13056 5 snd_seq,snd_rawmidi,snd_seq_oss,snd_seq_dummy,snd_seq_midi
snd_pcm 75238 4 snd_bcm2835,snd_pcm_oss,snd_soc_core,snd_pcm_dmaengine
snd_timer 26560 2 snd_pcm,snd_seq
snd 51707 11 snd_bcm2835,snd_pcm_oss,snd_soc_core,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_seq_oss,snd_seq_device,snd_compress,snd_mixer_oss
spi_bcm2708 12686 0
i2c_bcm2708 12672 0
cuse 12913 0
fuse 78744 3 cuse
At the moment I power the Pi with a 3.1A 5V power plug, and have entered the line max_usb_current=1 in config.txt, thinking that this may be a power issue. I have been thinking pf making a splitter cable to power the adapter directly from 5V while running its data lines to the Pi (not running the 5V back into the Pi's USB port !)
interfaces
Code: Select all
# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
auto eth0
iface eth0 inet static
address 192.168.0.14
gateway 192.168.0.1
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
dns-nameservers 192.168.0.1
auto wlan3
iface wlan3 inet dhcp
#wpa-driver wext
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
allow-hotplug wlan3
#auto wlan0
# iface wlan0 inet dhcp
# wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
#####allow-hotplug wlan0
#auto wlan0
#iface wlan0 inet dhcp
# wpa-ssid birdsnets
# wpa-psk uhuh1wVOQR
# #wireless-mode managed
# #wireless-key "uhuh1wVOQR"
# alt method
#auto wlan0
#iface wlan0 inet dhcp
#wpa-driver wext
#wpa-conf /etc/wpa_supplicant.conf
##
### for AP
##
##auto wlan2
#iface wlan2 inet static
#allow-hotplug wlan2
##iface default inet manual
#address 192.168.0.200
#netmask 255.255.255.0
##broadcast 192.168.0.255
##gateway 192.168.0.1
and wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
#ctrl_interface_group=0
update_config=1
ap_scan=1
fast_reauth=1
network={
ssid="X"
psk="X"
scan_ssid=1
mode=0
proto=WPA RSN
key_mgmt=WPA-PSK
auth_alg=OPEN
pairwise=CCMP TKIP
group=CCMP TKIP
priority=1
}
[/code]
Thanks for any help with this, it'd be much appreciated.
Rob