Sentaroh/SMBSync2

Not connecting when the phone is the wifi source (mobile internet share over wifi).

Opened this issue · 0 comments

The SMB folder is on a Windows 10 PC, works fine. W10 PC connects to the wifi network from the android phone. SMBSync2 runs on the phone.

Error message is:
"Sync aborted. Wireless LAN is OFF"
Which is correct because the wifi is turning off when I turn on internet sharing over wifi.
(Despite I can turn on wifi, but I don't connecting to an other network, so it's still ending with an error, "Sync aborted. Not connected to a WiFi access point.")

With other apps I can copy files and create folders to an SMB folder in this situation.
Also SMBSync2 can see the SMB server, and I can browse the folders in destination folder selection menu, but can't create folders or copy new files.

If the source of the wifi is the PC or a normal router (so the phone is connected to another network with wifi), the app works totally fine. But I need the phone as the wifi source, because this connects to the internet with 4G, the phone is the source of the internet for me. I want to share internet and work with SMBSync2 simultaneously.

So the error is something like, when I start a sync task, the app checks the wifi connection, even in this case, when it's doesn't needed, and abort the process with the "WLAN is off" error.

Phone: Xiaomi Mi 9T Pro
OS: MIUI 12.5.2
Android version: 11 RKQ1.200826.002
SMBSync2 app version: 2.54(286)