Dependency on IPv6 Protocol for PPP Support in SLM 2.6.1 without Cmux

Hello everyone,

I've been working on testing PPP support in SLM 2.6.1 without cmux on my Linux host machine. However, I encountered some logs during the process:

Note: For my case /dev/ttyACM2 is assign to different device, so I get /dev/ttyACM3 

CPU0614:~$ sudo pppd -detach /dev/ttyACM3 1000000 noauth crtscts novj nodeflate nobsdcomp debug usepeerdns noipdefault defaultroute ipcp-restart 5
using channel 44
Using interface ppp0
Connect: ppp0 <--> /dev/ttyACM3
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x9aba6d6d> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x2 <mru 1500>]
sent [LCP ConfAck id=0x2 <mru 1500>]
rcvd [LCP ConfRej id=0x1 <asyncmap 0x0> <magic 0x9aba6d6d> <pcomp> <accomp>]
sent [LCP ConfReq id=0x2]
rcvd [LCP ConfAck id=0x2]
sent [LCP EchoReq id=0x0 magic=0x0]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
rcvd [IPCP ConfReq id=0x3 <addr 10.65.137.60> <ms-dns1 8.8.8.8> <ms-dns2 8.8.4.4>]
sent [IPCP ConfRej id=0x3 <ms-dns1 8.8.8.8> <ms-dns2 8.8.4.4>]
rcvd [IPV6CP ConfReq id=0x2 <addr fe80::0000:5eff:fe00:53f4>]
Unsupported protocol 'IPv6 Control Protocol' (0x8057) received
sent [LCP ProtRej id=0x3 80 57 01 02 00 0e 01 0a 00 00 5e ff fe 00 53 f4]
rcvd [LCP EchoRep id=0x0 magic=0x0]
rcvd [IPCP ConfNak id=0x1 <addr 10.65.137.60> <ms-dns1 8.8.8.8> <ms-dns2 8.8.4.4>]
sent [IPCP ConfReq id=0x2 <addr 10.65.137.60> <ms-dns1 8.8.8.8> <ms-dns2 8.8.4.4>]
rcvd [IPCP ConfReq id=0x4 <addr 10.65.137.60>]
sent [IPCP ConfAck id=0x4 <addr 10.65.137.60>]
rcvd [LCP CodeRej id=0x3 c0 21 08 03 00 14 80 57 01 02 00 0e 01 0a 00 00 5e ff]
LCP: Rcvd Code-Reject for code 192, id 33
rcvd [IPCP ConfAck id=0x2 <addr 10.65.137.60> <ms-dns1 8.8.8.8> <ms-dns2 8.8.4.4>]
not replacing default route to enp1s0 [172.25.200.1]
local  IP address 10.65.137.60
remote IP address 10.65.137.60
primary   DNS address 8.8.8.8
secondary DNS address 8.8.4.4
Script /etc/ppp/ip-up started (pid 1242931)
Script /etc/ppp/ip-up finished (pid 1242931), status = 0x0
rcvd [IPV6CP ConfReq id=0x2 <addr fe80::0000:5eff:fe00:53f4>]
Unsupported protocol 'IPv6 Control Protocol' (0x8057) received
sent [LCP ProtRej id=0x4 80 57 01 02 00 0e 01 0a 00 00 5e ff fe 00 53 f4]
rcvd [LCP CodeRej id=0x4 c0 21 08 04 00 14 80 57 01 02 00 0e 01 0a 00 00 5e ff]
LCP: Rcvd Code-Reject for code 192, id 33
rcvd [IPV6CP ConfReq id=0x2 <addr fe80::0000:5eff:fe00:53f4>]
Unsupported protocol 'IPv6 Control Protocol' (0x8057) received
sent [LCP ProtRej id=0x5 80 57 01 02 00 0e 01 0a 00 00 5e ff fe 00 53 f4]
rcvd [LCP CodeRej id=0x5 c0 21 08 05 00 14 80 57 01 02 00 0e 01 0a 00 00 5e ff]
LCP: Rcvd Code-Reject for code 192, id 33
rcvd [IPV6CP ConfReq id=0x2 <addr fe80::0000:5eff:fe00:53f4>]
Unsupported protocol 'IPv6 Control Protocol' (0x8057) received
sent [LCP ProtRej id=0x6 80 57 01 02 00 0e 01 0a 00 00 5e ff fe 00 53 f4]
rcvd [LCP CodeRej id=0x6 c0 21 08 06 00 14 80 57 01 02 00 0e 01 0a 00 00 5e ff]
LCP: Rcvd Code-Reject for code 192, id 33
rcvd [IPV6CP ConfReq id=0x2 <addr fe80::0000:5eff:fe00:53f4>]
Unsupported protocol 'IPv6 Control Protocol' (0x8057) received
sent [LCP ProtRej id=0x7 80 57 01 02 00 0e 01 0a 00 00 5e ff fe 00 53 f4]
rcvd [LCP CodeRej id=0x7 c0 21 08 07 00 14 80 57 01 02 00 0e 01 0a 00 00 5e ff]
LCP: Rcvd Code-Reject for code 192, id 33
rcvd [IPV6CP ConfReq id=0x2 <addr fe80::0000:5eff:fe00:53f4>]
Unsupported protocol 'IPv6 Control Protocol' (0x8057) received
sent [LCP ProtRej id=0x8 80 57 01 02 00 0e 01 0a 00 00 5e ff fe 00 53 f4]
rcvd [LCP CodeRej id=0x8 c0 21 08 08 00 14 80 57 01 02 00 0e 01 0a 00 00 5e ff]
LCP: Rcvd Code-Reject for code 192, id 33
rcvd [IPV6CP ConfReq id=0x2 <addr fe80::0000:5eff:fe00:53f4>]
Unsupported protocol 'IPv6 Control Protocol' (0x8057) received
sent [LCP ProtRej id=0x9 80 57 01 02 00 0e 01 0a 00 00 5e ff fe 00 53 f4]
rcvd [LCP CodeRej id=0x9 c0 21 08 09 00 14 80 57 01 02 00 0e 01 0a 00 00 5e ff]
LCP: Rcvd Code-Reject for code 192, id 33
rcvd [IPV6CP ConfReq id=0x2 <addr fe80::0000:5eff:fe00:53f4>]
Unsupported protocol 'IPv6 Control Protocol' (0x8057) received
sent [LCP ProtRej id=0xa 80 57 01 02 00 0e 01 0a 00 00 5e ff fe 00 53 f4]
rcvd [LCP CodeRej id=0xa c0 21 08 0a 00 14 80 57 01 02 00 0e 01 0a 00 00 5e ff]
LCP: Rcvd Code-Reject for code 192, id 33
rcvd [IPV6CP ConfReq id=0x2 <addr fe80::0000:5eff:fe00:53f4>]
Unsupported protocol 'IPv6 Control Protocol' (0x8057) received
sent [LCP ProtRej id=0xb 80 57 01 02 00 0e 01 0a 00 00 5e ff fe 00 53 f4]
rcvd [LCP CodeRej id=0xb c0 21 08 0b 00 14 80 57 01 02 00 0e 01 0a 00 00 5e ff]
LCP: Rcvd Code-Reject for code 192, id 33
rcvd [IPV6CP ConfReq id=0x2 <addr fe80::0000:5eff:fe00:53f4>]
Unsupported protocol 'IPv6 Control Protocol' (0x8057) received
sent [LCP ProtRej id=0xc 80 57 01 02 00 0e 01 0a 00 00 5e ff fe 00 53 f4]
rcvd [LCP CodeRej id=0xc c0 21 08 0c 00 14 80 57 01 02 00 0e 01 0a 00 00 5e ff]
LCP: Rcvd Code-Reject for code 192, id 33
rcvd [IPV6CP ConfReq id=0x2 <addr fe80::0000:5eff:fe00:53f4>]
Unsupported protocol 'IPv6 Control Protocol' (0x8057) received
sent [LCP ProtRej id=0xd 80 57 01 02 00 0e 01 0a 00 00 5e ff fe 00 53 f4]
rcvd [LCP CodeRej id=0xd c0 21 08 0d 00 14 80 57 01 02 00 0e 01 0a 00 00 5e ff]
LCP: Rcvd Code-Reject for code 192, id 33
rcvd [IPV6CP ConfReq id=0x2 <addr fe80::0000:5eff:fe00:53f4>]
Unsupported protocol 'IPv6 Control Protocol' (0x8057) received
sent [LCP ProtRej id=0xe 80 57 01 02 00 0e 01 0a 00 00 5e ff fe 00 53 f4]
rcvd [LCP CodeRej id=0xe c0 21 08 0e 00 14 80 57 01 02 00 0e 01 0a 00 00 5e ff]
LCP: Rcvd Code-Reject for code 192, id 33
rcvd [IPV6CP ConfReq id=0x2 <addr fe80::0000:5eff:fe00:53f4>]
Unsupported protocol 'IPv6 Control Protocol' (0x8057) received
sent [LCP ProtRej id=0xf 80 57 01 02 00 0e 01 0a 00 00 5e ff fe 00 53 f4]
rcvd [LCP CodeRej id=0xf c0 21 08 0f 00 14 80 57 01 02 00 0e 01 0a 00 00 5e ff]
LCP: Rcvd Code-Reject for code 192, id 33
rcvd [IPV6CP ConfReq id=0x2 <addr fe80::0000:5eff:fe00:53f4>]
Unsupported protocol 'IPv6 Control Protocol' (0x8057) received
sent [LCP ProtRej id=0x10 80 57 01 02 00 0e 01 0a 00 00 5e ff fe 00 53 f4]
rcvd [LCP CodeRej id=0x10 c0 21 08 10 00 14 80 57 01 02 00 0e 01 0a 00 00 5e ff]
LCP: Rcvd Code-Reject for code 192, id 33
rcvd [IPV6CP ConfReq id=0x2 <addr fe80::0000:5eff:fe00:53f4>]
Unsupported protocol 'IPv6 Control Protocol' (0x8057) received
sent [LCP ProtRej id=0x11 80 57 01 02 00 0e 01 0a 00 00 5e ff fe 00 53 f4]
rcvd [LCP CodeRej id=0x11 c0 21 08 11 00 14 80 57 01 02 00 0e 01 0a 00 00 5e ff]
LCP: Rcvd Code-Reject for code 192, id 33
rcvd [IPV6CP ConfReq id=0x2 <addr fe80::0000:5eff:fe00:53f4>]
Unsupported protocol 'IPv6 Control Protocol' (0x8057) received
sent [LCP ProtRej id=0x12 80 57 01 02 00 0e 01 0a 00 00 5e ff fe 00 53 f4]
rcvd [LCP CodeRej id=0x12 c0 21 08 12 00 14 80 57 01 02 00 0e 01 0a 00 00 5e ff]
LCP: Rcvd Code-Reject for code 192, id 33
rcvd [IPV6CP ConfReq id=0x2 <addr fe80::0000:5eff:fe00:53f4>]
Unsupported protocol 'IPv6 Control Protocol' (0x8057) received
sent [LCP ProtRej id=0x13 80 57 01 02 00 0e 01 0a 00 00 5e ff fe 00 53 f4]
rcvd [LCP CodeRej id=0x13 c0 21 08 13 00 14 80 57 01 02 00 0e 01 0a 00 00 5e ff]
LCP: Rcvd Code-Reject for code 192, id 33
rcvd [IPV6CP ConfReq id=0x2 <addr fe80::0000:5eff:fe00:53f4>]
Unsupported protocol 'IPv6 Control Protocol' (0x8057) received
sent [LCP ProtRej id=0x14 80 57 01 02 00 0e 01 0a 00 00 5e ff fe 00 53 f4]
rcvd [LCP CodeRej id=0x14 c0 21 08 14 00 14 80 57 01 02 00 0e 01 0a 00 00 5e ff]
LCP: Rcvd Code-Reject for code 192, id 33
rcvd [IPV6CP ConfReq id=0x2 <addr fe80::0000:5eff:fe00:53f4>]
Unsupported protocol 'IPv6 Control Protocol' (0x8057) received
sent [LCP ProtRej id=0x15 80 57 01 02 00 0e 01 0a 00 00 5e ff fe 00 53 f4]
rcvd [LCP CodeRej id=0x15 c0 21 08 15 00 14 80 57 01 02 00 0e 01 0a 00 00 5e ff]
LCP: Rcvd Code-Reject for code 192, id 33
rcvd [IPV6CP ConfReq id=0x2 <addr fe80::0000:5eff:fe00:53f4>]
Unsupported protocol 'IPv6 Control Protocol' (0x8057) received
sent [LCP ProtRej id=0x16 80 57 01 02 00 0e 01 0a 00 00 5e ff fe 00 53 f4]
rcvd [LCP CodeRej id=0x16 c0 21 08 16 00 14 80 57 01 02 00 0e 01 0a 00 00 5e ff]
LCP: Rcvd Code-Reject for code 192, id 33

Given these logs, I'm wondering if there's any dependency on the IPv6 protocol for PPP support in SLM 2.6.1 without cmux. Any insights or suggestions would be greatly appreciated.

Thank you!

Parents
  • Hello,

    I will consult the experts and will get back to you.

    Best regards,

    Michal

  • Hello Michal,

    Any updates on this thread ?

    Mukund

  • Sorry, not yet, but we are actively looking into it.

    Could you let me know which Modem FW version are you using as well?

    Best regards,

    Michal

  • It looks like your pppd is rejecting the IPv6 requests from SLM. Our experts were not able to reproduce that.

    What is your pppd version and config?

    Since pppd is not processing IPv6, you can try to disable the IPv6 protocol from the SLM as well. This can be done by setting

    CONFIG_NET_IPV6=n in overlay-ppp.conf.

    Best regards,

    Michal

  • Thanks for the reply!

    I have tried adding CONFIG_NET_IPV6=n in overlay-ppp.conf, and

    I couldn't find any logs related to "Unsupported protocol 'IPv6 Control Protocol' (0x8057) received" on the Linux machine.

    here are the working logs from linux machine :

    CPU0614:~$ sudo pppd -detach /dev/ttyACM3 115200 noauth crtscts novj nodeflate nobsdcomp debug usepeerdns noipdefault defaultroute ipcp-restart 5
    using channel 128
    Using interface ppp0
    Connect: ppp0 <--> /dev/ttyACM3
    sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x2dd3c005> <pcomp> <accomp>]
    rcvd [LCP ConfRej id=0x1 <asyncmap 0x0> <magic 0x2dd3c005> <pcomp> <accomp>]
    sent [LCP ConfReq id=0x2]
    rcvd [LCP ConfAck id=0x2]
    sent [LCP ConfReq id=0x2]
    rcvd [LCP ConfAck id=0x2]
    rcvd [LCP ConfReq id=0x1 <mru 1500>]
    sent [LCP ConfAck id=0x1 <mru 1500>]
    sent [LCP EchoReq id=0x0 magic=0x0]
    sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
    rcvd [IPCP ConfReq id=0x1 <addr 10.65.129.223> <ms-dns1 8.8.8.8> <ms-dns2 8.8.4.4>]
    sent [IPCP ConfRej id=0x1 <ms-dns1 8.8.8.8> <ms-dns2 8.8.4.4>]
    rcvd [LCP EchoRep id=0x0 magic=0x0]
    rcvd [IPCP ConfNak id=0x1 <addr 10.65.129.223> <ms-dns1 8.8.8.8> <ms-dns2 8.8.4.4>]
    sent [IPCP ConfReq id=0x2 <addr 10.65.129.223> <ms-dns1 8.8.8.8> <ms-dns2 8.8.4.4>]
    rcvd [IPCP ConfReq id=0x2 <addr 10.65.129.223>]
    sent [IPCP ConfAck id=0x2 <addr 10.65.129.223>]
    rcvd [IPCP ConfAck id=0x2 <addr 10.65.129.223> <ms-dns1 8.8.8.8> <ms-dns2 8.8.4.4>]
    local  IP address 10.65.129.223
    remote IP address 10.65.129.223
    primary   DNS address 8.8.8.8
    secondary DNS address 8.8.4.4
    Script /etc/ppp/ip-up started (pid 57064)
    Script /etc/ppp/ip-up finished (pid 57064), status = 0x0

    but still I am not able to ping google server using ppp interface :

    CPU0614:~$ ping -I ppp0 8.8.8.8
    PING 8.8.8.8 (8.8.8.8) from 10.65.129.223 ppp0: 56(84) bytes of data.
    

  • Did you try to use the basic functionality of SLM to try to test the connection? Or maybe Modem Shell? So that you know that the device and the SIM card work properly?

    Also, asking again this:

    Michal said:
    What is your pppd version and config?

    Best regards,

    Michal

  • Sorry for late reply on pppd version.

    here is pppd version in linux machine.

    pppd version 2.4.7

Reply Children
Related