tirsdag 8. april 2014

HOWTO Start Dante Socks server together with OpenVPN client during reboot in Ubuntu 12.04

After installing Dante SOCKS server it would not start during reboot, thee problem was the OpenVPN tun0 interface was not up when dante was starting, and it would not start with error tun0 not found.

I did quite a bit of googling before a solution came to me, i did find it on the page: Turn your Raspberry Pi into a VPN gateway.

Here is a overview of the solution (slightly modified for the original):

First remove the normal start and stop hooks in rc*.d
sudo update-rc.d danted remove
Next create the scripts.
sudo mkdir /etc/dante_scripts
sudo nano /etc/dante_scripts/myprovider.up
Add the following contents to /etc/dante_scripts/myprovider.up:
#!/bin/bash
if [ "$1" = tun0 ]; then
 /etc/init.d/danted start
fi
sudo nano /etc/dante_scripts/myprovider.down
Add the following contents to /etc/dante_scripts/myprovider.down:
#!/bin/bash
if [ "$1" = tun0 ]; then
 /etc/init.d/danted stop
fi
Make the scripts runnable:
sudo chmod +x /etv/dante_scripts/*
Add the hooks to /etc/default/openvpn:
sudo nano /etc/default/openvpn
Modify the OPTARGS:
OPTARGS="--up /etc/dante_scripts/myprovider.up --down /etc/dante_scripts/myprovider.down"


onsdag 5. mars 2014

WORKING HOWTO Install nVidia (CUDA) drivers on Kali 1.0.6

HOWTO Install nVidia drivers on Kali 1.0.6.

I used alot of time and effort to search he net for a guide on how to install nVidia (CUDA) drivers on Kali 1.0.6. I did try the solution described on the official Kali site, but it did not work. Only got the black screen with blinking cursor in upper left corner during reboot. Most of the other guides I found was more or less the same.

Until I stumbled upon this a blog called Samiux's Blog. Which had a guide that worked flawlessly! BIG thank you for this guide.

Guide is shown below but visit his blog for more information. Link to the guide here

Step 1 :

apt-get install libcudart4 linux-headers-$(uname -r) nvidia-cuda-toolkit

Step 2 :

mkdir /etc/X11/xorg.conf.d

echo -e 'Section "Device"\n\tIdentifier "nVidia GPU"\n\tDriver "nvidia"\n\tOption "NoLogo" "1"\n\tOption "RenderAccel" "1"\n\tOption "TripleBuffr" "true"\n\tOption "MigrationHeuristic" "greedy"\nEndSection' > /etc/X11/xorg.conf.d/20-nvidia.conf


Step 3 :

Update the boot loader to disable the open source nvidia display driver.

sed 's/quiet/quiet nouveau.modeset=0/g' -i /etc/default/grub
update-grub
reboot

mandag 27. januar 2014

How to manage SDR software across multiple computers with synced configuration. through cloud storage.

YouTube user Eric William has released another useful video presentation of his equipment. This time he focuses on the software and cloud solution he uses to get the configuration synced across all PCs. Alot to learn for new SDR users.



lørdag 18. januar 2014

Receiving ADS-B signals from inside an Boeing 737-800 in flight with RTL-SDR

This guy has hooked up his RTL-SDR receiver inside an Ryanair aircraft during flight at 36000 feet, and he is able to receive the ADS-B signal without problems.

fredag 3. januar 2014

Removing annoying BEEP tone from Maycom FR-100

Are you annoyed by the BEEP tone from the Maycom FR-100?
It's a pretty simple fix for that, remove a resistor on the PCB inside the maycom fr-100.

You need to remove the 4 screws on the backpanel in order to remove the panel, then you need to remove to screws from inside the batterycompartment. You now remove the battery compartment.
Now fire up your soldering iron and prepare to remove a SMD resistor marked R1 on the photo below, be aware that is pretty tiny and you do not need alot of heat to remove it.

With the resistor removed get the maycom fr-100 back together and you do not have any more BEEP tone.