Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
Trouble with ppp server on Redhat 7.1
Results 1 to 5 of 5

Thread: Trouble with ppp server on Redhat 7.1

  1. #1
    rdly
    Guest

    Trouble with ppp server on Redhat 7.1

    I have been using ppp with a direct phone connection from one host to another for the last several months without problems. The ppp server was on a machine running Redhat 6.0, and the ppp client was on a Redhat 6.2 box. I replaced the client machine with a machine running Redhat 7.1, and it connected to the Redhat 6.0 ppp server fine. I then replaced the ppp server with a new machine running Redhat 7.1, and now the new ppp client running Redhat 7.1 cannot connect to the new ppp server running Redhat 7.1.

    When the client calls the ppp server, the modems negotiate the carrier signals, and then hang up. I get the following messages in syslog.

    --------------------------------------------------------------------
    mgetty[1879]: data dev=ttyS5, pid=1879, caller='none', conn='38400', name='', cmd='/bin/login', user='ppp'
    login(pam_unix)[1879]: session opened for user ppp by LOGIN(uid=0)
    login -- ppp[1879]: DIALUP AT ttyS5 BY ppp
    login -- ppp[1879]: LOGIN ON ttyS5 BY ppp
    pppd[1891]: using the noauth option requires root privilege
    login(pam_unix)[1879]: session closed for user ppp
    mgetty[7881]: TIOCMBIS failed: Input/output error
    mgetty[7881]: cannot turn off soft carrier: Input/output error
    mgetty[7881]: tcgetattr failed: Input/output error
    mgetty[7881]: cannot get TIO: Input/output error
    mgetty[7881]: init chat failed, exiting...: Invalid argument
    mgetty[7881]: failed in mg_init_data, dev=ttyS5, pid=7881
    mgetty[7882]: failed dev=ttyS5, pid=7882, got signal 15, exiting
    --------------------------------------------------------------------

    The permissions on /usr/sbin/pppd for both client and server are -rwsr-xr-x
    My options for the ppp client are
    lock
    hide-password
    defaultroute
    crtscts
    modem
    asyncmap 0

    I use the following command on the client to connect to the server
    /usr/sbin/pppd 192.168.1.1: connect '/usr/sbin/chat -v -f /root/.pppscript.server' defaultroute 115200 /dev/modem
    (I'm using static addressing).

    Does anyone know what I'm doing wrong with Redhat 7.1 that works with a Redhat 6.0 ppp server? I would be greatful for any assistance. -- Thanks.

    rdly
    gjaffe@bigplanet.com

  2. #2

    Re: Trouble with ppp server on Redhat 7.1

    pppd[1891]: using the noauth option requires root privilege
    This is your problem, I am sure you have figured this much out so far.

    I don't have much(if any) experience with ppp servers, but I do have a bit with the clients. So here is my suggestion:

    Client side:
    Go ahead and type chmod u+s /usr/sbin/pppd

    now cd into /etc/ppp and check for an options file....check to make sure you don't have any pap options in there.

    Server side:

    Check inside your pap-secrets file and add a
    "" * "" *
    if it isn't already there...that should get you connected...I hope....if not come on back and we'll figure something else out for ya!


    If you give a man a fire he'll be warm, if you light the man on fire he'll be warm for life.

  3. #3

    Re: Trouble with ppp server on Redhat 7.1

    My fault...I didn't even pay attention that those options were from the options file....hmm....just try the chmod.....see what that does for you...

    also on the client side in your options file add
    noauth as one of the lines....your server doesn't need to authenticate itself to you....I doubt you have it set up that way anyways.

    Aragorn
    If you give a man a fire he'll be warm, if you light the man on fire he'll be warm for life.

  4. #4
    rdly
    Guest

    Re: Trouble with ppp server on Redhat 7.1

    I found the problem. The client was logging in to the userid
    ppp. Rh7.1 puts in the shell field of /etc/passwd (for the ppp
    userid) a file called /usr/lib/linuxconf/lib/ppplogin. That is a bash
    script that issues the pppd command with the command line option of
    'noauth'. I took the noauth option out, and that solved the problem.
    A similar script is used in RH6.0 and RH6.2, but the pppd command
    doesn't have the noauth option.

    Thanks for your help.

  5. #5

    Re: Trouble with ppp server on Redhat 7.1

    Great! I am glad you found the problem! Man, I wish the site had an OMP about setting up a PPP server, hint hint hint! Would you be interested? Please? ;D

    Aragorn
    If you give a man a fire he'll be warm, if you light the man on fire he'll be warm for life.

Similar Threads

  1. RedHat cron trouble
    By elcaro in forum Linux - General Topics
    Replies: 1
    Last Post: 01-14-2007, 07:54 AM
  2. Redhat 8.0 install trouble
    By bill_bob in forum Linux - Hardware, Networking & Security
    Replies: 3
    Last Post: 02-22-2003, 12:26 AM
  3. Trouble connecting to the internet using Redhat 8.0
    By FLY_FISHER in forum Linux - Hardware, Networking & Security
    Replies: 2
    Last Post: 10-24-2002, 11:46 AM
  4. server trouble
    By in forum Announcements and Suggestions
    Replies: 2
    Last Post: 05-11-2002, 12:47 PM
  5. gfx trouble with Redhat 7.2
    By doggiebone in forum Linux - Hardware, Networking & Security
    Replies: 9
    Last Post: 04-21-2002, 09:12 PM

Bookmarks

Posting Permissions

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