Dear supporter,
My developement environment is as follws,
Raspberry pi cm3(Raspbian GNU/Linux 9) + wp7610(usb)
I installed modem qmi driver .
raspberrypi get the ipv4 Ipaddress get alright.
Also i need to get ipv6 ipaddress. Modem get the ipv6 address like below.
root@unet:/#
root@unet:/# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1400
inet 192.168.1.1 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::ba27:ebff:fefe:6991 prefixlen 64 scopeid 0x20
ether b8:27:eb:fe:69:91 txqueuelen 1000 (Ethernet)
RX packets 1568995 bytes 223262382 (212.9 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 2662858 bytes 3410732014 (3.1 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth1: flags=4291<UP,BROADCAST,RUNNING,NOARP,MULTICAST> mtu 1400
inet 63.46.184.86 netmask 255.255.255.252 broadcast 63.46.184.87
inet6 fe80::10b8:2cff:fef2:a308 prefixlen 64 scopeid 0x20
ether 12:b8:2c:f2:a3:08 txqueuelen 1000 (Ethernet)
RX packets 237402 bytes 23388028 (22.3 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 326315 bytes 298829338 (284.9 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 1000 (Local Loopback)
RX packets 1092514 bytes 67010402 (63.9 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1092514 bytes 67010402 (63.9 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
root@unet:/#
This is the ip the modem knows about.
at+cgpaddr
+CGPADDR: 1,63.46.184.86
+CGPADDR: 2,38.0.16.3.16.41.235.145.0.0.0.0.43.167.134.47<- this one is ipv6 address
+CGPADDR: 3,0.0.0.0,0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0
OK
Two of them are differnt.
I was wondering how to synchronize modem’s ipv6 ip in linux.
Please check if there is a way.
Thank you.