Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Oct 2000 07:59:48 -0500 
From:      "Salmons, Michael" <SalmonsM@missouri.edu>
To:        "'freebsd-questions@freebsd.org'" <freebsd-questions@freebsd.org>
Subject:   ppp errors
Message-ID:  <7B5F4A3DED02D411B49B0000E889ECB70122B4F6@umc-mail02.missouri.edu>

next in thread | raw e-mail | index | archive | help


I've keyword searched the archives of this and other lists, Usenet and web
at large, and I have not found anything close to this problem (except a
question asked by a guy who did not include any system files in his post and
apparently was not heard from again). So here goes... I am trying to enable
user ppp via modem on my recently created freebsd system. I installed a
standard OS (typical user + X Windows). I even used ppp via modem to install
the OS itself, so in theory ppp via modem should be possible on this system!
Here's what I get when in invoke ppp:

Working in interactive mode
Using interface: tun0
Warning: No default entry found in config file.

Fine, I think, despite the fact I've tweaked ppp.conf several times in an
attempt to get ppp to see it! I decide to go into term mode:

term

deflink: entering terminal mode on /dev/cuaa1

(never mind the fact my modem is on cuaa0 as specified in ppp.conf...)
of course it is no use trying to use interactive mode since it is looking at
the wrong port.

I am using a very generic ppp.conf just to get a response from my modem. I
have modified /etc/ttys and etc/gettytab so it is looking at the modem when
login time comes.  Here's my ppp.conf (modified for the sake of modesty-
replace username and password with valid account info)

    ################################################################
    # PPP Configuration File ('/etc/ppp/ppp.conf')
    #
    # Default settings; These are always executed always when PPP
    # is invoked and apply to all system configurations.
    ################################################################
    default:
      set device /dev/cuaa0
      set speed 115200
      disable pred1
      deny pred1
      disable lqr
      deny lqr
      set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0M0
OK-AT-OK\\dATDT\\T TIMEOUT 40 CONNECT"
      set redial 3 10
    #
    #
    ################################################################
    #
    # For interactive mode use this configuration:
    #
    # Invoke with `ppp -alias interactive`
    #
    ################################################################
    interactive:
      set authname username
      set authkey password
      set phone 1231234
      set timeout 300
      set openmode active
      accept chap
    #
    ################################################################
    #
    # For demand-dial (automatic) mode we'll use this configuration:
    #
    # Invoke with: 'ppp -auto -alias demand'
    #
    ################################################################
     demand:
      set authname username
      set authkey password
      set phone 1231234
      set timeout 300
      set openmode active
      accept chap
      set ifaddr 127.1.1.1/0 127.2.2.2/0 255.255.255.0
      add 0 0 127.2.2.2
    ################################################################
    # End of /etc/ppp/ppp.conf

my modem is a US Robotics 56K V.90.

If nothing else, how do I get my system to look at cuaa0 by default in
interactive mode so I can at least test the modem?

Any ideas why ppp can't see my default header? Or my demand header (The one
I want to use ultimately)?

Thanks,

Michael Salmons


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?7B5F4A3DED02D411B49B0000E889ECB70122B4F6>