From owner-freebsd-questions@FreeBSD.ORG Tue Jun 30 06:17:40 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97C341065672 for ; Tue, 30 Jun 2009 06:17:40 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 2AFB98FC1C for ; Tue, 30 Jun 2009 06:17:39 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-195-8-131.dynamic.qsc.de [92.195.8.131]) by mx02.qsc.de (Postfix) with ESMTP id 2E2A716D80D5; Tue, 30 Jun 2009 08:17:38 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n5U6HViF001509; Tue, 30 Jun 2009 08:17:32 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 30 Jun 2009 08:17:31 +0200 From: Polytropon To: kalin m Message-Id: <20090630081731.95f90487.freebsd@edvax.de> In-Reply-To: <4A4982DB.8010909@el.net> References: <4A483CD3.9040304@el.net> <4A48E09D.3000102@beanfield.com> <4A4982DB.8010909@el.net> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Brent Bloxam , freebsd-questions@freebsd.org Subject: Re: serial modem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jun 2009 06:17:40 -0000 On Mon, 29 Jun 2009 23:13:31 -0400, kalin m wrote: > yes the entry was wrong... changed it. when i try to use tip i get > device busy. when i use cu it says connected but nothing else happens > and i don't see any prompts. it's like frozen. i can't type any AT > commands... nothing. i changed the baud rate around. all the way down to > 9600. so now the same thing happens with tip. if used tip says connected > but i can not issue any commands... You could try to leave it to ppp, just for testing purposes. Everything you need is a number you can dial. Here's an example for an /etc/ppp/ppp.conf that would do something like this: # --- ppp.conf ----------------------------------------------- default: set log Phase Chat LCP IPCP CCP tun command ident user-ppp VERSION (built COMPILATIONDATE) set device /dev/cuad0 set speed 115200 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT" set timeout 120 enable dns papchap: set phone PHONE_NUM set authname USERNAME set authkey PASSWORD add default HISADDR test: set phone 0123456789 set authname QWERTZ set authkey ASDFGH add default HISADDR # --- ppp.conf ----------------------------------------------- end --- With such a file, you can now: # ppp test ppp> dial *click dit dit dit dit... dooooo doooooo... * PPP> close *click* ppp> # In this case, you have confirmed that the serial modem works as intended. You can of course enter real data for an ISP that offers modem dial-in to get online. :-) You can find more help and examples in "man ppp". > the modem has 2 leds. one yellow and one green. according to the manual > the yellow should be blinking as follows: > > Fast Blinking (0.5 sec on/0.5 sec off) Net search/ Not > registered/Turning Off > Slow Blinking (0.3 sec on/ 2.7 sec off) Registered, Full Service > > i think i'm only seeing 'Fast Blinking'..... i wonder what 'Net search' > really means and where it's searching for it. it's connected through a > RS-232 to the serial port... > > ?!? But it IS a modem to dial tones and connect to something? "Net search"... no idea what that could mean. Serial modems usually don't search for nets... Or am I completely misunderstanding you and you're trying to find a command access to a DSL modem that has a serial line? -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...