Ask a Question related to FreeBSD, Design and Development.

  1. #1

    Default PPP Connection.

    I have 5.3 installed, and am trying to get my dial-up going.
    In the handbook under 21.2.1.2 when I try to do a
    'cd /dev'
    'sh MAKEDEV tun0'
    I get "can't open makedev: No such file or directory"

    I also tried using G. Lehey instructions from his book, I get to the
    point where the external modem dials at reboot, but no connection. I
    have looked in the log files and it looks like Authentication failure
    is my problem.
    I have gone thru his setup a few times. What am I missing here.?
    --
    Peter

    "Civil Liberties are at the whim of those in power"


    Peterhin Guest

  2. Similar Questions and Discussions

    1. Net connection without Internet connection whoas
      Hi does flash media server 2 require a connection to the internet i'm using the evaluation version on a computer which is not connected to the...
    2. "Contribute cannot verify your connection information."on a Local / Network connection
      When I create a connection key and specify Local/Network for the website, then select the right folder, I get this error: "Contribute cannot...
    3. "Contribute cannot verify your connection information"- Every other problem ruled out, but still no connection
      Hi, first, please allow me to give you the background info Client OS - Windows 2000/XP Pro Version - Contribute 2.01 - I installed the patch from...
    4. One NFS connection fine, one NFS connection slow
      Ok, this is all a bit odd. I will draw an ascii picture and hope it survives in Google: sun server | .------mandrake...
    5. Have internet connection but not workgroup connection.
      In article <Xns93B9BBF24CB33adfslur0mdoaur03jadl@207.46.248.16>, Frank Dreyfus <fdreyfus@nyw.com> wrote: I've written a web site that should help...
  3. #2

    Default Re: PPP Connection.

    On Fri, Feb 25, 2005 at 12:11:34PM -0500, Peterhin wrote:
    > I have 5.3 installed, and am trying to get my dial-up going.
    > In the handbook under 21.2.1.2 when I try to do a
    > 'cd /dev'
    > 'sh MAKEDEV tun0'
    > I get "can't open makedev: No such file or directory"
    The 5.x series uses a devfs filesystem which creates devices on the
    fly. You don't have to make the devices manually anymore.
    > I also tried using G. Lehey instructions from his book, I get to the
    > point where the external modem dials at reboot, but no connection. I
    > have looked in the log files and it looks like Authentication failure
    > is my problem.
    Username and password is incorrect? Post us the actual contents of the
    logs and your ppp.conf (with the username/password blanked out) and we
    will have a better idea just what is going wrong with your system.
    --
    Jonathan Chen <jonc@chen.org.nz>
    ----------------------------------------------------------------------
    char *p="char *p=%c%s%c;main(){printf(p,34,p,34);}";main(){print f(p,34,p,34);}
    Jonathan Chen Guest

  4. #3

    Default RE: PPP Connection.



    -----Original Message-----
    From: Jonathan Chen [mailto:jonc@chen.org.nz]
    Sent: Friday, February 25, 2005 11:09 AM
    To: Peterhin
    Cc: [email]freebsd-questions@freebsd.org[/email]
    Subject: Re: PPP Connection.


    On Fri, Feb 25, 2005 at 12:11:34PM -0500, Peterhin wrote:
    > I have 5.3 installed, and am trying to get my dial-up going.
    > In the handbook under 21.2.1.2 when I try to do a
    > 'cd /dev'
    > 'sh MAKEDEV tun0'
    > I get "can't open makedev: No such file or directory"
    The 5.x series uses a devfs filesystem which creates devices on the
    fly. You don't have to make the devices manually anymore.
    > I also tried using G. Lehey instructions from his book, I get to the
    > point where the external modem dials at reboot, but no connection. I
    > have looked in the log files and it looks like Authentication failure
    > is my problem.
    Username and password is incorrect? Post us the actual contents of the
    logs and your ppp.conf (with the username/password blanked out) and we
    will have a better idea just what is going wrong with your system.
    --

    Note, if you have special characters in the username or password
    you need o escape them i.e., w@sh would be w\@sh.
    However, this is not always the case depending on the isp.
    Good luck.

    dave
    Hauan David A Guest

  5. #4

    Default Re: PPP Connection.

    On February 25, 2005 14:09, you wrote:
    > On Fri, Feb 25, 2005 at 12:11:34PM -0500, Peterhin wrote:
    > > I have 5.3 installed, and am trying to get my dial-up going.
    > > In the handbook under 21.2.1.2 when I try to do a
    > > 'cd /dev'
    > > 'sh MAKEDEV tun0'
    > > I get "can't open makedev: No such file or directory"
    >
    > The 5.x series uses a devfs filesystem which creates devices on the
    > fly. You don't have to make the devices manually anymore.
    >
    > > I also tried using G. Lehey instructions from his book, I get to
    > > the point where the external modem dials at reboot, but no
    > > connection. I have looked in the log files and it looks like
    > > Authentication failure is my problem.
    >
    OK, finger trouble on my part I have a connection now.
    > Username and password is incorrect? Post us the actual contents of
    > the logs and your ppp.conf (with the username/password blanked out)
    > and we will have a better idea just what is going wrong with your
    > system.
    I have a good connection however if I try to disconnect by typing
    at the 'PPP ON localhost>' close
    'PPP ON Localhost>
    or use the 'q'
    I get back to the #
    however the modem has not disconnected. I did a 'ping' to confirm on
    (ttyv1)
    --
    Peter

    "Civil Liberties are at the whim of those in power"


    Peterhin Guest

  6. #5

    Default Re: PPP Connection.

    On Friday 25 February 2005 02:12 pm, Peterhin wrote:
    > On February 25, 2005 14:09, you wrote:
    > > On Fri, Feb 25, 2005 at 12:11:34PM -0500, Peterhin wrote:
    > > > I have 5.3 installed, and am trying to get my dial-up going.
    > > > In the handbook under 21.2.1.2 when I try to do a
    > > > 'cd /dev'
    > > > 'sh MAKEDEV tun0'
    > > > I get "can't open makedev: No such file or directory"
    > >
    > > The 5.x series uses a devfs filesystem which creates devices on the
    > > fly. You don't have to make the devices manually anymore.
    > >
    > > > I also tried using G. Lehey instructions from his book, I get to
    > > > the point where the external modem dials at reboot, but no
    > > > connection. I have looked in the log files and it looks like
    > > > Authentication failure is my problem.
    >
    > OK, finger trouble on my part I have a connection now.
    >
    > > Username and password is incorrect? Post us the actual contents of
    > > the logs and your ppp.conf (with the username/password blanked out)
    > > and we will have a better idea just what is going wrong with your
    > > system.
    >
    > I have a good connection however if I try to disconnect by typing
    > at the 'PPP ON localhost>' close
    > 'PPP ON Localhost>
    > or use the 'q'
    > I get back to the #
    > however the modem has not disconnected. I did a 'ping' to confirm on
    > (ttyv1)
    Is ppp still active in the background? What does 'ps ax | grep ppp'
    return?

    I used to kill ppp using a "hangup" python script:


    #!/usr/local/bin/python
    # /usr/local/bin/hangup.py

    import os, string, sys

    a = 'ps ax | grep ppp'
    b = os.popen(a).readlines()
    c = b[0]
    d = string.split(c)
    os.popen('kill ' + d[0])



    Best regards,

    Andrew Gould
    Andrew L. Gould Guest

  7. #6

    Default PPP Connection.

    OK here is what I get when I
    'ps ax | grep ppp'

    '202 ?? ls 0:00.04 /usr/sbin/ppp -quiet -auto -nat papchap'

    FYI. the modem does disconnect after the '300sec'.
    and I can re-dial to get the connection again, so that all works fine.
    Also I think what is happening is that on boot-up once it gets to
    'looking for host time.nrc.ca and service NTP' the modem starts, so that
    explains why it starts at boot-up, it needs to satisfy that call.

    Part of this steeeep learning curve for a newbie like me is also
    learning the logic behind the sequencing of different activities.

    Now having said that, a further question, and I have read the man pages,
    handbook, and sundry other books, is I can't seem to understand how I
    can setup 'ppp' to dial out manually. (ie. only when I want it to, as I
    have another computer that shares the one phone line that I have
    avail. for this purpose).
    If you could shed some light on this function I would be very
    appreciative.

    As for your suggestion: 'I used to kill ppp using a "hangup" python
    script:'
    At this stage that is over my head.

    Peter

    "Civil Liberties are at the whim of those in power"


    Peterhin Guest

  8. #7

    Default Re: PPP Connection.

    On Friday 25 February 2005 03:47 pm, Peterhin wrote:
    > OK here is what I get when I
    > 'ps ax | grep ppp'
    >
    > '202 ?? ls 0:00.04 /usr/sbin/ppp -quiet -auto -nat papchap'
    >
    > FYI. the modem does disconnect after the '300sec'.
    > and I can re-dial to get the connection again, so that all works
    > fine. Also I think what is happening is that on boot-up once it gets
    > to 'looking for host time.nrc.ca and service NTP' the modem starts,
    > so that explains why it starts at boot-up, it needs to satisfy that
    > call.
    >
    > Part of this steeeep learning curve for a newbie like me is also
    > learning the logic behind the sequencing of different activities.
    >
    > Now having said that, a further question, and I have read the man
    > pages, handbook, and sundry other books, is I can't seem to
    > understand how I can setup 'ppp' to dial out manually. (ie. only when
    > I want it to, as I have another computer that shares the one phone
    > line that I have avail. for this purpose).
    > If you could shed some light on this function I would be very
    > appreciative.
    If you have 2 computers needing to dial-out, you might consider sharing
    the ppp connection. The online handbook covers this at:

    [url]http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/userppp.html[/url]
    >
    > As for your suggestion: 'I used to kill ppp using a "hangup" python
    > script:'
    > At this stage that is over my head.
    >
    > Peter
    >
    > "Civil Liberties are at the whim of those in power"
    Andrew L. Gould Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139