View: 7834|Reply: 9

OPi2, where is my WiFi??

[Copy link]

3

threads

15

posts

85

credits

Registered member

Rank: 2

credits
85
Published in 2016-7-19 17:38:40 | Show all floors |Read mode
Hi all!

It's time to real use my OPi2 but I surprised by total onboard WiFi adaptor invisibility. Module exists on the PCB, but I can'to to see it from the OS.
lsusb output:
  1. root@orangepi2:~# lsusb
  2. Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  3. Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  4. Bus 002 Device 002: ID 1a40:0101 Terminus Technology Inc. Hub
  5. Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  6. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Copy code

lshw output:
  1. root@orangepi2:~# lshw
  2. orangepi2
  3.     description: Computer
  4.     width: 32 bits
  5.   *-core
  6.        description: Motherboard
  7.        physical id: 0
  8.      *-memory
  9.           description: System memory
  10.           physical id: 0
  11.           size: 1000MiB
  12.      *-cpu:0
  13.           physical id: 1
  14.           bus info: cpu@0
  15.           size: 1296MHz
  16.           capacity: 1296MHz
  17.           capabilities: cpufreq
  18.      *-cpu:1
  19.           physical id: 2
  20.           bus info: cpu@1
  21.           size: 1296MHz
  22.           capacity: 1296MHz
  23.           capabilities: cpufreq
  24.      *-cpu:2
  25.           physical id: 3
  26.           bus info: cpu@2
  27.           size: 1296MHz
  28.           capacity: 1296MHz
  29.           capabilities: cpufreq
  30.      *-cpu:3
  31.           physical id: 4
  32.           bus info: cpu@3
  33.           size: 1296MHz
  34.           capacity: 1296MHz
  35.           capabilities: swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpv4 idiva idivt cpufreq
  36.   *-usbhost:0
  37.        product: SW USB2.0 'Open' Host Controller (OHCI) Driver
  38.        vendor: Linux 3.4.112-sun8i ohci_hcd
  39.        physical id: 1
  40.        bus info: usb@4
  41.        logical name: usb4
  42.        version: 3.04
  43.        capabilities: usb-1.10
  44.        configuration: driver=hub slots=1 speed=12Mbit/s
  45.   *-usbhost:1
  46.        product: SW USB2.0 'Open' Host Controller (OHCI) Driver
  47.        vendor: Linux 3.4.112-sun8i ohci_hcd
  48.        physical id: 2
  49.        bus info: usb@3
  50.        logical name: usb3
  51.        version: 3.04
  52.        capabilities: usb-1.10
  53.        configuration: driver=hub slots=1 speed=12Mbit/s
  54.   *-usbhost:2
  55.        product: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
  56.        vendor: Linux 3.4.112-sun8i ehci_hcd
  57.        physical id: 3
  58.        bus info: usb@2
  59.        logical name: usb2
  60.        version: 3.04
  61.        capabilities: usb-2.00
  62.        configuration: driver=hub slots=1 speed=480Mbit/s
  63.      *-usb
  64.           description: USB hub
  65.           product: USB 2.0 Hub
  66.           vendor: Terminus Technology Inc.
  67.           physical id: 1
  68.           bus info: usb@2:1
  69.           version: 1.11
  70.           capabilities: usb-2.00
  71.           configuration: driver=hub maxpower=100mA slots=4 speed=480Mbit/s
  72.   *-usbhost:3
  73.        product: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
  74.        vendor: Linux 3.4.112-sun8i ehci_hcd
  75.        physical id: 4
  76.        bus info: usb@1
  77.        logical name: usb1
  78.        version: 3.04
  79.        capabilities: usb-2.00
  80.        configuration: driver=hub slots=1 speed=480Mbit/s
  81.   *-network
  82.        description: Ethernet interface
  83.        physical id: 5
  84.        logical name: eth0
  85.        serial: be:0a:d4:d4:f5:be
  86.        size: 100Mbit/s
  87.        capacity: 100Mbit/s
  88.        capabilities: ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
  89.        configuration: autonegotiation=on broadcast=yes driver=sunxi_geth driverversion=SUNXI Gbgit driver V1.1 duplex=full ip=192.168.137.248 link=yes multicast=yes port=MII speed=100Mbit/s
Copy code

ifconfig output:
  1. root@orangepi2:~# ifconfig
  2. eth0      Link encap:Ethernet  HWaddr be:0a:d4:d4:f5:be
  3.           inet addr:192.168.137.248  Bcast:192.168.137.255  Mask:255.255.255.0
  4.           inet6 addr: fe80::bc0a:d4ff:fed4:f5be/64 Scope:Link
  5.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  6.           RX packets:424 errors:0 dropped:0 overruns:0 frame:0
  7.           TX packets:561 errors:0 dropped:0 overruns:0 carrier:0
  8.           collisions:0 txqueuelen:1000
  9.           RX bytes:221225 (221.2 KB)  TX bytes:69534 (69.5 KB)
  10.           Interrupt:114

  11. lo        Link encap:Local Loopback
  12.           inet addr:127.0.0.1  Mask:255.0.0.0
  13.           inet6 addr: ::1/128 Scope:Host
  14.           UP LOOPBACK RUNNING  MTU:16436  Metric:1
  15.           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  16.           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  17.           collisions:0 txqueuelen:0
  18.           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
Copy code

This is not depend from the linux distribution. Official Android also does not see any WiFi hardware.

I got a defective board or need to someway enable WiFi?

9

threads

634

posts

4427

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
4427
Published in 2016-7-19 18:04:57 | Show all floors
Edited by igorpec at 2016-7-19 11:07

Those recent boards have different / new wifi chipset which is (probably) not supported by any of images from download section ... but it works under Armbian and Openelec.

http://www.armbian.com/orange-pi-2/

3

threads

15

posts

85

credits

Registered member

Rank: 2

credits
85
 Author| Published in 2016-7-19 18:54:37 | Show all floors
Thank you for reply, but unfortunately all these copy-paste from latest armbian OS

9

threads

634

posts

4427

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
4427
Published in 2016-7-19 22:18:41 | Show all floors
Edited by igorpec at 2016-7-19 15:20

What you get from:
  1. lsmod
Copy code
If you don't see 8189es load it. Enable wlan0 and scan for example:
  1. ifconfig wlan0 up
  2. iw wlan0 scan
Copy code
It should scan for AP in range.
You can't see it with lsusb since it's not connected via USB.

3

threads

15

posts

85

credits

Registered member

Rank: 2

credits
85
 Author| Published in 2016-7-19 23:40:09 | Show all floors
Module is present:
  1. root@orangepi2:~# lsmod
  2. Module                  Size  Used by
  3. gspca_zc3xx            34888  0
  4. gspca_main             19688  1 gspca_zc3xx
  5. 8189es               1076034  0
Copy code

But device does not exists:
  1. root@orangepi2:~# ifconfig wlan0 up
  2. wlan0: ERROR while getting interface flags: No such device
Copy code

9

threads

634

posts

4427

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
4427
Published in 2016-7-20 03:21:13 | Show all floors
ok. Try this, removed this module from /etc/module and replace with:

8189fs

reboot ... and repeat previous commands again.

3

threads

15

posts

85

credits

Registered member

Rank: 2

credits
85
 Author| Published in 2016-7-20 19:01:01 | Show all floors
Same situation, module 8189fs loaded, but device wlan0 (wlan1, wlan...) does not exists.

WiFi adaptor on the PCB is marked as CREATEK CK-W-R189-SM.

7

threads

81

posts

317

credits

Intermediate member

Rank: 3Rank: 3

credits
317
Published in 2016-7-22 15:40:29 | Show all floors
Check power supply.

3

threads

15

posts

85

credits

Registered member

Rank: 2

credits
85
 Author| Published in 2016-7-22 17:37:01 | Show all floors


Checked. I tried three different power adaptors including laboratory 5V/5A supply. Also external USB-WiFi dongle works fine.

3

threads

13

posts

242

credits

Intermediate member

Rank: 3Rank: 3

credits
242
Published in 2016-8-12 10:44:00 | Show all floors
Can provide datasheet of wifi module CK-W-R189? Maybe fail connection/ pcb path. Might be able to trace if datasheet available...
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list