router settings

In this case, as in many other, it a good idea to backup your settings. Indeed if you do a hard reset of your router, you loose your settings.
To backup settings you should use a browser (web-like) interface (firefox, or chrome, or an other one) using a url like http://192.168.1.1/ or something similar, and search for “backup” (or “save”) router settings.

problems with an encrypted partition

In Linux you could face an impossibility to mount a crypted partition.

The command that could be useful then are

1. sudo dmsetup ls --tree
2. ls -l /dev/mapper/
3. sudo dmsetup remove /dev/dm-0

You have to replace dm-0 with your result in 2.

problems with an external hard disk

You could have problems with an external hard disk, such as safely removing it (even after unmounting it). In this case you could try this code:

sudo hdparm -Y /dev/[your device: something like sde1 or sdh1]

Another problem could be the impossibility to mount your external hd. In this case, if the hd has an ntfs filesystem, you could try this code:

sudo ntfsfix /dev/[your device]

I found this last code on www.makeuseof.com.