Connection drops with TP-Link AC600 Wi-Fi Adapter + WinSCP??

Showcase builds, discuss cases, embedding MiSTer into existing computer cases.
User avatar
ItalianGrandma
Posts: 211
Joined: Sun May 24, 2020 7:09 pm
Has thanked: 45 times
Been thanked: 52 times
Contact:

Connection drops with TP-Link AC600 Wi-Fi Adapter + WinSCP??

Unread post by ItalianGrandma »

I have the TP-Link AC600 dual band wi-fi adapter. It works with MiSTer, but for a while now I’ve been experiencing a connection drop every time I start a new session within WinSCP sometime within the first 5 minutes of connecting. It re-connects afterwards and works from there, but it is pretty annoying, because it happens every time.

Does anyone have any ideas why it could be consistently dropping every time I connect?
User avatar
taw6
Posts: 6
Joined: Sun May 24, 2020 7:44 pm

Re: Connection drops with TP-Link AC600 Wi-Fi Adapter + WinSCP??

Unread post by taw6 »

Have you tried a wired connection?
Have you tried check a Wireshark Trace run on your PC?
Have you tried a ping ip_address -t from your Windows PC?
Have you tried a different wifi adapter/AP ?
NL Amsterdam
User avatar
ItalianGrandma
Posts: 211
Joined: Sun May 24, 2020 7:09 pm
Has thanked: 45 times
Been thanked: 52 times
Contact:

Re: Connection drops with TP-Link AC600 Wi-Fi Adapter + WinSCP??

Unread post by ItalianGrandma »

Here's what I get when I run a ping. As expected, It can see the MiSTer fine at first and then has timeouts. After those timeouts, it continues working without drops (though, there are times where things hang for quite a bit):

Code: Select all

Pinging 192.168.1.2 with 32 bytes of data:
Reply from 192.168.1.2: bytes=32 time=92ms TTL=64
Reply from 192.168.1.2: bytes=32 time=2ms TTL=64
[b]Request timed out.
Request timed out.[/b]
Reply from 192.168.1.2: bytes=32 time=2869ms TTL=64
Reply from 192.168.1.2: bytes=32 time=410ms TTL=64
Reply from 192.168.1.2: bytes=32 time=2ms TTL=64
Reply from 192.168.1.2: bytes=32 time=7ms TTL=64
Reply from 192.168.1.2: bytes=32 time=8ms TTL=64
Reply from 192.168.1.2: bytes=32 time=48ms TTL=64
Reply from 192.168.1.2: bytes=32 time=34ms TTL=64
Reply from 192.168.1.2: bytes=32 time=659ms TTL=64
Reply from 192.168.1.2: bytes=32 time=1242ms TTL=64
Reply from 192.168.1.2: bytes=32 time=88ms TTL=64
Reply from 192.168.1.2: bytes=32 time=2ms TTL=64
Reply from 192.168.1.2: bytes=32 time=265ms TTL=64
Reply from 192.168.1.2: bytes=32 time=107ms TTL=64
Reply from 192.168.1.2: bytes=32 time=66ms TTL=64
Reply from 192.168.1.2: bytes=32 time=2ms TTL=64
Reply from 192.168.1.2: bytes=32 time=72ms TTL=64
Reply from 192.168.1.2: bytes=32 time=2ms TTL=64
Reply from 192.168.1.2: bytes=32 time=8ms TTL=64
Reply from 192.168.1.2: bytes=32 time=9ms TTL=64
Reply from 192.168.1.2: bytes=32 time=45ms TTL=64
Reply from 192.168.1.2: bytes=32 time=2ms TTL=64
Reply from 192.168.1.2: bytes=32 time=9ms TTL=64
Reply from 192.168.1.2: bytes=32 time=205ms TTL=64
From there, I closed out the command prompt, opened a new one, and pinged the MiSTer again. Again, it worked at first, then timed out a few times then worked just fine from there:

Code: Select all

 
 Pinging 192.168.1.2 with 32 bytes of data:
Reply from 192.168.1.2: bytes=32 time=153ms TTL=64
Reply from 192.168.1.2: bytes=32 time=10ms TTL=64
Reply from 192.168.1.2: bytes=32 time=82ms TTL=64
Reply from 192.168.1.2: bytes=32 time=8ms TTL=64
Reply from 192.168.1.2: bytes=32 time=18ms TTL=64
Reply from 192.168.1.2: bytes=32 time=10ms TTL=64
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Reply from 192.168.1.2: bytes=32 time=16ms TTL=64
Reply from 192.168.1.2: bytes=32 time=2ms TTL=64
Reply from 192.168.1.2: bytes=32 time=3ms TTL=64
I have used a wired connection in the past and it worked fine, but I haven't checked it recently, so I will try that soon. I'm not sure how to do a WireShark trace, but I can look it up.

Lastly, I don't have another Wi-Fi adapter to test.
User avatar
aberu
Core Developer
Posts: 1192
Joined: Tue Jun 09, 2020 8:34 pm
Location: Longmont, CO
Has thanked: 247 times
Been thanked: 411 times
Contact:

Re: Connection drops with TP-Link AC600 Wi-Fi Adapter + WinSCP??

Unread post by aberu »

Do you have an 802.11ac router? If so ungang the 2.4ghz and 5ghz connections in the router (make them have two separate SSID's). That can clear up a lot of issues. And try either of the SSIDs to see which one works better, in my experience the 2.4ghz one is more reliable with the same adapter you have. But I still had problems regardless. I gave up on wireless, it's kind of a mess and unreliable, I have your adapter (which rysha recommended to me), and 3 of the other ones that are in the wiki, and all of them have the same problem, so the issue must be in how the MiSTer linux and/or with my USB hub addon board are dealing with the wifi. Or maybe we both coincidentally have a bad wifi home network, however I have zero issues with my phones, nintendo switch, htpc downstairs, etc...
birdybro~
User avatar
ItalianGrandma
Posts: 211
Joined: Sun May 24, 2020 7:09 pm
Has thanked: 45 times
Been thanked: 52 times
Contact:

Re: Connection drops with TP-Link AC600 Wi-Fi Adapter + WinSCP??

Unread post by ItalianGrandma »

aberu wrote: Sun Mar 28, 2021 4:23 pm Do you have an 802.11ac router? If so ungang the 2.4ghz and 5ghz connections in the router (make them have two separate SSID's). That can clear up a lot of issues. And try either of the SSIDs to see which one works better, in my experience the 2.4ghz one is more reliable with the same adapter you have. But I still had problems regardless. I gave up on wireless, it's kind of a mess and unreliable, I have your adapter (which rysha recommended to me), and 3 of the other ones that are in the wiki, and all of them have the same problem, so the issue must be in how the MiSTer linux and/or with my USB hub addon board are dealing with the wifi. Or maybe we both coincidentally have a bad wifi home network, however I have zero issues with my phones, nintendo switch, htpc downstairs, etc...
Thanks for the reply! I could certainly give the 2.4G network a try. I do already have those networks on their own SSIDs, and like you, I don’t have issues with any of my other wireless devices on the 5G channel.
User avatar
taw6
Posts: 6
Joined: Sun May 24, 2020 7:44 pm

Re: Connection drops with TP-Link AC600 Wi-Fi Adapter + WinSCP??

Unread post by taw6 »

looks like wifi issues to me
NL Amsterdam
Post Reply