mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-08-02 22:29:25 +00:00
Wireless Config update
I added a command that display the IP address of the device we want to connect to. This will helps a lot users from going to Settings -> Wifi to get that informations.
This commit is contained in:
parent
25aff00935
commit
c81fd0170b
1 changed files with 1 additions and 1 deletions
|
@ -235,7 +235,7 @@ _Scrcpy_ uses `adb` to communicate with the device, and `adb` can [connect] to a
|
||||||
device over TCP/IP:
|
device over TCP/IP:
|
||||||
|
|
||||||
1. Connect the device to the same Wi-Fi as your computer.
|
1. Connect the device to the same Wi-Fi as your computer.
|
||||||
2. Get your device IP address (in Settings → About phone → Status).
|
2. Get your device IP address (This command print device IP address `adb shell ip route | awk '{print $9}'`)
|
||||||
3. Enable adb over TCP/IP on your device: `adb tcpip 5555`.
|
3. Enable adb over TCP/IP on your device: `adb tcpip 5555`.
|
||||||
4. Unplug your device.
|
4. Unplug your device.
|
||||||
5. Connect to your device: `adb connect DEVICE_IP:5555` _(replace `DEVICE_IP`)_.
|
5. Connect to your device: `adb connect DEVICE_IP:5555` _(replace `DEVICE_IP`)_.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue