From owner-freebsd-questions@FreeBSD.ORG Wed Dec 21 17:16:47 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 C3CFB16A41F for ; Wed, 21 Dec 2005 17:16:47 +0000 (GMT) (envelope-from fbsd_user@a1poweruser.com) Received: from mta11.adelphia.net (mta11.adelphia.net [68.168.78.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id C4A4443D62 for ; Wed, 21 Dec 2005 17:16:46 +0000 (GMT) (envelope-from fbsd_user@a1poweruser.com) Received: from barbish ([69.172.31.117]) by mta11.adelphia.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with SMTP id <20051221171645.FCOH5278.mta11.adelphia.net@barbish>; Wed, 21 Dec 2005 12:16:45 -0500 From: "fbsd_user" To: "Yavuz Maslak" , Date: Wed, 21 Dec 2005 12:16:40 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" 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) Importance: Normal In-Reply-To: <17f301c60648$2e08abd0$dc96eed5@ihlasnetym> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Cc: Subject: RE: I could not dial with modem on FreeBSD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 21 Dec 2005 17:16:47 -0000 Internal modems are manufactured for two target markets, MS/Windows and every thing else. Winmodems are cheep because the hardware controller function is handled by the software you have to install into windows. This hardware controller function is contained in a chip on the modem circuit board. Winmodems are missing this chip and have a replacement chip that directs the modem to use driver software running in the windows system to perform the controller function. The most common replacement chip is manufactured by Lucent. There are many versions of this Lucent chip each version needing a different software driver version. Up until version 4.4, FBSD did not have any solution to using Winmodems, but with the release of 4.4 the ports collection contains the "Linux Winmodem 'ltmdm' driver" which was ported to FBSD. This port is very poorly documented, only works with a limited number of Lucent chip version, and is unreliable. Your whole internet connection is managed by your modem and trying to shoe horn a modem specially manufactured for the MS/Windows operating system into FBSD is not the way to achieve a satisfactory dialup connection. To summarize. For best results you should use an external serial modem for connecting your FBSD box to the internet. This method works using the default generic kernel, creates no irq conflicts with the motherboard bios, and will work right out of the box so to say. All serial modems use the PC's serial ports' controller built into the motherboard. This has been the standard since PCs first came out If you want to use a internal modem in FBSD, you have to get one that has an onboard controller, preferable one that uses the PCI bus and has onboard jumpers to select irq number and com port setting. Even under Windows it's better to use a modem that has a hardware controller. These cost around $100.00. I recommend the Zoom model 3049L external modem, works right out of the box. How to determine if FBSD found my modem at boot time? The Boot log /var/run/boot.log is where you find out if FBSD found your modem. If you are using a external serial modem, then in the boot log you would see some messages about sio0 and sio1 having there irq number assigned, these are your PCs com port 1 and 2. For ISA and PCI modems, If you see PCI device unknown, this means FBSD found your modem during the probe process but could not match it to known devices in it's device table. This generally means your modem is a winmodem. If FBSD knows your modem it will replace the (unknown) keyword with the description of your modem. This does not mean you will have a working modem, it just means FBSD found it during the probe and has it listed in it's internal table. This is where you have to check out the irq number assigned by the PCs bios. During the PC hardware boot process the Bios summary screen should be displayed. You have to check this display to verify that your modem is not sharing it's bios assigned irq number with another device. Some times turning off the bio's plug-n-play option will allow you to assign irq numbers to devices. Setup bios have different options depending on the motherboard manufacture. Best advice is to play a round with bio setting until the summary screen shows the Nic and modem cards are not sharing irq's with other devices. They have to have exclusive use of the assigned irq number. The final test is to use the tip program to talk directly to the modem. Enter tip com1 or com2 to connect to the external serial modem, or tip com3 or com4 to connect to internal ISA or PCI modems. If the tip command responds with the connected message then your modem is functioning correctly. Try entering the Hayes at command, the modem should answer with ok. Use ~ followed by ctrl + d keys at same time to exit tip command. -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Yavuz Maslak Sent: Wednesday, December 21, 2005 11:04 AM To: freebsd-questions@freebsd.org Subject: I could not dial with modem on FreeBSD? Hello I have a internal modem which runs on windows. I add it on FreeBSD machine to dial an isp phone. But I haven't had the modem run on FreeBSD5.3. My kernel is GENERIC kernel. Here is my /etc/ppp/ppp.conf as below; default: set log Phase Chat LCP IPCP CCP tun command set device /dev/cuaa2 dial: set phone "0123456789" set redial 3.3 100 set reconnect 3 100 set authname *********** set authkey *********** set timeout 1800 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 delete ALL add default HISADDR enable dns Also I don't know that the machine recognize it or not And I don't know that which Com(1,2,3,4) port the modem uses. I didn't see in dmesg or ppp.log. When I put term after ppp command on the screen.I got error as below; Warning: deflink: /dev/cuaa2: Bad file descriptor Failed to open /dev/cuaa2 in ppp.conf I tried other cuaa(s) like cuaa1 What shall I do ? How can I install this modem on FreeBSD5.3 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"