boxee :: forums  

Go Back   boxee :: forums > boxee community > boxee for appletv help

Reply
 
Thread Tools Display Modes
  #61  
Old February 2nd, 2009, 05:05 PM
thewopr@yahoo.com thewopr@yahoo.com is offline
Junior Member
 
Join Date: Feb 2009
Posts: 1
Default Boxee in Canada :) but iTunes library inaccessible :(

Did everything and boxee from Canada works now but when I try to access
my itunes library it won't.

I've tried rebooting the appletv and also reauthorizing it with the itunes software and still nothing.

iTunes sees the appletv and accepts the 5 digit code when i sent it to my iMac
but it wont sync anymore.

Is there something I need to do in order to get my appletv back on my local network and not through VPN?
Reply With Quote
  #62  
Old February 3rd, 2009, 06:30 AM
clm421 clm421 is offline
Member
 
Join Date: Nov 2008
Posts: 53
Default

boxee started w/ launcher 2.x = no itunes connection.
boxee exited = atv in itunes device list.
Reply With Quote
  #63  
Old February 4th, 2009, 07:48 PM
babbe babbe is offline
Junior Member
 
Join Date: Jan 2009
Posts: 9
Default

Quote:
Originally Posted by mwpei View Post
I think it would be better to do this as a python plug in script for boxee, if you are using openvpn then you can start it with a few system commands and pause, resume, restart and stop it via telnet commands. All you have to do to enable the telnet commands is to start the vpn using the
--management option.

I was thinking of starting work on a plugin to do this, if anyone else is already doing this please post.
I have a working plugin that allows to start and stop HotSpotShield via Scripts. I am doing my last tests, will release it soon.
Reply With Quote
  #64  
Old February 5th, 2009, 02:58 AM
grey grey is offline
Senior Member
 
Join Date: Nov 2008
Posts: 117
Default

good news!
Reply With Quote
  #65  
Old February 7th, 2009, 04:05 PM
mwpei mwpei is offline
Senior Member
 
Join Date: Oct 2008
Posts: 226
Default

Quote:
Originally Posted by skripo View Post
Thanks to fnord for solving this. Below is a thread resume for easy one post access. I did this from memory so please confirm if it works or needs editing.

Installing and initializing with a minimum of Unix and permissions issues


You will need to download the following:

Hotspot Shield

http://hotspotshield.com/


Nito TV

http://wiki.awkwardtv.org/wiki/NitoTV_Take_2/


Any sftp application, I used cyberduck

http://cyberduck.ch/


1) Install hotspot shield and cyberduck (or sftp of your choosing) on your mac. Extract nitoTV and rename the folder to nitoTV for simplicity's sake.

2) Fix the permissions on your mac to allow open vpnsource to be copied. Open terminal from the utilities folder in the applications folder on your mac. Now type in or copy and paste the following commands:

cd "/Applications/Hotspot Shield.app/Contents/Resources"

sudo chmod ugo+r openvpnstart

You will get a warning and be asked for a password. Enter your account password, be sure you are logged in on your mac as the admin.

3) Fire up CyberDuck and click connect. In the top window select the SFTP (SSH File Transfer Protocol) option. Type "frontrow@appletv.local" in the server window and "frontrow" in both the username and password field.

4) Navigate to the /applications folder using cyberduck and copy the nitoTV folder into it.

5) Navigate to the /Users/frontrow/Applications and copy the Hotspot shield application from the applications folder on your mac

6) Reboot your ATV and highlight nitoTV, go right and select settings -> Install software -> Install Turbo's Kextloader and reboot your atv.

7) Now we can execute the following commands to start Hotspot Shield:

cd "/Users/frontrow/Applications/Hotspot Shield.app/Contents/Resources"
sudo chown -R root:wheel tun.kext
sudo kextload tun.kext
sudo openvpn --config config.hvpn

If you're asked for the sudo password enter "frontrow" again

You can also test your kextload by executing the following command:

sudo kextload -t tun.kext

It will then tell you what is wrong.

the next step is creating an auto load and exit script when Boxee starts or stops.

I have Hotspot shield working on my atv but I want to try to get tunnelbrick working as well. (this is because I am developing a plugin to control it from boxee) but I am having a problem when I copied tunnelbrick over. when I try to run the kextload -t tun.kext I get the following errors:

kernel extension tun.kext has problems:
Authentication failures:
{
"File owner/permissions are incorrect" = (
"/mnt/Scratch/Users/frontrow/applications/tunnelblick.app/contents/resources/tun.kext/Contents/Info.plist"
"/mnt/Scratch/Users/frontrow/applications/tunnelblick.app/contents/resources/tun.kext/Contents"
"/mnt/Scratch/Users/frontrow/applications/tunnelblick.app/contents/resources/tun.kext/Contents/MacOS/tun"
"/mnt/Scratch/Users/frontrow/applications/tunnelblick.app/contents/resources/tun.kext/Contents/MacOS"
)
}

This looks like my copy did not work correctly, does anyone know how I can either copy the files correctly (I used scp to move them because finder told me I did not have permissions to see all the files).

thanks,

(Sorry for the dumb question, I am kind of new to the mac world)
Reply With Quote
  #66  
Old February 8th, 2009, 08:17 AM
mwpei mwpei is offline
Senior Member
 
Join Date: Oct 2008
Posts: 226
Default

Quote:
Originally Posted by mwpei View Post
I have Hotspot shield working on my atv but I want to try to get tunnelbrick working as well. (this is because I am developing a plugin to control it from boxee) but I am having a problem when I copied tunnelbrick over. when I try to run the kextload -t tun.kext I get the following errors:

kernel extension tun.kext has problems:
Authentication failures:
{
"File owner/permissions are incorrect" = (
"/mnt/Scratch/Users/frontrow/applications/tunnelblick.app/contents/resources/tun.kext/Contents/Info.plist"
"/mnt/Scratch/Users/frontrow/applications/tunnelblick.app/contents/resources/tun.kext/Contents"
"/mnt/Scratch/Users/frontrow/applications/tunnelblick.app/contents/resources/tun.kext/Contents/MacOS/tun"
"/mnt/Scratch/Users/frontrow/applications/tunnelblick.app/contents/resources/tun.kext/Contents/MacOS"
)
}

This looks like my copy did not work correctly, does anyone know how I can either copy the files correctly (I used scp to move them because finder told me I did not have permissions to see all the files).

thanks,

(Sorry for the dumb question, I am kind of new to the mac world)
I got it working, I just had to follow the instuctions correctly. Here is what I did (it mostly comes from an earlier post and I have updated it for TunnelBrick)

(This is for TunnelBrick as supplied by Witopia - the $40/year vpn service)

1. Install TunnelBrick.app on my mac
2. open terminal
3. cd "/Applications/TunnelBrick.app/Contents/Resources"
4. sudo chmod ugo+r openvpnstart
5. open finder and copy TunnelBrick.app from my mac to the appletv (/Users/frontrow/applications)
6. copy (from my mac) the contents of /Users/{User}/Library/openvpn to the atv /Usersfrontrow/Library/openvpn (this directory contants the key, crt and conf files for your connection)
7. ssh into the atv and run the following commands:
cd "/Users/frontrow/Applications/TunnelBrick.app/Contents/Resources"
sudo chown -R root:wheel tun.kext
sudo kextload tun.kext
sudo openvpn --config /Users/frontrow/Library/openvpn/openvpn.conf

And now it works.

I have also confirmed that my alpha version of the vpn plugin is working (both with hotspot and tunnelbrick), just going to update it so that people can have both hotspot and tunnelbrick installed at the same time and control both with out needing two versions. Will try to post the plugin today or tomorrow. (Is there a place where boxee plugins should be posted?)

thanks,
Reply With Quote
  #67  
Old February 8th, 2009, 10:44 AM
clm421 clm421 is offline
Member
 
Join Date: Nov 2008
Posts: 53
Default

so 'ehm ain't the both using the plain simple openvpn binary?
tunnelblick is just a gui for macs no need and use for that on the atv.
what u're actually talking about is probably the different keys, certs and configfile, aren't u?
Reply With Quote
  #68  
Old February 8th, 2009, 12:40 PM
mwpei mwpei is offline
Senior Member
 
Join Date: Oct 2008
Posts: 226
Default

Quote:
Originally Posted by clm421 View Post
so 'ehm ain't the both using the plain simple openvpn binary?
tunnelblick is just a gui for macs no need and use for that on the atv.
what u're actually talking about is probably the different keys, certs and configfile, aren't u?
I agree, but I tried to use the hotspot shield to start up the tunnel with Witopia and kept getting errors so I decided to try to get tunnelblink working as well.
I also figured that it would work best if people could use the build that is sent to them when they sign up for the Witopia vpn service.

I am setting up my plugin so that it will work with hotspot shield and/or TunnelBlick installs.

(BTW - I am not connected or getting anything from Witopia, it just seems to work well. I want to say this because I have noticed that one person has already tried to make money off the vpn threads)
Reply With Quote
  #69  
Old February 8th, 2009, 03:39 PM
mwpei mwpei is offline
Senior Member
 
Join Date: Oct 2008
Posts: 226
Default

I finally got my plugin up for others to download, take a look at the following post for details. (this will allow you to control your vpn from within boxee)

http://forum.boxee.tv/showthread.php?p=35574#post35574

...
Reply With Quote
  #70  
Old February 8th, 2009, 04:57 PM
loonix loonix is offline
Junior Member
 
Join Date: Jan 2009
Posts: 7
Default

@mwpei

Installed your plugin in and it works great

You the man

Thanks

AR
Reply With Quote
Reply

Bookmarks

Tags
hotspot, hotspot shield, hulu, shield

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:22 AM.


skin based on greenzero from vBSkins.com

 
Powered by vBulletin® Version 3.7.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.