[OpenWrt-Devel] [PATCH] [PATCH] 6in4: Corrected tunnelbroker tunnel update URL

Sami Olmari sami at olmari.fi
Sat Dec 26 20:46:00 EST 2015


Okay you can disregard this, I'll submit another one... Nothing wrong with
patch itself, but I'll also bumb the PKG_RELEASE in Makefile in next patch

 Sami Olmari

On Sat, Dec 26, 2015 at 2:33 AM, Sami Olmari <sami at olmari.fi> wrote:

> Changed the tunnel update URL into format tunnelbrokers example has, that
> made it work again.
> Current method gives "Username/Password Authentication Failed." when I
> tried the wget line manually and logread eventually says also "6in4: update
> failed".
> With corrected URL it works fine: "good 111.222.333.444" or "nochg
> 111.222.333.444" and logread concurs with success, and tunnel actually
> updates.
>
> Tested-by: Vaasa Hacklab <info at vaasa.hacklab.fi>
> Signed-off-by: Sami Olmari <sami at olmari.fi>
> ---
>  package/network/ipv6/6in4/files/6in4.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/package/network/ipv6/6in4/files/6in4.sh
> b/package/network/ipv6/6in4/files/6in4.sh
> index 59747a3..05471db 100755
> --- a/package/network/ipv6/6in4/files/6in4.sh
> +++ b/package/network/ipv6/6in4/files/6in4.sh
> @@ -108,7 +108,7 @@ proto_6in4_setup() {
>                         fi
>                 }
>
> -               local url="$
> http://ipv4.tunnelbroker.net/nic/update?username=$username&password=$password&hostname=$tunnelid
> "
> +               local url="$http://$username:$
> password at ipv4.tunnelbroker.net/nic/update?hostname=$tunnelid"
>                 local try=0
>                 local max=3
>
> --
> 1.9.1
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20151227/e0786a87/attachment.htm>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list