Hey, Im not a redhat user . But there are other options that your freind can
try other than chat scripts, there are some small programs for dialup that are
quite handy in these situations until you can figure out you scripts. One is
called ezppp you can pick it up at http://www.serv.net/~cameron/ezppp/
This was handy for me when i first got started in linux. It runs non suid root
so it can ber used by a non-root user.check it out. There si also a program
that can help you set uop your scripts, its called 'pppsetup' its a dialog
based program that asks you for you info and sticks it in the right places. you
can pick it up at http://www.linuxgeek.org/scripts.shtml
good luck, these are very good tools. :)
Tony Hernandez
On 07-Dec-98 Jim Roland wrote:
> A friend of mine is just starting to use Linux, loves it, but is having a
> problem. He gets the following error when trying to run his dialup
> script.
>
> The only line in the script (further below) works, because it works when
> he types it verbatim at the prompt. He can get connected but not with the
> script. He's using RedHat and I have been unable to help him past the
> obvious since I'm running Slackware. Can anyone help?
>
> When he tries to run the script, he gets the following:
>
>: command not found
>: unrecognized command
> pppd version 2.2 patch level 0
> Usage: /usr/sbin/pppd [ arguments ], where arguments are:
> <device> Communicate over the named device
> <speed> Set the baud rate to <speed>
> <loc>:<rem> Set the local and/or remote interface IP
> addresses. Either one may be omitted.
> asyncmap <n> Set the desired async map to hex <n>
> auth Require authentication from peer
> connect <p> Invoke shell command <p> to set up the serial line
> crtscts Use hardware RTS/CTS flow control
> defaultroute Add default route through interface
> file <f> Take options from file <f>
> modem Use modem control lines
> mru <n> Set MRU value to <n> for negotiation
> netmask <n> Set interface netmask to <n>
> See pppd(8) for more options.
>
>
> The script (when he types the exec line with or without the exec, at the
> prompt manually, he gets connected (he types it exactly as below):
>
># PPP Dialup script for dialing up to internet (via bash shell):
>
> exec /usr/sbin/pppd /dev/cua0 115200 connect "/usr/sbin/chat -f
> /usr/local/bin/login-script" modem defaultroute
>
>
> His login-script is the modem response tags, but they work fine, so they
> are not attached. It's RedHat v5.x. Help please.
----------------------------------
E-Mail: [EMAIL PROTECTED]
Date: 07-Dec-98
Time: 11:03:15
'Linux, the choice of a GNU generation'
----------------------------------