Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Wifi dongle not automatically detected as before
#1
Hi,

Most likely this will be my last question before the next ropi update. And by the way I'd like to gratefully thanks @alexkidd  for his incredible support. Without your support I am sure the project would be nonexistent and my pi pc would have been listed on ebay a while ago... I'll definitely check for a way to give it back.
------
I have a TL-WN821v2 dongle (atheros AR9170) that was automatically recognized in ropi 3 but not this version.

When I plug it in and do lsmod, I see ath module is used by carl9170 but the module carl9170 is used by none.


Anyway to make it behave as it was before?

Cheers.
Reply
#2
please post output of "sudo ifconfig" "sudo iwconfig" and the last lines of "dmesg" just after plugging in the dongle. We noticed some dongles might create a non standard interface, ra0 instead of wlan0 or wlan1, so it's detected but it wont work out of the box, until the settings are updated.
Reply
#3
(03-13-2018, 08:10 PM)alexkidd Wrote: please post output of "sudo ifconfig" "sudo iwconfig" and the last lines of "dmesg" just after plugging in the dongle. We noticed some dongles might create a non standard interface, ra0 instead of wlan0 or wlan1, so it's detected but it wont work out of the box, until the settings are updated.

sudo ifconfig (with usb dongle and ethernet plugged in):

Code:
eth0      Link encap:Ethernet  HWaddr 8e:68:56:7a:28:3b  
          inet addr:192.168.1.23  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::8c68:56ff:fe7a:283b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5361 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3334 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:6160839 (5.8 MiB)  TX bytes:370864 (362.1 KiB)
          Interrupt:114

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:1288 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1288 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:108544 (106.0 KiB)  TX bytes:108544 (106.0 KiB)

sudo iwconfig (with usb dongle and ethernet plugged in):

Code:
lo        no wireless extensions.

eth0      no wireless extensions.

dmesg:

Code:
[ 1235.406604] ehci_irq: highspeed device connect
[ 1235.670103] usb 3-1: new high-speed USB device number 5 using sunxi-ehci
[ 1235.868447] usb 3-1: New USB device found, idVendor=0cf3, idProduct=1002
[ 1235.868484] usb 3-1: New USB device strings: Mfr=16, Product=32, SerialNumber=48
[ 1235.868514] usb 3-1: Product: USB2.0 WLAN
[ 1235.868536] usb 3-1: Manufacturer: ATHER
[ 1235.868557] usb 3-1: SerialNumber: 12345
[ 1236.000166] usb 3-1: reset high-speed USB device number 5 using sunxi-ehci
[ 1236.186968] usb 3-1: firmware not found.

lsusb:

Code:
Bus 003 Device 005: ID 0cf3:1002 Atheros Communications, Inc. TP-Link TL-WN821N v2 802.11n [Atheros AR9170]
Reply
#4
...and here is lsmod before and after plugin the dongle.

Before:

Code:
pi@RetrOrangePi:~$ lsmod
Module                  Size  Used by
rfcomm                 32879  4
bnep                    9617  2
bluetooth             174097  8 bnep,rfcomm
bmp085                  3487  0
pcf8591                 3363  0
mali_drm                6650  1
drm                   178255  2 mali_drm
mali                  322265  5
ump                    30408  3 mali
ath                    13509  0
btrfs                 712409  0


After:

Code:
pi@RetrOrangePi:~$ lsmod
Module                  Size  Used by
carl9170               71521  0
mac80211              358445  1 carl9170
rfcomm                 32879  4
bnep                    9617  2
bluetooth             174097  8 bnep,rfcomm
bmp085                  3487  0
pcf8591                 3363  0
mali_drm                6650  1
drm                   178255  2 mali_drm
mali                  322265  5
ump                    30408  3 mali
ath                    13509  1 carl9170
btrfs                 712409  0

I might be wrong but the problem seems related to "firmware not being found" in the dsmeg.
Reply
#5
i was searching for a fix ... found this => https://packages.debian.org/jessie/firmware-linux-free
So, please try to install it: "sudo apt-get install firmware-linux-free" and "sudo reboot" afterwards
Reply
#6
Indeed it works. I had looked into these kind of solutions but before applying them I wanted to know if it was just a misconfiguration with ropi4 since it was working fine with ropi3. I should have tried them no matter what. Thanks again.
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
Bug [DRIVER BUG] [RetrOrangepi v4.1] Wifi Very Inconsistent evert7877 1 627 01-29-2018, 10:37 AM
Last Post: alexkidd

Forum Jump:


Users browsing this thread: 1 Guest(s)