AICCU does nothing
Carmen Sandiego on Monday, 22 October 2007 12:53:33
Hello,
I am using Gentoo, with kernel 2.6.22-gentoo-r8. I installed AICCU via portage which installed iproute2 and then aiccu. I configured AICCU as follows:
username JDO2-SIXXS
password ********
protocol tic
server tic.sixxs.net
ipv6_interface sixxs
tunnel_id T12995
verbose false
daemonize true
automatic true
requiretls false
defaultroute true
makebeats true
noconfigure false
behindnat true
When I start aiccu, it appears to start up fine, however no interface is set up, no routes are added and basically, the program doesn't do anything for me. I'm curious as to what the problem could be.
Thanks,
Jake
AICCU does nothing
Jeroen Massar on Monday, 22 October 2007 12:58:33
Set:
verbose true
daemonize false
Then look for the output. Now your output goes to syslog.
AICCU does nothing
Carmen Sandiego on Monday, 22 October 2007 13:18:12
I did that and upon starting it I get this output:
~ # /etc/init.d/aiccu restart
* Stopping aiccu ... [ ok ]
* Starting aiccu ...
sock_getline() : "200 SixXS TIC Service on noc.sixxs.net ready (http://www.sixxs.net)"
sock_printf() : "client TIC/draft-00 AICCU/2007.01.15-console-linux Linux/2.6.22-gentoo-r8"
sock_getline() : "200 Client Identity accepted"
sock_printf() : "get unixtime"
sock_getline() : "200 1193051614"
sock_printf() : "starttls"
sock_getline() : "400 This service is not SSL enabled (yet)"
TIC Server does not support TLS but TLS is not required, continuing
sock_printf() : "username JDO2-SIXXS"
sock_getline() : "200 Choose your authentication challenge please"
sock_printf() : "challenge md5"
sock_getline() : "200 xxxxxxx"
sock_printf() : "authenticate md5 xxxxxxx"
sock_getline() : "200 Succesfully logged in using md5 as JDO2-SIXXS (Jacob DeRose) from x.x.x.x"
sock_printf() : "tunnel show T12995"
sock_getline() : "201 Showing tunnel information for T12995"
sock_getline() : "TunnelId: T12995"
sock_getline() : "Type: ayiya"
sock_getline() : "IPv6 Endpoint: 2001:4830:1200:c6::2"
sock_getline() : "IPv6 POP: 2001:4830:1200:c6::1"
sock_getline() : "IPv6 PrefixLength: 64"
sock_getline() : "Tunnel MTU: 1280"
sock_getline() : "Tunnel Name: My First Tunnel"
sock_getline() : "POP Id: usewr01"
sock_getline() : "IPv4 Endpoint: ayiya"
sock_getline() : "IPv4 POP: 66.55.128.25"
sock_getline() : "UserState: enabled"
sock_getline() : "AdminState: enabled"
sock_getline() : "Password: ec1bc0debb088a2e381acc46f24f2206"
sock_getline() : "Heartbeat_Interval: 60"
sock_getline() : "202 Done"
Succesfully retrieved tunnel information for T12995
sock_printf() : "QUIT Don't Leave"
Tunnel Information for T12995:
POP Id : usewr01
IPv6 Local : 2001:4830:1200:c6::2/64
IPv6 Remote : 2001:4830:1200:c6::1/64
Tunnel Type : ayiya
Adminstate : enabled
Userstate : enabled
[tun-start] Couldn't open device /dev/net/tun: No such file or directory (2) [ ok ]
From this it looks like the problem is it can't open the device, but I have The IPv6 Protocol, IPv6; IPsec transport mode, IPv6: IPsec tunnel mode, IPv6: IPsec BEET mode, and IPv6: IPv6-in-IPv4 tunnel (SIT driver) compiled into the kernel.
-Jake
AICCU does nothing
Jeroen Massar on Monday, 22 October 2007 13:20:03
But you also need the tun/tap module/driver and the relevant /dev/ devices for it.
There is a reason why a lot of distributions simply compile "everything else" as a module.
AICCU does nothing
Carmen Sandiego on Monday, 22 October 2007 14:02:21
Thanks for the help. I had not realized that in order for verbose to work I had to set daemonize to false as well. Once I compiled TUN/TAP into the kernel (had not noticed it since it was in a different menu), all is well now.
Thanks again,
Jake
AICCU does nothing
Jeroen Massar on Monday, 22 October 2007 14:07:57
Verbose works, but it will nicely log it into your syslog instead of console.
Deamonized the tool has nowhere to log otherwise as it doesn't keep stdin/out/err open.
Posting is only allowed when you are logged in. |