Quectel RM500U-EA not passing ipv6 to OpenWrt

Hi,

I experimented a lot with my RM500U-EA, because after a straight forward setup in NCM mode (which worked well for a couple of hours and after physically resetting the router) it had unexpected connection losses, which I could'nt get rid of with sending "AT+CFUN=1,1" via crond.
I then tried modemmanager and other protocolls (QMI, MBIM), but had no luck.
Somehow I even made it worse, because now that I have reverted to NCM, the modem doesn't pass through the IPV6 anymore to OpenWRT:


The IPv4 works as expected.

looking directly into the card, I can recognize the card receiving a IPv6 + Prefix:

root@Garti_Router:~# minicom -D /dev/ttyUSB2

Welcome to minicom 2.9

OPTIONS:
Port /dev/ttyUSB2, 00:24:09

Press CTRL-A Z for help on special keys

AT+CGDCONT?
+CGDCONT: 1,"IPV4V6","internet.eplus.de","0.0.0.0",0,0,0,0,,,,,,0,,,0,,0,0,0,0
+CGDCONT: 11,"IPV4V6","IMS","0.0.0.0",0,0,0,2,,,,,,0,,,0,,0,0,0,0

OK
AT+CGCONTRDP
+CGCONTRDP: 1,5,internet.eplus.de.mnc003.mcc262.gprs,<my IPv4>.255.0.0.0,,60
+CGCONTRDP: 1,5,internet.eplus.de.mnc003.mcc262.gprs,<my IPv6(?)>
+CGCONTRDP: 11,6,IMS.mnc003.mcc262.gprs,<my IPv6 PD(?)>(with leading 0000:0000:0000:0000:...)

I tried to reset the modem, without any other result (AT+CFUN=1,1 via minicom).
I tried to factory reset the modem, but the command didn't work

AT&F0
OK

(Which is totally weird, as I successfully did a factory reset several days ago.)

Any idea how to proceed here?

Best,
ssdnvv

See Need help getting a SIM card to work with ZBT z8102ax w/ RM500U-EA - #7 by AndrewZ

Thanks alot for your answer.

I configured according to your instructions

root@Router:~# dmesg
[  327.881494] usb 2-1.1: USB disconnect, device number 3
[  327.886990] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[  327.895040] option 2-1.1:1.2: device disconnected
[  327.900033] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[  327.908121] option 2-1.1:1.3: device disconnected
[  327.913247] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
[  327.921355] option 2-1.1:1.4: device disconnected
[  327.926391] option1 ttyUSB3: GSM modem (1-port) converter now disconnected from ttyUSB3
[  327.934478] option 2-1.1:1.5: device disconnected
[  327.939475] option1 ttyUSB4: GSM modem (1-port) converter now disconnected from ttyUSB4
[  327.947559] option 2-1.1:1.6: device disconnected
[  351.492583] usb 2-1.1: new SuperSpeed USB device number 4 using xhci-mtk
[  351.525860] cdc_ether 2-1.1:1.0 usb0: register 'cdc_ether' at usb-11200000.usb-1.1, CDC Ethernet Device, <MAC>
[  351.537405] option 2-1.1:1.2: GSM modem (1-port) converter detected
[  351.543798] usb 2-1.1: GSM modem (1-port) converter now attached to ttyUSB0
[  351.551022] option 2-1.1:1.3: GSM modem (1-port) converter detected
[  351.557477] usb 2-1.1: GSM modem (1-port) converter now attached to ttyUSB1
[  351.564706] option 2-1.1:1.4: GSM modem (1-port) converter detected
[  351.571134] usb 2-1.1: GSM modem (1-port) converter now attached to ttyUSB2
[  351.578372] option 2-1.1:1.5: GSM modem (1-port) converter detected
[  351.584832] usb 2-1.1: GSM modem (1-port) converter now attached to ttyUSB3
[  351.592042] option 2-1.1:1.6: GSM modem (1-port) converter detected
[  351.598509] usb 2-1.1: GSM modem (1-port) converter now attached to ttyUSB4
root@Router:~# cat /sys/kernel/debug/usb/devices
T:  Bus=02 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#=  4 Spd=5000 MxCh= 0
D:  Ver= 3.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 9 #Cfgs=  1
P:  Vendor=2c7c ProdID=0900 Rev= 4.04
S:  Manufacturer=Quectel
S:  Product=RM500U-EA
S:  SerialNumber=<SERIAL>
C:* #Ifs= 7 Cfg#= 1 Atr=c0 MxPwr=504mA
A:  FirstIf#= 0 IfCount= 2 Cls=02(comm.) Sub=06 Prot=00
I:* If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=06 Prot=00 Driver=cdc_ether
E:  Ad=82(I) Atr=03(Int.) MxPS=  16 Ivl=32ms
I:  If#= 1 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_ether
I:* If#= 1 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_ether
E:  Ad=81(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E:  Ad=01(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
E:  Ad=83(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#= 3 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
E:  Ad=84(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E:  Ad=03(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#= 4 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
E:  Ad=85(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E:  Ad=04(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#= 5 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
E:  Ad=86(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E:  Ad=05(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#= 6 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
E:  Ad=87(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E:  Ad=06(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms

and setup the respective interface

config interface 'wan'
	option proto 'dhcp'
	option device 'usb0'

config interface 'wan6'
	option proto 'dhcpv6'
	option device '@usb0'

but still have the problem with the IPV6 not being passed from modem to OpenWRT:

AT+CGCONTRDP
+CGCONTRDP: 1,5,internet.mnc003.mcc262.gprs,<ipv4).255.0.0.0,,62.109.120
+CGCONTRDP: 1,5,internet.mnc003.mcc262.gprs,<IPv6>
+CGCONTRDP: 11,6,IMS.mnc003.mcc262.gprs,<PD>

Any ideas how to fix that?

That is wrong, it should be either @wan or usb0

1 Like

You are my hero! Thanks alot :smiley: :slight_smile: :smiley:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.