PPP question

PPP question

Post by dmalcol » Fri, 20 Aug 1999 04:00:00




and thought I'd take a chance.
I have been using Linux (Slackware) for some time now but have never had
occasion to setup PPP.  My work has been with real
NIC cards.
I am using Slackware 4.0 and the KDE GUI at home.  In the KDE GUI there
is a setup script for PPP called 'kppp'.  I can get the damn thing to
dial into my  ISP and the ISP answeres, the modems do their negotiations
and then nothing.  If I do an 'ifconfig', I have only the local 'lo'
interface.  I have also tried dialing manually and still nothing.
Any help would be appreciated.

Dan Malcolm

 
 
 

PPP question

Post by Teonanacat » Fri, 20 Aug 1999 04:00:00


dan,

If this query is in reference to connecting to hiwaay.net, you must
specify what type of user authentication your service uses.  I just
finished checking your service and confirmed that it does use PAP.  Now
then I want you to check out this page here:
http://www.veryComputer.com/;to write down a couple
of pieces of data regarding the DNS primary and secondary IP addresses,
and such.  This page has info on using linuxconf or Red Hat X interface
setup.  Check out the X interface setup, as that is almost identical to
the kppp graphical setup.  

Now then, I'm going to send you a set of step by step instructions on
how to do in in Kppp.   They were sent out to someone else, but I'm
cutting and pasting them here.

Good Luck

Here's how I configured my KPPP to work for Mindspring.com   It does
also use PAP for authentication.  Log on to your system as root.  Start
x going.  This is assuming that you're using KDE in SuSE 6.1, and that
you installed PPP support when installing the whole system.

In KDE click on the K button,   go down to Internet, click, select
Kppp.  The dialog box will come up, and you can type in your login ID.
Then click on Setup on the bottom row of buttons.  

Onthe next dialog which pops up, select accounts.  click on new.
On the next dialog box, which is  DIAL,  type in connection name, like
Hiwaay or something similar, next type in local phone number to dial,
and for authenication
type, select PAP.  You might also check off the store password option.
On my system, I left blank the other three boxes (not needed) and didn't
use any "Arguments".
Next tab - IP, selected Dynamic IP.  Left the other check boxes
unchecked.
Next tab - DNS, typed in   Mindspring.com  Next, typed in the DNS IP
address into the DNS IP address box, then clicked  ADD.  Did this for
the second DNS Ip address for mindspring.  I left the other check boxes
unchecked.  
Next tab - Gateway, Default Gateway is checked and checkmark on assign
the default gateway route to this gateway.
Next tab - Login Script, didn't use.  Mindspring ISP doesn't use any
scripts for login.
Next tab - Accounting -  Left blank.  I will know about what my usage
is, and it is unlimmited anyway.  
Clicked OK

Select Device tab - Make sure /dev/modem is selected
I use a checkmark on Lock File.  no other changes made.
Next tab - Modem, clicked on Query Modem, to make sure I got a response
to modem.  This makes sure system can talk to modem.  
Next tab - PPP  check mark on show clock on caption
                check mark on disconnect on X-server shutdown
                check mark on minimize window on connect.
Click on OK
Typed password on main dialog box, and attempted to connect.  

On my system, the first time I attempted to connect, it errored out. I
then closed Kppp, and immediately went to start menu and selected Kppp
again.  This time it connected like a champ.  Fired up the browser and
then set the correct parameters in the Netscape preferences.

On my system, every time I fire up X windows, the first attempt at using
Kppp errors out, but I then immediately close Kppp and fire it up
again.  It works everytime after that, even all day long,* up and
then later reconnecting, as long as I don't shut down X.  If I do, Kppp
will error out on the first attempt, again, but I then merely close it,
and click it again, and then it will work.  If I leave the computer
booted and X running for days, Kppp will always work on the first time.
Everytime.  

I didn't need to edit any configuration files of any kind or
anything like that.  Merely entering the correct data in dialog boxes
automatically configures all the required config files.  It's totally
transparent to the user. I went into some of the config files later and
examined them, and Kppp did all the work for me.

--
   __   _
  / /  (_)__  __ ____  __
 / /__/ / _ \/ // /\ \/ /  . . .  t h e   c h o i c e  o f   a
/____/_/_//_/\_,_/ /_/\_\              G N U   g e n e r a t i o n . . .

Valentin Guillen

        --------------------
remove capitalized letters to email me
remueve mayusculas para enviarme email

 
 
 

1. PPP Question (ppp-on script)

Hi

I adapted the ppp-on (using pppd-2.2) script to my needs.

So I typed

% ppp-on

and it dials and connects. I checked the /var/logs/messages
file and the last line says:

connect ppp0 <==> /dev/ttyS1 (or something very similar)
(no errors reported).

So, my problem is that after I type  ppp-on I get no prompt or
anything. It looks as if it establishes the PPP connection
but nothing else happens afterwards.

what is going on? Any clues?. How can I get a prompt and start
telneting, ftping, etc????? I suspected a problem with
the IP addresses but I checked and everything looks ok.
Can this be a problem with my modules? kernel?

thx for any help.

(I am doing all this under Slackware 3.3, kernel 2.0, pppd-2.2)

PLEASE DON'T ANSWER TO THIS ACCOUNT

2. LILO/Boot disk Question

3. PPP-2.4.1 Solaris8 Driver Failed to Attach/ppp question

4. Linux machine -> Solaris

5. Newbie Questions (ICEWM Background, ppp question, mem > 64mb)

6. ACPI APIC ERROR KT400 IRQ

7. PPP Questions (anyone using it?)

8. How to boot Linux!

9. Simple PPP question (I think)

10. PPP question

11. A simple newbie PPP question

12. Simple ppp question

13. yet another ppp question