[SOLVED] tunnel is broken, and not sure how to fix it.
-
that means your gif tunnel is down.
-
I think i found a bug?
This line:
php: /interfaces_gif_edit.php: The command '/sbin/ifconfig gif0 inet6 2001:470:X:XXX::2 2001:470:X:XXX::1 prefixlen 64 ' returned exit code '1', the output was 'ifconfig: ioctl (SIOCAIFADDR): Invalid argument'
If I run this by hand:
/sbin/ifconfig gif0 inet6 2001:470:X:XXX::2 2001:470:X:XXX::1 prefixlen /64
It works, and subsequent lines no longer fail. It appears the "/" on the "/64" is missing.
I contacted, he.net and they tore down my tunnel and rebuilt it and found no fault. I looked at the "interfaces_gif_edit.php" but I don't know php well enough to find what i'm looking for.
-
Ok, its that line, running the command by hand the WANv6 changes:
Before command is run
WANV6 (opt2) -> gif0 -> NONE/NONE 2001:470:X:XXX::2/64After
WANV6 (opt2) -> gif0 -> NONE/NONE 2001:470:X:XXX::2/126/sbin/ifconfig gif0 inet6 2001:470:X:XXX::2 2001:470:X:XXX::1 prefixlen /64
/sbin/route change -inet6 default '2001:470:X:XXX::1'
change net default: gateway 2001:470:X:XXX::1
EDIT: Missed redacting an IP.
-
that we can change. Thanks for investigating
-
Ok, I just grabbed the latest download, new errors are popping up now :(
Sep 1 10:23:27 php: : The command '/sbin/route change -inet6 default '2001:470:X:XXX::1'%'gif0'' returned exit code '1', the output was '2001:470:X:XXX::1%gif0: hostname nor servname provided, or not known'
Sep 1 10:23:27 php: : ROUTING: setting IPv6 default route to 2001:470:X:XXX::1%gif0
Sep 1 10:23:27 php: : The command '/sbin/route change -inet6 default '2001:470:X:XXX::1'%'gif0'' returned exit code '1', the output was '2001:470:X:XXX::1%gif0: hostname nor servname provided, or not known'
Sep 1 10:23:27 php: : ROUTING: setting IPv6 default route to 2001:470:X:XXX::1%gif0
Sep 1 10:23:27 php: : The command '/sbin/ifconfig gif0 inet6 2001:470:X:XXX::2 2001:470:X:XXX::1 prefixlen 64 ' returned exit code '1', the output was 'ifconfig: ioctl (SIOCAIFADDR): Invalid argument'
Sep 1 10:23:27 php: : Deny router advertisements for interface opt2
Sep 1 10:23:27 php: : The command '/sbin/route change -inet6 default '2001:470:X:XXX::1'%'gif0'' returned exit code '1', the output was '2001:470:X:XXX::1%gif0: hostname nor servname provided, or not known'
Sep 1 10:23:27 php: : ROUTING: setting IPv6 default route to 2001:470:X:XXX::1%gif0
Sep 1 10:23:27 php: : The command '/sbin/ifconfig gif0 inet6 2001:470:X:XXX::2 2001:470:X:XXX::1 prefixlen 64 ' returned exit code '1', the output was 'ifconfig: ioctl (SIOCAIFADDR): Invalid argument'
Sep 1 10:23:27 php: : ROUTING: setting default route to XXX.179.102.1
Sep 1 10:23:27 php: : The command '/sbin/route change -inet6 default '2001:470:X:XXX::1'%'gif0'' returned exit code '1', the output was '2001:470:X:XXX::1%gif0: hostname nor servname provided, or not known'
Sep 1 10:23:27 php: : ROUTING: setting IPv6 default route to 2001:470:X:XXX::1%gif0
Sep 1 10:23:27 php: : The command '/sbin/ifconfig gif0 inet6 2001:470:X:XXX::2 2001:470:X:XXX::1 prefixlen 64 ' returned exit code '1', the output was 'ifconfig: ioctl (SIOCAIFADDR): Invalid argument' -
@djroketboy:
Ok, I just grabbed the latest download, new errors are popping up now :(
Sep 1 10:23:27 php: : The command '/sbin/route change -inet6 default '2001:470:X:XXX::1'%'gif0'' returned exit code '1', the output was '2001:470:X:XXX::1%gif0: hostname nor servname provided, or not known'
Sep 1 10:23:27 php: : ROUTING: setting IPv6 default route to 2001:470:X:XXX::1%gif0
Sep 1 10:23:27 php: : The command '/sbin/route change -inet6 default '2001:470:X:XXX::1'%'gif0'' returned exit code '1', the output was '2001:470:X:XXX::1%gif0: hostname nor servname provided, or not known'
Sep 1 10:23:27 php: : ROUTING: setting IPv6 default route to 2001:470:X:XXX::1%gif0
Sep 1 10:23:27 php: : The command '/sbin/ifconfig gif0 inet6 2001:470:X:XXX::2 2001:470:X:XXX::1 prefixlen 64 ' returned exit code '1', the output was 'ifconfig: ioctl (SIOCAIFADDR): Invalid argument'
Sep 1 10:23:27 php: : Deny router advertisements for interface opt2
Sep 1 10:23:27 php: : The command '/sbin/route change -inet6 default '2001:470:X:XXX::1'%'gif0'' returned exit code '1', the output was '2001:470:X:XXX::1%gif0: hostname nor servname provided, or not known'
Sep 1 10:23:27 php: : ROUTING: setting IPv6 default route to 2001:470:X:XXX::1%gif0
Sep 1 10:23:27 php: : The command '/sbin/ifconfig gif0 inet6 2001:470:X:XXX::2 2001:470:X:XXX::1 prefixlen 64 ' returned exit code '1', the output was 'ifconfig: ioctl (SIOCAIFADDR): Invalid argument'
Sep 1 10:23:27 php: : ROUTING: setting default route to XXX.179.102.1
Sep 1 10:23:27 php: : The command '/sbin/route change -inet6 default '2001:470:X:XXX::1'%'gif0'' returned exit code '1', the output was '2001:470:X:XXX::1%gif0: hostname nor servname provided, or not known'
Sep 1 10:23:27 php: : ROUTING: setting IPv6 default route to 2001:470:X:XXX::1%gif0
Sep 1 10:23:27 php: : The command '/sbin/ifconfig gif0 inet6 2001:470:X:XXX::2 2001:470:X:XXX::1 prefixlen 64 ' returned exit code '1', the output was 'ifconfig: ioctl (SIOCAIFADDR): Invalid argument'Well, crap… should have checked the forum before updating... i'm now seeing this as well.
2.1-DEVELOPMENT (i386)
built on Thu Sep 1 11:03:54 EDT 2011Sep 1 17:49:23 php: : The command '/sbin/route change -inet6 default '2001:470:xxxx:xxx::1'%'gif0'' returned exit code '1', the output was '2001:470:xxxx:xxx::1%gif0: hostname nor servname provided, or not known'
Sep 1 17:49:23 php: : ROUTING: setting IPv6 default route to 2001:470:xxxx:xxx::1%gif0
Sep 1 17:49:23 php: : The command '/sbin/route change -inet6 default '2001:470:xxxx:xxx::1'%'gif0'' returned exit code '1', the output was '2001:470:xxxx:xxx::1%gif0: hostname nor servname provided, or not known'
Sep 1 17:49:23 php: : ROUTING: setting IPv6 default route to 2001:470:xxxx:xxx::1%gif0
Sep 1 17:49:23 php: : Deny router advertisements for interface opt1
Sep 1 17:49:23 php: : The command '/sbin/route change -inet6 default '2001:470:xxxx:xxx::1'%'gif0'' returned exit code '1', the output was '2001:470:xxxx:xxx::1%gif0: hostname nor servname provided, or not known'
Sep 1 17:49:23 dhcpleases: Could not deliver signal HUP to process because its pidfile does not exist, No such file or directory.
Sep 1 17:49:23 php: : ROUTING: setting IPv6 default route to 2001:470:xxxx:xxx::1%gif0
Sep 1 17:49:23 php: : ROUTING: setting default route to xxx.xxx.98.1
Sep 1 17:49:23 php: : The command '/sbin/route change -inet6 default '2001:470:xxxx:xxx::1'%'gif0'' returned exit code '1', the output was '2001:470:xxxx:xxx::1%gif0: hostname nor servname provided, or not known' -
oops, ok i see what I did wrong, the interface scope should only be passed onto link local addresses.
Sorry!
-
No worries… this is what we're here to help with after all, right. ;-)
Thanks for all your work, Seth!
-
Both should be fixed just now.
-
Thanks!!! ;D I'm back up and running.