Last active
October 21, 2023 08:35
-
-
Save ptantiku/e53eaae96e5503a77774636b1f948424 to your computer and use it in GitHub Desktop.
Setup Ledger Nano S in Linux, with fixing problem on Fedora
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Setup Ledger Nano S in Linux | |
# according to http://support.ledgerwallet.com/knowledge_base/topics/ledger-wallet-is-not-recognized-on-linux | |
# However, in Fedora, the "plugdev" group is not existed (obsolete). | |
# The solution is to replace `GROUP=\"plugdev\"` to `OWNER=\"<username>\"` in the script, for example: | |
# Original rule: SUBSYSTEMS=="usb", ATTRS{idVendor}=="2c97", ATTRS{idProduct}=="0001", MODE="0660", GROUP="plugdev" | |
# Change to: SUBSYSTEMS=="usb", ATTRS{idVendor}=="2c97", ATTRS{idProduct}=="0001", MODE="0660", OWNER="ptantiku" | |
wget -q -O - https://www.ledgerwallet.com/support/add_udev_rules.sh | sed -re 's/GROUP=\\"plugdev\\"/OWNER=\\"'$(whoami)'\\"/' | sudo bash |
The NanoX device has product id 0004.
I added the following line to my udev-rules to make the NanoX work on Debian Linux:
SUBSYSTEMS=="usb", ATTRS{idVendor}=="2c97", ATTRS{idProduct}=="0004", MODE="0660", GROUP="plugdev"
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The link should be updated to this. Works perfectly in Fedora 28. Thank you!