OG: 1.053-1.054
FG: 1.011-1.012
ABV: 5.4%
IBUs: 10
SRM: 4-5
Ingredients:
Mostly technical guides on how to improve your digital life with Open Source.
ssh-keygen -t rsa -b 4096 -f SOMEFILEWhen prompted for a pass-phrase enter one of your choice which will be needed to make use of the key when using it to connect.
ssh-keygen -t rsa -b 4096 -f SOMEFILEWhen prompted for a pass-phrase, press enter (twice).
ssh-keygen -t dsa -b 1024 -f TEMP
openssl pkcs8 -topk8 -nocrypt > SOMEFILE < TEMP
This guide is for configuring TigerVNC on Windows for secure VNC connection using bVNC Secure/Free
bVNC Secure, but is completely applicable to any VNC client that supports VeNCrypt. Only the
VNC client configuration would be different.
bVNC
Secure is an Android and Blackberry Playbook/OS 10 application,
available on Google Play and App World respectively. Find it on your
mobile device or here:
Google Play, for devices running Android 2.2 and up, or here:
App World for BB Playbook and OS 10 devices.
Setting up TigerVNC:
- Download and install the latest TigerVNC from Sourceforge:
https://sourceforge.net/projects/tigervnc/files/
As of the latest update to this document, the latest Windows exe file is:
https://sourceforge.net/projects/tigervnc/files/stable/1.12.0/tigervnc64-winvnc-1.12.0.exe/download
Please note that if you have issues with the latest version, you may try to install a previous version of TigerVNC
- If Bitdefender stops you from running the installer, right-click on the file, click Properties, and tick the "Unblock" checkbox. Hit Apply, and run the installer again.
- Find and run "Register VNC Service" from the Start bar
- Find and run "Run VNC Server" from the Start bar
- When prompted, allow connectivity on whatever networks you will need to be able to access the PC (private, public, or both). Selecting both allows connections anywhere.
- Then, when the TigerVNC icon shows up in the task-bar (it is an eye of a tiger), right-click on it, select "Options", and configure it as shown in the screen-shot below. Note I've clicked on "Configure" to set a password.
- Important! Since you're reading this, you must be conscious about security. Set an exactly 8-character password using no dictionary words and preferably containing numbers and punctuation and other symbols for enhanced security. Write down this password as you will need it in the last step.
Click on the screen-shot below to see the whole image:
sudo apt-get install x11vnc xvfb vnc4server openssh-serverOnce the packages are installed, start bVNC, enter the address of the server, username/password of your account, and tap on the "Configure AutoX" button.
This guide is for configuring Windows for usage with bVNC Pro and bVNC, but is completely applicable to any VNC client. Only the VNC client configuration would be different.
Please keep in mind that Plain VNC connections are not as secure as VNC over SSH, because they only allows passwords of up to 8 characters in length and traffic between the VNC client and server is not encrypted. To solve both of these problems bVNC Secure supports tunneling your VNC connection over SSH for enterprise-level security of both your authentication credentials and data. If you are concerned with security and privacy, follow my guide for Windows on tunneling VNC over SSH with bVNC.
bVNC Secure is an Android app available on Google Play. Find it on your mobile device or here:
Google Play, for devices running Android 2.2 and up, or here:
0) Install TightVNC
- Go to: http://www.tightvnc.com/download.php
- Get and install the "Self-installing package for Windows".
- Do a default install and set a VNC password and a control
interface administrative password (up to 8 characters).
- Click on the icon with the "V" in the notification area of the taskbar.
- Disable "Serve Java Viewer to Web clients"
- After you have it working you can look through for any other
settings you want.
1) Configure bVNC Client:
- Start bVNC
- Create a new connection in bVNC
- Ensure "Connection Type" is set to "Basic VNC"
- Optionally name the connection something in Nickname
- Type the IP or hostname of the computer you configured in the first step. To find your IP address, follow this guide.
- Type the VNC password you chose from the first step in VNC Auth.
- Tap "Connect", and you should be in.
2) Additional information:
- If you need to change any settings in the connection after disconnecting, you have to long-tap on the connection.
- You may have to check "Local mouse pointer" in Advanced Settings if you can't see the remote pointer.
- Post on https://groups.google.com/g/bvnc-ardp-aspice-opaque-remote-desktop-clients if you have trouble.
sudo apt-get update
sudo apt-get install mdadm
sudo swapoff -a
sudo parted /dev/sda
mklabel msdos y
q
sudo mdadm --create /dev/md0 -l10 -pn2 -c512 -n2 /dev/sda missing
sudo mdadm --create /dev/md0 -l1 -n2 /dev/sda missing
cat /proc/mdstat
sudo parted /dev/md0
mklabel gpt y
mkpart "grub-bios" ext4 0 1
set 1 bios_grub on
mkpart "root" ext4 1 40000
q
mdadm --stop /dev/md0
rm -rf /dev/md0*
mdadm --assemble --scan
sudo chroot /mnt
mount -t proc none /proc
mount -t sysfs none /sys
mount -t devtmpfs none /dev
apt-get update
apt-get install mdadm
mkdir -p /etc/mdadm/
mdadm --examine --scan > /etc/mdadm/mdadm.conf
update-initramfs -c -k all
update-initramfs -ut -k all
sudo apt-get install grub2
grub-mkconfig > /boot/grub/grub.cfg
grub-install --recheck --modules="raid" /dev/sda
sudo mdadm --add /dev/md0 /dev/sdb
watch cat /proc/mdstat
The information on this post is way out of date by now. Please do post a link to an updated guide in the comments if you have one.
This guide will help you get a free US number (DID), and receive incoming calls on your Android device *for free* without using minutes on your voice plan, purely over Wifi (or data if you have a good data plan). This guide is part of my larger guide on how to make free calls to USA and Canada using Google Voice. 1) Register for a free Sipgate One account 2) Once you are signed up and your account is active, make note of your Sipgate SIP ID and SIP password. 3) Configure either your built-in SIP client (Android 2.3 and up), or download one of CSipSimple, Sipdroid, or Linphone from the market, and install it on your Android phone. General instructions on setting up Sipgate with a SIP client can be found here. a) For Android 2.3 and up, you may choose to use the built-in SIP functionality of your device. Go to Settings->Call Settings->Accounts. Select "Receive incoming calls" (this is essential for callback to work), and then hit "Add account". Enter your Sipgate ID and password in the appropriate fields, and sipgate.com under "Server". b) Once you install and start Sipdroid, hit Menu->Settings->SIP Account (Line 1), and enter your Sipgate ID in the "Authorization Username" field, and password in the "Password" field, and sipgate.com under "Server or Proxy". If you so choose, you can check "Use 3G" (see NOTE below about data usage). If you experience weird audio issues, you can also select Settings->Advanced Options->Use STUN Server, and enter stun.sipgate.net in "STUN Server name", or use the pre-supplied STUN server. c) Recent versions of CSipSimple have a Sipgate wizard which can be followed to set up your Sipgate account easily. When when you first start it up: - Select whether you want to be "Always available" or "Available on WiFi", depending on whether you have a generous mobile data plan or not. Also, if using your data plan, check "I'm allowed to use mobile" below. - On the next screen, click "Add account", then choose the Sipgate wizard, and enter your Sipgate ID and password in the appropriate fields, and sipgate.com under "Server". - If you experience weird networking issues, one way audio or other issues, you can try enabling STUN, Menu->Settings->Network->Enable STUN. You can elect to use callwithus STUN server (stun.sipgate.net) or the CSipSimple provided server (Thanks for your comment, Ross). - Finally, you if you want to use your mobile data plan (see NOTE below about data usage), check "Use 3G" in the settings. d) After installing Linphone, when it is first run, it will do an echo cancellation calibration. After that, you will be in the SIP Account screen. Enter your Sipgate ID and password in the appropriate fields, and sipgate.com under "Domain". You can check "Start at boot time" below, and enter Sipgate's STUN server (stun.sipgate.net) under "Stun server" if you have strange audio problems. Linphone will make use of your mobile data plan by default, so either make sure you have a generous enough mobile data plan (see NOTE below about data usage), or make sure you don't make calls when you are outside WIFI coverage. (2 - 3 minutes) NOTE: If you have a mobile data plan, you can tell Sipdroid, CSipSimple, and Linphone to connect even over your wireless provider's data plan (3G), but *beware of potentially very high data charges*, since voip can be very data intensive. In my personal tests, a high quality codec consumes about 1MB per minute. 4) You can either use this number as your real phone number, add it to Google Voice, and make GV forward to it, even use it to activate your GV account. Finally, you can use this number to MAKE FREE CALLS TO USA AND CANADA using my other guide.
sudo parted /dev/sda
print
sudo swapoff -a
sudo dd if=/dev/sda of=/dev/sdb bs=1024k
sudo killall -SIGUSR1 dd
sudo gparted /dev/sdb
sudo apt-get update
sudo apt-get install mdadm
sudo modprobe md_mod
sudo modprobe raid10
sudo mdadm --create
--metadata=1.0
/dev/md0 -l10 -pn2 -c512 -n2 /dev/sdb missing
sudo mdadm --create --metadata=1.0 /dev/md0 -l1 -n2 /dev/sdb missing
sudo mdadm --assemble --scan
sudo udevadm trigger
sudo mdadm-startall
sudo mount /dev/md0p5 /mnt
sudo mount /dev/md0p1 /mnt/boot
sudo mount /dev/md0p7 /mnt/usr/
sudo mount /dev/md0p8 /mnt/var/
sudo chroot /mnt
mount -t proc none /proc
mount -t sysfs none /sys
mount -t devtmpfs none /dev
apt-get update
apt-get install mdadm
mkdir -p /etc/mdadm/
mdadm --examine --scan > /etc/mdadm/mdadm.conf
update-initramfs -c -k all
update-initramfs -ut -k all
sudo apt-get install grub2 # Just in case the prerequisite was not satisfied.
grub-mkconfig > /boot/grub/grub.cfg
grub-install --recheck --modules="raid" /dev/md0
sudo mdadm --add /dev/md0 /dev/sda
watch cat /proc/mdstat
[Dialer Defaults]
Init1 = AT+CGDCONT=1,"IP","internet.windmobile.ca"
Modem Type = USB Modem
Phone = *99#
ISDN = 0
Password = *
New PPPD = yes
Username = *
Modem = /dev/ttyACM0
Baud = 460800
sudo wvdial
I've created a support group / forum for my remote desktop clients bVNC, aRDP, aSPICE, and Opaque. If you would like to participate and/or support the project, please:
https://groups.google.com/forum/#!forum/bvnc-ardp-aspice-opaque-remote-desktop-clients