IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready

Hi All,

I'm using Tp-Link WiFi USB Adapter. I'm getting below messages on

$ ifconfig wlan0 up

[  130.993518] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready

 

Device - Tp-Link

Model: TL-WN725N

Config: CONFIG_SATGING, CONFIG_R8188EU

OS: Android 9

Kernel version: 4.14.86

dmesg:

[   94.979897] usb 2-1: new high-speed USB device number 2 using ehci-platform
[   95.145661] usb 2-1: New USB device found, idVendor=0bda, idProduct=8179
[   95.152375] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   95.159526] usb 2-1: Product: 802.11n NIC
[   95.163541] usb 2-1: Manufacturer: Realtek
[   95.167644] usb 2-1: SerialNumber: 00E04C0001
[   95.175150] Chip Version Info: CHIP_8188E_Normal_Chip_TSMC_D_CUT_1T1R_RomVer(0)
[  130.984696] MAC Address = d0:37:45:b7:40:f4
[  130.993518] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready

 

$ifconfig wlan0

wlan0     Link encap:Ethernet  HWaddr d0:37:45:b7:40:f4  Driver r8188eu
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 TX bytes:0

Can you tell me what might be wrong?

  • Dear Ravish

    Can you attach a logcat logs? What BSP do you use? As I know Android BSP does not support TL-WN725N

    Best regards

  • logcat.txtHi Dmytro,

    Please find the attached logcat.

    BSP - REE-EG_Android-P-2018_10E-v3.9.0_H3.

    Another thing is noticed, nl80211 doesn't support r8188eu. Hence i run wpa_supplicant with wext. I get below error.

    12-14 13:57:38.861  3719  3719 I wpa_supplicant: Processing hidl events on FD 3
    12-14 13:57:38.864  3719  3719 I wpa_supplicant: Successfully initialized wpa_supplicant
    12-14 13:57:38.865  3719  3719 I wpa_supplicant: rfkill: Cannot get wiphy information

    12-14 13:57:39.624  3719  3719 E wpa_supplicant: ioctl[SIOCSIWAP]: Operation not permitted                                               12-14 13:57:39.647  3719  3719 E wpa_supplicant: ioctl[SIOCSIWENCODEEXT]: Invalid argument
    12-14 13:57:39.647  3719  3719 E wpa_supplicant: ioctl[SIOCSIWENCODEEXT]: Invalid argument

    I checked, no phy80211 is not created under /sys/class/net/wlan0

  • Hi, Ravish.

    I see a multiple errors in logcat. 

    E wpa_supplicant: ioctl[SIOCSIWAP]: Operation not permitted

    Please check wifi user permission for wpa_supplicant too.

    Maybe other members can help with wext kernel usage and this BSP

    Best regards, Dmytro

  • Hi Ravish, 

    Do you have any updates?