Coder Social home page Coder Social logo

linktoice / usbaccelerator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jackmerlin/usbaccelerator

0.0 0.0 0.0 338 KB

๐Ÿ”Œโž•USB Accelerator can help you improve usb transfer speed of your router.

License: GNU General Public License v3.0

Shell 100.00%

usbaccelerator's Introduction

USB Accelerator

USB Accelerator is a script that runs on Asuswrt and Asuswrt-Merlin firmware. It can help improve the usb transfer speed of your router when you use samba.

USBAccelerator

USB Accelerator script will

When you use Asuswrt-Merlin firmware or forks

  1. Create /jffs/scripts/smb.postconf file to change socket options deadtime and strict locking options of smb.conf.
  2. Add an icon in Web GUI to show the working status.

When you use Asuswrt Stock firmware

  1. Create /jffs/scripts/post-mount file and to change socket options deadtime and strict locking options of smb.conf.
  2. Use the script_usbmount variable to make post-mount run when the USB is mounted.
  3. Add an icon in Web GUI to show the working status.

Requirements

  • An Asus router with Asuswrt-Merlin 380 and higher or Asuswrt firmware 380 and higher.

Installation

Using an SSH client to login to your router, then copy and paste the following command:

/usr/sbin/wget --tries=3 --timeout=3 --no-check-certificate -O "/tmp/usbaccelerator.sh" "https://raw.githubusercontent.com/JackMerlin/USBAccelerator/master/usbaccelerator.sh" && chmod 755 /tmp/usbaccelerator.sh && sh /tmp/usbaccelerator.sh --github --shellui

Don't forget to press Enter key ;)

Verify that USB Accelerator is Working

  • If it is working, you should see a "Plus" in the USB icon in the upper right corner of Web GUI, like the screenshot below. USBAccelerator
  • Check the system logs, USB Accelerator will report it running status.

Disable or Update or Uninstall

Using your SSH client to login to your router, then copy and paste the following command:

sh /jffs/addons/usbaccelerator/usbaccelerator.sh

Advanced Usage

You can use --help option to view all supported options

Examples

Enable USB Accelerator:

sh <PATH>/usbaccelerator.sh --enable

Force Disable USB Accelerator:

sh <PATH>/usbaccelerator.sh --force --disable

Update USB Accelerator without logs output:

sh <PATH>/usbaccelerator.sh --quiet --update

Privacy

USB Accelerator will not send any data, but it needs to be downloaded and updated from GitHub or GitLab. Please read their terms and privacy policy in detail before using GitHub or GitLab.

Feedback

End-of-life, technical support is no longer provided.

FAQs

When will the USB Accelerator run?

When usb device is mounted, the USB Accelerator will run once to modify the smb.conf.

Should I download USB Accelerator from GitHub or GitLab?

Please use GitHub and use GitLab only when GitHub is not available.

How to install from GitLab?

GitLab only supports TLS 1.2 and higher, If you use 380 stock firmware, you will not be able to install from GitLab, only wget with 384 stock firmware supports TLS 1.2. If you think your firmware supports it, please use the following command to install:

/usr/sbin/wget --tries=3 --timeout=3 --no-check-certificate -O "/tmp/usbaccelerator.sh" "https://gitlab.com/JackMerlin/USBAccelerator/raw/master/usbaccelerator.sh" && chmod 755 /tmp/usbaccelerator.sh && sh /tmp/usbaccelerator.sh --gitlab --shellui

Where should I report issues?

End-of-life, technical support is no longer provided.

Why is there no speed increase in the FTP?

It should only work in the SMB protocol.

Why is no performance improvement on my router?

First check if it works, and if yes, maybe some settings don't apply to your router.

License

USB Accelerator 2.0
Copyleft :-) 2019-2020

This program is a free and open-source software ,   and you can
redistribute it and/or modify it under the terms of the GNU
General Public License version 3 (GPLv3).

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY,  without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

See the GNU General Public License version 3 for more details:
https://github.com/JackMerlin/USBAccelerator/blob/master/LICENSE

usbaccelerator's People

Contributors

jackmerlin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.