Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jan 2001 21:23:24 -0700
From:      "Simon \"Hagar\" Maycock" <hagar@inficad.com>
To:        "'Doug Young'" <dougy@bryden.apana.org.au>, <freebsd-questions@FreeBSD.ORG>
Subject:   RE: UsePPP configuration. 
Message-ID:  <000401c0874f$c18c56e0$0100a8c0@george>
In-Reply-To: <00d601c08741$f76ccaa0$847e03cb@apana.org.au>

next in thread | previous in thread | raw e-mail | index | archive | help
Doug,

Thanks for the suggestion, but alas no luck.  I used the ppp_script just to
see what it did.  It appears just to have taken out some of the set
statements I dragged of the internet over the course of the day!!!  I
nolonger get the Chat script error, but still only get a 15s connect and no
functionality.  I have taken the libity of attaching the new files so if you
have any good ideas, please feel free to make suggestions...I am going out
of my mind with frustation!!!  I have read so much, purchased the Walnut
Creek book and still no joy.  I am sure this is just a script problem as I
can connect manually no problem as follows...

charlie# ppp ASU
Working in interactive mode
Using interface: tun0
Warning: Carrier: Invalid log value
Warning: Usage: set log [local]
[+|-]async|cbcp|ccp|chat|command|connect|debug|dns|hdlc|id0|ipcp|lcp
|lqm|phase|physical|sync|tcp/ip|timer|tun...
ppp ON charlie> term
deflink: Entering terminal mode on /dev/cuaa0
Type `~?' for help
atdt7270030
CONNECT 28800/ARQ/V34/LAPM/V42BIS

*** I HAVE TO PRESS RETURN HERE TO GET USERNAME PROMPT: ****

User Access Verification

Username: mrhagar
Password:


AS5100F>ping general.asu.edu
Translating "general.asu.edu"...domain server (129.219.17.5) [OK]
Translating "general.asu.edu"...domain server (129.219.17.5) [OK]

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 129.219.10.243, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/7/20 ms
AS5100F>


BUT using the scripts below...................

Before I "dial" only the CS light is on, on the modem (USR 56K Ext
Sportster). When I "dial" the TR light comes on.  For about 30s the RX TX
lights flicker and eventually the CD lights. After another 30s I hear the
line drop and only the CS remains lit.  All I see is

charlie# ppp ASU
Working in interactive mode
Using interface: tun0
Warning: Carrier: Invalid log value
Warning: Usage: set log [local]
[+|-]async|cbcp|ccp|chat|command|connect|debug|dns|hdlc|id0|ipcp|lcp
|lqm|phase|physical|sync|tcp/ip|timer|tun...
ppp ON charlie> dial
ppp ON charlie>

Should there be a connected message or something?

Script generated ppp.conf with gin: changed to name: (Username:)

default:
  set log Phase Chat Connect Carrier lcp ipcp ccp command
  set device /dev/cuaa0
  set speed 115200
  set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK
\\dATDT\\T TIMEOUT 40 CONNE
CT"
ASU:
  set phone "7270030"        #Separate multiple phone numbers with a |
  set login "TIMEOUT 10 name:-BREAK-name: mrhagar word: XXXYYY"
  set timeout 300            #Change to 0 if no timeout desired
  deny lqr
  set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0

charlie# cat host.conf
hosts
bind

charlie# cat hosts
127.0.0.1     localhost
10.0.0.1      charlie.mrhagar.com               charlie

charlie# cat resolv.conf
nameserver 129.219.13.81
nameserver 129.219.17.200
domain mrhagar.com

charlie# cat rc.conf
# This file now contains just the overrides from /etc/defaults/rc.conf
# please make all changes to this file.

# -- sysinstall generated deltas -- #
ifconfig_fxp0="inet 192.168.0.201  netmask 255.255.255.0"
hostname="charlie.mrhagar.com"
linux_enable="YES"
moused_enable="YES"
defaultrouter=""
nfs_server_enable="YES"
ntpdate_flags="clock.llnl.gov"
ntpdate_enable="YES"
gateway_enable="YES"

charlie# cat ppp.linkup
MYADDR:
  delete ALL
  add 0 0 HISADDR

charlie# netstat -nr
Routing tables

Internet:
Destination        Gateway            Flags      Netif Expire
127.0.0.1          127.0.0.1          UH          1       26      lo0
192.168            link#1             UC          0        0     fxp0 =>
192.168.0.1        0:d0:b7:c0:f5:4b   UHLW        2      659     fxp0   1066

Internet6:
Destination                       Gateway                       Flags
Netif Expire
::1                               ::1                           UH
lo0
fe80::%fxp0/64                    link#1                        UC
fxp0
fe80::%lo0/64                     fe80::1%lo0                   Uc
lo0
fe80::%tun0/64                    link#11                       UC
tun0
fe80::2a0:c9ff:fe42:ee9a%tun0     ::1                           UH
lo0
ff01::/32                         ::1                           U
lo0
ff02::%fxp0/32                    link#1                        UC
fxp0
ff02::%lo0/32                     fe80::1%lo0                   UC
lo0
ff02::%tun0/32                    link#11                       UC
tun0


Any help will be most helpful...otherwise it is back to RH LInux.

Simon



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000401c0874f$c18c56e0$0100a8c0>