Skip to content

Instantly share code, notes, and snippets.

@hyamamoto
Created January 24, 2019 15:47
Show Gist options
  • Save hyamamoto/d646498c9af6bec86825b975d317f632 to your computer and use it in GitHub Desktop.
Save hyamamoto/d646498c9af6bec86825b975d317f632 to your computer and use it in GitHub Desktop.
#
# Ledger Nano S
#
# USB connection fix for Ubuntu 18.04.5
# This script will create "/etc/udev/rules.d/20-hw1.rules" and restart udev.
#
# @reference https://support.ledger.com/hc/en-us/articles/115005165269-Fix-connection-issues
#
wget -q -O - https://raw.githubusercontent.com/LedgerHQ/udev-rules/master/add_udev_rules.sh | sudo bash
# NOTE: Execute below instead if your system doesn't have "plugdev" group.
# wget -q -O - https://raw.githubusercontent.com/LedgerHQ/udev-rules/master/add_udev_rules.sh | sed -re 's/GROUP=\\"plugdev\\"/OWNER=\\"'$(whoami)'\\"/' | sudo bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment