Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Jul 1997 21:54:35 -0700
From:      "Mike O'Brien" <obrien@rush.aero.org>
To:        freebsd-questions@freebsd.org
Subject:   Serious problems with iijppp demand dial
Message-ID:  <199707050454.VAA14695@anpiel.aero.org>

Next in thread | Raw E-Mail | Index | Archive | Help
	I gather that I'm not the only one to have trouble with
iijppp, but this one's a pip.

	Basically, the problem is that I can do an "automatic dial",
like the "simplesite" example, but demand dialing as with "pmdemand"
does not work.  The symptom is that the negotiations seem to complete
successfully, all the way to the "OsLinkup" stage according to
the log file, but the ppp daemon then hangs forever, apparently
in a 'select'.  No packets seem to be passed.  The modem connection
stays up with no traffic.  However connecting to the same ISP using
"automatic dialing" (i.e. semi-manual mode, where I type in the
"add 0 0 HISADDR" afterward by hand) does work just fine, and the
log looks basically the same.

	Here is the banner from the system:

FreeBSD 2.2.1-RELEASE (CAERN) #0: Mon Jun 30 19:40:37 PDT 1997


	Here are two configurations I've tried:

pmdemand:
 set debug 0 1 2 3
 set phone nnnnnnn
 set login "TIMEOUT 5 ogin:-\\r-ogin: UWish word: GoodLuck"
 set timeout 1200
 disable lqr
 deny lqr
 set ifaddr 207.199.11.70 192.215.247.250
 add 0 255.255.255.0 192.215.247.250
# set openmode active

The second was similar to the first, but in an attempt to make
the negotiation a little looser, I nailed things down less severely.
It was identical to the first, but the "ifaddr" line was:

 set ifaddr 207.199.11.0/0 192.215.247.250/24

Same symptoms.  Here is the log file for that session:

07-04 21:41:40 [449] Listening at 3000.
07-04 21:41:40 [449] PPP Started.
07-04 21:41:44 [449] Dial attempt 1
07-04 21:41:44 [449] Expecting
07-04 21:41:44 [449] sending: ATE1Q0^M
07-04 21:41:44 [449] Expecting OK-AT-OK
07-04 21:41:44 [449] Wait for (5): OK --> OK
07-04 21:41:44 [449] Phone: nnnnnnn
07-04 21:41:44 [449] sending: ATDTnnnnnnn^M
07-04 21:41:44 [449] Expecting CONNECT
07-04 21:41:44 [449] Wait for (40): CONNECT --> CONNECT
07-04 21:42:00 [449] Expecting ogin:-\r-ogin:
07-04 21:42:00 [449] Wait for (5): ogin: --> ogin:
07-04 21:42:02 [449] sending: UWish^M
07-04 21:42:02 [449] Expecting word:
07-04 21:42:02 [449] Wait for (5): word: --> word:
07-04 21:42:02 [449] sending: GoodLuck^M
07-04 21:42:02 [449] *Connected!
07-04 21:42:02 [449] LCP: state change Initial --> Closed
07-04 21:42:02 [449] LCP: state change Closed --> Stopped
07-04 21:42:03 [449] LCP: Received Configure Request (1) state = Stopped (3)
07-04 21:42:03 [449]  ACCMAP 00000000
07-04 21:42:03 [449]  MAGICNUM bb51b4d4
07-04 21:42:03 [449]  PROTOCOMP
07-04 21:42:03 [449]  ACFCOMP
07-04 21:42:03 [449] LCP: SendConfigReq
07-04 21:42:03 [449]  ACFCOMP
07-04 21:42:03 [449]  PROTOCOMP
07-04 21:42:03 [449]  ACCMAP [6] 00000000
07-04 21:42:03 [449]  MRU [4] 1500
07-04 21:42:03 [449]  MAGICNUM [6] 6d703c8e
07-04 21:42:03 [449] LCP:  SendConfigAck(Stopped)
07-04 21:42:03 [449]  ACCMAP 00000000
07-04 21:42:03 [449]  MAGICNUM bb51b4d4
07-04 21:42:03 [449]  PROTOCOMP
07-04 21:42:03 [449]  ACFCOMP
07-04 21:42:03 [449] LCP: state change Stopped --> Ack-Sent
07-04 21:42:03 [449] LCP: Received Configure Ack (1) state = Ack-Sent (8)
07-04 21:42:03 [449] LCP: state change Ack-Sent --> Opend
07-04 21:42:03 [449] LCP: LayerUp
07-04 21:42:03 [449] Phase: Authenticate
07-04 21:42:03 [449] Phase: Network
07-04 21:42:03 [449] IPCP: state change Initial --> Closed
07-04 21:42:03 [449] IPCP Up event!!
07-04 21:42:03 [449] IPCP: SendConfigReq
07-04 21:42:03 [449]  IPADDR [6] 207.199.11.0
07-04 21:42:03 [449]  COMPPROTO [6] 002d0f00
07-04 21:42:03 [449] IPCP: state change Closed --> Req-Sent
07-04 21:42:03 [449] CCP: state change Initial --> Closed
07-04 21:42:03 [449] CCP Up event!!
07-04 21:42:03 [449] CCP: SendConfigReq
07-04 21:42:03 [449] CCP: state change Closed --> Req-Sent
07-04 21:42:03 [449] LQM method = 2
07-04 21:42:03 [449] LQR is not activated.
07-04 21:42:03 [449] IPCP: Received Configure Request (1) state = Req-Sent (6)
07-04 21:42:03 [449]  COMPPROTO[6]  002d0f00
07-04 21:42:03 [449]  IPADDR[6]  192.215.247.250
07-04 21:42:03 [449] IPCP:  SendConfigAck(Req-Sent)
07-04 21:42:03 [449]  COMPPROTO[6]  002d0f00
07-04 21:42:03 [449]  IPADDR[6]  192.215.247.250
07-04 21:42:03 [449] IPCP: state change Req-Sent --> Ack-Sent
07-04 21:42:03 [449] IPCP: Received Configure Nak (1) state = Ack-Sent (8)
07-04 21:42:03 [449]  IPADDR[6]  207.199.11.70
07-04 21:42:03 [449]  IPADDR[6]  changing address: 207.199.11.0  --> 207.199.11.70
07-04 21:42:03 [449] IPCP: SendConfigReq
07-04 21:42:03 [449]  IPADDR [6] 207.199.11.70
07-04 21:42:03 [449]  COMPPROTO [6] 002d0f00
07-04 21:42:03 [449] LCP: Received Protocol Reject (5) state = Opend (9)
07-04 21:42:03 [449] -- Protocol (80fd) was rejected.
07-04 21:42:03 [449] CCP: LayerFinish.
07-04 21:42:03 [449] CCP: state change Req-Sent --> Stopped
07-04 21:42:03 [449] IPCP: Received Configure Ack (2) state = Ack-Sent (8)
07-04 21:42:03 [449] IPCP: state change Ack-Sent --> Opend
07-04 21:42:03 [449] IPCP: LayerUp.
07-04 21:42:03 [449]  myaddr = 207.199.11.70  hisaddr = 192.215.247.250
07-04 21:42:03 [449] OsLinkup: 192.215.247.250


Here is my system configuration file:

#
# CAERN -- Pentium machine with AHA family disk
#

machine         "i386"
#cpu            "I386_CPU"
#cpu            "I486_CPU"
cpu             "I586_CPU"
ident           CAERN
maxusers        10

options         MATH_EMULATE            #Support for x87 emulation
options         INET                    #InterNETworking
options         FFS                     #Berkeley Fast Filesystem
options         NFS                     #Network Filesystem
options         MSDOSFS                 #MSDOS Filesystem
options         "CD9660"                #ISO 9660 Filesystem
options         PROCFS                  #Process filesystem
options         "COMPAT_43"             #Compatible with BSD 4.3
options         UCONSOLE                #Allow users to grab the console
options         FAILSAFE                #Be conservative
options         SYSVSHM                 #System V shared memory
options         SYSVSEM                 #System V semaphores
options         SYSVMSG                 #System V messages
options         "MD5"
options         KTRACE                  #kernel tracing
options         "FAT_CURSOR"            #block cursor in syscons or pccons
options         "SCSI_DELAY=15"         #Be pessimistic about Joe SCSI device
options         "NCONS=4"               #4 virtual consoles
options         BOUNCE_BUFFERS          #include support for DMA bounce buffers
#options                IPFIREWALL              #IP Firewall
options         MROUTING                #multicast routing with mrouted(8)
options         "AUTO_EOI_1"            #enable automatic EOI for int ctlr
#options                "TUNE_1542"             #tune ISA bus speed for AHA1542
options         PERFMON
options         USERCONFIG              #boot -c editor
#options                USERCONFIG_BOOT         #imply -c and parse info area
options         VISUAL_USERCONFIG       #visual boot -c editor

config          kernel  root on sd0

controller      isa0
controller      pci0
controller      fdc0    at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk            fd0     at fdc0 drive 0
disk            fd1     at fdc0 drive 1
tape            ft0     at fdc0 drive 2

controller      aha0    at isa? port 0x334 bio irq ? drq 5 vector ahaintr
controller      scbus0

device          sd0
device          sd1
device          sd2
device          sd3

device          st0
device          st1

#device         ch0             #SCSI device changer

device          cd0     #Only need one of these, the code dynamically grows

device          mse0    at isa? port 0x23c tty irq 9 vector mseintr

device          sc0     at isa? port "IO_KBD" tty irq 1 vector scintr
device          npx0    at isa? port "IO_NPX" irq 13 vector npxintr

device          sio0    at isa? port "IO_COM1" tty irq 4 vector siointr
device          sio1    at isa? port "IO_COM2" tty irq 3 vector siointr
device          sio2    at isa? disable port "IO_COM3" tty irq 5 vector siointr
device          sio3    at isa? disable port "IO_COM4" tty irq 9 vector siointr

device          lpt0    at isa? port? tty irq 7 vector lptintr
device          lpt1    at isa? port? tty
device          lpt2    at isa? port? tty

controller      snd0
device sb0      at isa? port 0x220 irq 5 conflicts drq 1 vector sbintr
device sbxvi0   at isa? drq 5
device sbmidi0  at isa? port 0x330

pseudo-device   loop
pseudo-device   ether
pseudo-device   log
pseudo-device   sl      1
pseudo-device   pty     16
pseudo-device   speaker
pseudo-device   gzip            # Exec gzipped a.out's
#pseudo-device  ppp     1
pseudo-device   bpfilter        4       #Berkeley packet filter
pseudo-device   disc                    #Discard device
pseudo-device   tun     1               #Tunnel driver(user process ppp)
pseudo-device   vn              #Vnode driver (turns a file into a device)
pseudo-device   snp     3       #Snoop device - to look at pty/vty/etc..


Help.  Anyone?

Mike O'Brien



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?199707050454.VAA14695>