View: 40677|Reply: 17

Orange Pi PC problem with WiFi

[Copy link]

2

threads

15

posts

60

credits

Registered member

Rank: 2

credits
60
Published in 2015-11-7 05:01:21 | Show all floors |Read mode
Hello All,

Please, help! I am new to this so maybe it is just me not able to do obvious things.

I downloaded Ubuntu image from loboris. The Ubuntu Mint for Orange Pi PC. Now I have my USB ports working and the linux looks and feel very good. My Ethernet works also, actually I am writing this from the Orange board. Earlier images did not worked well, there was only one USB port active and seems that the Ethernet was also not working, the leds on the connector were lith but no activity.

loboris, thanks a lot for your images! Excellent work!

Unfortunately I don't know how to activate the WiFi. I will give here the data I managed to get out of the system:

  1. orangepi@OrangePI:~$ ifconfig
  2. eth0      Link encap:Ethernet  HWaddr e2:8c:94:7e:20:dd  
  3.           inet addr:10.0.0.1  Bcast:10.0.0.255  Mask:255.255.255.0
  4.           inet6 addr: fe80::e08c:94ff:fe7e:20dd/64 Scope:Link
  5.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  6.           RX packets:37286 errors:0 dropped:0 overruns:0 frame:0
  7.           TX packets:21376 errors:0 dropped:0 overruns:0 carrier:0
  8.           collisions:0 txqueuelen:1000
  9.           RX bytes:53612089 (53.6 MB)  TX bytes:1746868 (1.7 MB)
  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:1171 errors:0 dropped:0 overruns:0 frame:0
  16.           TX packets:1171 errors:0 dropped:0 overruns:0 carrier:0
  17.           collisions:0 txqueuelen:0
  18.           RX bytes:154752 (154.7 KB)  TX bytes:154752 (154.7 KB)

  19. orangepi@OrangePI:~$
Copy code
  1. orangepi@OrangePI:~$ lsusb
  2. Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  3. Bus 007 Device 002: ID 09da:054f A4 Tech Co., Ltd
  4. Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  5. Bus 006 Device 002: ID 09da:054f A4 Tech Co., Ltd
  6. Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  7. Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  8. Bus 004 Device 002: ID 0bda:8178 Realtek Semiconductor Corp. RTL8192CU 802.11n WLAN Adapter
  9. Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  10. Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  11. Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  12. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  13. orangepi@OrangePI:~$
Copy code
So seems that the USB adapter is recognized, but I still can't see how to activate the WiFi?

Thanks!
Ospree


2

threads

15

posts

60

credits

Registered member

Rank: 2

credits
60
 Author| Published in 2015-11-8 02:50:03 | Show all floors
I have continued reading and debugging  and :

  1. orangepi@OrangePI:~$ nmcli g
  2. STATE         CONNECTIVITY  WIFI-HW  WIFI     WWAN-HW  WWAN   
  3. disconnected  none          enabled  enabled  enabled  enabled
  4. orangepi@OrangePI:~$ sudo nmcli -a d wifi connect
  5. sudo: unable to resolve host OrangePI
  6. SSID or BSSID: A1-68D7BB
  7. Error: No Wi-Fi device found.
  8. orangepi@OrangePI:~$
Copy code


Seems that the wlan is enabled but there is no device available. However:

  1. orangepi@OrangePI:~$ lsusb
  2. Bus 008 Device 003: ID 09da:054f A4 Tech Co., Ltd
  3. Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  4. Bus 007 Device 003: ID 09da:054f A4 Tech Co., Ltd
  5. Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  6. Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  7. Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  8. Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  9. Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  10. Bus 002 Device 015: ID 0bda:8178 Realtek Semiconductor Corp. RTL8192CU 802.11n WLAN Adapter
  11. Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  12. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Copy code


The other device which I have gives even stranger response:

  1. orangepi@OrangePI:~$ lsusb
  2. Bus 008 Device 003: ID 09da:054f A4 Tech Co., Ltd
  3. Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  4. Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  5. Bus 006 Device 016: ID 09da:054f A4 Tech Co., Ltd
  6. Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  7. Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  8. Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  9. Bus 003 Device 004: ID 0bda:818b Realtek Semiconductor Corp.
  10. Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  11. Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  12. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Copy code


If somebody can say what's going on here?

1

threads

25

posts

141

credits

Registered member

Rank: 2

credits
141
Published in 2015-11-8 06:16:24 | Show all floors
Ospree replied at 2015-11-8 02:50
I have continued reading and debugging  and :

This problem was discussed at Loboris distros topic. Try to use ubuntu trusty - it solved problem with 8188cus (8192cus) wifi on opi pc

2

threads

15

posts

60

credits

Registered member

Rank: 2

credits
60
 Author| Published in 2015-11-8 05:12:49 | Show all floors
Edited by Ospree at 2015-11-8 21:12

I found some information here:

https://sites.google.com/site/easylinuxtipsproject/reserve-7

Driver for Realtek RTL8192EU chipset (0bda:818b) can be downloaded from here:

https://drive.google.com/file/d/ ... TA/view?usp=sharing

After compiling and installation it works on my ubuntu laptop. I would like to attach a picture but it doesn't wotk, size is too big ...

Please if someone can port this driver to Orange PI? Is it difficult?

8

threads

54

posts

364

credits

Intermediate member

Rank: 3Rank: 3

credits
364
Published in 2015-11-18 15:33:36 | Show all floors
i think you need to enable usb wifi through script.fex and convert the file to bin
add this lines to your fex:
  1. [usb_wifi_para]
  2. usb_wifi_used = 1
  3. usb_wifi_usbc_num = 2 #you can change this to the number of the usb you want to put the wifi jack in
Copy code

0

threads

1

posts

6

credits

Novice

Rank: 1

credits
6
Published in 2015-12-5 18:33:11 | Show all floors
Hi Ospree,

Did you have your wifi working yet? I think I almost have same issue but with different dongle
It seems that a lot of people are pulling their hair with wifi.

Dose Milan and Riconec help was relevant to solve you problem?
Actually, script.fex dose not talk to me. Should I learn ?

Best regards
Cyril

18

threads

303

posts

9608

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9608
Published in 2015-12-5 18:45:17 | Show all floors
Ospree replied at 2015-11-8 05:12
I found some information here:

https://sites.google.com/site/easylinuxtipsproject/reserve-7

Try this image then.
http://www.orangepi.org/orangepi ... mp;tid=805#lastpost

13

threads

77

posts

444

credits

Intermediate member

Rank: 3Rank: 3

credits
444
Published in 2015-12-6 22:56:39 | Show all floors
jacer replied at 2015-12-5 18:45
Try this image then.
http://www.orangepi.org/orangepibbsen/forum.php?mod=viewthread&tid=805#lastpo ...

Can you PLEASE rebuilt the image with MT7601 Ralink wifi drivers.
That would be a lot of help.
If you dont have time atleat give some instruction for a NOOB like me can try it

1

threads

11

posts

104

credits

Registered member

Rank: 2

credits
104
Published in 2015-12-7 16:31:31 | Show all floors
Edited by vlad_ru at 2015-12-7 16:36


Try this image then.
http://www.orangepi.org/orangepi ... mp;tid=805#lastpost

On 8192cu system see usb dongle, kernel modul is loaded, but WLAN0 interface no exist. Please advice how to switch on it. Also is possible show .fex file for this distro.?

Published in 2015-12-7 16:42:28 | Show all floors
vlad_ru replied at 2015-12-7 16:31
Also is possible show .fex file for this distro.?

This is how it should work on any Debian based OS image:
  1. apt-get -f -qq -y install sunxi-tools >/dev/null 2>&1
  2. Path2ScriptBin="$(df | awk -F" " '/^\/dev\/mmcblk0p1/ {print $6}')"
  3. bin2fex <"${Path2ScriptBin}/script.bin"
Copy code
(installs bin2fex if not already installed and converts script.bin back to fex)
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list