Establishing LTE connection with TL-MR6400 v5 LTE

OK

We can do an other test. Can you change the IF condition in qmi.sh at:

# Start network interface                                                                                                     
        if [ $pdptype_def = 'ipv4' ]                                                                                          
        then                                                                                                                  
                cid_4=$(uqmi -s -d "$device" --get-client-id wds)                                                             
                uqmi -s -d "$device" --set-client-id wds,"$cid_4" --set-ip-family ipv4                                        
                pdh_4=$(uqmi -s -d "$device" --set-client-id wds,"$cid_4" \                                                   
                                                --start-network \                                                             
                                                --profile $default_profile)                                                   
# Change here
                if [ "$pdh_4" = '"Call failed"' ]                                                                   
                then                                                                                                          
                        echo "Unable to connect with ipv4, check APN settnings"                                               
                        proto_notify_error "$interface" IPV4_APN_ERROR                                                        
                        proto_block_restart "$interface"                                                                      
                        return 1                                                                                              
                else                                                                                                          
                        echo "Default profile connected with ipv4"                                                            
                fi                                                                                                            
        elif [ $pdptype_def = 'ipv6' ]                                                                                        

Restart router and print logread | grep 4G