[98453] in RedHat Linux List
Re: establishing a ppp connection
daemon@ATHENA.MIT.EDU (Zoki)
Mon Nov 9 06:02:05 1998
Date: Mon, 9 Nov 1998 09:17:02 +0100 (CET)
From: Zoki <zokiphoto@magic.fr>
To: redhat-list@redhat.com
In-Reply-To: <4.1.19981107090713.009bc620@mail38.mci2000.com>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
On Sat, 7 Nov 1998, Thomas R. Kaminsky wrote:
->I think I'm pretty close to successfully establishing a ppp connection to
->my ISP. My ISP uses CHAP as part of it's sign-on protocol. I'm running
->RedHat Linux 5.2. I've configured a ppp interface in the netconfig
->graphical tool, plus added some lines to various files. Can anybody help
->with ppp when CHAP is involved. I make a connection but it times out or I
->get a message saying the serial line looped back and the connection
->terminates. Thanks in advance. I'll provide more info if somebody would
->tell me what they need to know. By the way, I'm a Linux newbie, no
->experience with Unix.
*** Hi Thomas,
I don't run 5.2 but I don't think what I'm going to tell differs a lot
between the 5.0 and 5.2 distrib. I never used the config tool in Red Hat
but kppp under X-Windows and the ppp-on scripts on the console. They also
work under X-Windows BTW.
In root:
1/ Copy ppp-on, ppp-off and ppp-on-dialer from /usr/doc/ppp-2.2.0f/scripts
to /usr/sbin
2/ Open the files and enter the necessary information where it belongs.
Telephone, username, password. Leave the rest like it is. You'll just need
to edit ppp-on! Go all the way down and change the device name you use for
your modem. I'm using /dev/modem but you will use what's appropriate for
your system.
3/ Edit the /etc/ppp/options file and delete lock on the first line
4/ Edit /etc/hosts. It should show:
127.0.0.1 localhost localhost.localdomain
5/ Edit /etc/resolv.conf. Add:
search xxxx.xx --> your ISP's domain (name from the at to the right)
nameserver (DNS 1) xxx.xx.xx.x
nameserver (DNS 2) xxx.xx.xx.x
6/ Set the permissions so you can start a session from your user account:
* chmod 666 /dev/cua1 --> or anything representing your serial
port the modem is connected to
* chmod +s /usr/sbin/pppd
* chmod 666 /etc/resolv.conf
* chown root.root /usr/sbin/pppd
7/ Type ppp-on on the commandline and your modem should try to connect.
8/ Error messages are in /var/log/maillog
############################################################################
I think this question - together with the one about "why can't Linux see
more than 64Mb memory" - should apply for a listing in the Guiness Book of
Records as the most asked question in the history of mankind. Since I have
answered this question n-times and other people too, would it make a sense
to make a man page about it?
############################################################################
Cheers,
Zoki.
_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/
ZOKImage Paris
Creation d'images est traitement numerique
Image creation & digital tweaking
_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/
Mailed with Linux and Pine.
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.