Wiki: Tips wiki page

Tips and Tricks


Table of contents:


SSH Keys

By having a generated private ssh key and uploading the paired public your $HOME/.ssh/authorized_keys file you can easily log in to your box securely with no password or a pass phrase of your choosing.

There are many guides out there for this already.

For windows putty is a very good ssh client. Here are some guides to generate and use your public key, search google.

If you are using linux you should already know how.


Pydio

Make a symbolic link to the personal file area to easily copy data in your home directory to Pydio. For example, by using this command:

<username>@omega:~> ln -s  $HOME/www/explorer/data/personal/<username> box

There is now a symbolic link named box you can copy any file quickly to which will show up in the Pydio.


speedtest-cli

For whatever reason, users always want to be able to run a speedtest on their box. Why? I don't know. It shouldn't really matter. But anyway, if you feel so inclined as to run one on your box, here is an extremely easy way to do it via command line, and be able to share an image of the result. Thanks to sivel's speedtest-cli python script. Check out the three easy steps below:

# Download script
wget -O speedtest-cli https://raw.github.com/sivel/speedtest-cli/master/speedtest_cli.py
# Set Permissions
chmod +x speedtest-cli
# Run test
python speedtest-cli --share

If you would like to compare against a geographically close SpeedTest server, you can use these commands to find a local server and run specifically against that server:

# List the servers that match your search (searching for 'MA, United States' for example)
python speedtest-cli --list | grep 'MA, United States'
# In the list that is output, use the number listed for for one of the servers in this command (2405 for example)
python speedtest-cli --share --server 2405

Irssi

Irssi is a terminal-based IRC client for UNIX systems, and comes pre-installed with all Fusion accounts. These are just some very basic commands to help you get started.

First off, if you ever need to manually configure irssi, the config file is located: ~/.irssi/config

I also recommend (but not necessary) tmux for running irssi, but I don't feel like going into it right now.

First things first, you will need to create a Network with a nick to join it with. That is accomplished by:

# Command
/network add -nick [name to join the server with] [network name]
# Example
/network add -nick Animazing BYSH

Now you need to add a server to that network:

# Command
/server add -auto -network [network name] [irc.server.com] // -auto flag makes it auto-connect on startup
# Example
/server add -auto -network BYSH irc.bytesized-hosting.com

Lastly you just need to add a channel to that server/network to join:

# Command
/channel add -auto #[channel] [network name] // -auto flag makes it auto-join on connection
# Example
/channel add -auto #bytesized BYSH

And now to connect to your newly created network:

# Command
/connect [network name]
# Example
/connect BYSH

Every now and then you might run into some oddities, such as password protected channels or the option for using an SSL port. Here are a few commands to help with that:

# Adding an SSL server
/server add -auto -ssl -network [network name] [irc.server.com] [port number]
/server add -auto -ssl -network BYSH irc.bytesized-hosting.com 7000 // 7000 being the SSL port
# Using a password/key to join a channel
/channel add -auto #[channel] [network name] [password]
/channel add -auto #bytesized BYSH myl33tpassword

Symbolic Links

Cleaning up dead symlinks

The following command should clean-up symlinks to dead files.

find -L ~/media/ -type l -delete

Updating a symlink

ln -f -s ./torrents/data/folder/file ./media/Movies/folder/file

Find the status of a link

stat ./media/Movies/replacewithyourfolder/*


Flexget

Clean SEEN plugin to re-download torrents

flexget seen forget TASKNAME


Audio Boost

Having trouble with low audio volume in the Plex client?
Settings > Player > Audio > Audio Boost (None, Small, Large, Huge) 

Move torrents from Deluge to Rtorrent

If you want to move torrents from Deluge to Rtorrent for long term seeding, you can try to follow the below steps:
1- Find where .torrent files are stored for Deluge: ~/.config/deluge/state;

2- Find through the hash for the torrent in Deluge the respective .torrent file; 

(Click on the torrent and check Hash under Details running the Thin Client)

3- Configure a new watch folder for rtorrent in ~/.config/rtorrent/rtorrent.rc; 

(Needs to be done only once. schedule = watch_directory,5,5,load_start="~/torrents/rtorrent-watch/*.torrent" as an example ). 

4- Create the new watch dir;

5- Pause the torrent in Deluge;

6- Move the .torrent file to the new rtorrent watch folder;

7- Remove the torrent in Deluge (NO DATA); 

8- In the meantime Rtorrent will have picked it up and started checking the new torrent.

Changing your passwords

We don’t have any means to automate the changing of passwords yet but there are some commands you can use through VNC or SSH to change them.

vncpasswd → This changes your VNC password

passwd → This changes both your SSH and FTP password

Your deluge password can be changed via the web-interface.

Warning - If you change your passwords we cannot access your account and then we cannot help you efficiently.


Note: I know this is a pretty manual way to do it, and probably not the "cleanest", but it was the only way I could figure it out on my own. Feel free to replace this instruction if you have more details or more knowledge! :)


Last Author Contributors Versions Last update
Alchemist Maran, codeseven, beeblebrox, Phyr, bioless, saiyaman156, crash5894, NurdTurd, phantasia 32 Tue, 23 Feb 2016 19:31:20 +0100