Loading...

How To Setup Spire Proxy in Windows 7 with VMWare



Getting VMWare:

Download VMWare Player from the official website or for Example here: Chip.de - VMWare Player 4.01

Download a Linux ISO:

You can get various Linux Distributions for free from the internet.
For this Server I suggest a small distribution, because we don't need a GUI or other stuff.

Debian: http://cdimage.debian.org/debian-cd/6.0.3/i386/iso-cd/debian-6.0.3-i386-netinst.iso

Ubuntu: http://www.ubuntu.com/download/server/download

OpenSuse: http://ftp.halifax.rwth-aachen.de/opensuse/distribution/12.1/iso/openSUSE-12.1-NET-i586.iso

Setting up VMWare:

After Installing VMWare Player create a new Virtual Machine with the assistant.

Step 1 - Choose "I will install the operating system later"

step1.png

Step 2 - Select Linux and then your Distribution

step2.png

Step 3 - Select the Name of the Virtual Machine and the Path

step3.png

Step 4 - Select the HDD size.

step4.png

Step 5 - Select "customize hardware"

Step 6 - Remove Floppy and Sound. Set "Network Adapter" to "Bridged" and set the CD to your downloaded Linux ISO file. Apply all Settings and Close it with "OK".

step6.png

Step 7 - Press "Finish" to finish the Creation of our New Virtual Machine.

Step 8 - on the VMWare welcome screen select "Play Virtual Machine"

Installing the Linux in VMWare:

Follow the Instructions on your Screen and Install Linux.

Set a Static IP on your Network Adapter!
This IP must match your Network.
Once you are completed you should get to the Login prompt. Enter your Credentials and Log in. then proceed with the next step.

Installing Debian:

If you have to choose which software to install then check:
- SSH Server
To check which IP you have in your VMWare Log into your Debian system and execute: ifconfig
There look for eth0:
This is the IP you can use with "putty" or any other SSH Client to SSH into your Debian.

Installing all Tools Needed:

Depending on your Linux, choose one of the following steps:

Debian

cd ~
wget http://www.ketchup-mayo-senf.de/blog/debian.sh
chmod 777 debian.sh
./debian.sh


OpenSuse

cd ~
wget http://www.ketchup-mayo-senf.de/blog/OpenSuse.sh
chmod 777 OpenSuse.sh
./OpenSuse.sh


Ubuntu
 
cd ~
wget http://www.ketchup-mayo-senf.de/blog/ubuntu.sh
chmod 777 ubuntu.sh
./ubuntu.sh

Setting up SiriProxy:

Now we have to put the 4 Keys into our SiriProxy.rb file. Best you use "mc" for editing. But feel free to use any other editor like "vi" "vim" "ae" or whatever
.
cd ~/hacks/SiriProxy
mcedit siriProxy.rb


HIERKOMMt_X-ACE-HOST_HIN – replace with x-ace-host
HIERKOMMT_VALIDATION_DATA_HIN – replace with validationData
HIERKOMMT_SPEECHID_HIN – replace with speechID
HIERKOMMT_ASSISTANTID_HIN – replace with assistantID

Setting up VP:

Download the 3 configuration files from Server with:

wget http://www.ketchup-mayo-senf.de/blog/pptpd.conf

wget http://www.ketchup-mayo-senf.de/blog/options.pptpd


wget http://www.ketchup-mayo-senf.de/blog/chap-secrets


Restart the PPTP Server with:

/etc/init.d/pptp restart

Now you can use iPhone VPN to open a VPN Connection to your Server.

User: KMS
Password: siri


( If on OpenSuse everything is allready done by the script )

Preparing the iPhone 4 / iPhone 3G / iPod etc:

Open in your iPhone  and Install the folowing CRT file.

http://www.ketchup-mayo-senf.de/blog/ca.crt

 Open the com.apple.assistant.plist via iFile.

Change “https://guzzoni.apple.com” to “https://YOURIP_OR_DYNDNS

Now Reboot your iPhone and Enable Siri

Preparing the iPhone 4S for Reading the Keys:

If you want to Read the Keys from a iPhone 4S in your WLAN:

Connect iPhone 4S to your WLAN.
Go to Settings - WLAN -> (Tap the Blue Key) -> Tap the DNS Entry and Change it to the IP of your Server.

Reading out the Keys from iPhone 4S:

You need 2 open Shells / Putty connections.

In the first:

ruby ~/hacks/applidium/SiriServer.rb > logile.log

In the second:

python ~/hacks/applidium/dns.py

Now talk to Siri on the iPhone 4S.
In ~/hacks/applidium/logfile.log you find all Needed Keys.

Stop both programs by using "Ctrl + C".

Now we have to put the 4 Keys into our SiriProxy.rb file. Best you use "mc" for editing. But feel free to use any other editor like "vi" "vim" "ae" or whatever
.
cd ~/hacks/SiriProxy
mcedit siriProxy.rb


HIERKOMMt_X-ACE-HOST_HIN – replace with x-ace-host
HIERKOMMT_VALIDATION_DATA_HIN – replace with validationData
HIERKOMMT_SPEECHID_HIN – replace with speechID
HIERKOMMT_ASSISTANTID_HIN – replace with assistantID

Starting the Server:

If you are using ROOT then start it with:

ruby start.rb

If you are not using ROOT ( Ubuntu, MacOS etc):

sudo ruby start.rb

Open the com.apple.assistant.plist via iFile.

Change “https://guzzoni.apple.com” to “https://YOURIP_OR_DYNDNS

Now Reboot your iPhone and Enable Siri

No comments:

Post a Comment