From owner-freebsd-questions@freebsd.org Tue Nov 6 09:31:45 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 35361110D44D for ; Tue, 6 Nov 2018 09:31:45 +0000 (UTC) (envelope-from ml-ktk@netlabs.org) Received: from r2-d2.netlabs.org (r2-d2.netlabs.org [213.238.45.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9E7AF6E7FB for ; Tue, 6 Nov 2018 09:31:43 +0000 (UTC) (envelope-from ml-ktk@netlabs.org) Received: (qmail 54373 invoked by uid 89); 6 Nov 2018 09:24:19 -0000 Received: by simscan 1.4.0 ppid: 54367, pid: 54371, t: 0.7082s scanners:none Received: from unknown (HELO ?192.168.43.2?) (ml-ktk@netlabs.org@114.124.196.251) by 0 with ESMTPA; 6 Nov 2018 09:24:19 -0000 To: freebsd-questions@freebsd.org From: Adrian Gschwend Subject: PPP & LTE card: How to access AT commands once interface is up? Message-ID: <5841fdd7-da51-6e18-fc11-d033f68d3d2a@netlabs.org> Date: Tue, 6 Nov 2018 16:24:14 +0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 9E7AF6E7FB X-Spamd-Result: default: False [3.86 / 200.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.80)[0.801,0]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[netlabs.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[4]; RCVD_TLS_LAST(0.00)[]; MX_GOOD(-0.01)[mail.netlabs.org,mail.opencsw.org]; NEURAL_SPAM_LONG(0.62)[0.623,0]; RCVD_IN_DNSWL_NONE(0.00)[90.45.238.213.list.dnswl.org : 127.0.10.0]; NEURAL_SPAM_MEDIUM(0.55)[0.551,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:9211, ipnet:213.238.32.0/20, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-0.00)[country: DE(-0.01)] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Nov 2018 09:31:45 -0000 (I've asked this question on the OPNsense board first, see https://forum.opnsense.org/index.php?topic=9828.0) I've set up a PC engines based GW which is running an LTE connection as WAN interface. So far everything works fine, connection is up and seems stable so far. Due to my location and frequency bands used here in Asia, I got a Sierra Wireless MC7430 mPCIe card. Specs: https://source.sierrawireless.com/~/media/support_downloads/airprime/74xx/4116237_airprime_mc7430_product_technical_specification_r8.ashx AT command reference: https://www.sierrawireless.com/resources/documents/mp/2130309_mp7xx_at_command_reference.pdf The card works fine, however as soon as OPNsense takes care of the ppp connection via MPD I cannot send any other AT commands to the card. What I would like to have is some kind of "stats" interface where I can get things back like LTE network configuration, frequencies used, signal level etc. For my card the AT interface is on /dev/cuaU0.2, all other interfaces do not return anything on AT commands. And /dev/cuaU0.2 is busy as soon as the connection is up. Anyone has an idea how to do that for this particular card? thanks regards Adrian