1. Reduce the size of the heap memory 2. Change the TCP segment size 3. Disable UDP + DHCP + DNS 4. Change the configuration of the TCP/IP thread

Dependents:   EthernetInterface

Fork of lwip by mbed official

Revision:
4:f71f5d9d5846
Parent:
0:51ac1d130fd4
--- a/netif/ppp/ipcp.c	Fri Jun 22 13:39:39 2012 +0000
+++ b/netif/ppp/ipcp.c	Fri Jun 22 15:08:59 2012 +0000
@@ -1235,9 +1235,13 @@
   }
 
   if (ho->hisaddr == 0) {
+#if 0
     IPCPDEBUG(LOG_ERR, ("Could not determine remote IP address\n"));
     ipcp_close(f->unit, "Could not determine remote IP address");
     return;
+#else //Kludge
+    ho->hisaddr = 0; //Set remote IP to 0.0.0.0, this is needed as most 3g providers do not advertise the remote IP to the user
+#endif
   }
   if (go->ouraddr == 0) {
     IPCPDEBUG(LOG_ERR, ("Could not determine local IP address\n"));