SetUp: HL7812 connected over UART,
ppp0 connection is created, and its setting is
noauth
connect "/usr/sbin/chat -v -t 5 -f /etc/chatscripts/hl78xx-chat"
debug
/dev/ttySWI2
115200
noipv6
connect-delay 30000
defaultroute
noipdefault
usepeerdns
lcp-echo-interval 20
ppp0 successfully create a connection, but the local IP address is in-correct, i.e. not able to reach internet, (example: 8.8.8.8)
it always assigns below ip address,
inet 10.0.0.10 netmask 255.255.255.255 destination 10.0.0.1
AT+CGCONTRDP
+CGCONTRDP: 1,5,"lp.swir.mnc024.mcc208.gprs",10.124.46.70.255.255.255.252,10.124.46.69,8.8.8.8,4.2.2.2,,,,,,,,,
I expect the local ip address to be “10.124.46.70”
if I restart the pppd service, it does assign the correct IP address,
Can someone shed light on why ppp0 is not getting assigned a correct IP address the first time?