Archive

Posts Tagged ‘patch’

SIXXS AICCU on Mac OS X

oktober 23rd, 2010 No comments

So i wanted to run sixxs IPV6 on my mac through aiccu but i had a lot of work making it work..
Therefor i post this on my blog to help people enjoy the ipv6  provided by in my case sixxs

Note: I posted this before on the sixxs forum

Download and install
http://tuntaposx.sourceforge.net/
pretty easy, is a package

i found a special build (sixxs staff should add this patch to there repo!(ps. 2nd part of patch is wrong/outdated, so DO NOT DO THAT))
the patch: https://fit.nokia.com/lars/software/aiccu.patch
the site i found it: https://fit.nokia.com/lars/appletv-ipv6-router.html
you also can download a build of the patched version from me (md5: 288b553550fc2cd30343766fac481c80)

If you want to be safe for backdores, you want to build it yourself, this is how:

From here if you want to patch yourself

Get XCode free from the macsite:

for the not programmers under us:
download the aiccu tar.gz from this site:
https://www.sixxs.net/tools/aiccu/
the source:
https://www.sixxs.net/archive/sixxs/aiccu/unix/aiccu_current.tar.gz

just unpack it by double clicking on the file
go to the folder: aiccu
go to the folder common
open the file: aiccu_darwin.c
go to line 32
under: /* Bring the interface up */
remove: aiccu_exec(
“ifconfig %s up”,
g_aiccu->ipv6_interface);

Add:char tun[256] = “/dev/”;
open(strcat(tun, g_aiccu->ipv6_interface), O_RDONLY);

save and close the file.

open a terminal (applications/some directory i don’t know the name in english/Terminal.app) or (via spotlight)

From here on, if you want to build

go to the map (DONT TYPE THE #):
# cd Downloads/aiccu
then compile it:
# make
you will get some warnings, they can be ignored..
now in the map unix-console there will be the aiccu binary.
copy this binary to a place you need it like /usr/sbin/
then you can run the aiccu from everywhere you want
——
Config:
MAKE SURE YOU CHANGE IPV6_INTERFACE TO tun0 ; that’s tun zero!!!
edit the outher info from the example config found on the site.

you can start from terminal
# sudo aiccu start aiccu.conf
from the directory where the config is, probably your homedir (that’s the dir where your terminal opens in)

your tunnel is working ^^

been 2 hours for me to find out..
in our language there is an saying: (de aanhouder wint!)
dno the decent translation right now 😉

i hope this works for you.. it did for me 😉

PS: you will need to restart you aiccu everytime you reboot your mac, don’t know the fix.. to lazy to find out right now 😉
if you just go to sleep, there is no problem, it will reconnect on wake-up.

Categories: ipv6, Mac Tags: , , , , ,