From owner-freebsd-questions@FreeBSD.ORG Mon Feb 2 09:35:01 2004 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 DDBA616A4CE for ; Mon, 2 Feb 2004 09:35:01 -0800 (PST) Received: from mta2.adelphia.net (mta2.adelphia.net [68.168.78.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id B5B1743D5A for ; Mon, 2 Feb 2004 09:34:46 -0800 (PST) (envelope-from Barbish3@adelphia.net) Received: from barbish ([68.169.105.190]) by mta10.adelphia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with SMTP id <20040202155607.XBXB9070.mta10.adelphia.net@barbish>; Mon, 2 Feb 2004 10:56:07 -0500 From: "JJB" To: "Extech" Date: Mon, 2 Feb 2004 10:55:50 -0500 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: <200402021457410511.014D396F@smtp.tridan.co.za> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal cc: freebsd-questions@freebsd.org Subject: RE: Rockwell Modem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Barbish3@adelphia.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2004 17:35:02 -0000 You understanding of the external modem process is deficient. ns3# ps -aux >>root 476 0.0 1.4 1232 832 ?? I 11:26AM 0:00.03 /usr/libexec/getty >std.9600 ttyd0 This has nothing to do with your modem, but everything to do with the Hylafax software application. Since you said that your modem lights blink during boot you can assume FBSD is connected to it through the PCs serial ports. Change your subject to ask for help on Hylafax setup and not modem help. If the following instructions result on no connected message, then check you PC bios and verify the com ports an enabled. Determining if your External serial modem is connected to FBSD FBSD has a program called 'tip'. This program talks directly to the physical PC com ports and to the logical serial com ports, commonly referred to as com1, com2, and com3, and com4. External modems use com1 and com2 because there are only two com port nipples on the back of the PC. You are going to use the 'tip' command to test if FBSD can communicate with your modem. This test will verify that FBSD can connect to the external serial modem and also that it will respond to the Hayes commands you will issue to it. 1. The 'tip comx' command uses the /etc/remote file for the definition of comx. I have listed the whole group of comx statements here so you can better find them in the /etc/remote file. # Finger friendly shortcuts com1:dv=/dev/cuaa0:br#9600:pa=none: com2:dv=/dev/cuaa1:br#9600:pa=none: com3:dv=/dev/cuaa2:br#9600:pa=none: com4:dv=/dev/cuaa3:br#9600:pa=none: As you can see this file has not been updated to reflect the serial port baud rate of the modern modems currently on the market. These statements are configured for 9600 baud legacy modems which have not been manufactured in 10 years. The serial port baud rate is the speed that the serial port controller talks to the modem hardware. It's not the speed the modem connects to the remote modem. 2. Change all the 9600 to 115200 which is the serial port baud rate for 56K modems. ee /etc/remote # and make it look like this # Finger friendly shortcuts com1:dv=/dev/cuaa0:br#115200:pa=none: com2:dv=/dev/cuaa1:br#115200:pa=none: com3:dv=/dev/cuaa2:br#115200:pa=none: com4:dv=/dev/cuaa3:br#115200:pa=none: 3. After saving your changes you are now ready to test your modem. On the command line enter Tip comX where X is the com port your external modem is on. chooses are com1 or com2 Connected is displayed meaning 'tip' has made contact with the external modem. Type AT and then hit enter. 'AT' is the Hayes attention command. 'OK' is displayed. This means the Hayes attention command was received by the modem and issued it's normal reply of 'OK'. Your modem configuration has passed the test and is functional. 4. You now have to 'train' the modem to use 115200 as the internal default baud speed. Enter the 'AT' Hayes command 10 times, you will receive the 'OK' reply from the modem each time. This is an very important step that has an very large impact on the performance of your modems throughput, do not bypass this step. 5. Use keyboard ~ key followed by . key to exit tip command. -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Extech Sent: Monday, February 02, 2004 7:58 AM To: Peter Risdon Cc: freebsd-questions@freebsd.org Subject: Re: Rockwell Modem It also just hangs when it try to query the modem. *********** REPLY SEPARATOR *********** On 2004/02/02 at 12:55 Peter Risdon wrote: >Extech wrote: > >>Here is my plroblem in short....... >> >>I'm using a external Rockwell 56K modem on Freebsd 5.1. When starting up, >the modem is quiried by freebsd (the DT light comes on just before the >Login prompt is displayed), if I do a ps -aux it seems if the modem is up >> >>ns3# ps -aux >>root 476 0.0 1.4 1232 832 ?? I 11:26AM 0:00.03 /usr/libexec/getty >std.9600 ttyd0 >> >>but when I run cu -lttyd0 the connection just hangs >> >>ns3# cu -lttyd0 >>Connected >> >>At this point I cannot do any thing and have to cancel cu out of a >different session. >> >>I also have the following messages in /var/log/message >> >>Feb 2 11:25:52 ns3 kernel: unknown: can't assign resources >(port) >>Feb 2 11:25:52 ns3 kernel: unknown: can't assign resources >(port) >>Feb 2 11:25:52 ns3 kernel: unknown: can't assign resources >(port) >>Feb 2 11:25:52 ns3 kernel: unknown: can't assign resources >(port) >>Feb 2 11:25:52 ns3 kernel: unknown: can't assign resources >(port) >> >>I'm trying to setup the modem to use as a fax modem with Hylafax. >> >> >What does the hylafax script faxaddmodem report when it tries to set up >the modem? > >PWR. _______________________________________________ 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"