LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 02-22-2010, 12:05 PM   #1
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
PPP: Chat script failed (FreeBSD 8.0)


This is my /etc/ppp/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.11.2.1.2.1 2009/10/25 01:10:29 kensmith Exp $
#################################################################

default:
 set log Phase Chat LCP IPCP CCP tun command +connect
 ident user-ppp VERSION (built COMPILATIONDATE)
n24:
 # Ensure that "device" references the correct serial port
 # for your modem. (cuau0 = COM1, cuau1 = COM2)
 #
 set device /dev/cuaU0.1
 set speed 460800
 set phone *99***1\#
 set authname me
 set authkey "my password"
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
           \"\" \
	AT OK-AT-OK \
	AT+CFUN=1 OK-AT-OK \
	AT+CSQ OK \
	AT+CGDCONT=1,\\\"IP\\\",\\\"internet.mobilcom\\\" OK \
	AT+CGACT? OK-AT-OK \
	AT+CGATT? OK \
	AT+COPS? OK \
	ATD*99***1\# CONNECT \
#	ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
 set timeout 180			# 3 minute idle timer (the default)
 enable dns				# request DNS info (for resolv.conf)
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
 set vj slotcomp off
 set crtscts on
 add default HISADDR			# Add a (sticky) default route
After typing "ppp n24" I get these messages in /var/log/ppp.log:
Code:
Feb 10 12:15:27  ppp[992]: Phase: Using interface: tun0
Feb 10 12:15:27  ppp[992]: Phase: deflink: Created in closed state
Feb 10 12:15:27  ppp[992]: tun0: Command: default: ident user-ppp VERSION (built COMPILATIONDATE)
Feb 10 12:15:27  ppp[992]: tun0: Command: n24: set device /dev/cuaU0.0
Feb 10 12:15:27  ppp[992]: tun0: Command: n24: set speed 460800
Feb 10 12:15:27  ppp[992]: tun0: Command: n24: set phone *99***1#
Feb 10 12:15:27  ppp[992]: tun0: Command: n24: set authname surfO2
Feb 10 12:15:27  ppp[992]: tun0: Command: n24: set authkey ********
Feb 10 12:15:27  ppp[992]: tun0: Command: n24: set dial ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5            "" 	AT OK-AT-OK 	AT+CFUN=1 OK-AT-OK 	AT+CSQ OK 	AT+CGDCONT=1,\"IP\",\"internet.mobilcom\" OK 	AT+CGACT? OK-AT-OK 	AT+CGATT? OK 	AT+COPS? OK 	ATD*99***1# CONNECT #	ATE1Q0 OK \dATDT\T TIMEOUT 40 CONNECT
Feb 10 12:15:27  ppp[992]: tun0: Command: n24: set timeout 180
Feb 10 12:15:27  ppp[992]: tun0: Command: n24: enable dns
Feb 10 12:15:27  ppp[992]: tun0: Command: n24: set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
Feb 10 12:15:27  ppp[992]: tun0: Command: n24: set crtscts on
Feb 10 12:15:27  ppp[992]: tun0: Command: n24: add default HISADDR
Feb 10 12:15:27  ppp[992]: tun0: Phase: PPP Started (interactive mode).
Feb 10 12:15:31  ppp[992]: tun0: Command: /dev/ttyv2: dial
Feb 10 12:15:31  ppp[992]: tun0: Phase: bundle: Establish
Feb 10 12:15:31  ppp[992]: tun0: Phase: deflink: closed -> opening
Feb 10 12:15:31  ppp[992]: tun0: Phase: deflink: Connected!
Feb 10 12:15:31  ppp[992]: tun0: Phase: deflink: opening -> dial
Feb 10 12:15:31  ppp[992]: tun0: Chat: Phone: *99***1#
Feb 10 12:15:31  ppp[992]: tun0: Chat: deflink: Dial attempt 1 of 1
Feb 10 12:15:31  ppp[992]: tun0: Chat: Send: AT^M
Feb 10 12:15:31  ppp[992]: tun0: Chat: Expect(5): OK
Feb 10 12:15:36  ppp[992]: tun0: Chat: Expect timeout
Feb 10 12:15:36  ppp[992]: tun0: Chat: Send: AT^M
Feb 10 12:15:36  ppp[992]: tun0: Chat: Expect(5): OK
Feb 10 12:15:41  ppp[992]: tun0: Chat: Expect timeout
Feb 10 12:15:41  ppp[992]: tun0: Warning: Chat script failed
Feb 10 12:15:41  ppp[992]: tun0: Phase: deflink: dial -> hangup
Feb 10 12:15:41  ppp[992]: tun0: Phase: deflink: Disconnected!
Feb 10 12:15:41  ppp[992]: tun0: Phase: deflink: Connect time: 10 secs: 0 octets in, 0 octets out
Feb 10 12:15:41  ppp[992]: tun0: Phase: deflink: 0 packets in, 0 packets out
Feb 10 12:15:41  ppp[992]: tun0: Phase:  total 0 bytes/sec, peak 0 bytes/sec on Wed Feb 10 12:15:31 2010
Feb 10 12:15:41  ppp[992]: tun0: Phase: deflink: hangup -> closed
Feb 10 12:15:41  ppp[992]: tun0: Phase: bundle: Dead
Feb 10 12:15:53  ppp[992]: tun0: Command: /dev/ttyv2: quit
Feb 10 12:15:53  ppp[992]: tun0: Phase: PPP Terminated (normal).
Can anybody explain what goes wrong here?
 
Old 02-22-2010, 04:01 PM   #2
David1357
Senior Member
 
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,302
Blog Entries: 1

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by JZL240I-U View Post
This is my /etc/ppp/ppp.conf:
Code:
	ATD*99***1\# CONNECT \
Try removing the trailing "\" there or even the entire string "\# CONNECT \".
 
Old 02-24-2010, 02:31 AM   #3
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by David1357 View Post
Try removing the trailing "\" there or even the entire string "\# CONNECT \".
Removing only the trailing "\" gives an error (as I understand it, the "\" only masks the <CR> at the end of the line). The same happens, when I execute your second suggestion.

Removing "# CONNECT \" (while keeping the trailing "\") lets ppp run but I still get the complaint of "Warning: Chat Script failed".
 
Old 02-24-2010, 09:12 AM   #4
David1357
Senior Member
 
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,302
Blog Entries: 1

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by JZL240I-U View Post
Code:
	ATD*99***1\# CONNECT \
#	ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
Can anybody explain what goes wrong here?
It looks like you are missing the closing double quote due to the last line of "set dial" being commented out. Try putting the closing double quote at the end the problematic line.
 
Old 02-26-2010, 03:29 AM   #5
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Original Poster
Rep: Reputation: Disabled
Yeah. That did it, thanks.

Still, the link doesn't do its magic. Here is the log:
Code:
Feb 25 20:57:27  ppp[1242]: Phase: Using interface: tun0
Feb 25 20:57:27  ppp[1242]: Phase: deflink: Created in closed state
Feb 25 20:57:27  ppp[1242]: tun0: Command: default: ident user-ppp VERSION (built COMPILATIONDATE)
Feb 25 20:57:27  ppp[1242]: tun0: Command: n24: set device /dev/cuaU0.2
Feb 25 20:57:27  ppp[1242]: tun0: Command: n24: set speed 460800
Feb 25 20:57:27  ppp[1242]: tun0: Command: n24: set phone *99***1#
Feb 25 20:57:27  ppp[1242]: tun0: Command: n24: set authname surfO2
Feb 25 20:57:27  ppp[1242]: tun0: Command: n24: set authkey ********
Feb 25 20:57:27  ppp[1242]: tun0: Command: n24: set dial ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5            "" 	AT OK-AT-OK 	AT+CFUN=1 OK-AT-OK 	AT+CSQ OK 	AT+CGDCONT=1,\"IP\",\"internet.mobilcom\" OK 	AT+CGACT? OK-AT-OK 	AT+CGATT? OK 	AT+COPS? OK 	ATD*99***1
Feb 25 20:57:27  ppp[1242]: tun0: Command: n24: set timeout 180
Feb 25 20:57:27  ppp[1242]: tun0: Command: n24: enable dns
Feb 25 20:57:27  ppp[1242]: tun0: Command: n24: set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
Feb 25 20:57:27  ppp[1242]: tun0: Command: n24: set crtscts on
Feb 25 20:57:27  ppp[1242]: tun0: Command: n24: add default HISADDR
Feb 25 20:57:27  ppp[1242]: tun0: Phase: PPP Started (interactive mode).
…
Feb 25 21:01:36  ppp[1242]: tun0: Command: /dev/ttyv2: dial
Feb 25 21:01:36  ppp[1242]: tun0: Phase: bundle: Establish
Feb 25 21:01:36  ppp[1242]: tun0: Phase: deflink: closed -> opening
Feb 25 21:01:36  ppp[1242]: tun0: Phase: deflink: Connected!
Feb 25 21:01:36  ppp[1242]: tun0: Phase: deflink: opening -> dial
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Phone: *99***1#
Feb 25 21:01:36  ppp[1242]: tun0: Chat: deflink: Dial attempt 1 of 1
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Send: AT^M
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Expect(5): OK
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Received: 
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Received: 
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Received: ^BOOT:24641851,0,0,0,25
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Received: 
Feb 25 21:01:36  last message repeated 2 times
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Received: ^BOOT:24641851,0,0,0,25
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Received: 
Feb 25 21:01:36  last message repeated 2 times
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Received: ^BOOT:24641851,0,0,0,25
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Received: 
Feb 25 21:01:36  last message repeated 2 times
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Received: ^BOOT:24641851,0,0,0,25
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Received: 
Feb 25 21:01:36  last message repeated 2 times
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Received: ^BOOT:24641851,0,0,0,25
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Received: 
Feb 25 21:01:36  last message repeated 2 times
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Received: ^BOOT:24641851,0,0,0,25
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Received: 
Feb 25 21:01:36  last message repeated 2 times
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Received: ^BOOT:24641851,0,0,0,25
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Received: 
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Received: AT^M^M
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Received: OK^M
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Send: AT+CFUN=1^M
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Expect(5): OK
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Received: AT+CFUN=1^M^M
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Received: OK^M
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Send: AT+CSQ^M
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Expect(5): OK
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Received: AT+CSQ^M^M
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Received: +CSQ: 10,99^M
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Received: ^M
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Received: OK^M
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Send: AT+CGDCONT=1,"IP","internet.mobilcom"^M
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Expect(5): OK
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Received: AT+CGDCONT=1,"IP","internet.mobilcom"^M^M
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Received: OK^M
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Send: AT+CGACT?^M
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Expect(5): OK
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Received: AT+CGACT?^M^M
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Received: +CGACT: 1,0^M
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Received: ^M
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Received: OK^M
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Send: AT+CGATT?^M
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Expect(5): OK
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Received: AT+CGATT?^M^M
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Received: +CGATT: 1^M
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Received: ^M
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Received: OK^M
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Send: AT+COPS?^M
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Expect(5): OK
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Received: AT+COPS?^M^M
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Received: +COPS: 0,2,"26207",2^M
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Received: ^M
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Received: OK^M
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Send: ATD*99***1^M
Feb 25 21:01:36  ppp[1242]: tun0: Phase: deflink: dial -> carrier
Feb 25 21:01:37  ppp[1242]: tun0: Phase: deflink: /dev/cuaU0.2 doesn't support CD
Feb 25 21:01:37  ppp[1242]: tun0: Phase: deflink: carrier -> login
Feb 25 21:01:37  ppp[1242]: tun0: Phase: deflink: login -> lcp
Feb 25 21:01:37  ppp[1242]: tun0: LCP: FSM: Using "deflink" as a transport
Feb 25 21:01:37  ppp[1242]: tun0: LCP: deflink: State change Initial --> Closed
Feb 25 21:01:37  ppp[1242]: tun0: LCP: deflink: State change Closed --> Stopped
Feb 25 21:01:38  ppp[1242]: tun0: LCP: deflink: LayerStart
Feb 25 21:01:38  ppp[1242]: tun0: LCP: deflink: SendConfigReq(1) state = Stopped
Feb 25 21:01:38  ppp[1242]: tun0: LCP:  ACFCOMP[2]
Feb 25 21:01:38  ppp[1242]: tun0: LCP:  PROTOCOMP[2]
Feb 25 21:01:38  ppp[1242]: tun0: LCP:  ACCMAP[6] 0x00000000
Feb 25 21:01:38  ppp[1242]: tun0: LCP:  MRU[4] 1500
Feb 25 21:01:38  ppp[1242]: tun0: LCP:  MAGICNUM[6] 0x7cec9ba7
Feb 25 21:01:38  ppp[1242]: tun0: LCP: deflink: State change Stopped --> Req-Sent
Feb 25 21:01:41  ppp[1242]: tun0: LCP: deflink: SendConfigReq(1) state = Req-Sent
Feb 25 21:01:41  ppp[1242]: tun0: LCP:  ACFCOMP[2]
Feb 25 21:01:41  ppp[1242]: tun0: LCP:  PROTOCOMP[2]
Feb 25 21:01:41  ppp[1242]: tun0: LCP:  ACCMAP[6] 0x00000000
Feb 25 21:01:41  ppp[1242]: tun0: LCP:  MRU[4] 1500
Feb 25 21:01:41  ppp[1242]: tun0: LCP:  MAGICNUM[6] 0x7cec9ba7
Feb 25 21:01:42  ppp[1242]: tun0: Command: /dev/ttyv2: quit
Feb 25 21:01:42  ppp[1242]: tun0: LCP: deflink: SendTerminateReq(1) state = Req-Sent
Feb 25 21:01:42  ppp[1242]: tun0: LCP: deflink: State change Req-Sent --> Closing
Feb 25 21:01:45  ppp[1242]: tun0: LCP: deflink: SendTerminateReq(1) state = Closing
Feb 25 21:01:54  last message repeated 3 times
Feb 25 21:01:56  ppp[1242]: tun0: Phase: Caught signal 2, abort connection(s)
Feb 25 21:01:56  ppp[1242]: tun0: LCP: deflink: LayerFinish
Feb 25 21:01:56  ppp[1242]: tun0: LCP: deflink: State change Closing --> Initial
Feb 25 21:01:56  ppp[1242]: tun0: Phase: deflink: Disconnected!
Feb 25 21:01:56  ppp[1242]: tun0: Phase: deflink: lcp -> logout
Feb 25 21:01:56  ppp[1242]: tun0: Phase: deflink: Disconnected!
Feb 25 21:01:56  ppp[1242]: tun0: Phase: deflink: logout -> hangup
Feb 25 21:01:56  ppp[1242]: tun0: Phase: deflink: Connect time: 20 secs: 74 octets in, 189 octets out
Feb 25 21:01:56  ppp[1242]: tun0: Phase: deflink: 10 packets in, 12 packets out
Feb 25 21:01:56  ppp[1242]: tun0: Phase:  total 13 bytes/sec, peak 38 bytes/sec on Thu Feb 25 21:01:42 2010
Feb 25 21:01:56  ppp[1242]: tun0: Phase: deflink: hangup -> closed
Feb 25 21:01:56  ppp[1242]: tun0: Phase: bundle: Dead
Feb 25 21:01:56  ppp[1242]: tun0: Phase: PPP Terminated (normal).
Can you see anything? Why can't I connect to the net yet?

Last edited by JZL240I-U; 02-26-2010 at 03:31 AM.
 
Old 02-26-2010, 08:57 AM   #6
David1357
Senior Member
 
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,302
Blog Entries: 1

Rep: Reputation: 107Reputation: 107
It looks like you receive an unexpected response here.
Quote:
Originally Posted by JZL240I-U View Post
Code:
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Phone: *99***1#
Feb 25 21:01:36  ppp[1242]: tun0: Chat: deflink: Dial attempt 1 of 1
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Send: AT^M
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Expect(5): OK
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Received: 
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Received: 
Feb 25 21:01:36  ppp[1242]: tun0: Chat: Received: ^BOOT:24641851,0,0,0,25
Later, it looks like a "quit" request is sent, but I don't know why.
Quote:
Originally Posted by JZL240I-U View Post
Code:
Feb 25 21:01:38  ppp[1242]: tun0: LCP: deflink: LayerStart
Feb 25 21:01:38  ppp[1242]: tun0: LCP: deflink: SendConfigReq(1) state = Stopped
Feb 25 21:01:38  ppp[1242]: tun0: LCP:  ACFCOMP[2]
Feb 25 21:01:38  ppp[1242]: tun0: LCP:  PROTOCOMP[2]
Feb 25 21:01:38  ppp[1242]: tun0: LCP:  ACCMAP[6] 0x00000000
Feb 25 21:01:38  ppp[1242]: tun0: LCP:  MRU[4] 1500
Feb 25 21:01:38  ppp[1242]: tun0: LCP:  MAGICNUM[6] 0x7cec9ba7
Feb 25 21:01:38  ppp[1242]: tun0: LCP: deflink: State change Stopped --> Req-Sent
Feb 25 21:01:41  ppp[1242]: tun0: LCP: deflink: SendConfigReq(1) state = Req-Sent
Feb 25 21:01:41  ppp[1242]: tun0: LCP:  ACFCOMP[2]
Feb 25 21:01:41  ppp[1242]: tun0: LCP:  PROTOCOMP[2]
Feb 25 21:01:41  ppp[1242]: tun0: LCP:  ACCMAP[6] 0x00000000
Feb 25 21:01:41  ppp[1242]: tun0: LCP:  MRU[4] 1500
Feb 25 21:01:41  ppp[1242]: tun0: LCP:  MAGICNUM[6] 0x7cec9ba7
Feb 25 21:01:42  ppp[1242]: tun0: Command: /dev/ttyv2: quit
Feb 25 21:01:42  ppp[1242]: tun0: LCP: deflink: SendTerminateReq(1) state = Req-Sent
Feb 25 21:01:42  ppp[1242]: tun0: LCP: deflink: State change Req-Sent --> Closing
Feb 25 21:01:45  ppp[1242]: tun0: LCP: deflink: SendTerminateReq(1) state = Closing
 
Old 03-01-2010, 01:47 AM   #7
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by David1357 View Post
It looks like you receive an unexpected response here.
Indeed. That comes from the blasted stick. When you look at the preceeding output you'll notice that a bunch of those signals(?) came right after starting dialing. Normally ppp simply ignores this (as far as I can tell).

It has the same quirk under linux as well, but there I can at least connect.

Quote:
Originally Posted by David1357 View Post
Later, it looks like a "quit" request is sent, but I don't know why.
That was me at the terminal. When nothing happened anymore I quit ppp.
 
Old 03-01-2010, 02:50 PM   #8
David1357
Senior Member
 
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,302
Blog Entries: 1

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by JZL240I-U View Post
It has the same quirk under linux as well, but there I can at least connect.
Can you post the log you get when you connect on Linux?
 
Old 03-02-2010, 02:18 AM   #9
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Original Poster
Rep: Reputation: Disabled
Will do when I'm back in town (please hold the line ).
 
Old 03-26-2010, 03:39 AM   #10
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Original Poster
Rep: Reputation: Disabled
Back at last (for one day only ).

What log would that be? I assumed the same log structure as in FreeBSD (/var/log/ppp.log) but that doesn't exist. What would you need?
 
Old 03-29-2010, 01:12 PM   #11
David1357
Senior Member
 
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,302
Blog Entries: 1

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by JZL240I-U View Post
What log would that be? I assumed the same log structure as in FreeBSD (/var/log/ppp.log) but that doesn't exist. What would you need?
You may have to start the PPP daemon with a special switch (my man pages mention a "logfile" option) to get it to send debug output to "/var/log/pppd.log".
 
Old 04-01-2010, 05:02 AM   #12
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Original Poster
Rep: Reputation: Disabled
This gets started by smpppd on SuSE systems. The *BSD ppp.conf where I could switch on logging doesn't exist *grrr*. I'll do further digging and will come back after the easter holidays.
 
Old 04-08-2010, 09:00 AM   #13
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Original Poster
Rep: Reputation: Disabled
I found something called pppdArguments:
Code:
pppdArguments=  
[Account0] 
AccountingEnabled=0 
AccountingFile= Authentication=3 
AutoDNS=0 
AutoName=0 
BeforeConnect= 
BeforeDisconnect= 
CallbackPhone= 
CallbackType=0 
Command= 
DNS=208.67.222.222,208.67.220.220 
DefaultRoute=1 
DisconnectCommand= 
Domain= 
ExDNSDisabled=1 
Gateway=10.64.64.64 
IPAddr=0.0.0.0 
Name=BASE 
Password=gprs 
Phonenumber=*99# 
ScriptArguments= 
ScriptCommands= 
StorePassword=1 
SubnetMask=0.0.0.0 
Username=eplus 
VolumeAccountingEnabled=0 
pppdArguments=noccp,nobsdcomp,3774000 
 
[General] 
AutomaticRedial=1 
DefaultAccount=BASE 
DefaultModem=Huawei-E22 
DockIntoPanel=1 
NumberOfAccounts=1 
NumberOfModems=1 
PPPDebug=0 
QuitOnDisconnect=0 
ShowLogWindow=0 
pppdTimeout=54 
 
[Graph] 
Background=255,255,255 
Enabled=true 
InBytes=0,0,255 
OutBytes=255,0,0 
Text=0,0,0 
 
[Modem0] 
AnswerResponse=CONNECT 
AnswerString=ATA 
BusyResponse=BUSY 
BusyWait=0 
ConnectResponse=CONNECT 
DLPResponse=DIGITAL LINE DETECTED 
Device=/dev/ttyUSB0 
DialString=ATDT 
Enter=CR 
EscapeGuardTime=50 
EscapeResponse=OK 
EscapeString=+++ 
FlowControl=Hardware [CRTSCTS] 
HangUpResponse=OK 
HangupString=+++ATH 
InitDelay=50 
InitResponse=OK 
InitString=ATZ 
InitString1=AT+cgdcont=1,"IP","internet.eplus.de" 
Name=Huawei-E22 
NoCarrierResponse=NO CARRIER 
NoDialToneDetection=ATX3 
NoDialToneResp=NO DIALTONE 
PreInitDelay=50 
RingResponse=RING 
Speed=921600 
Timeout=60 
ToneDuration=70 
UseLockFile=1 
Volume=0 
VolumeHigh=M1L3 
VolumeMedium=M1L1 
VolumeOff=M0L0 
WaitForDialTone=0 
 
[WindowPosition] 
WindowPositionConWinX=548 
WindowPositionConWinY=541 
WindowPositionStatWinX=542 
WindowPositionStatWinY=493
That of any help?

Last edited by JZL240I-U; 04-08-2010 at 09:05 AM.
 
Old 04-08-2010, 09:07 AM   #14
David1357
Senior Member
 
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,302
Blog Entries: 1

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by JZL240I-U View Post
This gets started by smpppd on SuSE systems.
I think you will have to look at the documentation for smpppd. A quick google search produced this link.
 
Old 04-16-2010, 04:33 AM   #15
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Original Poster
Rep: Reputation: Disabled
Thanks, the second "german" link was quite usable but indepently I found this: Yesterday in the very late evening I stumbled upon /etc/ppp/options. I activated there "debug" the output of which will be written to /var/log/messages. As soon as I have run a session with a connection I'll post the results here.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Connect script failed on ppp-go iqbala Linux - Newbie 39 11-15-2007 02:58 PM
ppp chat script failed Hacker X Linux - General 31 07-05-2006 10:03 PM
unautomate PPP chat script dosnlinux Linux - Newbie 3 08-03-2005 01:24 PM
problems with ppp and chat.... slack---line Linux - Networking 3 05-27-2004 10:10 AM
chat ppp jimjim Linux - Networking 5 09-26-2002 11:05 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 12:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration