Can anyone help me connect to ISP by ppp?

Can anyone help me connect to ISP by ppp?

Post by Jea-Hua H » Tue, 26 Nov 1996 04:00:00



Sorry! this is such a boring message. I need pppd experts to help me try out.

I had installed my Slakware 96 Linux,and try to connect to my ISP via ppp but
it's still not success.

(1)command that fire up the pppd:
exec /usr/sbin/pppd debug lock modem crtscts /dev/cua2 115200 passive \
        asyncmap 20A0000 escape FF kdebug 0  0.0.0.0:0.0.0.0 \
        noipdefault netmask 255.255.255.0 defaultroute connect DIALER_SCRIP

(2) contents of DIALER_SCRIP :
exec chat -v    TIMEOUT 100 ABORT '\nBUSY\r' \
ABORT '\nNO ANSWER\r' ABORT '\nRINGING\r\n\r\nRINGING\r' \\
'' ATZ OK ATDT$TELEPHONE sername: $ACCOUNT\
assword: $PASSWORD choice: 1
1
(3) contents of file options :T
  crtscts
  mtu 552
  mru 552

(4) debug messages that recorded in file pppdlog :

Nov 24 23:28:03 zionman pppd[216]: pppd 2.2.0 started by root, uid 0
Nov 24 23:28:04 zionman chat[217]: timeout set to 100 seconds
Nov 24 23:28:04 zionman chat[217]: abort on (\nBUSY\r)
Nov 24 23:28:04 zionman chat[217]: abort on (\nNO ANSWER\r)
Nov 24 23:28:04 zionman chat[217]: abort on (\nRINGING\r\n\r\nRINGING\r)
Nov 24 23:28:04 zionman chat[217]: send (ATZ^M)
Nov 24 23:28:04 zionman chat[217]: expect (OK)
Nov 24 23:28:04 zionman chat[217]: ATZ^M^M
Nov 24 23:28:04 zionman chat[217]: OK -- got it
Nov 24 23:28:04 zionman chat[217]: send (ATDT$TELPHONE^M)
Nov 24 23:28:05 zionman chat[217]: expect (sername:)
Nov 24 23:28:05 zionman chat[217]: ^M
Nov 24 23:28:26 zionman chat[217]: ATDT$TELPHONE^M^M
Nov 24 23:28:26 zionman chat[217]: CONNECT 115200^M
Nov 24 23:28:27 zionman chat[217]: ^M
Nov 24 23:28:27 zionman chat[217]: ^M
Nov 24 23:28:27 zionman chat[217]: Annex Command Line Interpreter   *
Copyright 1991 Xylogics, Inc.^M
Nov 24 23:28:27 zionman chat[217]: ^M
Nov 24 23:28:27 zionman chat[217]: Checking authorization, Please wait...^M
Nov 24 23:28:27 zionman chat[217]: Annex username: -- got it
Nov 24 23:28:27 zionman chat[217]: send ($ACCOUNT^M)
Nov 24 23:28:27 zionman chat[217]: expect (assword:)
Nov 24 23:28:27 zionman chat[217]:  $ACCOUNT^M
Nov 24 23:28:27 zionman chat[217]: Annex password: -- got it
Nov 24 23:28:27 zionman chat[217]: send ($PASSWORD^M)
Nov 24 23:28:27 zionman chat[217]: expect (choice:)
Nov 24 23:28:28 zionman chat[217]:  ^M
Nov 24 23:28:30 zionman chat[217]: ^M
Nov 24 23:28:30 zionman chat[217]: Permission granted^M
Nov 24 23:28:30 zionman chat[217]: ^M               SEEDNET MENU
Nov 24 23:28:30 zionman chat[217]: ^M
Nov 24 23:28:30 zionman chat[217]: ^M        1.  PPP
Nov 24 23:28:30 zionman chat[217]: ^M        2.  SLIP
Nov 24 23:28:30 zionman chat[217]: ^M        3.  telnet 139.175.1.10  (tpts1)
Nov 24 23:28:30 zionman chat[217]: ^M        4.  telnet 139.175.12.10 (shts)
Nov 24 23:28:30 zionman chat[217]: ^M        5.  telnet 139.175.10.10 (ksts)
Nov 24 23:28:30 zionman chat[217]: ^M        6.  telnet 139.175.1.11  (tpts4)
Nov 24 23:28:30 zionman chat[217]: ^M        7.  EXIT                        
Nov 24 23:28:30 zionman pppd[216]: Serial connection established.
Nov 24 23:28:30 zionman chat[217]: ^M
Nov 24 23:28:30 zionman chat[217]: ^M        Enter your choice: -- got it
Nov 24 23:28:30 zionman chat[217]: send (1^M)
Nov 24 23:28:31 zionman pppd[216]: Using interface ppp0
Nov 24 23:28:31 zionman pppd[216]: Connect: ppp0 <--> /dev/cua2
Nov 24 23:28:31 zionman pppd[216]: sent [LCP ConfReq id=0x1 <mru 552> <asyncmap
0x20a0000> <magic 0x4f77d990> <pcomp> <accomp>]
Nov 24 23:28:31 zionman pppd[216]: rcvd [LCP ConfAck id=0x1 <mru 552> <asyncmap
0x20a0000> <magic 0x4f77d990> <pcomp> <accomp>]
Nov 24 23:28:33 zionman pppd[216]: rcvd [LCP ConfReq id=0x2 <asyncmap 0x0>
<magic 0xd766faec> <pcomp> <accomp>]
Nov 24 23:28:33 zionman pppd[216]: sent [LCP ConfAck id=0x2 <asyncmap 0x0>
<magic 0xd766faec> <pcomp> <accomp>]
Nov 24 23:28:33 zionman pppd[216]: sent [IPCP ConfReq id=0x1 <addr 0.0.0.0>
<compress VJ 0f 01>]
Nov 24 23:28:33 zionman pppd[216]: rcvd [IPCP ConfRej id=0x1 <compress VJ 0f
01>]
Nov 24 23:28:33 zionman pppd[216]: sent [IPCP ConfReq id=0x2 <addr 0.0.0.0>]
Nov 24 23:28:34 zionman pppd[216]: rcvd [IPCP ConfNak id=0x2 <addr 0.0.0.0>

Quote:>>>repeated packets as packet 0X2 from packets 0x3 to 0x11]

Nov 24 23:28:36 zionman pppd[216]: sent [IPCP ConfReq id=0x12 <addr 0.0.0.0>]
Nov 24 23:28:36 zionman pppd[216]: rcvd [IPCP ConfReq id=0x3 <addr
139.175.44.252>]
Nov 24 23:28:36 zionman pppd[216]: sent [IPCP ConfAck id=0x3 <addr
139.175.44.252>]
Nov 24 23:28:37 zionman pppd[216]: rcvd [IPCP ConfNak id=0x12 <addr 0.0.0.0>]
Nov 24 23:28:37 zionman pppd[216]: sent [IPCP ConfReq id=0x13 <addr 0.0.0.0>]
Nov 24 23:28:37 zionman pppd[216]: rcvd [IPCP ConfNak id=0x13 <addr 0.0.0.0>]
Quote:>>>repeated packets as packet 0X13 from packets 0x14 to 0x22]

Nov 24 23:28:39 zionman pppd[216]: sent [IPCP ConfReq id=0x23 <addr 0.0.0.0>]
Nov 24 23:28:39 zionman pppd[216]: rcvd [IPCP ConfReq id=0x4 <addr
139.175.44.252>]
Nov 24 23:28:39 zionman pppd[216]: sent [IPCP ConfAck id=0x4 <addr
139.175.44.252>]
Nov 24 23:28:40 zionman pppd[216]: rcvd [IPCP ConfNak id=0x23 <addr 0.0.0.0>]
Nov 24 23:28:40 zionman pppd[216]: sent [IPCP ConfReq id=0x24 <addr 0.0.0.0>]
Nov 24 23:28:40 zionman pppd[216]: rcvd [IPCP ConfNak id=0x24 <addr 0.0.0.0>]
Quote:>>>repeated packets as packet 0X24 from packets 0x25 to 0x32]

Nov 24 23:28:42 zionman pppd[216]: sent [IPCP ConfReq id=0x33 <addr 0.0.0.0>]
Nov 24 23:28:42 zionman pppd[216]: rcvd [IPCP ConfReq id=0x5 <addr
139.175.44.252>]
Nov 24 23:28:42 zionman pppd[216]: sent [IPCP ConfAck id=0x5 <addr
139.175.44.252>]
Nov 24 23:28:42 zionman pppd[216]: rcvd [IPCP ConfNak id=0x33 <addr 0.0.0.0>]
Nov 24 23:28:42 zionman pppd[216]: sent [IPCP ConfReq id=0x34 <addr 0.0.0.0>]
Nov 24 23:28:43 zionman pppd[216]: rcvd [IPCP ConfNak id=0x34 <addr 0.0.0.0>
Quote:>>> That's what my connections to my ISP looks
>>> about each 0X10 packets, <addr 0.0.0.0> send out IPCP ConfReq,
>>> the <addr 0.0.0.0> returned IPCP ConfNak, then there comes
>>> <addrr 139.175.44.252> with IPCP ConfReq packet, while my pppd
>>> sends out IPCP ConfAck with <addr 139.175.44.252>, there comes
>>> another IPCP ConfNak packet from <addr 0.0.0.0>
>>> the story goes around, till the modem hang up or process killed]

Nov 24 23:28:55 zionman pppd[216]: rcvd [IPCP ConfNak id=0x74 <addr 0.0.0.0>]
Nov 24 23:28:55 zionman pppd[216]: sent [IPCP ConfReq id=0x75 <addr 0.0.0.0>]
Nov 24 23:28:55 zionman pppd[216]: Terminating on signal 2.
Nov 24 23:28:55 zionman pppd[216]: sent [LCP TermReq id=0x2]
Nov 24 23:28:55 zionman pppd[216]: rcvd [IPCP ConfNak id=0x75 <addr 0.0.0.0>]
Nov 24 23:28:55 zionman pppd[216]: rcvd [LCP TermAck id=0x2]
Nov 24 23:28:55 zionman pppd[216]: Connection terminated.
Nov 24 23:28:55 zionman pppd[216]: Exit.

Quote:>>> How about the errors ?

--

Jea-Hua Hsu

 
 
 

Can anyone help me connect to ISP by ppp?

Post by Bob Hau » Tue, 26 Nov 1996 04:00:00




Quote:> Sorry! this is such a boring message. I need pppd experts to help me try out.

> I had installed my Slakware 96 Linux,and try to connect to my ISP via ppp but
> it's still not success.

> (1)command that fire up the pppd:
> exec /usr/sbin/pppd debug lock modem crtscts /dev/cua2 115200 passive \
>    asyncmap 20A0000 escape FF kdebug 0  0.0.0.0:0.0.0.0 \

                                             ^^^^^^^^^^^^^^^
                                             You probably don't want this.

Quote:>    noipdefault netmask 255.255.255.0 defaultroute connect DIALER_SCRIP

Looks like your pppd is insisting on an IP address of 0.0.0.0 for
both ends and the other end is (not surprisingly) refusing to go
along with that idea.

You should not specify an IP address on the command line if the peer
wants to assign you an IP.

---

 Wasatch Communications Group               http://www.wasatch.com

 
 
 

Can anyone help me connect to ISP by ppp?

Post by Al Longye » Sun, 01 Dec 1996 04:00:00



>Sorry! this is such a boring message. I need pppd experts to help me try out.
>I had installed my Slakware 96 Linux,and try to connect to my ISP via ppp but
>it's still not success.
>(1)command that fire up the pppd:
>exec /usr/sbin/pppd debug lock modem crtscts /dev/cua2 115200 passive \
>    asyncmap 20A0000 escape FF kdebug 0  0.0.0.0:0.0.0.0 \
>    noipdefault netmask 255.255.255.0 defaultroute connect DIALER_SCRIP
>(2) contents of DIALER_SCRIP :
>exec chat -v        TIMEOUT 100 ABORT '\nBUSY\r' \
>ABORT '\nNO ANSWER\r' ABORT '\nRINGING\r\n\r\nRINGING\r' \\
>'' ATZ OK ATDT$TELEPHONE sername: $ACCOUNT\
>assword: $PASSWORD choice: 1
>1
>(3) contents of file options :T
>  crtscts
>  mtu 552
>  mru 552
>(4) debug messages that recorded in file pppdlog :
>Nov 24 23:28:33 zionman pppd[216]: sent [IPCP ConfReq id=0x2 <addr 0.0.0.0>]
>Nov 24 23:28:34 zionman pppd[216]: rcvd [IPCP ConfNak id=0x2 <addr 0.0.0.0>
>>>>repeated packets as packet 0X2 from packets 0x3 to 0x11]

This is clearly a violation of the PPP RFC documents. It is invalid to
NAK the IP address with a replacement value of 0.0.0.0.

The only options, when the peer does not have an IP address, is to either
ACK the frame which means to use an un-numbered link, or to REJect it. A
NAK is not one of the options.

So, complain to the ISP about their broken terminal server. They need to use
the 'pool' command and configure it to support the IP addresses.

Did they give you an IP address? Did they tell you the 'gateway' IP address?

If so, use those values rather than the 0.0.0.0:0.0.0.0 parameter that you
used.
--

 
 
 

1. Still having PPP ,isp connect problems, please help me !!

Best readers,

I have a BIG !! problem setting up a ppp-connection with my ISP.
I already asked a question in this newsgroup, but til now i didn't
receive the
support i was hoping for.

Ok, i know i'm quite a newbie, but almost every (main) option available
within

I need a working UNIX(LINUX) ppp-connection for my studie so it is a
very important isue for me.

I send my modem setups, by the way ...my modem (internal 14k4) works
great whitin W'95, so i doubt abouth any HAYES-setup is the problem.
(same settings when i do a AT&V)
I also tried to re-instal "Minicom" .....whithout any
succes..performance is the same...:-(  

Maybe a stupid question, but whitin Minicom doing "Q" means exit
whithout reset, is this the correct option.
Doing "J" is turning Minicom to the background, is this not a right
option?
Anyway..., i tried BOTH options (quit by using "Q" and "J"), this might
be not the problem.

_________________________________________________________________________________________________________

My modem's initialization:

"AT S7=45 S0=0 L1 V1 X4 &C1 E1 Q0"

The ppp "garbage" in Minicom-screen is stopping after the first row of
garbage, keep hangs and then disconnects

__________________________________________________________________________________________________________

My modem-setup in Minicom:
The letters are the same as you find them in Minicom!!

A: ~^M~AT S7=45 S0=0 L1 V1 X4 &C1 &E1 &Q0 ^M

B: ~^ATZ^M

C: ATDT

D: ^M

E: ATDP

F: ^M

G: ATX1DT

H: ;X4D^M

I: CONNECT

J: NO CARIER      BUSY
   NO DIALTONE    VOICE

K: ~~+++~~ATH^M

L: ^M

M: 45

N: 5

0: 10

P: NO

Q: YES

R: YES

___________________________________________________________________________________________________________

Ok, whats wrong with my Minicom?
When you reply, please donn't advice me reading FAQ's or HOWTO's, i
already read them all!!!

I recently tried to use DIP, an other dial-up communication program.
It's very difficult to understand how i must use it.
In the Install and help-files they talked abouth ip-up scripts and not
abouth ppp-on-dailer etc...
I'm using kernel 2.0 and maybe DIP cann't work only whithin an older
one??
When you cann't trace this problem, please give me tips for an
alternative.
Maybe you can explain me how using DIP..??

Please reply me also by E-mail, because i cann't read every day reading
this newsgroups.

2. LED code 581 slows down reboot

3. HELP: Connecting to ISP with PPP

4. formatting a DOS floppy under Linux

5. Help with PPP to connect to netcom ISP under redhat 5.0

6. The case of the damn slow server

7. HELP: Connecting to ISP with PPP

8. Digital Alphaservers for ISP?

9. PPP Help Needed For Connecting with ISP Via Dedicated Addr.

10. Can anyone help me est. a ppp connection to my ISP ???

11. PPP dials ISP then hangs up, can anyone help?

12. Can anyone help me est. a ppp connection to my ISP ???