Getting a PPP connection working.

Getting a PPP connection working.

Post by Chris Haidvoge » Wed, 03 Dec 1997 04:00:00



Sorry if this is a stupid question but I can't understand any of the
documentation with my version of Linux on establishing a PPP connection.
Here's the situation:
        Linux Slackware 3.3
        modem works fine (use it through minicom often)
        ISP that establishes the addresses dynamically.
        IBM PC

So far I have tried to use dip with a script to make the connection but
it hasn't worked right yet.  I keep getting an error that host is an
unknown variable  (or something like that)

I have also tried using chat with no luck.  

I get the feeling that I should be editing som other files but as I said
earlier all the documentation is greek to me.  Thanks a ton in advance.

Please respond to me through mail.
--
Chris Haidvogel

        "If I think I'm going crazy,
        I must not be insane!"

        - Megadeth      
--

 
 
 

Getting a PPP connection working.

Post by Kent Robott » Thu, 04 Dec 1997 04:00:00



> Sorry if this is a stupid question but I can't understand any of the
> documentation with my version of Linux on establishing a PPP connection.
> Here's the situation:
>    Linux Slackware 3.3
>    modem works fine (use it through minicom often)
>    ISP that establishes the addresses dynamically.
>    IBM PC
> So far I have tried to use dip with a script to make the connection but
> it hasn't worked right yet.  I keep getting an error that host is an
> unknown variable  (or something like that)
> I have also tried using chat with no luck.  
> I get the feeling that I should be editing som other files but as I said
> earlier all the documentation is greek to me.  Thanks a ton in advance.
> Please respond to me through mail.
> --
> Chris Haidvogel

>    "If I think I'm going crazy,
>    I must not be insane!"
>    - Megadeth      
> --

Try pppsetup below for creating a chat script.

--
ftp://wauug.erols.com/pub/people/kent-robotti/doslinux/index.html
ftp://wauug.erols.com/pub/people/kent-robotti

PPPsetup is a bash shell script for creating a chat script
to make a ppp connection.

pppsetup-1.62.tar.gz

 
 
 

1. PPP connection works well ,while SLIP connection doesn't work,why and how?

Hello.

  Can anyone offer suggestions on how to establish a TCP/IP link using
a
nullmodem between two linux boxes?

  I have consulted the Linux Networking-HOWTO (Using common PC
hardwareNET),the manual of slattach and dip, as well as all the other
documentation that i could find.

  I used two machines running Redhat linux 7.2.

I've tried both SLIP (slattach) and PPP (pppd).When I use PPP(pppd),it
works well ,while I use SLIP(slattach),it do not work.

   For PPP, this is what I am doing :
At  machine 1,run this command:
pppd -detach debug kdebug 4 /dev/ttyS1 local noauth
192.168.1.1:192.168.1.2 &

At  machine 2,run this command:
pppd -detach debug kdebug 4 /dev/ttyS1 local noauth
192.168.1.2:192.168.1.1 &

After run these command ,I can ping between these two machines.

Just because the PPP works well,the null modem line and the serial
port are all OK!

  For slip, this is what I am doing:
At  machine 1,run this command:
% slattach -d -L -p slip /dev/ttyS11 &
%
% ifconfig sl0 192.168.1.1 pointopoint 192.168.1.2 up
%
% route add -host 192.168.1.2 sl0

At  machine 2,run this command:
% slattach -d -L -p slip /dev/ttyS11 &
%
% ifconfig sl0 192.168.1.2 pointopoint 192.168.1.1 up
%
% route add -host 192.168.1.1 sl0

  When I use SLIP,the ifconfig and route command work well,while  ping
doesnot work well!!

  Is this all that I need to do, or is there additional tools I need
to run to
connect.

  Thanks for any help!

2. Does playing sound from CDROM supposed to load sound module?

3. Getting a PPP connection to work.

4. BSD Social Event in Berlin

5. Getting Samba working over a PPP connection

6. Segmentation fault

7. stumped on getting ppp connection to work

8. Slackware or TAMU

9. PPP connection:Windows works, Linux stopped working

10. RH5.1 PPP connection: PPP connection persists, telnet session times out

11. Getting a stable PPP connection

12. Getting simple PPP connection

13. route tables getting erased when ppp connection breaks