BGS2-E Modem CHAP | Telit Cinterion IoT Developer Community
August 6, 2020 - 9:35am, 1077 views
Hello,
I am trying to establish a modem TCP connection using a BGS2-E modem using CHAP instead for PAP.
There isn't a great deal of information on how to do this in the manual or on the internet so can anyone tell me how I do it please?
Regards
Stephen
Hello,
If you mean the PPP connection you can configure the authentication type with AT^SGAUTH command. The default setting is 3 - PAP and CHAP. You can switch over to 2, which is CHAP.
Regards,
Bartłomiej
Hi Bartłomiej
Thanks for your response. I am using the AT^SGAUTH=2 as you can see in line 38 of the attached file Response_from_Modem, the two file show all the messages that are sent to the modem and the responses.
Excuse my ignorance but as I understand it the CH in CHAP stands for Challenge Handshake, how does this happen when I don't send any other commands to the modem apart from AT^SGAUTH=2?
Regards
Stephen
Hello,
I'm sorry I have misunderstood your intentions. Form what you wrote before I have concluded that you are using the module as a modem and try to establish PPP connection. For this kind of connection SGAUTH can be used to configure the authentication type.
In your log I see that you try to use IP services over AT commands. And here only PAP authentication is possible - please see AT^SICS command description in the AT commands specification document for the module.
For network down error please make sure that the module is registered to the network. Please also check AT+CEER output.
Regards,
Bartłomiej