Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Maybe Computer Science should be in the College of Theology. -- R. S. Barton


computers / alt.internet.wireless / How to wake up a USB drive attachted to TP Link Router

SubjectAuthor
o How to wake up a USB drive attachted to TP Link RouterSqwertz

1
How to wake up a USB drive attachted to TP Link Router

<g3r0g9z8drkx$.dlg@sqwertz.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=547&group=alt.internet.wireless#547

  copy link   Newsgroups: alt.internet.wireless
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx47.iad.POSTED!not-for-mail
From: sqwertzme@gmail.compost (Sqwertz)
Subject: How to wake up a USB drive attachted to TP Link Router
Newsgroups: alt.internet.wireless
User-Agent: 40tude_Dialog/2.0.15.84
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Organization: Me, Myself, and Inc.
Message-ID: <g3r0g9z8drkx$.dlg@sqwertz.com>
Lines: 47
X-Complaints-To: abuse@blocknews.net
NNTP-Posting-Date: Fri, 11 Aug 2023 13:03:15 UTC
Date: Fri, 11 Aug 2023 08:03:15 -0500
X-Received-Bytes: 2298
 by: Sqwertz - Fri, 11 Aug 2023 13:03 UTC

I have a big thumb flash drive plugged into a TP-LINK Touch P5 router (yes
obscure router with only the original firmware release). It takes incoming
connections VIA Windows 10/11 and Samba V1 to do scheduled backups. It's
often asleep and needs to be woken up or else DOS, my backup software, and
other utilities/programs think it's disconnected.

But if you browse to it using Windows Explorer first while asleep, there's
often a delay of a couple-few seconds, then it wakes up and the backup
software will then work fine. But the backup software itself doesn't
trigger a wakeup.

A simple batch file of:

@echo off
net use
y:
cd \sqwertz-backups
@dir

DO NOT wake it up.

C:\Users\Sqwertz>net use
New connections will be remembered.

Status Local Remote Network

-------------------------------------------------------------------------------
DISCONNECTED Y: \\192.168.0.1\Volume_A1 Microsoft Windows Network

But wake it up with Windows Explorer first and then:

C:\Users\Sqwertz>net use
New connections will be remembered.

Status Local Remote Network

-------------------------------------------------------------------------------
OK Y: \\192.168.0.1\Volume_A1 Microsoft Windows Network

What other commands can I put in a batch file or utility can I call just
before the backup to wake up the router's drive and WAIT for it to be awake
before it exits and the backup proceeds?

I assume the router's USB driver firmware is putting it to sleep and SMB
doesn't trigger a wakeup? I have no control over that.

-sw

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor