deskreen
deskreen copied to clipboard
Ubuntu 21.04 gnome Wifi hotspot not recognised: "No WiFi or LAN connection."
When running a WiFi hotspot in Ubuntu deskreen does not see the network. Waiting for connection.
Steps to Reproduce
-
Create a wifi hotspot from ubuntu
-
Connect device to hotspot
-
open deskreen on ubuntu
-
waiting for connection
Context
I am going to work in a no wifi zone where I want to show my screen via a tablet. Phones are not allowed so I want to use the hotspot from my laptop to connect my chromebook.
Your Environment
- Deskreen version or branch : v1.0.11
- Operating System and version : Ubuntu 21.04
Just guessing, that If you are in a no-WiFi zone you are not allowed to use WiFi at all, not even hotspot on your laptop. So, you should figure out how to set up networking over an USB cable (adb
has many features).
with android tablet:
enable developer options by pressing the build number in system information a several times.
enable usb debugging in developer options
install the android debug bridge (adb) as described here:
https://www.xda-developers.com/install-adb-windows-macos-linux/
connect to the pc with usb
allow usb debugging from this pc on the tablet (click ok)
check if the device is connected to pc
adb device
direct 127.0.0.1:3131 from phone to pc
adb reverse tcp:3131 tcp:3131
use deskreen as usual, except that you enter 127.0.0.1 in the tabs browser instead of the wifi ip.
@leuchtrakete666 Are you sure this works? Which browser on Android are you using? I initially attempted exactly that, but I could not get the WebRTC connection to work. It would load the Deskreen page on port 3131
, I allowed access and selected an app, but then on the screen viewing page I just got a black screen. I suspected that this was because WebRTC attempts to use random ports and there is no way to explicitly configure port forwarding to make video streaming work.
i use chrome beta. cause on actual chrome i get anouing flickerings. for me it works really good like this.
@leuchtrakete666 Are you sure this works? Which browser on Android are you using? I initially attempted exactly that, but I could not get the WebRTC connection to work. It would load the Deskreen page on port
3131
, I allowed access and selected an app, but then on the screen viewing page I just got a black screen. I suspected that this was because WebRTC attempts to use random ports and there is no way to explicitly configure port forwarding to make video streaming work.
I'm having the issue just seeing a black screen. Any ideas how to solve this? I'm using an Amazon fire tablet with debugger mode and connecting on 127.0.0.1
@leuchtrakete666 Are you sure this works? Which browser on Android are you using? I initially attempted exactly that, but I could not get the WebRTC connection to work. It would load the Deskreen page on port
3131
, I allowed access and selected an app, but then on the screen viewing page I just got a black screen. I suspected that this was because WebRTC attempts to use random ports and there is no way to explicitly configure port forwarding to make video streaming work.I'm having the issue just seeing a black screen. Any ideas how to solve this? I'm using an Amazon fire tablet with debugger mode and connecting on 127.0.0.1
Because no variant of port-forwarding worked for me (black screen), I exposed the whole network interface to the VM. Specifically, I exposed a Bluetooth module to the VM, connected over BLE, enabled Bluetooth tethering on the tablet, and set up networking and firewalls accordingly. Unfortunately, it is not as stable as I would like, because the Android BLE implementation is buggy and every ~1 hour it decides that the BLE connection is idle and drops it. In addition, any change to charging/discharging status of the tablet also drops the BLE connection. An alternative would be to do something similar with USB tethering.
@leuchtrakete666 Are you sure this works? Which browser on Android are you using? I initially attempted exactly that, but I could not get the WebRTC connection to work. It would load the Deskreen page on port
3131
, I allowed access and selected an app, but then on the screen viewing page I just got a black screen. I suspected that this was because WebRTC attempts to use random ports and there is no way to explicitly configure port forwarding to make video streaming work.
I am having the same webRTC connection issue