LENGARD,
Thanks for the detailed and helpful response. I did manage to solve my
problems even before my message showed up on the list, but I do
appreciate your input.
LENGARD Pascal OCISI wrote:
>
> Redhat comes with very handy tools to get your ppp link working. As you
> seem not to be confortable with unix yet, you might want to use these
> tools.
You are absoulutely correct in that I'm not comfortable in unix yet, but
I'm a lot more comfortable than I was a couple days ago :o)
> try linuxconf and control-panel, they both have the ability to configure
> your ppp link.
I've gone into the control-panel but haven't used linuxconf yet. I will
look into it.
> Once made, they've got buttons (under X) to initiate the connexion, but
> you can use "/sbin/ifup ppp0" and "/sbin/ifdown ppp0" to initiate and
> terminate you connexion.
I didn't see the buttons, and am not yet familiar with /sbin/ifup(/down)
ppp0, but I will look them up. Thanks for the recommendation.
>
> Redhat configures the system in its own way (in the directory
> /etc/sysconf). I discourage you to put thing you get elsewhere when it
> already exists in redhat. For example copying scripts in /etc/ppp might
> break the utilities like linuxconf and control-panel which might expect
> to find something else here.
Maybe I'm just lucky, but the scripts and everything else seem happy
with the scripts resting in /etc/ppp. But I agree with your caution,
and in general I try not to move things around as I did.
>
> By the way,
> the ppp-* files are just scripts, yes as are *.bat in dos ... so i don't
> undestand your question.
My ppp-on script is in /etc/ppp which was my current directory. I was
entering "ppp-on". I wasn't aware it was necessary to enter "./ppp" or
"/etc/ppp/ppp-on". (I still don't see why, but I accept it :o) ) I
just assumed that linux wouldn't recoginze the script, just as dos
wouldn't recognize a batch file w/o the .bat extension.
> these scripts are suppose to use chat to initiate the phone link and then
> launch pppd get in network.
Yep, I found that out after I posted my query. I didn't recognize the
reference at first when I looked at the script. Seems easy now that
I've done it.
> minicom is only used to test the connexion by hand and detect if you need
> pap/chap ou nothing(login+passwd). There is no need to use a terminal
> emulation when you want the link automated (chat deals with this part of
> the connexion).
>
> Hope this help
Yes it does. Thank you.
Tom - still a newbie, but not quite as bad.
>
> -----Message d'origine-----
> De: Tom Bernett [SMTP:[EMAIL PROTECTED]]
> Date: vendredi 11 d�cembre 1998 14:57
> �: Linux Newbie
> Objet: Getting ppp-on to work.
>
> Hi all,
>
> Total newbie here. I'm using RH5.2
>
> I've managed to get online manually by establishing a ppp session in
> minicom, and then issuing the command "pppd /dev/modem...."
>
> Now I want to automate the process. I found the ppp-on, on-dialer, &
>
> off scripts and copied them to /etc/ppp and modified them as necessary.
>
> I think I understand things to this point. But the ppp-* files are just
> scripts. Where's the executable (like a *.bat in DOS). The ppp-howto
>
> and the newsgroup archives imply that all that's needed is to create the
> files, put them where you can access them, and run by entering ppp-on.
>
> All I get is "commnand not found". What am I missing?
>
> Also, the scripts have no provision for minicom (or any other
> dialer/terminal program) as far as I can see. Just what is the process
>
> for automating logon/logoff? Again, the howto and archives were no help
> to me.
>
> Thanks,
>
> Tom