Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
im having great trouble trying to connect to the internet and I think my main problem is that I cant follow and setup what is being said in the help file of my isp. Can someone help me follow it in more “newbie” friendly terms, please, im sick of having to reboot into windows to access the net.
Here is the help file from my isp ClearNet
A. PAP configuration
CLEAR Net uses PAP (Password Authentication Protocol) to authenticate a
user trying to login. PAP is one of the protocols in the PPP suite, which is used
during a PPP session. With PAP, PPP first starts an LCP session, then
proceeds to a PAP session.
Which means with the PAP authentication scheme, after your modem has
succeeded the low-layer negotiation, the LCP session starts immediately.
There is no “login:” prompt or plain text used. Thus, a chat script which
works with other providers, will not work.
This is because, while a chat program waits until the network access server
sends your computer the word containing “ogin:”, a PAP configured Network
Access Server never sends that word to you. The chat script you are going to
use needs to look like as follows;
Note that the authentication triggers (the words “ogin” and “word” ) used by
the Network Access Server has been removed - meaning PAP will take care of
This script enables the chat program to exit as soon as it gets the
“CONNECT” response from your modem, which is a sign that your modem
had succeeded negotiation with the CLEAR Net server. When the chat script
has finished, the PPP session starts from the LCP phase and then to the PAP
Now, PAP configuration for pppd. There are two ways to activate PAP in
pppd. One is to use the standard /etc/ppp/pap-secrets file, and the other is to
use a file that you specify. The file can be found at:
The /etc/ppp/pap-secrets file stores your login_id and password in a secure
manner in that the owner of this file is “root” with read/write access only given
to anyone with root access(permission 600 - note that pppd should have setuid
to root). The contents of the file are :- your login_id, machines to be
authenticated, and your password (which is called “secret”) in one line, each
separated by whitespace(s). The hash symbol # is used to mark a line only used
to comment. So, the file looks like :
# This is a sample pap-secret file
# login_id machine secret
ckent * superman
- where ckent is your login id and superman is your password. * is a wildcard
to match any machine. * is used because your machine name is not known to
pppd will not automatically initiate PAP even if you placed pap-secrets in the
regular location. You must tell pppd of your intention to use PAP by giving the
“user” option. The “user” option tells pppd to use the name specified by this
option in PAP negotiation. You need to be authenticated as “ckent”, so “user”
should be “ckent”. Then, a command line becomes like this;
pppd user ckent connect 'chat -v -f .chat' /dev/cua1
Naturally, ckent must appear in the first column of the /etc/ppp/pap-secrets
Personal secrets file
The other way is to use any file, such as your personal (not root's)
file, eg ~/secret. This would only be useful for users who do not have root
permission to create a pap-secrets file. The file consists of two lines. First line
stores your login id, and the second stores your password. Thus the file looks
To activate this feature in pppd, you use the “+ua <filename>” option. With
this the command line looks like :
pppd +ua ~/secret connect 'chat -v -f .chat' /dev/cua1
Note that this feature may be obsolete on your system. Check your pppd man
Now that PAP is configured, you should be able to connect to CLEAR Net.