modem an nebenstelle

Wie im titel zu sehen ist hängt das Modem an einer Nebenstelle der Telefonanlage.

Das Problem ist, das keine Verbindung zu stande kommt.
Wo ist der Fehler?

hier nun meine ppp.conf

Code:
# PPP  Sample Configuration File
# Originally written by Toshiharu OHNO
# Simplified 5/14/1999 by wself@cdrom.com
#
# See /usr/share/examples/ppp/ for some examples
#
# $FreeBSD: src/etc/ppp/ppp.conf,v 1.8 2001/06/21 15:42:26 brian Exp $
#################################################################

default:
 set log Phase Chat LCP IPCP CCP tun command
 ident user-ppp VERSION (built COMPILATIONDATE)

 # Ensure that "device" references the correct serial port
 # for your modem. (cuaa0 = COM1, cuaa1 = COM2)
 #
 set device /dev/cuaa0

 set speed 115200
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
           \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT0W\\T TIMEOUT 40 CONNECT"
 set timeout 180			# 3 minute idle timer (the default)
 enable dns				# request DNS info (for resolv.conf)

papchap:
 #
 # edit the next three lines and replace the items in caps with
 # the values which have been assigned by your ISP.
 #
arcor:
 set phone 01920782
 set authname arcor
 set authkey internet

 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 
 add default HISADDR			# Add a (sticky) default route

und hier die passende log datei

Code:
Apr 22 14:03:09 neu ppp[660]: tun0: Phase: Signal 1, terminate.
Apr 22 14:03:09 neu ppp[660]: tun0: Phase: deflink: Disconnected!
Apr 22 14:03:09 neu ppp[660]: tun0: Phase: deflink: dial -> logout
Apr 22 14:03:09 neu ppp[660]: tun0: Phase: deflink: logout -> hangup
Apr 22 14:03:09 neu ppp[660]: tun0: Phase: deflink: Disconnected!
Apr 22 14:03:09 neu ppp[660]: tun0: Phase: deflink: Connect time: 34 secs: 0 octets in, 0 octets out
Apr 22 14:03:09 neu ppp[660]: tun0: Phase: deflink: 0 packets in, 0 packets out
Apr 22 14:03:09 neu ppp[660]: tun0: Phase:  total 0 bytes/sec, peak 0 bytes/sec on Fri Apr 22 14:02:35 2005
Apr 22 14:03:09 neu ppp[660]: tun0: Phase: deflink: hangup -> closed
Apr 22 14:03:09 neu ppp[660]: tun0: Phase: bundle: Dead
Apr 22 14:03:09 neu ppp[660]: tun0: Phase: PPP Terminated (normal).
Apr 22 14:03:13 neu ppp[665]: Phase: Using interface: tun0
Apr 22 14:03:13 neu ppp[665]: Phase: deflink: Created in closed state
Apr 22 14:03:13 neu ppp[665]: tun0: Command: default: ident user-ppp VERSION (built COMPILATIONDATE)
Apr 22 14:03:13 neu ppp[665]: tun0: Command: default: set device /dev/cuaa0
Apr 22 14:03:13 neu ppp[665]: tun0: Command: default: set speed 115200
Apr 22 14:03:13 neu ppp[665]: tun0: Command: default: set dial ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5            "" AT OK-AT-OK ATE1Q0 OK \dATDT0W\T TIMEOUT 40 CONNECT
Apr 22 14:03:13 neu ppp[665]: tun0: Command: default: set timeout 180
Apr 22 14:03:13 neu ppp[665]: tun0: Command: default: enable dns
Apr 22 14:03:13 neu ppp[665]: tun0: Command: arcor: set phone 01920782
Apr 22 14:03:13 neu ppp[665]: tun0: Command: arcor: set authname arcor
Apr 22 14:03:13 neu ppp[665]: tun0: Command: arcor: set authkey ********
Apr 22 14:03:13 neu ppp[665]: tun0: Command: arcor: set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0
Apr 22 14:03:13 neu ppp[665]: tun0: Command: arcor: add default HISADDR
Apr 22 14:03:13 neu ppp[666]: tun0: Phase: PPP Started (auto mode).
Apr 22 14:03:13 neu ppp[666]: tun0: Phase: bundle: Establish
Apr 22 14:03:13 neu ppp[666]: tun0: Phase: deflink: closed -> opening
Apr 22 14:03:13 neu ppp[666]: tun0: Phase: deflink: Connected!
Apr 22 14:03:13 neu ppp[666]: tun0: Phase: deflink: opening -> dial
Apr 22 14:03:13 neu ppp[666]: tun0: Chat: Phone: 01920782
Apr 22 14:03:13 neu ppp[666]: tun0: Chat: deflink: Dial attempt 1 of 1
Apr 22 14:03:13 neu ppp[666]: tun0: Chat: Send: AT^M
Apr 22 14:03:13 neu ppp[666]: tun0: Chat: Expect(5): OK
Apr 22 14:03:13 neu ppp[666]: tun0: Chat: Received: AT^M^M
Apr 22 14:03:13 neu ppp[666]: tun0: Chat: Received: OK^M
Apr 22 14:03:13 neu ppp[666]: tun0: Chat: Send: ATE1Q0^M
Apr 22 14:03:13 neu ppp[666]: tun0: Chat: Expect(5): OK
Apr 22 14:03:13 neu ppp[666]: tun0: Chat: Received: ATE1Q0^M^M
Apr 22 14:03:13 neu ppp[666]: tun0: Chat: Received: OK^M
Apr 22 14:03:13 neu ppp[666]: tun0: Chat: Send: ATDT0W01920782^M
Apr 22 14:03:15 neu ppp[666]: tun0: Chat: Expect(40): CONNECT
Apr 22 14:03:23 neu ppp[666]: tun0: Chat: Received: ATDT0W01920782^M^M
Apr 22 14:03:23 neu ppp[666]: tun0: Chat: Received: NO DIALTONE^M
Apr 22 14:03:33 neu ppp[666]: tun0: Phase: Signal 1, terminate.
Apr 22 14:03:33 neu ppp[666]: tun0: Phase: deflink: Disconnected!
Apr 22 14:03:33 neu ppp[666]: tun0: Phase: deflink: dial -> logout
Apr 22 14:03:33 neu ppp[666]: tun0: Phase: deflink: logout -> hangup
Apr 22 14:03:33 neu ppp[666]: tun0: Phase: deflink: Disconnected!
Apr 22 14:03:33 neu ppp[666]: tun0: Phase: deflink: Connect time: 20 secs: 0 octets in, 0 octets out
Apr 22 14:03:33 neu ppp[666]: tun0: Phase: deflink: 0 packets in, 0 packets out
Apr 22 14:03:33 neu ppp[666]: tun0: Phase:  total 0 bytes/sec, peak 0 bytes/sec on Fri Apr 22 14:03:13 2005
Apr 22 14:03:33 neu ppp[666]: tun0: Phase: deflink: hangup -> closed
Apr 22 14:03:33 neu ppp[666]: tun0: Phase: bundle: Dead
Apr 22 14:03:33 neu ppp[666]: tun0: Phase: PPP Terminated (normal).
 
wahrscheinlich hier: NO DIALTONE

du musst dem modem mitteilen dass es auch ohne dialtone wählen soll, das geht mit dem at-befehl ATX0 (wo und wie genau der reinmuss kann ich allerdings jetzt nicht sagen).
 
ich würde in der ppp.conf das ATDT durch ATX3DT ersetzen (X0 ginge auch, aber da zieht es dir eiskalt die Leitung weg, wenn du zum Beispiele gerade noch telefonierst ;) )

marty
 
vielen dank für den tipp mit X3


hier ist jetzt die ppp.conf mit der ich jetzt ins internet jetzt gehen kann.

Code:
# PPP  Sample Configuration File
# Originally written by Toshiharu OHNO
# Simplified 5/14/1999 by wself@cdrom.com
#
# See /usr/share/examples/ppp/ for some examples
#
# $FreeBSD: src/etc/ppp/ppp.conf,v 1.8 2001/06/21 15:42:26 brian Exp $
##################################################  ###############

default:
 set log Phase Chat LCP IPCP CCP tun command
 ident user-ppp VERSION (built COMPILATIONDATE)

 # Ensure that "device" references the correct serial port
 # for your modem. (cuaa0 = COM1, cuaa1 = COM2)
 #
 set device /dev/cuaa0

 set speed 115200
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
           \"\" AT OK-AT-OK ATE1Q0 OK \\dAT3XDT0W\\T TIMEOUT 40 CONNECT"
 set timeout 180			# 3 minute idle timer (the default)
 enable dns				# request DNS info (for resolv.conf)

papchap:
 #
 # edit the next three lines and replace the items in caps with
 # the values which have been assigned by your ISP.
 #
arcor:
 set phone 01920782
 set authname arcor
 set authkey internet

 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 
 add default HISADDR			# Add a (sticky) default route
 
Zurück
Oben