I have just replaced my old 3G modem (MultiTech) with a new 4G one (also MultiTech) ... and now bearerbox fails to negotiate speed ...
* What is this telling me? [...] 2022-06-09T15:53:50.161623-07:00 vishnu bearerbox[5519]: 2022-06-09 15:53:50 [5519] [0] INFO: AT2[/dev/modem]: configuration doesn't show modemtype. will autodetect 2022-06-09T15:53:50.161746-07:00 vishnu bearerbox[5519]: 2022-06-09 15:53:50 [5519] [6] INFO: AT2[/dev/modem]: opening device 2022-06-09T15:53:50.161842-07:00 vishnu bearerbox[5519]: 2022-06-09 15:53:50 [5519] [0] INFO: Adding interface * 2022-06-09T15:53:50.162154-07:00 vishnu bearerbox[5519]: 2022-06-09 15:53:50 [5519] [0] INFO: ---------------------------------------- 2022-06-09T15:53:50.162202-07:00 vishnu bearerbox[5519]: 2022-06-09 15:53:50 [5519] [0] INFO: Kannel bearerbox II version 1.4.5 starting 2022-06-09T15:53:50.162259-07:00 vishnu bearerbox[5519]: 2022-06-09 15:53:50 [5519] [0] INFO: MAIN: Start-up done, entering mainloop 2022-06-09T15:53:50.162311-07:00 vishnu bearerbox[5519]: 2022-06-09 15:53:50 [5519] [5] INFO: Client connected from <127.0.0.1> 2022-06-09T15:53:51.164367-07:00 vishnu bearerbox[5519]: 2022-06-09 15:53:51 [5519] [6] INFO: AT2[/dev/modem]: speed set to 115200 2022-06-09T15:54:11.485394-07:00 vishnu bearerbox[5519]: 2022-06-09 15:54:11 [5519] [6] INFO: AT2[/dev/modem]: Closing device 2022-06-09T15:54:11.485648-07:00 vishnu bearerbox[5519]: 2022-06-09 15:54:11 [5519] [6] INFO: AT2[/dev/modem]: opening device 2022-06-09T15:54:12.487582-07:00 vishnu bearerbox[5519]: 2022-06-09 15:54:12 [5519] [6] INFO: AT2[/dev/modem]: speed set to 57600 2022-06-09T15:54:32.908334-07:00 vishnu bearerbox[5519]: 2022-06-09 15:54:32 [5519] [6] INFO: AT2[/dev/modem]: Closing device 2022-06-09T15:54:32.909724-07:00 vishnu bearerbox[5519]: 2022-06-09 15:54:32 [5519] [6] INFO: AT2[/dev/modem]: opening device 2022-06-09T15:54:33.910791-07:00 vishnu bearerbox[5519]: 2022-06-09 15:54:33 [5519] [6] INFO: AT2[/dev/modem]: speed set to 38400 2022-06-09T15:54:54.333076-07:00 vishnu bearerbox[5519]: 2022-06-09 15:54:54 [5519] [6] INFO: AT2[/dev/modem]: Closing device 2022-06-09T15:54:54.348974-07:00 vishnu bearerbox[5519]: 2022-06-09 15:54:54 [5519] [6] INFO: AT2[/dev/modem]: opening device 2022-06-09T15:54:55.335600-07:00 vishnu bearerbox[5519]: 2022-06-09 15:54:55 [5519] [6] INFO: AT2[/dev/modem]: speed set to 19200 2022-06-09T15:55:15.750830-07:00 vishnu bearerbox[5519]: 2022-06-09 15:55:15 [5519] [6] INFO: AT2[/dev/modem]: Closing device 2022-06-09T15:55:15.751195-07:00 vishnu bearerbox[5519]: 2022-06-09 15:55:15 [5519] [6] INFO: AT2[/dev/modem]: opening device 2022-06-09T15:55:16.753260-07:00 vishnu bearerbox[5519]: 2022-06-09 15:55:16 [5519] [6] INFO: AT2[/dev/modem]: speed set to 9600 2022-06-09T15:55:37.172905-07:00 vishnu bearerbox[5519]: 2022-06-09 15:55:37 [5519] [6] INFO: AT2[/dev/modem]: Closing device 2022-06-09T15:55:37.174270-07:00 vishnu bearerbox[5519]: 2022-06-09 15:55:37 [5519] [6] INFO: AT2[/dev/modem]: cannot detect speed 2022-06-09T15:55:37.174399-07:00 vishnu bearerbox[5519]: 2022-06-09 15:55:37 [5519] [6] ERROR: AT2[/dev/modem]: Couldn't connect (retrying in 10 seconds). I can use minicom to query the modem and report information about local service AT+GMI Telit OK AT+GMM ME910C1-NA AT+CSQ +CSQ: 29.6 AT#SERVINFO #SERVINFO: 5035,-50,"AT&T","310260",00001BE,2C34,256,0,-79 This suggests to me that Linux can talk to the modem via /dev/modem, and that the modem is talking to the service provider linux# ll /dev/modem lrwxrwxrwx 1 root root 7 Jun 9 15:21 /dev/modem -> ttyUSB1 linux# ll /dev/ttyUSB1 crw-rw-rw- 1 root dialout 188, 1 Jun 9 15:55 /dev/ttyUSB1 linux# cat /etc/udev/rules.d/10-modem.rules KERNEL=="ttyUSB1", SYMLINK+="modem", MODE="0666" linux# >From /etc/kannel/kannel.conf # SMSC GSM group = smsc smsc = at modemtype = auto device = /dev/modem validityperiod = 24 max-error-count = 20 >From /etc/kannel/modems.conf # If modemtype=auto, try everyone and defaults to this one group = modems id = generic name = "Generic Modem" Do I perhaps need to define something other than 'generic' for a 4G Multitech? --sk Stuart Kendrick Allen Institute