From 2ff83b8dc72aa3d6d10134ed63d6d80c025dbcd1 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Fri, 22 Dec 2023 18:59:56 +0800
Subject: [PATCH] Update yocto build shell script

---
 yocto/meta-igkboard/recipes-misc/ifup-ppp/files/gprs-chat |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/yocto/meta-igkboard/recipes-misc/ifup-ppp/files/gprs-chat b/yocto/meta-igkboard/recipes-misc/ifup-ppp/files/gprs-chat
new file mode 100755
index 0000000..cd6df09
--- /dev/null
+++ b/yocto/meta-igkboard/recipes-misc/ifup-ppp/files/gprs-chat
@@ -0,0 +1,18 @@
+# FILE:/etc/ppp/gprs-chat
+# Copyright (C) 2011 GuoWenxue <guowenxue@gmail.com>
+# This is second part of the ppp dial script. It will perform the connection
+# protocol for the desired connection by chat with modem.
+#
+        ABORT           'BUSY'                             
+        ABORT           'NO ANSWER'                        
+        ABORT           'NO CARRIER'                       
+        ABORT           'NO DIALTONE'                      
+        ABORT           'ERROR'                            
+        ABORT           '\nRING\r\n\r\nRING\r'             
+        TIMEOUT         20                                 
+        ''              ATE0                    
+        OK              AT+CGDCONT=1,"IP","$APN"
+        OK              ATD$DIALNUM                      
+        SAY             " + requesting data connection\n"  
+        CONNECT         ''                                 
+        SAY             " + connected\n"

--
Gitblit v1.9.1