Re: change modems / bearerbox no longer connects
Alexander Malysh <[email protected]> Tue, 21 Jun 2022 10:20:17 +0200
| Newsgroups | gmane.comp.mobile.kannel.user |
|---|---|
| Message-ID | <2b92d449-7cfe-4dbe-89d7-e4df5698fa20@Spark> |
Hi, you have to enable debug and see what’s going wrong. sometimes you need a init string in kennel config to get modem working. Regards, Alexander Malysh Am 10. Juni 2022, 01:09 +0200 schrieb Stuart Kendrick <[email protected]>: > 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 autodetect2022-06-09T15:53:50.161746-07:00 vishnu bearerbox[5519]: 2022-06-09 15:53:50 [5519] [6] INFO: AT2[/dev/modem]: opening device2022-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 starting2022-06-09T15:53:50.162259-07:00 vishnu bearerbox[5519]: 2022-06-09 15:53:50 [5519] [0] INFO: MAIN: Start-up done, entering mainloop2022-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 1152002022-06-09T15:54:11.485394-07:00 vishnu bearerbox[5519]: 2022-06-09 15:54:11 [5519] [6] INFO: AT2[/dev/modem]: Closing device2022-06-09T15:54:11.485648-07:00 vishnu bearerbox[5519]: 2022-06-09 15:54:11 [5519] [6] INFO: AT2[/dev/modem]: opening device2022-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 576002022-06-09T15:54:32.908334-07:00 vishnu bearerbox[5519]: 2022-06-09 15:54:32 [5519] [6] INFO: AT2[/dev/modem]: Closing device2022-06-09T15:54:32.909724-07:00 vishnu bearerbox[5519]: 2022-06-09 15:54:32 [5519] [6] INFO: AT2[/dev/modem]: opening device2022-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 384002022-06-09T15:54:54.333076-07:00 vishnu bearerbox[5519]: 2022-06-09 15:54:54 [5519] [6] INFO: AT2[/dev/modem]: Closing device2022-06-09T15:54:54.348974-07:00 vishnu bearerbox[5519]: 2022-06-09 15:54:54 [5519] [6] INFO: AT2[/dev/modem]: opening device2022-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 192002022-06-09T15:55:15.750830-07:00 vishnu bearerbox[5519]: 2022-06-09 15:55:15 [5519] [6] INFO: AT2[/dev/modem]: Closing device2022-06-09T15:55:15.751195-07:00 vishnu bearerbox[5519]: 2022-06-09 15:55:15 [5519] [6] INFO: AT2[/dev/modem]: opening device2022-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 96002022-06-09T15:55:37.172905-07:00 vishnu bearerbox[5519]: 2022-06-09 15:55:37 [5519] [6] INFO: AT2[/dev/modem]: Closing device2022-06-09T15:55:37.174270-07:00 vishnu bearerbox[5519]: 2022-06-09 15:55:37 [5519] [6] INFO: AT2[/dev/modem]: cannot detect speed2022-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/modemlrwxrwxrwx 1 root root 7 Jun 9 15:21 /dev/modem -> ttyUSB1linux# ll /dev/ttyUSB1crw-rw-rw- 1 root dialout 188, 1 Jun 9 15:55 /dev/ttyUSB1linux# cat /etc/udev/rules.d/10-modem.rulesKERNEL=="ttyUSB1", SYMLINK+="modem", MODE="0666"linux# From /etc/kannel/kannel.conf# SMSC GSMgroup = smscsmsc = atmodemtype = autodevice = /dev/modemvalidityperiod = 24max-error-count = 20 From /etc/kannel/modems.conf# If modemtype=auto, try everyone and defaults to this onegroup = modemsid = genericname = "Generic Modem" Do I perhaps need to define something other than ‘generic’ for a 4G Multitech? --sk Stuart KendrickAllen Institute