Force IPV6

Misc Mini PCI-E and M.2 Modem Card and USB Dongle Topics
Forum rules
Use the SEARCH function for related topics PRIOR to posting a new topic on the same subject.
Post Reply
corywf
Posts: 20
Joined: Thu Nov 07, 2019 5:57 pm
Has thanked: 3 times
Been thanked: 0

Force IPV6

Post by corywf »

Is there a way to force the EM7565 modem to use IPV6 only? Due to AT*T's fuckery with their transparent proxy I'm getting disconnected multiple times a day. Someone on the AT&T forums posted that using IPV6 bypasses the proxy. I can't figure out the commands to set this up on my modem. Not sure if it will even pull an IPV6 but I'd like to try.

Thanks!!

Here's the AT&T thread if anyone is curious https://forums.att.com/conversations/ot ... 631eba86bd
User avatar
Didneywhorl
Posts: 3635
Joined: Fri Mar 23, 2018 5:37 pm
Location: USA
Has thanked: 1369 times
Been thanked: 761 times
Contact:

Re: Force IPV6

Post by Didneywhorl »

Try setting the APN to IPV6 only?

AT+CGDCONT=1,"IPV6","broadband"

Make sure you clear out the other APNs that say "broadband" with AT+CGDCONT=<#ofAPNListed>

Like this:

Code: Select all

AT+CGDCONT=3
There may be a way in the router, but I think the modem connection to the carrier controls this at the gateway. I think the router simply sets the local network to ipv6 only. Not 100% sure though again.

I'm honestly not 100% sure.
corywf
Posts: 20
Joined: Thu Nov 07, 2019 5:57 pm
Has thanked: 3 times
Been thanked: 0

Re: Force IPV6

Post by corywf »

Is there a way to display all of the APNs? I only set the APN from the Connection Profile under "Modem" in the LuCI interface.
User avatar
Didneywhorl
Posts: 3635
Joined: Fri Mar 23, 2018 5:37 pm
Location: USA
Has thanked: 1369 times
Been thanked: 761 times
Contact:

Re: Force IPV6

Post by Didneywhorl »

AT Command terminal under Modem-->Miscellaneous

Use command:

Code: Select all

AT+CGDCONT?
corywf
Posts: 20
Joined: Thu Nov 07, 2019 5:57 pm
Has thanked: 3 times
Been thanked: 0

Re: Force IPV6

Post by corywf »

Thanks. Made sure there was only one APN and set it using the command you provided. I got this after resetting the modem from the AT-Terminal:

Thu Oct 22 16:19:39 2020 : /dev/ttyUSB2 AT+CMGS=?;+CMGL=?;+CMGR=?
ERROR

Power rebooted the whole router and the command didn't stay after the power reboot.

Got this when I checked again:

AT+CGDCONT?
+CGDCONT: 1,"IPV4V6","broadband","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0

OK
eseck
Posts: 12
Joined: Mon Aug 10, 2020 12:45 pm
Has thanked: 2 times
Been thanked: 1 time

Re: Force IPV6

Post by eseck »

Did you ever figure this or a work around out? Having same issues
corywf
Posts: 20
Joined: Thu Nov 07, 2019 5:57 pm
Has thanked: 3 times
Been thanked: 0

Re: Force IPV6

Post by corywf »

The workaround seems to be using a VPN. I'm trying to set one up on a raspberry pi
eseck
Posts: 12
Joined: Mon Aug 10, 2020 12:45 pm
Has thanked: 2 times
Been thanked: 1 time

Re: Force IPV6

Post by eseck »

Thats not a work around at all for me. Many services do not work with a VPN or are sporadic at best.
User avatar
BillA
Posts: 1223
Joined: Sun Dec 01, 2019 6:46 pm
Location: USA
Has thanked: 218 times
Been thanked: 325 times
Contact:

Re: Force IPV6

Post by BillA »

IP version can be set on both the modem and router, however they work independently.
The modem controls the IP version on the "air interface", between the modem and the mobile carrier.
The router controls the IP version on the local network only via the Network > Interfaces (must be set on all interfaces and instances).

To force a Sierra modem to IPV6, here are the AT-commands.
Replace the APN between with "phone", "nxtgenphone", or "broadband".

AT!CUSTOM="IPV6ENABLE",1
AT+CGDCONT=1,"IPV6","APN"
Post Reply

Return to “Misc Modem Cards and Dongles”