Sorry for my late replay.... I' è been out for a while and non I'm trying to have it working
We were discussing about IPv6 passthrough... I agree it would't be a great idea.... But can we try to' manage it?
Is Thiene a script I can run to have it woking that way?
Acutally as a workaround I'm Connecting via cable to my r7000 for IPv4 and to my carrier Wi-Fi only wih IPv6 protocol, a passthrough would be the same with one connection
Joined: 13 Mar 2014 Posts: 856 Location: Montreal, QC
Posted: Thu Feb 19, 2015 4:31 Post subject:
mr.emme wrote:
@Jamesmtl
Sorry for my late replay.... I' è been out for a while and non I'm trying to have it working
We were discussing about IPv6 passthrough... I agree it would't be a great idea.... But can we try to' manage it?
Is Thiene a script I can run to have it woking that way?
Acutally as a workaround I'm Connecting via cable to my r7000 for IPv4 and to my carrier Wi-Fi only wih IPv6 protocol, a passthrough would be the same with one connection
Thanks
Regards
M
If you can wait till the weekend I can give it a try. I'm a little overloaded until then
Good to hear it's working for you. I should be updating the script later this week with a few tweeks for users using dnsmasq for RAs on newer ddwrt builds.
Should also be posting an ipv6 passthrough set of scripts for users stuck with ISPs using passthrough.
Joined: 24 Feb 2013 Posts: 1634 Location: Belgrade
Posted: Sun Apr 19, 2015 9:43 Post subject:
@JAMESMTL
I need some of your help. I am using 6in4 with HE.
When using this tunnel, ppp1 interface is being created. There is no way using torrentz with ipv6 because my router keep restarting all the time. I don't have such behaviour with ipv4. When I telneted to my router and did "top" command I saw that UPnP is eating my CPU on ppp1 interface... Is there anything I can do. I think the problem is firewall...
Joined: 13 Mar 2014 Posts: 856 Location: Montreal, QC
Posted: Mon Apr 20, 2015 6:58 Post subject:
@Mile-Lile
Interesting. Did you manually start up upnp on ppp1 or did did-wrt start it up? Is upnp running on ppp0? (I assume you are PPPoE on ppp0)
Has your 6in4 always been on ppp1 or is that new? I run a script but last time I tested 6in4 via webif it was on ip6tun for me. I can't take any routers down for a couple of days to test if there has been a change with the FW.
If you kill -9 upnp process does watchdog restart it?
You may want to test by setting webif to native IPv6 (leave everything blank) and creating the tunnel manually via startup command but give it a name other than ppp1 if ddwrt is starting upnp automatically.
ip tunnel add ip6tun mode sit ttl 64 local $(nvram get wan_ipaddr) remote XXX.XXX.XXX.XXX
ip link set ip6tun mtu 1472
ip link set ip6tun up
ip -6 addr add 2001:470:XXXX:XXXX::2/64 dev ip6tun
ip -6 addr add 2001:470:XXXX:XXXX::1/64 dev br0
ip -6 route add 2000::/3 dev ip6tun
Does ddwrt start upnp on ip6tun?
If you want upnp on tunnel then I don't know if that upnp daemon is IPv6 compatible.
Can your torrent cli work with a fixed port via IPv6?
If yes then you just need to open that port in ip6tables but that also means using either using dnsmasq for dhcpv6 and reserving an IPv6 address for that device. You call also use dhcp6s (more complicated because of duid), or set a static adresse on device)
I'll keep an eye on this thread to see if you have any additional info and we'll go from there
But now I see that I am wrong. ppp1 is some kind of pptp... But now I am connected from my wokr to do ifconfig... yesterday that wasn't case...
Not sure about this I'll have to investigate it more. BS did some kind of patch for preventing negative side effect from caching...
Q. Can your torrent cli work with a fixed port via IPv6?
A. Don't know. I use qbittorrent... I'll check it when I get home...
JAMESMTL. Thx for your help and time. I really apreciate it...
Posted: Sun Jan 17, 2016 5:36 Post subject: So I'm having a dumb moment....
I downloaded the ip6tun.iupup.txt script from this thread and have configured it (hopefully) for Centurylink's IPv6. Now I'm having a dumb moment about what to do with the script next.
I've ssh'ed into my router, and am not sure if I need to create a script called ipup.sh or if there's already one there. And I'm not entirely sure where I want to save the script to. I don't have the jffs mounted, as my router didn't seem to support it (Linksys EA2700 router). So do I need to save it in /etc (if I have write permission there)?
I'll greatly appreciate any help that you can provide me. And yes, I do have IPv6 enabled with "Native IPv6 from ISP" selected in the GUI.
Posted: Mon Jan 18, 2016 9:10 Post subject: Re: So I'm having a dumb moment....
PatrickDickey52761 wrote:
I downloaded the ip6tun.iupup.txt script from this thread and have configured it (hopefully) for Centurylink's IPv6. Now I'm having a dumb moment about what to do with the script next.
I've ssh'ed into my router, and am not sure if I need to create a script called ipup.sh or if there's already one there. And I'm not entirely sure where I want to save the script to. I don't have the jffs mounted, as my router didn't seem to support it (Linksys EA2700 router). So do I need to save it in /etc (if I have write permission there)?
I'll greatly appreciate any help that you can provide me. And yes, I do have IPv6 enabled with "Native IPv6 from ISP" selected in the GUI.
Have a great day.
Patrick.
I'm successfully using the passtrugh script, but I'm not a Linux, nor a DDWRT code guru, so I can only help you with my experience:
The jffs partition is needed to do not fullfill the nvram storage.
you should NOT enable the jffs2 option on the UI, but follow this wiki guide
The .ipup should be places in /jffs/etc/config
then you have to issue a "chmod 777 /jffs/etc/yourfile.ipup "
Posted: Mon Jan 18, 2016 16:55 Post subject: Re: So I'm having a dumb moment....
mr.emme wrote:
PatrickDickey52761 wrote:
I downloaded the ip6tun.iupup.txt script from this thread and have configured it (hopefully) for Centurylink's IPv6. Now I'm having a dumb moment about what to do with the script next.
I've ssh'ed into my router, and am not sure if I need to create a script called ipup.sh or if there's already one there. And I'm not entirely sure where I want to save the script to. I don't have the jffs mounted, as my router didn't seem to support it (Linksys EA2700 router). So do I need to save it in /etc (if I have write permission there)?
I'll greatly appreciate any help that you can provide me. And yes, I do have IPv6 enabled with "Native IPv6 from ISP" selected in the GUI.
Have a great day.
Patrick.
I'm successfully using the passtrugh script, but I'm not a Linux, nor a DDWRT code guru, so I can only help you with my experience:
The jffs partition is needed to do not fullfill the nvram storage.
you should NOT enable the jffs2 option on the UI, but follow this wiki guide
The .ipup should be places in /jffs/etc/config
then you have to issue a "chmod 777 /jffs/etc/yourfile.ipup "
yes, set NATIVE IPv6
ciao
M
Thank you for the quick reply. The issue that I have is that my router doesn't support USB memory. ALso when I do the jffs partition from the GUI at least, it shows room until I disable the "Clean JFFS". THen it shows 15M/0M for the size. So I'm not sure if I have enough free space for it.
I'll be doing everything inside of the router via telnet/ssh. SO is there a good wiki article for setting up jffs in that manner?
UPDATE: I followed the commands on the wiki for Journaling File System, and when I rebooted, it showed that I was at 72% used on /jffs. When I cd'ed into the directory and tried to create the etc directory, it said "No space left on device." Sure enough using df shows 100% used now.
Here's what I'm seeing on the router (again a Linksys EA2700)
Code:
root@DICKEY:~# df
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 15872 15872 0 100% /
/dev/root 15872 15872 0 100% /
none 512 0 512 0% /dev
/dev/mtdblock/1 31744 22736 9008 72% /jffs
root@DICKEY:~# cd /jffs
root@DICKEY:/jffs# ls
root@DICKEY:/jffs# mkdir etc
mkdir: can't create directory 'etc': No space left on device
root@DICKEY:/jffs# ls
root@DICKEY:/jffs# ls -l
root@DICKEY:/jffs# df
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 15872 15872 0 100% /
/dev/root 15872 15872 0 100% /
none 512 0 512 0% /dev
/dev/mtdblock/1 31744 31744 0 100% /jffs
Joined: 13 Mar 2014 Posts: 856 Location: Montreal, QC
Posted: Tue Jan 19, 2016 23:50 Post subject:
@PatrickDickey52761
is centurylink static 6rd or dhcp option 212?
how much nvram space do you have free? the script is a tunnel multitool so to speak. Depending on free nvram all non used code can be removed to shrink the script to run via gui.
how much nvram space do you have free? the script is a tunnel multitool so to speak. Depending on free nvram all non used code can be removed to shrink the script to run via gui.
Hi James,
I'm assuming that CenturyLink is static as on their modem you have to make sure the DHCP option is greyed out with "No" selected.
Here's what I see on my status page: NVRAM32.41 KB / 256 KB So I'm guessing I have 32KB free, out of 256KB. Under Memory above that, it shows
All I have in my startup script is nvram_set_partialboots=0 and nvram_commit. So would I tweak your script and put it in startup, or create a custom script on the Administration-> commands page?
Thanks for your help. I really don't want to pay $140+ for a modem, if I can get IPv6 working through my router. Although I think my modem is dying, so I might not have a choice...