Setup Leger Nano S on Ubuntu Linux
This is a quick HOW-TO for getting your new Ledger Nano S running in Ubuntu
Install
- Choose a PIN on your Nano S
- Record the 24-word seed on the supplied papers
- Create a new udev rule so that ubuntu will recognize the USB device.
sudo subl /etc/udev/rules.d/ledger.rules
- Paste the following into the udev rules file. Be sure to replace your username:
SUBSYSTEMS=="usb", ATTRS{idVendor}=="2c97", ATTRS{idProduct}=="0000", MODE="0660", TAG+="uaccess", TAG+="udev-acl" OWNER="<UNIX username>" SUBSYSTEMS=="usb", ATTRS{idVendor}=="2c97", ATTRS{idProduct}=="0001", MODE="0660", TAG+="uaccess", TAG+="udev-acl" OWNER="<UNIX username>"
- Reload the rules.
udevadm control --reload-rules && udevadm trigger
. Optionally just unplug and replug your Nano S. - Your Nano S should now present you with its public key on its screen. See the usb listing:
lsusb -d 2c97:0001 -v
Verify Authenticity
The following will ensure that you are using a valid Nano S. Sources: Ledger Nano S help page and Python Tools for Ledger Nano S
sudo apt-get install libudev-dev libusb-1.0.0-dev python-dev virtualenv
virtualenv ledger
source ledger/bin/activiate
pip install ECPy==0.8.1
pip install --no-cache-dir ledgerblue
- For firmware 1.3.1 or below:
python -m ledgerblue.checkGenuine --targetId 0x31100002
elsepython -m ledgerblue.checkGenuine --targetId 0x31100003
You should now be confident in your device and be able to load apps using their ledger manager
Leave a Comment
Your email address will not be published. Required fields are marked *
Note - Sometimes a comment submission will fail. Simply press the "Submit Comment" button again until a green success box is shown