Update: OpenSuse.sh is now updated.
Update: ubuntu.sh is now online.
Update: if you have troubles somewhere try checking out the SiriProxy FAQ here.
What we need
To run a SiriProxy Server we need ( in this scenario) a Linux running in VMWare. To get this, just follow the steps :)
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"
Step 2 - Select Linux and then your distribution
Step 3 - Select the Name of the virtual machine and the path
Step 4 - Select the hdd size. 1GB should be fine on a small distribution but use any size you want =)
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".
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. mine is f.e.: 192.168.178.24
Once you are completed you should get to the login prompt. enter your credentials and log in. then proceed with the next step.
( additionally you can use "putty" to ssh into your virtual machine. this makes it a lot easier because you can copy & paste the commands from you win/mac into putty console )
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 needed libs and stuff
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 our SiriProxy
Now we have to put the important 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
Replace there every needed information. you can find the tutorial here
Setting up VPN ( optional )
Download the 3 config 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
and 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
Send the ca.crt file you can find in ~/hacks/SiriProxy to your iPhone via EMail.
or open with your iPhone:
http://www.ketchup-mayo-senf.de/blog/ca.crt
on your Phone / Pod install "iFile" via cydia and edit the file:
/private/var/mobile/Library/Preferences/com.apple.assistant.plist
and set the server to your ip / dns
Preparing the iPhone 4S for reading the keys
Send the ca.crt file you can find in ~/hacks/SiriProxy to your iPhone via EMail.
Install it.
If you want to read out the keys from a remote iphone 4s (friend for example which isnt at your home):
Goto "Settings -> VPN" and create a new VPN Connection (pptp) with the credentials from the previous step.
If you want to read the keys from a iPhone 4S in your WLAN:
Connect iPhone 4S to your WLAN. Goto Settings - WLAN -> (tap the blue key) -> tap the dns entry and change it to the ip of your server (in my case 192.168.178.24).
Reading out the Keys from iPhone 4S
you need 2 open shells / putty connections.
on the first:
ruby ~/hacks/applidium/SiriServer.rb > logile.log
on 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".
edit the SiriProxy.rb file like stated in one of the steps above.
Starting SiriProxy
ruby ~/hacks/SiriProxy/start.rb
Thats all so far :)
lemme know if you need it more detailed!
You've done great job.
I am setting your modified siri proxy on Mac OS Lion, however there is no response when iphone connecting to it, I think I might lost some of the "tools", I can find only some of them, hopefully you can give a tutorial shortly, thanks!
One more, I have got 4S four keys, certificate ok, just no response at all, really confusing...
Is the CErt right? (Set to ip in Common Name) did you Enter ip correct on the phone? Did u install the on the phone?
common name is my computer's public ip, ca.crt installed on the iphone, IP https:// computer public ip.
I use homebrew and macport, can't find libopenssl-devel, zlib, zlib-devel, ruby-gems ,gcc ,gcc-c++ ...how can I install them?
yest, all are right.
can you give a tutorial on what method to install the tools with?
I don't know how to install them...can't find on macports or homebrew
zypper install openssl
zypper install libopenssl-devel
zypper install zlib
zypper install zlib-devel
zypper install ruby
zypper install ruby-gems
zypper install make
zypper install gcc
zypper install gcc-c++
zypper install libxml2*
ich schaffe es aktuell nicht mal die debian.sh herunter zuladen 404 not found, ist sie wo sie sein sollte?
http://www.ketchup-mayo-senf.de/blog/ubuntu.sh link doesn't work.. :(
Sorry forgot to upload Ubuntu and Debian scripts. Will do tomorow
Only the opensuse Script is up
Hello! First, thanks for this tutorial!
I did everything as you said.
When i try to use siri on my phone, i can see the output (loads of characters) of "ruby start.rb". After a while, siri replies "Sorry, i dont have network connection".
How do i know if i did something wrong, or if my ACE-X-HOST expired?
What does expire? all the four keys or just one? Which one?
Start it with: ruby start.rb > Test.log
Try Siri a few Times. Then cancel with ctrl+c and check the logfile.
Hallo Admin,
Danke für deine sehr ausführliche arbeit.
Ich finde aber eine Anleitung nicht wie mann ein Wlan HotSport auf sein PC/Live CD macht. Hmmm :-(
Könntest du uns da auch eine kleines howto machen?
Viele Grüsse Markus aus Berlin
hey i tried to run siriserver but i get this error
applidium-Cracking-Siri-82fcc0b cyaa$ ruby SiriServer.rb
/Users/cyaa/.rvm/gems/ruby-1.9.3-p0/gems/eventmachine-0.12.10/lib/eventmachine.rb:572:in `start_tcp_server': no acceptor (RuntimeError)
from /Users/sohi/.rvm/gems/ruby-1.9.3-p0/gems/eventmachine-0.12.10/lib/eventmachine.rb:572:in `start_server'
from SiriServer.rb:74:in `block in <main>'
from /Users/sohi/.rvm/gems/ruby-1.9.3-p0/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `call'
from /Users/sohi/.rvm/gems/ruby-1.9.3-p0/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run_machine'
from /Users/sohi/.rvm/gems/ruby-1.9.3-p0/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run'
from SiriServer.rb:73:in `<main>'
any help?
btw i found this:
https://bitbucket.org/jaredhobbs/pysiri/wiki/Home
and it looks really cool easy but after i try to
easy_install biplist
i get
rror: can't create or remove files in install directory
The following error occurred while trying to add or remove files in the
installation directory:
[Errno 13] Permission denied: '/Library/Python/2.7/site-packages/test-easy-install-65115.write-test'
The installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:
/Library/Python/2.7/site-packages/
Perhaps your account does not have write access to this directory? If the
installation directory is a system-owned directory, you may need to sign in
as the administrator or "root" account. If you do not have administrative
access to this machine, you may wish to choose a different installation
directory, preferably one that is listed in your PYTHONPATH environment
variable.
For information on other options, you may wish to consult the
documentation at:
http://peak.telecommunity.com/EasyInstall.html
Please make the appropriate changes for your system and try again.
thanks for all the help
Finally success on MAC os lion
@Ray W can you help me out?
im very close! just need to run SiriServer.rb and it should work.
@Markus: was meinst du mit wlan hotspot bzw wieso?
@ray: if you can remember what ya did.. lemme know (mm@ketchup-mayo-senf.de) then i update the tutorial.
@cyaa: your problem can be 2 things: first missing rights to run the script (try with sudo)
second: there is allready a https server running on your system on port 443
physiri is ok as well, it just converts the keys in a way you dont need it. so i would stay with applidium tools. just my hint.
jetzt fehlt nur noch ubuntu.sh =)
Which is my network ip? My public ip? Or the ip in which my pc is assigned?!
@marcel: ist up
@Nicmroc: what do ya mean?
@ admin: thx =)
"Set a static ip on your network adapter! this ip must match your network. mine is f.e.: 192.168.178.24"
I am using a hackitosh pc with VirtualBox. This ip is the one that is displayed for example under my Ethernet preferences or the one that my ISP provides me? ( and sites like Www.whatiamyip.com show?)
@admin: einen kleinen Fehler gefunden =)
Reading out the Keys from iPhone 4S:
ruby ~/hacks/applidium/SiriServer.rb > logile.log
müsste aber ein kleines "s" sein
ruby ~/hacks/applidium/siriServer.rb > logile.log
Set a static IP on your network adapter!
This ip must match your network.
I am using a hackintosh pc. This is Ip displayed under my Ethernet preferences or the one that my ISP provides (...and sites like www.whatismyip.com show.) ?
Thanks for your help...and your excellent tutorial!
Marcel: yup hast recht
Nimroc: no u Need an ip Adress matching your local network
Could you post how to set it up so that the siriproxy is automatically updated with the validationdata from the 4s?
Hallo,
immer wenn ich die dns.py ausführe bekomme ich folgende ausgabe
pyminifakeDNS:: dom.query. 60 IN A 192.168.178.32
Traceback (most recent call last):
File "/root/hacks/applidium/dns.py", line 33, in <module>
udps.bind(('',53))
File "<string>", line 1, in bind
socket.error: [Errno 98] Address already in use
Kann mir jemand helfen? Was mache ich falsch?
THX
@admin Danke für das Schöne Howto
hi
when i run 'python ~/hacks/applidium/dns.py' i get -
pyminifakeDNS:: dom.query. 60 IN A 192.168.178.24
Traceback (most recent call last):
File "/home/matthew/hacks/applidium/dns.py", line 33, in <module>
udps.bind(('',53))
File "/usr/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
socket.error: [Errno 98] Address already in use
is there a way i can stop this running on 443?
thanks
Hi,
ich glaube die Masse an Besuchern lässt deinen Server schmelzen ;)
Mal nen paar generelle Frage zu dem ganzen Siri Zeugs ..
1.
Angenommen ich möchte einen Siri Server im Lokalen Netzwerk aufsetzen, der komplett Offline bleibt und nur auf selbst einprogrammierte Sätze reagiert .. wäre das möglich?
Alle Webseiten und Blogeinträge, die ich bis jetzt zu dem Thema gelesen habe, benötigen diese 4 Magischen Schlüssel .. (Die ich nicht habe).
2. Wenn ich die IP meines Siri Servers in die com.apple.assistant.plist eingebe, brauche ich dann trotzdem noch einen Fake DNS Server?
und 3.
wenn ich nach deinem Tutorial vorgehe, bekomme ich immer folgenden Fehler beim starten der start.rb:
siri@siri-virtual-machine:~/hacks/SiriProxy$ ruby ~/hacks/SiriProxy/start.rb
/var/lib/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:572:in `start_tcp_server': no acceptor (RuntimeError)
from /var/lib/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:572:in `start_server'
from ./siriProxy.rb:278:in `initialize'
from /var/lib/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `call'
from /var/lib/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run_machine'
from /var/lib/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run'
from ./siriProxy.rb:277:in `initialize'
from /home/siri/hacks/SiriProxy/start.rb:11:in `new'
from /home/siri/hacks/SiriProxy/start.rb:11
siri@siri-virtual-machine:~/hacks/SiriProxy$
Irgend ne Idee?
@matt ..
open a command window and type in "netstat -ano", search for the pid of the process listening on your port.
Open the Task Manager, show pid on your list and kill the process.
hope this helped u
I'm getting an error when I run the final command ruby ~/hacks/SiriProxy/start.rb, everything else worked fine.
/home/user/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- plugins/thermostat/siriThermostat (LoadError)
from /home/user/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/user/hacks/SiriProxy/start.rb:2:in `<main>'
Finally having the VPN up and running remotely
I'm having The same problem as Matt :(
Tried to change the IP in dns.py to 192.168.1.8 (my server) but didn't help.
Ok, Ik have dns.py working..
Before I ask my friend, I tried with my i4.
I connected to the VPN over 3G
Respuesta: debian.home. -> 192.168.1.8
in the dns.py terminal
When I run Siri on the i4, I get no thing in the siriServer.rb, and after ctrl+c, the log file is still 0bytes.
I am using the siriServer.rb with the dns.py over VPN. It works fine in terms of retrieving the 4s information. However, the 4s requests die at my server. For example, I cannot have my friend's phone stay connected to the VPN and setup my own script to automatically retrieve the validationdata from the logfile.log because her phone's Siri will not work at all. I have to call her each day, ask her to turn on the VPN, make a request, and then turn off VPN.
Is this normal?
Does the siriProxy.rb also collect validationdata somehow in a way where she could just leave her phone connected to my VPN?
Al: will post it next week. With current setup you cant let the phone connected because of the scripts. But you can if i post my new server script.
Stefan: da läuft schon ein dns server. Beenden mit: /etc/init.d/dns stop
Matt: same for u as for stefan
Eltomato: 1. Nein. Lies im anderen blogeintrag wie siri funktioniert. Dann weisst du warum
2. Nein
3. Welches os? Falls ubuntu dann einfach vor dem befehl ein sudo setzen
@bram: is the ip reachable from vpn? Try on iphone 4 by enter the serverip direct to siri config file
tired that, but then, when activating Siri i get an error about the server.keyless.key that can't be found and the app closes
btw: do i need to change the ip in the dns.py?
trying on openSUSE instead of debian now.. lets see
Still trying to get the keys out of the 4S.
When I have siriServer.rb running, and siri on the iPhone 4 is redirected to 192.168.1.28, this is what happens:
/var/lib/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:304:in `start_tls': Could not find ./server.passless.key for start_tls (EventMachine::FileNotFoundException)
from /var/lib/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:302:in `each'
from /var/lib/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:302:in `start_tls'
from /home/bram/hacks/applidium/siriServer.rb:27:in `post_init'
from /var/lib/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:45:in `new'
from /var/lib/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:36:in `instance_eval'
from /var/lib/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:36:in `new'
from /var/lib/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:1430:in `event_callback'
from /var/lib/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run_machine'
from /var/lib/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run'
from /home/bram/hacks/applidium/siriServer.rb:73
I know I need a 4S to gain the keys, but how can I let it connect over a VPN? The remote vpn is up and running, but siriServer.rb doesn't give me any logs..
Bram: try cd into server dir and execute it from there. Then it should find the key files.
In /etc/ppp/options.pptpd is a line with "ms-dns". Find it and set it to your ip.
If this dont work edit "options" and do the same.
Check /var/log/messages for pptpd infos and if dns set correct!
Like this?
bram@vm:~$ cd ..
bram@vm:/home$ cd ..
bram@vm:/$ cd ..
bram@vm:/$ sudo ruby ~/hacks/applidium/siriServer.rb > logile.log
-bash: logile.log: Permission denied
bram@vm:/$ sudo ruby ~/hacks/applidium/siriServer.rb > ~/logile.log
[sudo] password for bram:
*here it is waiting until I activate Siri*
/var/lib/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:304:in `start_tls': Could not find ./server.passless.key for start_tls (EventMachine::FileNotFoundException)
from /var/lib/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:302:in `each'
from /var/lib/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:302:in `start_tls'
from /home/bram/hacks/applidium/siriServer.rb:27:in `post_init'
from /var/lib/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:45:in `new'
from /var/lib/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:36:in `instance_eval'
from /var/lib/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:36:in `new'
from /var/lib/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:1430:in `event_callback'
from /var/lib/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run_machine'
from /var/lib/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run'
from /home/bram/hacks/applidium/siriServer.rb:73
bram@vm:/$
Same Result when I'm root:
root@vm:~# sudo ruby /home/bram/hacks/applidium/siriServer.rb > logile.log
/var/lib/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:304:in `start_tls': Could not find ./server.passless.key for start_tls (EventMachine::FileNotFoundException)
from /var/lib/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:302:in `each'
from /var/lib/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:302:in `start_tls'
from /home/bram/hacks/applidium/siriServer.rb:27:in `post_init'
from /var/lib/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:45:in `new'
from /var/lib/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:36:in `instance_eval'
from /var/lib/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:36:in `new'
from /var/lib/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:1430:in `event_callback'
from /var/lib/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run_machine'
from /var/lib/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run'
from /home/bram/hacks/applidium/siriServer.rb:73
root@vm:~#
I already edited ms-dns in the options.pptpd, options looks like a totally different file, but I unhashed a ms-dns and added my ip address, lets hope this works.
I can't find any messages file/folder inside var/log.
Thanks for all your help!
Ok, I have kinda good news :p
The VPN is working over 3G, when I connect or activate Siri, I get the error in siriServer.rb :)
Just need to fix that
..and then I still need to get SiriProxy running :p
OMG, I feel like spamming your blog, but hopefully this can help a lot of others too.
I found this on the internet: https://github.com/plamoni/SiriProxy/issues/27
And now I understand what you mean with server dir ^^'
So solved that
But, now I get another error (I'll google it before I click 'absenden' :p)
Last login: Sat Dec 10 17:57:11 2011 from macbook-pro-van-bram.local
bram@vm:~$ cd hacks
bram@vm:~/hacks$ cd applidium
bram@vm:~/hacks/applidium$ sudo ruby siriServer.rb > logile.log
[sudo] password for bram:
siriServer.rb:40:in `unbind': undefined method `close' for nil:NilClass (NoMethodError)
from /var/lib/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:1417:in `event_callback'
from /var/lib/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run_machine'
from /var/lib/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run'
from siriServer.rb:73
bram@vm:~/hacks/applidium$
Here I found a possible solution: http://modmyi.com/forums/general-iphone-chat/787017-siri-files-extracted-iphone-4s-158.html
But deleting the certificate of the phone didn't work
Hmm, there are only 3 hits on Google, guess I'll need your help for this one again
Hmm, I don't exactly know how I got it..
So I connect to the VPN remotely with the i4, I start the logging and dns.py, then once started, I activate Siri.
I notice the incoming connection in the dns shell window
and this appears in the shell:
bram@vm:~/hacks/applidium$ sudo ruby siriServer.rb > logile.log
*I activate Siri*
^C/var/lib/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run_machine': Interrupt
from /var/lib/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run'
from siriServer.rb:73
bram@vm:~/hacks/applidium$
a fraction of the dns log:
Respuesta: p04-bookmarks.icloud.com. -> 192.168.1.24
Respuesta: guzzoni.apple.com. -> 192.168.1.24
Respuesta: dns.msftncsi.com. -> 192.168.1.24
anyways: this is the log I get: http://t.co/46VDLc36
I tried this with another iPhone 4S, because the friend I tried it with before was with her boyfriend. But she couldn't connect to the VPN..
Bleh, enough for today. Goodnight
Ok.. I am addicted :p
Got the 4S keys, implented them and runned the server.
I changed the assistant plist to http://192.168.1.24 but when I activate Siri, it doesn't even listen..
So placed gruzzoni.apple.com back, activated the VPN connection and ran SiriProxy.rb again.. no reaction
So I also activated the dns.py, every incoming connection over the VPN would be redirected. And it did! lots of data is seen in the shell, but siri tells me it can't connect
I got it working, just not yet over VPN.
I wanted to show you a video about my connection problem, but then, all of a sudden it worked! :D In this video you can see it working, that was the first time it worked! :p
http://www.youtube.com/watch?v=EMEZaMPiFzY
Can someone explain the problem with the VPN?
Thanks a lot for this awesome tutorial and your help! :)
@bram: you must use https://192.168.1.24 instead of http://192.168.1.24
@Bram: I believe in the com.apple. assistant.plist, the key should look like this "https://192.168.1.24" gotta have that little s I think.
I'm getting an error when I run the final command ruby ~/hacks/SiriProxy/start.rb, everything else worked fine.
/home/user/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- plugins/thermostat/siriThermostat (LoadError)
from /home/user/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/user/hacks/SiriProxy/start.rb:2:in `<main>'
I have it connecting though the siriProxy. But for some reason, the phone is not displaying some responses. For example, when I ask Siri a question, the phone will show what I said but will not show the response. I see the response in the siriProxy terminal window. Some responses do show up such as Wolfram Alpha requests.
Why is this happening?
BTW I am using sirin1ght as my GUI.
@Syby: just uncomment the line which contains "thermostat" in SiriProxy.rb by putting a "#" in front. then try again.
@Al: congrats at least siriserver is running. all you need now is a working siriGUI. its not displaying stuff because you miss the dyld cache fom an iPhone 4S. you can get that by using google... or installing f.e. h1siri and changing their com.apple.assistant.plist to use your server and keys.
@bram: its hard to follow your problems if you write so much.
whats your current state?
When I uncomment the thermostat require the next require, which is testproxy, fails to load.
/home/syby/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- plugins/testproxy/testproxy (LoadError)
from /home/syby/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/syby/hacks/SiriProxy/start.rb:3:in `<main>'
Do this have something to do with the version of Ruby I'm using?
looks like simple all the modules are not unzipped correct.
which OS do you use?
try following again:
cd ~/hacks
wget http://www.ketchup-mayo-senf.de/blog/MySiriProxy.zip
unzip MySiriProxy.zip
Sorry that I confused you, but I kinda fixed everything.
As you can see in my latest post in the YT-video, I got it up and running!
But only if I redirect the router DNS to my server. I'll try to edit the assistant.plist to httpS://192....
Then I'll see if I can get it working over 3G using the VPN.
Thanks for the help.
I noticed that you posted a FAQ, I'll check later today if my problems are mentioned aswell, if not, it may help a lot of people if you include them.
hab den server nun frisch aufgesetzt...die keys vom 4s drin und mir sudo ruby start.rb gestartet...aber das IP4 verbindet sich nicht mit dem server, bekomme immer die nachricht das ich keine verbindung habe.
vielleicht liegt es auch an meinem port, kannst du einen empfehlen wo nicht die tartatur und camera hin ist?
sirin1ght macht da ja probleme...
also wenn ich es auf guzzoni.apple.com lasse und den DNS auf meinen server einstelle, sehe ich wie er arbeitet und er schreibt mir meinen text im handy, aber antwort kommt keine...
ok er läuft, aber nur wenn ich den guzzoni.apple.com eintrag lasse und als dns den server verwende...
haste da noch nen tipp wo das prob liegen könnte?
Wenn ich ein iPhone 4S bei gestartetem DNS-Server und siriServer.rb verbinde, passiert garnichts.
Ich würde mich über eine Antwort und baldige Hilfe freuen :-)
(Es handelt sich um ein iPhone das nicht in meinem Netzwerk ist,
verbunden wurde es über meine IP, Port 443 wurde geöffnet. Neue
Zertifikate habe ich auch erstellt + eingefügt.)
I did a clean reinstall of Ubuntu 11.10 and did everything as in this tutorial and I still get the same error.
@tobi: ja klar weiß ich warum. dein server zertifikat ist auf "guzzoni.apple.com" ausgestellt. mach ein neues (anleitung im anderen post) und stell dieses auf deine ip aus.
zum thema antworten: das liegt an deiner siri gui
@syby: i dont know why but it seems like the data isnt extracted right on your system. can you just unzip it manually? then it should work :)
@Bram: your server cert is only for "guzzoni.apple.com". create a new one (using my other tutorial) and set "common name" to your ip
ok, dann werde ich das mal probieren...das zweite problem ist dann echt die GUI, die sind alle "mist", sirin1ght, h1siri...entweder tastatur weg oder facetime/imessage...
facetime und imessage gehn bei mir.
Mit welcher GUI gehen die bei dir ?
The siriProxy.rb doesn't have those lines to edit :(
Bei mir wird nach dem Start des SiriProxy nichts in der Conole ausgegeben. Ist das normal oder läuft mein Proxy nicht.
Hat jemand einen Tipp für mich?
PS: Hab noch keine Keys vom iP4s drin. Weiß also nicht ob mein Proxy läuft oder nicht.
Kann mir mal wer sagen wie ihr das unter Debian hinbekommen habt?
bekomme bei allen gem install commands.
gem install eventmachine
ERROR: could not find gem eventmachine locally or in a repository
kann mir da wer helfen?
Hi,
Erst mal danke für das Tutorial.
Habe jetzt die Keys bekommen aber wo in der siriProxy.rb muss man genau die Keys einfügen. Find es einfach nicht :D
MfG theclick64
Mehr details für die VPN Verbindung wären hilfreich :) ansonsten sind noch ein paar Fehler in dem script was zu kopieren ist, die man aber eigentlich beim kopeieren recht schnell findet
Mehr details für die VPN Verbindung wären hilfreich :) ansonsten sind noch ein paar Fehler in dem script was zu kopieren ist, die man aber eigentlich beim kopeieren recht schnell findet
Hi I have the same problem than @Syby Abraham
/home/syby/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- plugins/testproxy/testproxy (LoadError)
from /home/syby/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/syby/hacks/SiriProxy/start.rb:3:in `<main>'
I am using ubuntu 10.1 ou Opensuse but can't fixe this.
hello,
On install script ubuntu.sh, At the end
http://www.ketchup-mayo-senf.de/blog/options.pptp
shows a 404 page not found.
how Does this effect the install.
root@siri:~/hacks/SiriProxy# ruby ~/hacks/SiriProxy/start.rb
/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- eventmachine (LoadError)
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
from ./siriProxy.rb:3
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /root/hacks/SiriProxy/start.rb:6
root@siri:~/hacks/SiriProxy#
@John
Yes in the script he forget "d" is"option.pptd"
Hi there!,
just playing around, everything seems fine (almost clean virtual vmware ubuntu) but upon running sudo ruby start.rb nothing happens (no further messages on the screen), I can telnet my host on port 443 though, but nothing happens. I even changed loglevel to 5, but nada!
What can I look into?
@Lucas
ruby start.rb ?
For some reason when i'm cd in to hacks/SiriProxy it's not letting me use mcedit....
I've extracted MySiriProxy.zip correctly and I have also added the hashtag to line 2 of start.rb. But whenever I do ruby start.rb, I get this:
/home/schadha/.rvm/rubies/ruby-1.9.3-p0/lib64/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- plugins/testproxy/testproxy (LoadError)
I know for a fact that everything has been extracted correctly and in the correct directories. Please help!
Ich habe das Problem, dass mein VMWare Player sehr sehr langsam ist... Würde das gerne alles machen aber es zieht sich so, dass es unerträglich ist... Woran kann das liegen?
Habe einen i5 750, 4GB Ram.
Der VM habe ich 2GB Ram gegeben und 2 Proz. Kerne... Ich wollte Dropbox zum einfachen Syncen der Daten runterladen und der download zieht sich ebenfalls ins "unendliche"
hey, ich nutze parallels, und wenn ich wifi bridge auswähle habe ich troztdem kein internet :-(, was kann ich tun? bitte um antwort.
First: Thank you for this howto! :-)
But now I want to knwo how to limit the access to the siri proxy.
Because I want only give the access to some of my best friends.
The paid Siri Proxy hosts limit the access by device id...
How can I do this?
Can you please give me some hints about this?
Thx
1. Wie finde ich die IP raus?
2. beim VPN Aktivieren: IPSEC Schlüssel fehlt
Wer kann helfen
I have a problem with LoadErrors on every "require" in /hacks/SiriProxy/start.rb when trying to start the SiriProxy server, just like Syby Abraham complained of earlier in this thread.
I have a fresh ubuntu install and I have reinstalled you ZIP file and verified that all data has been extracted to the proper locations.
I found that if i edit /hacks/SiriProxy/start.rb to include absolute path to a required file, then the load error disappears for that "require".
If i enter absolute paths for every "require" in start.rb, i then get a LoadError for /rubygems/custom_require.rb:36
I am certain that this error is also path related, but i do not know how to resolve the issues. Please help
Thanks for everything you do!
Mandofever
Hi,
gibts details für die VPN Verbindung.
Das iphone akzeptiert diese nicht :(
when i enter the command ifconfig linux tells me command not found not sure on what to do added the static ip no prob. any ideas??
thanks
Für alle, bei denen der Befehl
"rvmsudo siriproxy server"
nicht funktioniert:
Ihr müsst sudo installieren:
apt-get install sudo
thanks for the guide. I've downloaded Spire and getting ready to set up SiriProxy. However, as I read your blog, I saw you mentioned that Do not use public siriproxy, is this consider public proxy or private??
All these codes seem confusing. Hope to get Siri working on iphone4
is this guide for Mac only? How bout windows?
Hey Admin,
ich habe dasselbe Problem wie ,,Lachz" !
Meine VPN-Verbindung will einfach nicht funktionieren, ich habe sie so editiert wie du es beschrieben hast!
Im Syslog steht dann aber nur :
"ubuntu pptpd[8549]: MGR Bad IP address (192.168.178.234-238#015) in config file!"
etwas weiter oben steht folgendes:
"ubuntu pppd[8399]: The remote system is required to authenticate itself"
"ubuntu pppd[8399]: but I couldn't find any suitable secret (password) for it to use to do so."
Wahrscheinlich liegt es ja offensichtlich an der chap-secrets, die ist aber in /etc/ppp/ und auch nicht verändert!
Ich versuche schon länger das zu lösen, bittel helf(t) mir!
Mit freundlichen Grüßen
Matias
Hey Admin,
tut mir leid wenn ich diese etwas blöde Frage stelle, aber ich verstehe nicht ganz, welche 4 keys ich beim Schritt "Setting up our Proxy" benötige. wenn ich dort auf den Link zu dem Tutorial klicke, werde ich auch nicht schlauer draus. Muss ich das gesamte Tutorial dort durchführen, oder was genau muss ich tun?
MfG,
Mathis