Thursday, December 28, 2017

OSMC and VPN on Raspberry Pi December 2016 guide

Download OSMC Installer
Install OSMC to SD card

Search for how to install Exodus
https://koditvguide.com/exodus-kodi-how-to-insall-exodus-on-kodi/

How to Install Exodus Kodi Add-on Guide
Open Kodi and navigate to SYSTEM > File Manager > Add Source > None
Type the following EXACTLY http://fusion.tvaddons.ag and select Done
Highlight the box underneath and enter a name for this media Source like “Fusion”. and then click OK
Go back to your Home Screen and then to SYSTEM > Add-Ons > Install from Zip File > “Fusion”
Select xbmc-repos > english > repository.exodus-x-x-x.zip and wait for the Add-on enabled notification
Select Get Add-Ons or Install from Repository (on Isengard or higher) > Exodus Add-on repository > Video Add-ons > Exodus > Install
Wait for Add-on enabled notification

Make sure SSH is enabled on the Pi
Find IP address of the Pi in the onboard settings

Also select the remote rc6-mce-lircd if you're using the Mediagate remote.

Under Settings/Interface select "Expert" and then set Zoom to -4 for the Panasonic TV.

Download FileZilla
Copy Zomboided zip file to /tmp on the Pi
https://trevorappleton.blogspot.com/2014/03/remotely-copy-files-to-and-from-your.html

Download PuTTY
Enter IP (10.0.0.19 or 192.168.1.74 or something like that)
login as osmc
password is osmc
sudo apt-get update
sudo apt-get install -y -qq openvpn

To add a VPN using Zomboided:
http://forum.kodi.tv/showthread.php?tid=299829
Be sure to use the automated version.  Manual caused me trouble.

Open FileZilla
Select File/Site Manager
Enter under "Host" the network address of your Pi.
Logon Type: Normal
User: osmc
Password: osmc
Accept that the host key is unsecure.
You'd have downloaded Zomboided already and it should be in your downloads folder.  Navigate there with the left pane window. Highlight and then right click "Upload" to transfer to the /tmp folder on the Pi.

Download the Zomboided Repository for Kodi
Navigate in Windows (That's what I used for this tutorial) to your Raspberry Pi's IP Address.
Copy the freshly downloaded Zomboided Repository ZIP file to the Raspberry Pi's Downloads folder.
On the Raspberry Pi, go to System, then Settings, then Add-Ons.
Choose Install from ZIP and navigate to the Downloads folder (Home/Downloads)
Once installed, go to the Install from Repository option in Add-Ons.
Under Zomboided Repository, then Services, choose VPN
Manager and Install
Go back to the main Kodi screen and go to Programs.
Choose VPN Manager and then Add-on Settings.
Select Wizard. Choose your VPN Service and then input your Username and Password.
Choose your Encryption Level, then the Profile or VPN you wish to use and you are done!

Open the Zomboided addon
Under the VPN Configuration tab fill out the username and password.
Under the VPN Connections tab manually select "First VPN connection"
It should ask you which server you want to select.

No thumbnails in Thunar (XFCE) when on remote files viewed with Samba?

No thumbnails in Thunar (XFCE) when on remote files viewed with Samba?

Edit:Preferences:Show thumbnails:Always

Low disk space on Boot partition

Low disk space on /boot is caused by old Linux kernels hogging space.

In Mint,

Open Update Manager
View/Linux Kernels
Acknowledge warning
Remove unused/old kernels one at a time


On Ubuntu,

sudo apt-get purge $( dpkg --list | grep -P -o "linux-image-\d\S+" | grep -v $(uname -r | grep -P -o ".+\d") )

HP printers and Debian or Ubuntu or Linux Mint

sudo apt-get install hplip hplip-gui

edimax ew-7811utc ubuntu

sudo apt-get update

sudo apt-get install linux-headers-generic build-essential git

git clone https://github.com/gnab/rtl8812au.git

cd ~/rtl8812au

make

sudo make install

sudo modprobe 8812au

If you insisted upon downloading Dropbox for Debian from their website, which was a very bad idea in the first place...

Install from the Dropbox website, then:

dropbox stop && dbus-launch dropbox start

on Lubuntu go to

Start/Preferences/Default applications for LXSession

In the Autostart section, Manual autostarted applications, copy/paste:

dbus-launch dropbox start -i

then hit "+ Add"

and reboot

The following doesn't work in Xubuntu! Damned if I know why.  Maybe this command runs before dropbox starts in the first place, who knows?

on Xubuntu go to
Start/Session and Startup/Add
name and description your choice
dropbox stop && dbus-launch dropbox start

So now I tried to gedit the rc.local file to autorun on startup:
sudo apt-get install gedit
sudo gedit /etc/init.d/rc.local
add this line right above "exit 0" very near the bottom
sleep 30; dropbox stop && dbus-launch dropbox start
save
reboot

And now this didn't work either. Running out of patience.

Ok, trying this:

Open terminal.
dropbox stop
sudo gedit /usr/bin/dropbox
Create a new line after "import os" and add the following:
os.environ['DBUS_SESSION_BUS_ADDRESS'] = ""
Save and restart

Success lives here!

Dell 1501 WiFi

Dell 1501

WiFi is Broadcom BCM4311 rev 01

sudo apt-get update

sudo apt-get install firmware-b43-installer

ensure wifi light is on, if not use function/f2 to turn it on