From owner-freebsd-questions@FreeBSD.ORG Tue Jul 15 08:18:14 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0EBFF37B401 for ; Tue, 15 Jul 2003 08:18:14 -0700 (PDT) Received: from mta10.adelphia.net (mta10.adelphia.net [64.8.50.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A28F43F3F for ; Tue, 15 Jul 2003 08:18:13 -0700 (PDT) (envelope-from fbsd_user@a1poweruser.com) Received: from barbish ([68.169.105.49]) by mta10.adelphia.net (InterMail vM.5.01.05.32 201-253-122-126-132-20030307) with SMTP id <20030715151812.ZJWB1347.mta10.adelphia.net@barbish>; Tue, 15 Jul 2003 11:18:12 -0400 From: "fbsd_user" To: "Gary W. Swearingen" Date: Tue, 15 Jul 2003 11:18:11 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 cc: freebsd-questions@freebsd.org Subject: RE: Modem replies to commands mostly not seen. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: fbsd_user@a1poweruser.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jul 2003 15:18:14 -0000 I have a USR sportster 14.4 external serial modem which works fine under FBSD 4.8. Dip switches 3-7-8 are set to 'on' which is down, all others are set to off which is up. 3 = display result codes 7 = load factory defaults 8 = smart mode Modem has to be powered on before you boot FBSD box modem is cabled to. Modem is found and listed in /var/run/dmesg.boot file. During PC post process a summary PC hardware config screen shows the irq's assigned to hardware. Check this summary screen to verify the irq assigned to modem is not shared with other hardware. If it is, go into pc bios to change, be sure bios plug-n-play option is disabled, and serial ports are enabled. I use "TIP" command to issue Hayes AT commands. If you get an OK response to AT command, then you are talking to modem just fine and it's working. If you still have problems, post dmesg.boot file and use the script command to log your TIP command test output to a file and post that also. Most PC's have 2 serial ports, try cabling modem to different port and test again. Can you run mswindows on the pc to verify serial port and modem work. -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Gary W. Swearingen Sent: Monday, July 14, 2003 2:27 PM To: fbsd_user@a1poweruser.com Cc: freebsd-questions@freebsd.org Subject: Re: Modem replies to commands mostly not seen. "fbsd_user" writes: > Sounds like you have echo turned off in the modems internal prom > setting. Use Hayes AT command to turn on echo function of modem > hardware. Did these modems you tested work ok in FBSD 4.8? I tried the external Sportster under 4.8 but after it wouldn't work, I upgraded to 5.1 to lower the chances of having to go through this again when I did switch. I have modem manuals and played with dip switches and lots of AT commands including "ATE1" ("keyboard commmands"), "ATF0" (I think that's only for data that the modem sends out the phone line), "ATX4" ("result codes"), re-init commands ATZ, ATZ1-ATZ5, AT&F1, and many others. I've been through this several times before (on Linux) and think I know what I'm doing (except I've never understood the interactions of "stty" and serial-port-using programs like terminal emulators. It's strange that "ATI" gives it's results if I press keys, but "AT" or "$" don't. I've found a place to do my FAXing, so the pressure's off on getting this fixed. BTW, my other question was about the dmesg files, but I should have thought of the HISTORY_SIZE thing for at least the console. (/var/run/dmesg.boot has 943 lines of nothing I care about.) Someone suggested "kern.consmsgbuf_size=16384". Thanks. _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"