Mission Impossible: PPP

Mission Impossible: PPP

Post by Wally Barn » Fri, 16 May 1997 04:00:00



Alright Linux Gurus. This question should anyone decide to accept it, will
self destruct whenever the news admin. decides to kill it or when it has been
deemed an impossible task.

THE SENARIO
=============
I have a P133 with Slackware Linux running on its own 850MB hard disk. With
24MB of RAM, 100MB partitioned for swap space, 120MB for /, and 600MB for
/usr. The kernel is 1.2.13 and has been compiled with IP foward., TCP/IP support
, (in short) the works. I have an internel modem which registers as /dev/cua0,
a ppp account which runs a login script I created called pppscript. My ISP
requires that upon login and account password verification another challenge
password be provided which is generated from a calculator that they provide.
This means I must use minicom to login because the number changes every time
I login. When I've completed the login process, I am provided an IP address
immediately instead of the pppd negotiating it. I quit minicom w/out resetting
the modem and start the pppd with the folling syntax:

        pppd -d -detach /dev/cua0 crtscts (any other variation closes the line)

After typing ifconfig, I see that the P-n-P point accurately to the other
machine and the local IP address is the one provided by the ISP (I don't have
an Ethernet card yet).  I am able to ping only the other machine. Any other
command (telnet, ftp, ping) presents me with "Network Unreachable".
I have edited the resolv.conf file so that the proper domain and nameserver(s)
are in there. I have localhost(127.0.0.1) and my local IP(0.0.0.0) setup in
hosts.

THE QUESTIONS (bout time, huh)
==============================
1) What files need to be edited to get my machine access to the world outside?
   (Hint: I've already read the HOWTo's to no avail.)
2) How do I get Netscape utilize my DISPLAY variable ? (I get 'Can't Connect to
     Socket()' messages then it quits)
3) Can the 'named' daemon run at the same time as pppd ? (When I tried it,
   the named knocked off the connection to my ISP)

I know this was a long one, but I've read to many replies that ask for more
information and details. Thanks in advance for any help you can offer.
Email me if necessary.

thanks,
Wallace Barnes III


 
 
 

Mission Impossible: PPP

Post by Soren Laurse » Sat, 17 May 1997 04:00:00



> I quit minicom w/out resetting
> the modem and start the pppd with the folling syntax:

>         pppd -d -detach /dev/cua0 crtscts (any other variation closes the line)

I need a defaultroute in my pppd command line. Perhaps you need that
too?

 
 
 

Mission Impossible: PPP

Post by Jay Thorn » Thu, 22 May 1997 04:00:00



> Alright Linux Gurus. This question should anyone decide to accept it, will
> self destruct whenever the news admin. decides to kill it or when it has been
> deemed an impossible task.
>         pppd -d -detach /dev/cua0 crtscts (any other variation closes the line)

   pppd -d -detach /dev/cua0 crtscts defaultroute
 
 
 

Mission Impossible: PPP

Post by Anthony Steve » Sat, 24 May 1997 04:00:00



Quote:>    pppd -d -detach /dev/cua0 crtscts (any other variation closes the line)

You should add defaultroute to the end of that, however if it closes the line,
like it does on mine (I have no idea why it does), you need to add the
defaultroute manually.. ie:

/usr/sbin/route add default gw (whatever ip is on the otherend of the PPP link)

That should allow you to forward all your packets through the PPP link..

Quote:>1) What files need to be edited to get my machine access to the world outside?
>   (Hint: I've already read the HOWTo's to no avail.)

See above

Quote:>2) How do I get Netscape utilize my DISPLAY variable ? (I get 'Can't Connect to
>     Socket()' messages then it quits)

Umm... xhost +yourmachine? (although it should be able to display without
you having to do that since you are at your machine..) Also, if it cant connect
to the socket, then it probably isnt a DISPLAY variable problem.. It could be
a with your network, or maybe it doesnt have permissions to create the socket
in the location it wants...

Quote:>3) Can the 'named' daemon run at the same time as pppd ? (When I tried it,
>   the named knocked off the connection to my ISP)

Sure you can, but why would you want to? Since you just have one IP address,
and no network, what purpose is named going to serve you? Now, if your ISP
was letting you be your own nameserver, perhaps for your own domain, well..
then nevermind.. =)  Anyways... if it is kicking you off the net, it could be
a problem a whole bunch of problems, from crappy modems, to buggy PPP, or some
problem your ISP has... Dunno..

Later..
Anthony Stevens

 
 
 

Mission Impossible: PPP

Post by RHS Linux Us » Tue, 27 May 1997 04:00:00


Something else which I just read on Richard Hart's HOWTO page is
that the cua# things should not be used.  Instead, you should use
the ttys# ids.  Just $0.02 worth of info from my readings.  :-)

 
 
 

Mission Impossible: PPP

Post by Brian McCaule » Wed, 04 Jun 1997 04:00:00



> THE SENARIO
> =============
> I have a P133 with Slackware Linux running on its own 850MB hard disk. With
> 24MB of RAM, 100MB partitioned for swap space, 120MB for /, and 600MB for
> /usr. The kernel is 1.2.13 and has been compiled with IP foward., TCP/IP support
> , (in short) the works. I have an internel modem which registers as /dev/cua0,
> a ppp account which runs a login script I created called pppscript. My ISP
> requires that upon login and account password verification another challenge
> password be provided which is generated from a calculator that they provide.
> This means I must use minicom to login because the number changes every time
> I login. When I've completed the login process, I am provided an IP address
> immediately instead of the pppd negotiating it. I quit minicom w/out resetting
> the modem and start the pppd with the folling syntax:

>    pppd -d -detach /dev/cua0 crtscts (any other variation closes the line)

> After typing ifconfig, I see that the P-n-P point accurately to the other
> machine and the local IP address is the one provided by the ISP (I don't have
> an Ethernet card yet).  I am able to ping only the other machine. Any other
> command (telnet, ftp, ping) presents me with "Network Unreachable".
> I have edited the resolv.conf file so that the proper domain and nameserver(s)

If you get "Network Unreachable" even when you use IP numbers then
this is not a name resolving problem.

Do you have "defaultroute" in your PPP options?

You can drop the "-detach".

Do you have a bogus default route in your startup scripts?  (This is
unlikey if you don't have ethernet yet).

--

 .  _\\__[oo       from       | Phones: +44 121 471 3789 (home)

.  l___\\    /~~) /~~[  /   [ | PGP-fp: D7 03 2A 4B D8 3A 05 37...
 # ll  l\\  ~~~~ ~   ~ ~    ~ | http://wcl-l.bham.ac.uk/~bam/

 
 
 

1. Mission impossible at IBM?

"When Linux came along as a viable OS that
 runs on Intel, it made one less component
 of an Intel server unilaterally controlled."

http://news.com.com/2008-1082-895391.html

--
+==================================
| M i c h a e l  J.  T o b l e r
| Authorship: "Inside Linux" ...
| "C++ Unleashed" ... "C++ How-To"
| Motocycling, Surfing, Skydiving
+==================================

2. FAQ available?

3. SELL this FBI NOC LIST and MAKE MILLIONS like TOM CRUISE did in MISSION IMPOSSIBLE

4. Question on route

5. Mission Impossible? An IDE for Linux??

6. Hardware upgrade considerations

7. Rescuing: Mission Impossible?

8. What exactly is mmap() for?

9. ETHAN can you read me, or is it an impossible MISSION?

10. X11 and Nvidia GeForce=mission impossible?

11. Suse Linux 6.2 plus XFree86 v3.3.6 = mission impossible?

12. PPP - Impossible to get through !

13. PPP Modem connection impossible with 2.5.73-bk2