forum.i2p Forum Index  skip navigation
  
FAQ  Search  Memberlist  Usergroups  Profile  Log in to check your private messagesLog in   Register
Author Message
how to run under OSX
Guest
PostPosted: Thu Aug 31, 2006 9:32 am  Reply with quote







I thought I was pretty tech savvy until trying to get i2p to run in OSX. I've somehow managed to open the exe file and now have the i2p folder installed.

(If you have trouble locating how to access your file under terminal just drag/drop into terminal and it's location autofills for you.. sweet!)

I'm sorry if this has been answered kizillion times but a search come up lacking for me. Right.. the rest of it makes zero sense. How can I now setup and run i2p in osx. I don't understand the terminal commands so please be gentle with me. ie tell me what I need to type?

Thanks for any help offered. Love the concept and the difficulty getting it to run makes me more determined to use it! Confused
Back to top


difficult
PostPosted: Thu Aug 31, 2006 11:49 am  Reply with quote




Joined: 26 Aug 2006
Posts: 7

To install it on macos, you have to do this on Terminal (on the directory which contain i2pinstall.Exe of course) : 'java -jar i2pinstall.exe'

Then if you just want to launch it, you have to open Terminal application, go to the directory where i2p is installed (typing 'cd ' and drag and drop the directory of i2p from the finder do the job Wink ).

Then type 'sh i2prouter start'. This will launch all the necessary process. To find if it works, go to your favorite browser and type the following URL : 'http://localhost:7657'...

If you want to launch it at boot, you can use the Lingon.app great application but it need some configurations... Wink it permits creating services ... If you want we can do this lately Smile
Back to top
View user's profile Send private message


Guest
PostPosted: Thu Aug 31, 2006 7:21 pm  Reply with quote







Wow that seemed so simple. I wonder why there is no definitive OSX guide to this procedure? I spent days getting to this point

Moderators consider making a sticky this post? Idea

Thank you thankyou thanks difficult!
Back to top


cervantes
PostPosted: Thu Aug 31, 2006 8:45 pm  Reply with quote
Site Admin



Joined: 15 May 2004
Posts: 472

aye
Back to top
View user's profile Send private message


Kalle_Kanin
PostPosted: Thu Sep 14, 2006 3:16 pm  Reply with quote




Joined: 09 Apr 2006
Posts: 5

This idea of using Lingon to create a startup item of some kind for i2p seems great, but I don't know how. Ok... I realize that this isn't a support forum for the Lingon app, but it would be very helpful to know if I should choose to create an item under either "My Agents", "User Agents", "User Daemons", "System Agents" or "System Daemons".

I understand that there is a difference from OSX version to OSX version as to how a startup item should be created. What would be the correct approach for OSX 10.4.7?

Any help would be greatly appreciated!
Back to top
View user's profile Send private message


difficult
PostPosted: Sat Sep 16, 2006 10:07 am  Reply with quote




Joined: 26 Aug 2006
Posts: 7

In fact, Lingon app is only a gui to create a configuration file (plist) used by launchd (process launch a boot time). I think it's the best way to use with Tiger because i've seen that launchd will replace cron /etc/rc and all others process that permit to create services in futur. I don't know about others versions of macos because i'm really new to mac Wink

Your question about where you have to make your item is really easy to anwser. You just have to know when i2p must be launched. I think "User Daemons" is a good choice because it will be launched at boot even no users are logged in.

Let's go Wink

On Lingon, you have to just create a new item under "Users Daemons" and fill :
- Label : what you want
- ProgramArguments : "FULL_PATH_TO_I2P_DIRECTORY/i2prouter" on first line and "start" on the second one
- RunAtLoad : select it

Clic on "Save & Load" and i2p will start Smile It will automaticaly start at boot time too.

for learning more on launchd you can go here : http://developer.apple.com/macosx/launchd.html

Hope that help.....
Back to top
View user's profile Send private message


Kalle_Kanin
PostPosted: Tue Oct 17, 2006 12:56 am  Reply with quote




Joined: 09 Apr 2006
Posts: 5

Great! Wouldn't have understood any of that if it hadn't been for your help! Thank you!
(And sorry about taking forever to say that. I actually forgot about having posted that message here. Lol)
Back to top
View user's profile Send private message


Guest
PostPosted: Sun Dec 24, 2006 5:57 am  Reply with quote







Quote:
I understand that there is a difference from OSX version to OSX version as to how a startup item should be created. What would be the correct approach for OSX 10.4.7?

Any help would be greatly appreciated!



System Prefrences>"Accounts"
Select your user (click on icon), then select "Login Items"
click on the "+" near the bottom and use the open dialog to select the item to be opened at log-in and you are done.
Back to top


Kalle_Kanin
PostPosted: Sun Dec 24, 2006 6:58 pm  Reply with quote




Joined: 09 Apr 2006
Posts: 5

Thank you to everyone who has helped out! I have still given up on i2p since I am unable to get the configurations of ports and tunnels and whatnot to work. Even if I follow step-by-step tutorials. It's just way out of my league this here. I don't know how many times I have left this and then picked it up again later only to end up being equally confused. I'll take the jail time for peer to peer downloading indstead. It is easier. Very Happy

But thank you all the same. Hopefully this thread will benefit someone else with a bigger brain than me.
Back to top
View user's profile Send private message


blackdots
PostPosted: Wed May 27, 2009 2:25 pm  Reply with quote




Joined: 27 May 2009
Posts: 2
Location: Les Français parlent ... à tout le monde

cmd to paste
///

do shell script "sudo /Applications/i2p/i2prouter start" password "YOURPSSWD" with administrator privileges

///

replace YOURPSSWD by your root password, paste this cmd in AppleScript Editor save as app... it's work like an application and you can configure to open it while the session is openning. System Prefrences > Accounts > Login Items

Give to your "i2p startup" a nice icon :
here mine : http://www.zimagez.com/zimage/i2p.php

that's all
_________________
On peut tromper une partie du peuple tout le temps et tout le peuple une partie du temps, mais on ne peut pas tromper tout le peuple tout le temps.
-- Abraham Lincoln
Back to top
View user's profile Send private message


Display posts from previous:   
All times are GMT

View next topic
View previous topic
Page 1 of 1
forum.i2p Forum Index -> HowTos

Post new topic   Reply to topic


 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



NoseBleed v1.00 ~ mikelothar.com
(http://www.mikelothar.com/community)


Forum software: php BB (http://www.php bb.com) v2 © 1976 php BB Group