Hak5
Save 10% at GoDaddy.com with coupon code HAK

Episode 3x05

From Hak5

Jump to: navigation, search

Contents

Synopsis

In this episode Simon Jakesch from Zenoss joins us to talk about the open source network management suite. Wess shows us the science behind the infrared camera mod. Chris Gerling hacks the Nokia 770 Internet tablet. Darren builds a one-click remote assistance package to help save the holidays, and Will Coppola drops by with an EVDO antenna mod sure to boost signal. Plus details on the upcoming Hak5Live / meetup at the East Coast LAN as always trivia. Grab some hax0rflakes, it’s time for a heavy dose of technolust.

Zenoss

IR Camera Mod

Instead of me writing a complete dissertation on the EM spectrum and visible light, check out the WP entry on it.

Upon some research after doing the segment, I found this really good instructable on pretty much the same project. The only difference is that they used a "congo blue" filter, where as I used a piece of developed film negative.

If you have any questions, don't forget that you can e-mail me at wess(at)hak5(dot)org.

EVDO Mod

By: Sub-IN-acls

By modding your hardware, the possibility for damage is increased! This segment is only version 1 of the antenna "aerial" Version 2 coming soon!

This section is for the *nix scripts to get the USB-720 to make a ppp connection to Verizon. You may need to edit them specific to you, but it should be trivial!


Copy and paste the text below into your text editor

noauth
connect "/usr/sbin/chat -v -f /etc/ppp/peers/verizon_chat"
defaultroute
usepeerdns
ttyUSB0
230400
local
debug
-detach

This file should be named ~~>verizon<~~ or what ever you prefer! Do note that if you do change the name of the file you should also change "verizon_chat" in the second line of the script above to something that suits your naming conventions.

Now its time to save the file to:

 
/etc/ppp/peers - if this folder does not exist,make it!

Now for the next file,copy and paste into your text editor:

'' 'ATZ'
'OK' 'ATDT#777'
'CONNECT' ''

This file should be named ~~>verizon_chat<~~ or what ever! save file to"

/etc/ppp/peers

Now its time to make the scripts executable by issuing the chmod command:

First thing your going to want to do, if you are not already there, is:

from shell/terminal

cd /etc/ppp/peers/
chmod a+x ./verizon
chmod a+x ./verizon_chat 

Some distros already have files located here, there are other scripts for most common cell phone carriers. If there is nothing here that is fine!

Once you have that set-up and in place, connect your USB-720 or other USB evdo modem "of similar type" and open a shell/terminal

now type:

pppd call verizon 

If you saved the file any name other then verizon substitute it with the file name you saved!

pppd call <your-file-name-here>

And thats, that!

Merry Hacking; and Happy nO08 Year!

Nokia 770 Hacks

The following links will help you get your Nokia 770 internet tablet hacked and ready for business. I recommend obtaining at least a 2GB MMC card with fast read/write speeds.

OneClick VNC Utility

I should clarify that Boztech's OneClickVNC utility a freeware implementation of the UltraVNC single-click utility. Boztech's homepage http://www.vncscan.com/ hosts the VENM console, a far more robust commercial solution for supporting multiple clients. I don't mean to mislead anyone into thinking that we're hosting commercial software free of charge. In short, Winners Don't Do Warez (tm).

Update 12/5/07: Mr. Bozteck himself has cleared things up with the link to the freeware utility at http://www.vncscan.com/vs/oneclickVNC.htm.

From: Steve Bostedor
To: Darren Kitchen
Date: Dec 4, 2007 3:35 PM
Subject: Bozteck One-Click Link

Hi Darren,

 I apologize for the mix up with the link to the one-click link that
you mentioned in Episode 3x05.  The problem has been corrected and the
link now points to the freeware utility again.

I really like your website!

Thank you,

Steve Bostedor
Owner - Bozteck


The basic setup is this:

  • Get a dynamic DNS pointed to your home network's public IP (if necessary)
  • Port forward TCP 5500 to your support machine (see also ssh-tunnel alternative below)
  • Download the OneClickVNC utility
  • Edit settings.ini adding your home network's DNS address to the first line
  • On your computer start VNC viewer in listen mode
  • Distribute the OneClickVNC package to users in need of assistance (read: relatives, girlfriends, that co-worker who is constantly "accidentally" deleting his print drivers with instructions to run the executable.

Optionally use a tool like Paquet Builder to make an installer

Alternatives to this support method include web based solutions like http://www.logmein.com. I look forward to hearing your feedback so email me at darren@hak5.org and let me know what you use for remote assistance.

If you don't have a fixed IP for your support machine, but a laptop you sit in all kinds of places with, at work or whatever - It requires a steady hand and a bit of thought, but it is possible to "call home" to whatever server or machine you have behind your public IP, and have it remote (that's the R in the line below, bind address set to "*" to allow connections from internet) forward port 5500 to your support machine:

  ssh -R *:5500:localhost:5500 myuser@mypublicmachine.com

You can of course also add the corresponding tunnel to your saved Putty session under Windows. Then on your support machine, run that `vncserver -listen`, "call home" with ssh or putty, and you're ready to receive any help calls from friends or family even if you're on the road and they're actually calling your home machine.

The only tricky part to figure out here is that ssh servers (sshd) may be configured to not allow these kind of tunnels open for anyone to use, so add to your `/etc/ssh/sshd_config`:

 GatewayPorts clientspecified