From nobody Tue Apr 18 15:41:06 2023 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Q17SJ4p40z45GY2 for ; Tue, 18 Apr 2023 15:41:20 +0000 (UTC) (envelope-from markmoellering@psyberation.com) Received: from mail-qt1-x834.google.com (mail-qt1-x834.google.com [IPv6:2607:f8b0:4864:20::834]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q17SH2lNGz4XPY for ; Tue, 18 Apr 2023 15:41:19 +0000 (UTC) (envelope-from markmoellering@psyberation.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=psyberation-com.20221208.gappssmtp.com header.s=20221208 header.b="v7e/SsQO"; spf=none (mx1.freebsd.org: domain of markmoellering@psyberation.com has no SPF policy when checking 2607:f8b0:4864:20::834) smtp.mailfrom=markmoellering@psyberation.com; dmarc=none Received: by mail-qt1-x834.google.com with SMTP id fv6so16315194qtb.9 for ; Tue, 18 Apr 2023 08:41:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=psyberation-com.20221208.gappssmtp.com; s=20221208; t=1681832473; x=1684424473; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=lktnmh1MP+cIvcRNmNN7VZUnPFH8Unj44jLd8WyeTgc=; b=v7e/SsQO/tu2v6sk6lGDE5PXDt8DxavXVr9IXLkgTxanGMi8FDnVOxsMadI1MQ2A9l IL9+yrfY4ftfC9Ms9SjpkzGGEIGp/fUgAlyRa4mnt10Sad7HkFHBq85K16o1u86Lrspc qAw+O8R9erjPwxBJGgq65X9ObsrMEkEw+hfa9EezDmc8Icbz7PyejEkyvhEOs6+nkaq/ BG/+fhXostEm36BoDgU99RqGO3iy2vMRwUmAoyY3oJrFX35b6axC7/HQ2jL8R1f9l078 4D7TX3s5tJb9kvyIE5lE2d5Aphfwi+f/WvOTeVS479URH9Sw66RgUfdLbUTunP73GqBm PGWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681832473; x=1684424473; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=lktnmh1MP+cIvcRNmNN7VZUnPFH8Unj44jLd8WyeTgc=; b=VP/U68WTA49PDayBsQKovhLtYC5LS6qVwRq7sKuN0QgbBSOSZTNVN2GOgXSFHmmgzT 7B7CcYEmoY6x5WSAr6SwH9f0fVgSrSpuoOzGfOWat7+enpC2wlBKZb44ySNCZauDSuLl 8aMcr8zG0PIVBqtrnZeA3Ly8vkYIa/24iyNv88TSE8NtTcWV1KnIe1BWNVKUUj9CahKW REgRUtru2Ou2QgWdiFczzoPvEhDXGjiT4UDTUj0mzFnTeGL9t8xGoYEYO53bfZaCdRz/ wj37+5SLpHhZGnCYhB4v1G7fGaAuyI2jT584Jtp7VOkkRfCS94Xlp1EFkKAgTLLjbJIG WVjw== X-Gm-Message-State: AAQBX9eiIG+KQ3yljNAj13wofOSMLk0hDRUWERhwcEeF505saTm1Hzpt /vSHny45CQXME3Nmn71sVV22OqDz2sqPu9VtEWU= X-Google-Smtp-Source: AKy350Zz2rzLaskg2PeljNpIntpHR/EJkDrC6EKyDDP9SRR3nMYyIeLn38Af64vQifmGsOgSoXNaSg== X-Received: by 2002:ac8:4e8d:0:b0:3e6:9395:9098 with SMTP id 13-20020ac84e8d000000b003e693959098mr245181qtp.52.1681832473291; Tue, 18 Apr 2023 08:41:13 -0700 (PDT) Received: from [10.0.5.3] (50-199-38-225-static.hfc.comcastbusiness.net. [50.199.38.225]) by smtp.gmail.com with ESMTPSA id i10-20020ac84f4a000000b003e390b48958sm1052193qtw.55.2023.04.18.08.41.12 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 18 Apr 2023 08:41:12 -0700 (PDT) Message-ID: Date: Tue, 18 Apr 2023 11:41:06 -0400 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: serial from usb port, cu using /dev/cuau0 Content-Language: en-US To: questions@freebsd.org References: <2a149c85-7aa3-c92c-0518-219d52971453@dreamchaser.org> From: Mark Moellering In-Reply-To: <2a149c85-7aa3-c92c-0518-219d52971453@dreamchaser.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Result: default: False [-3.30 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[psyberation-com.20221208.gappssmtp.com:s=20221208]; MIME_GOOD(-0.10)[text/plain]; R_SPF_NA(0.00)[no SPF record]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::834:from]; MLMMJ_DEST(0.00)[questions@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; DKIM_TRACE(0.00)[psyberation-com.20221208.gappssmtp.com:+]; RCVD_COUNT_THREE(0.00)[3]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; DMARC_NA(0.00)[psyberation.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4Q17SH2lNGz4XPY X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N On 4/18/23 08:32, Gary Aitken wrote: > Connected a USB to serial dongle to a USB port, > then a straight-through serial cable to my dsl modem. > > as root: >   cu -h -t -s 9600 -l /dev/cuau0 > or maybe cuaU0 > > Whether anything is connected to the USB port or not, > when I issue the cu command, I always get a "connected" response. > > On one occasion two days ago, I swear the cu connected to the > usb-serial and I got a login prompt and poked around the modem. > > Assuming that actually happened, how does the system know which > usb / serial port to use? > > This mobo has a serial port with a dongle connected.  It appears > to be activated in BIOS, as when I direct connect the serial cable > to it I get a connection to the modem. > > But I'm confused as to how I got it to work from a usb port. > Thanks for any insights, > > Gary > Gary, I connect via serial to a firewall, and I discovered that it usually comes up with a blank screen. The command I use is:  cu -l cuaU0 -s 115200 If I hit enter, then the login prompt appears but otherwise, I , like you, often see "connected", with an otherwise black screen and no prompt.  hope this helps. -- Mark