Project

General

Profile

WiFiAdapter » History » Version 11

Wolfgang Wiedmeyer, 04/16/2017 06:59 PM
usage and known issues

1 6 Wolfgang Wiedmeyer
h1. Enabling WiFi with an USB WiFi adapter
2 1 Wolfgang Wiedmeyer
3 7 Wolfgang Wiedmeyer
All Replicant-supported devices need non-free firmware to be loaded to make the internal WiFi component work. See the [[Wifi|WiFi research page]] for more information. Free replacements for these non-free firmwares do not yet exist.
4 3 Wolfgang Wiedmeyer
5 5 Wolfgang Wiedmeyer
However, free firmware does exist for WiFi adapters with the AR9271 chipset. Such adapters can be used with a device running Replicant 6.0. A USB OTG (On-The-Go) cable is needed to connect the WiFi adapter to the phone.
6 1 Wolfgang Wiedmeyer
7 10 Wolfgang Wiedmeyer
WiFi adapters work best with the [[GalaxyNote2N7100|Galaxy Note 2]] because of its large battery. Otherwise, the [[GalaxyS3I9300|Galaxy S 3]] works well, while the [[GalaxyS2I9100|Galaxy S 2]] is more unstable and has a smaller battery life. See [[WifiAdapter#Known-issues|known issues]] for more.
8
9 1 Wolfgang Wiedmeyer
h2. Supported WiFi adapters
10
11 8 Wolfgang Wiedmeyer
More adapters exist that have the AR9271 chipset than are listed below. The listed adapters are the ones that are known to us.
12 1 Wolfgang Wiedmeyer
13
h3. Known to work
14
15 7 Wolfgang Wiedmeyer
* "Penguin Wireless N USB Adapter for GNU / Linux (TPE-N150USB)":https://www.thinkpenguin.com/gnu-linux/penguin-wireless-n-usb-adapter-gnu-linux-tpe-n150usb
16
* "Technoethical N150 Mini Wireless USB Adapter":https://tehnoetic.com/adapters/tehnoetic-wireless-adapter-gnu-linux-libre-tet-n150
17
* "Technoethical N150 High Gain Antenna Wireless USB Adapter":https://tehnoetic.com/adapters/tet-n150hga
18
* TP-Link TL-WN722N
19
20 1 Wolfgang Wiedmeyer
h3. Should work but not tested
21
22
* "Penguin Wireless N USB Adapter /w External Antenna for GNU / Linux (TPE-N150USBL)":https://www.thinkpenguin.com/gnu-linux/penguin-wireless-n-usb-adapter-w-external-antenna-gnu-linux-tpe-n150usbl
23 7 Wolfgang Wiedmeyer
24 8 Wolfgang Wiedmeyer
h2. WiFi adapter usage
25 1 Wolfgang Wiedmeyer
26 8 Wolfgang Wiedmeyer
Using the WiFi adapter with the RepWifi app is the recommended and most convenient way.
27 1 Wolfgang Wiedmeyer
28 8 Wolfgang Wiedmeyer
It is not possible to configure WiFi connections through the adapter with the pull-down quicksettings or the regular WiFi menu in the settings. These are only meant work with the internal WiFi component of the device.
29
30
h3. With the RepWifi app
31
32 9 Wolfgang Wiedmeyer
Replicant 6.0 ships with the RepWifi app. [[UsageNotes#Enabling-root-access|Root access for apps]] needs to be enabled to make the app work.
33
 
34
The app has the following capabilities:
35 8 Wolfgang Wiedmeyer
* searching for WiFi access points
36
* connecting to WPA/WPA2 secured and unsecured networks
37
* storing network connections (including passwords)
38
* managing stored network connections (viewing and deleting them)
39 1 Wolfgang Wiedmeyer
40 9 Wolfgang Wiedmeyer
"Forum thread about the app and its development":http://redmine.replicant.us/boards/9/topics/14079?r=1410
41
42 8 Wolfgang Wiedmeyer
h3. With the WiFi scripts
43 1 Wolfgang Wiedmeyer
44 11 Wolfgang Wiedmeyer
While the RepWifi app should be preferred, use cases might exist where the WiFi scripts yield better results. The scripts were developed before work on the RepWifi app was started. Scripts both for Replicant 6.0 and Replicant 4.2[1] exist.
45 9 Wolfgang Wiedmeyer
46
"Forum thread about the WiFi scripts and their development":http://redmine.replicant.us/boards/9/topics/13932
47 1 Wolfgang Wiedmeyer
48 11 Wolfgang Wiedmeyer
fn1. Replicant 4.2 does not include the required drivers to make these adapters work. Custom kernel images are necessary for Replicant 4.2.
49
50 1 Wolfgang Wiedmeyer
h2. Known issues
51
52 10 Wolfgang Wiedmeyer
The adapter usage causes high battery drain. Frequent usage might result in a shortened lifecycle of the battery and battery damage is possible.
53 1 Wolfgang Wiedmeyer
54 10 Wolfgang Wiedmeyer
It is possible that the adapter is not powered in the case of low battery charge. It is then not possible to use the WiFi adapter until after the next recharge.
55
56 1 Wolfgang Wiedmeyer
The displayed battery charge level can be inaccurate and not up-to-date. As the adapter causes an unusually quick battery drain, the actual battery charge level can be a lot lower than what is currently displayed. This can be observed when the phone is rebooted after adapter usage. The displayed level can be a lot lower than before the reboot. 
57
58 11 Wolfgang Wiedmeyer
The above battery issues especially happen with the Galaxy S 2 (see #1791).
59 1 Wolfgang Wiedmeyer
60 11 Wolfgang Wiedmeyer
[[ReplicantUSBNetworking#Known-issues|Known issues for USB networking]] apply here, too (see #1792).