PPP connection

PPP connection

Post by Marvin J. Kosma » Mon, 25 May 1998 04:00:00



Would appreciate some expert help on PPP install.
I can use minicom to call my ISP and log on....
So I am sure that the modem is working ok.

My problem is how to set up the script for the pppd connection...

I have seen so many  solutions and tried two different ones with no
luck...

I modified to ppp-on and that did not work......

I wrote one entirely from scratch and that didn't work....

If am using Red Hat 5.0  version 2.2

I am a new user and wading through all the data is scarry...

Thanks in advance for any help..

Linux is the answer!!!!!

Marvin

 
 
 

PPP connection

Post by townsma » Mon, 25 May 1998 04:00:00


Try using usernet.

 
 
 

PPP connection

Post by Burger Michae » Thu, 28 May 1998 04:00:00


Heres the solution (for me it was), postet some times ago.

: I find the "tin" newsreader in UNIX to be my favourite. I use a shell
: account and Minicom on my Linux box. (I never figured out how to do Linux
: PPP.) I like Linux becuse of the "information wants to be free" aspect of

Ugh!... I can't stand to see a fellow Linuxer stuck with shell access.

Maybe this'll help you out.

1.)  Grab the following, paste it into a vi, or pico session, and save the
     file out as /etc/ppp/options
/dev/ttys0  #<-- change to your modem's device (most likely cua0 or cua1)
57600       #<-- change to your modem's max BPS rate
asyncmap 0
connect /etc/ppp/ppp-conn.sh
crtscts
defaultroute
lock
debug
modem

2.) Type `chmod 600 /etc/ppp/options' at your shell prompt.

3.) Grab and paste the following, and then save it out as
    /etc/ppp/ppp-conn.sh

chat -v -t 40 -f /etc/ppp/ppplogin.chat

4.)  Type `chmod 500 /etc/ppp/ppp-conn.sh'

5.)  Enter the following into your favorite text editor, and save it out
     as /etc/ppp/ppplogin.chat

ABORT "BUSY"
ABORT "NO CARRIER"
""     AT<enter your init string here>\r
OK     ATDT<enter your ISP's phone number here>\r
ogin:  <enter your username here>\r
sword: <enter your password here>\r

Maybe you have to change ogin: or sword: find it out with minicom.
And it also could be necessary to start ppp with ppp\r

6.) Type `chmod 600 /etc/ppp/ppplogin.chat'

7.) Edit your /etc/resolv.conf file to have

xxx.xxx.xxx.xxx #<-- Your ISP's nameserver address 1
xxx.xxx.xxx.xxx #<-- Your ISP's fallback address (if supplied)

8.)  Type pppd at your prompt, and that should do it.  Test the connection
     out with the ping command.  Try `ping sunsite.unc.edu' or `ping
     cdrom.com'.

Make sure you have PPP and TCP/IP support compiled into your kernel.

Nobody should be stuck with a mere dial-in shell <shudder>.

HTH, HAND.
--
Stephen S. Edwards II -- Support GNU... run UNIX... be happy.

*** You have been kicked off of channel #sane (banned:  Welcome to hell!)
"Don't *WHAM* touch *WHAM* that! *WHAM*WHAM*WHAM*" -- Michael J. Peterson



Quote:> Would appreciate some expert help on PPP install.
> I can use minicom to call my ISP and log on....
> So I am sure that the modem is working ok.

> My problem is how to set up the script for the pppd connection...

> I have seen so many  solutions and tried two different ones with no
> luck...

> I modified to ppp-on and that did not work......

> I wrote one entirely from scratch and that didn't work....

> If am using Red Hat 5.0  version 2.2

> I am a new user and wading through all the data is scarry...

> Thanks in advance for any help..

> Linux is the answer!!!!!

> Marvin

 
 
 

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

Ever since I installed RH 5.1 when I connect to an NT Server modem
port and authenticate with PAP/CHAP the physical line connection stays
up as before (5.0) but any telnet session to Unix machines on the same
network time out on inactivity in predictably 2 minutes and 10
seconds.  Since I had no such problems prior to 5.1 I'm wondering why
this is a different animal.  Also it does not help to ping the same
server on a 10 second interval -- the ping keeps on going but again
any telnet session times out.

Would be glad to supply any additional info.  I realize that this is
pretty sketchy but I'm not sure what sort of info would assist.

Thanks,
Kurt Berg

2. LVM for Linux?

3. Ask ppp-on and ppp-on-dialer for ppp connection

4. nntp client with SPA

5. ppp connection terminates after connection established

6. Conference on File and Storage Technologies (FAST '03) Call for Papers

7. ISP connection sharing via a PPP connection with NULL-MODEM

8. Looping and self termination [for scripts]

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

10. Finger's Idle time on incoming PPP connections - what's the connection?

11. Slow PPP Connection But Minicom Connection Fine

12. Automatic PPP connection (usermode PPP, 2.2)

13. LINUX<(nullmodem)>Mac PPP connection; LINUX as PPP-server