noobe mistake

failed to set these in kernel config
CONFIG_WEXT_CORE=y
CONFIG_WEXT_PROC=y
CONFIG_CFG80211=y
CONFIG_CFG80211_WEXT=y
CONFIG_MAC80211=y

both DWA-160 and DWA-121 are working

hope this helps someone else,
amf


On Tuesday, September 1, 2015 at 3:07:00 PM UTC-5, amf wrote:

> Hi all,
>
> My first post here, did some searches but came up blank.
>
> I'm trying to get D-Link DWA-160 wifi working with linux-4.0 on the old 
> Beagleboard Rev-C
> Many version back (do not recall which) this device worked.
> I have listed all I can think of that may help, if I missed something 
> please let me know.
>
> Any help will be appreciated, 
> amf
>
> D-Link
> DWA-160
> HW Ver B1
> FW Ver 2.00
> Ralink
> driver: rt2870 
> rt2800lib.ko
> RT chipset 2860, rev 0103 detected
> 07d1:3c11
>
>
> /etc/wpa_supplicant
> ctrl_interface=/var/run/wpa_supplicant
> fast_reauth=1
> ap_scan=1
> eapol_version=1
> network={
>     ssid="router ssid"
>     psk="passwd"
>     scan_ssid=0
>     proto=WPA RSN
>     key_mgmt=WPA-PSK WPA-EAP
>     pairwise=CCMP TKIP
>     group=CCMP TKIP
>     auth_alg=SHARED OPEN
> }
>
> also tried with 
> key_mgmt=NONE
> and the router encryption turned off
>
>
> /etc/networks/interfaces
> auto lo
> iface lo inet loopback
> auto wlan0
> iface wlan0 inet dhcp
>
>
> *last part of kernel booting*
> Starting network...
> [    3.566223] usb 2-2.3: new high-speed USB device number 3 using 
> ehci-omap
> ip: SIOCGIFFLAGS: No such device
> ip: SIOCGIFFLAGS: No such device
> [    3.726135] usb 2-2.3: New USB device found, idVendor=07d1, 
> idProduct=3c11
> [    3.733428] usb 2-2.3: New USB device strings: Mfr=1, Product=2, 
> SerialNumber=3
> [    3.741302] usb 2-2.3: Product: 802.11 n WLAN
> [    3.745941] usb 2-2.3: Manufacturer: Ralink
> [    3.750366] usb 2-2.3: SerialNumber: 1.0
> ip: can't find device 'eth0'
> ip: SIOCGIFFLAGS: No such device
>
>
> *script ran after drivers are loaded*
> wpa_supplicant -B -iwlan0 -c/etc/wpa_supplicant.conf -Dwext &&
> dhcpcd wlan0 
>
>
> *output on terminal after running script*
>
> Successfully initialized wpa_supplicant
> [   89.307525] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading 
> firmware file 'rt2870.bin'
> [   89.334045] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware 
> detected - version: 0.29
> [   89.920074] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
> ioctl[SIOCSIWPMKSA]: Invalid argument
> ioctl[SIOCSIWMODE]: Invalid argument
> ioctl[SIOCGIWRANGE]: Invalid argument
> ioctl[SIOCGIWMODE]: Invalid argument
> ioctl[SIOCSIWAP]: Invalid argument
> ioctl[SIOCSIWESSID]: Invalid argument
> ioctl[SIOCSIWENCODEEXT]: Invalid argument
> ioctl[SIOCSIWENCODEEXT]: Invalid argument
> ioctl[SIOCSIWENCODEEXT]: Invalid argument
> ioctl[SIOCSIWENCODEEXT]: Invalid argument
> ioctl[SIOCSIWPMKSA]: Invalid argument
> wlan0: adding address fe80::af1:9d76:7833:e833
> wlan0: waiting for carrier
> timed out
> dhcpcd exited
>
>
> *# dmesg | tail*
> [   14.738891] usbcore: registered new interface driver rtl8192cu
> [   15.126220] usb 2-2.3: reset high-speed USB device number 3 using 
> ehci-omap
> [   15.258361] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 2860, rev 
> 0103 detected
> [   15.322326] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0002 
> detected
> [   15.377807] ieee80211 phy0: Selected rate control algorithm 
> 'minstrel_ht'
> [   15.384948] usbcore: registered new interface driver rt2800usb
> [   16.512756] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading 
> firmware file 'rt2870.bin'
> [   16.532989] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware 
> detected - version: 0.29
> [   17.119445] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
> [   26.714233] random: nonblocking pool is initialized
>
>
> *# dhcpcd --version*
> dhcpcd 6.8.1
>
> *# lsmod*
> Module                  Size  Used by    Not tainted
> arc4                    1719  2
> rt2800usb              15034  0
> rt2x00usb              11492  1 rt2800usb
> rt2800lib              76924  1 rt2800usb
> rt2x00lib              45930  3 rt2800usb,rt2x00usb,rt2800lib
> rtl8192cu              98537  0
> rtl_usb                14724  1 rtl8192cu
> rtl8192c_common        70336  1 rtl8192cu
> rtlwifi               104207  3 rtl8192cu,rtl_usb,rtl8192c_common
> mac80211              513955  6 
> rt2x00usb,rt2800lib,rt2x00lib,rtl8192cu,rtl_usb,rtlwifi
> cfg80211              428348  3 rt2x00lib,rtlwifi,mac80211
>
>
>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to