Rak cellular pi hat 2013

Hello,

i’m using RakCellular 2013 with the raspberry pi 3, i wanna change the DNS for the ppp internet connection.

i tried editing the file in /etc/dhcpcd.conf , but didn’t work. any idea on how to resolve this?
Thanks

@aja
After you modify the /etc/dhcpc.conf file, comment out the end of the file /etc/ppp/peers/gprs as shown below.
2019-12-16 10:04:32

1 Like

Thanks for the reply, i was able to change DNS and it all works fine for a somtime and then stops

this the logs i’m getting :

Dec 12 11:51:31 DAS pppd[683]: rcvd [LCP TermReq id=0x3]
Dec 12 11:51:31 DAS sudo[672]: rcvd [LCP TermReq id=0x3]
Dec 12 11:51:31 DAS sudo[672]: LCP terminated by peer
Dec 12 11:51:31 DAS sudo[672]: Connect time 59.6 minutes.
Dec 12 11:51:31 DAS sudo[672]: Sent 581383 bytes, received 539810 bytes.
Dec 12 11:51:31 DAS sudo[672]: Script /etc/ppp/ip-down started (pid 1345)
Dec 12 11:51:31 DAS pppd[683]: LCP terminated by peer
Dec 12 11:51:31 DAS sudo[672]: sent [LCP TermAck id=0x3]
Dec 12 11:51:31 DAS pppd[683]: Connect time 59.6 minutes.
Dec 12 11:51:31 DAS pppd[683]: Sent 581383 bytes, received 539810 bytes.
Dec 12 11:51:31 DAS pppd[683]: Script /etc/ppp/ip-down started (pid 1345)
Dec 12 11:51:31 DAS pppd[683]: sent [LCP TermAck id=0x3]
Dec 12 11:51:31 DAS pppd[683]: Script /etc/ppp/ip-down finished (pid 1345), status = 0x0
Dec 12 11:51:31 DAS sudo[672]: Script /etc/ppp/ip-down finished (pid 1345), status = 0x0
Dec 12 11:51:34 DAS pppd[683]: Connection terminated.
Dec 12 11:51:34 DAS sudo[672]: Connection terminated.
Dec 12 11:51:34 DAS chat[1397]: abort on (ERROR)
Dec 12 11:51:34 DAS chat[1397]: abort on (NO DIALTONE)
Dec 12 11:51:34 DAS sudo[672]: abort on (ERROR)
Dec 12 11:51:34 DAS sudo[672]: abort on (NO DIALTONE)
Dec 12 11:51:34 DAS sudo[672]: unterminated quote (line 4)
Dec 12 11:51:34 DAS chat[1397]: unterminated quote (line 4)
Dec 12 11:51:34 DAS sudo[672]: Script chat -s -v -f /etc/chatscripts/quectel-chat-disconnect finished (pid 1396), status = 0x1
Dec 12 11:51:34 DAS sudo[672]: disconnect script failed
Dec 12 11:51:34 DAS pppd[683]: Script chat -s -v -f /etc/chatscripts/quectel-chat-disconnect finished (pid 1396), status = 0x1
Dec 12 11:51:34 DAS pppd[683]: disconnect script failed
Dec 12 11:51:35 DAS pppd[683]: Modem hangup
Dec 12 11:51:35 DAS sudo[672]: Modem hangup
Dec 12 11:51:35 DAS pppd[683]: Exit.

The log can only see that pppd is disconnected for unknown reasons. But pppd will automatically connect after disconnecting.