Connecting to ISP via PPP - I'm almost there

Connecting to ISP via PPP - I'm almost there

Post by jmurdoc » Sun, 25 Oct 1998 04:00:00



I am trying to connect to my ISP (netdirect in the UK) via
the netcfg program supplied with RH5.0.
When I look in the /var/log/messages file I can monitor what is
happening and I manage to get connected to my ISP
and a serial link is established. I think when the ppp link
is in the LCP stage it is falling over. I can see a number of
packets being sent but as soon as I receive one back the
modem hangs up and resets.
The relevant bits from the syslog file are shown below.
I have tried minicom and wvdial with no success.
with minicom I can login and can see ppp starting on the server but I
cannot establish
a link.
With wvdial the config program does not recognise my modem.
I have read all the FAQs and HOW-TO's I can find but I can't
find what out what the problem is. I tried using the kdebug option
to see what was ppp was doing but I didn't get anything useful.
I have tried all of the options suggested in the FAQ's etc but can't
see where I'm going wrong. Some more suggestions would be helpful.

Oct 18 22:00:23 localhost ifup-ppp: pppd started for ppp0 on /dev/modem
at 38400
Oct 18 22:00:23 localhost pppd[700]: pppd 2.2.0 started by root, uid 0
Oct 18 22:00:24 localhost chat[702]: send (ATZ^M)
Oct 18 22:00:25 localhost chat[702]: expect (OK)
Oct 18 22:00:29 localhost kernel: ppp_dev_stats called<6>PPP: ppp line
discipline successfully unregistered
Oct 18 22:00:43 localhost chat[702]: ATZ^M^M
Oct 18 22:00:43 localhost chat[702]: OK -- got it
Oct 18 22:00:43 localhost chat[702]: send (ATDTtelno^M)
Oct 18 22:00:44 localhost chat[702]: expect (CONNECT)
Oct 18 22:00:44 localhost chat[702]: ^M
Oct 18 22:01:13 localhost chat[702]: ATDTtelno^M
Oct 18 22:01:13 localhost chat[702]: CONNECT -- got it
Oct 18 22:01:13 localhost chat[702]: send (^M)
Oct 18 22:01:13 localhost chat[702]: expect (ogin:)
Oct 18 22:01:23 localhost chat[702]:  38400^M^M
Oct 18 22:01:23 localhost chat[702]: ^M
Oct 18 22:01:23 localhost chat[702]: login: -- got it
Oct 18 22:01:23 localhost chat[702]: send (myname^M)
Oct 18 22:01:24 localhost chat[702]: expect (assword:)
Oct 18 22:01:33 localhost chat[702]:  ^M
Oct 18 22:01:43 localhost chat[702]: login: myname^M
Oct 18 22:01:53 localhost chat[702]: Password: -- got it
Oct 18 22:01:53 localhost chat[702]: send (passwd^M)
Oct 18 22:01:54 localhost chat[702]: timeout set to 120 seconds
Oct 18 22:01:54 localhost pppd[700]: Serial connection established.
Oct 18 22:02:03 localhost kernel: registered device ppp0
Oct 18 22:02:03 localhost kernel: ppp_tty_ioctl: set flags to 10000
Oct 18 22:02:03 localhost kernel: ppp_tty_ioctl: set flags to 10000
Oct 18 22:02:03 localhost kernel: ppp_tty_ioctl: set xasyncmap
Oct 18 22:02:03 localhost kernel: ppp_tty_ioctl: set xmit asyncmap
ffffffff
Oct 18 22:02:03 localhost kernel: ppp_tty_ioctl: set flags to 10000
Oct 18 22:02:03 localhost kernel: ppp_tty_ioctl: set mru to 5dc
Oct 18 22:02:03 localhost kernel: ppp_tty_ioctl: set rcv asyncmap 0
Oct 18 22:02:03 localhost kernel: ppp_tty_ioctl: set flags to 10010
Oct 18 22:02:03 localhost pppd[700]: Using interface ppp0
Oct 18 22:02:03 localhost pppd[700]: Connect: ppp0 <--> /dev/modem
Oct 18 22:02:10 localhost kernel: ppp_dev_stats
called<7>ppp_dev_xmit_lower: fcs is 6a41
Oct 18 22:02:34 localhost pppd[700]: LCP: timeout sending
Config-Requests
Oct 18 22:02:34 localhost kernel: ppp_dev_stats called<7>ppp_tty_read:
called buf=08059c48 nr=1504
Oct 18 22:03:13 localhost kernel: ppp_dev_stats called<6>ppp_dev_stats
called<6>ppp_dev_stats called<6>ppp_dev_stats called<6>ppp: successfully
queued 22 bytes, flags = f010010
Oct 18 22:03:16 localhost kernel: ppp_dev_stats
called<7>ppp_dev_xmit_lower: fcs is b6a
Oct 18 22:03:23 localhost kernel: ppp: channel ppp0 closing.
Oct 18 22:03:23 localhost pppd[700]: Modem hangup
Oct 18 22:03:23 localhost pppd[700]: Connection terminated.
Oct 18 22:03:23 localhost pppd[700]: Exit.


 
 
 

Connecting to ISP via PPP - I'm almost there

Post by Clifford Ki » Sun, 25 Oct 1998 04:00:00


: I am trying to connect to my ISP (netdirect in the UK) via

snip...

: Oct 18 22:00:23 localhost ifup-ppp: pppd started for ppp0 on /dev/modem
: at 38400
: Oct 18 22:00:23 localhost pppd[700]: pppd 2.2.0 started by root, uid 0

You send the modem initializing string.

: Oct 18 22:00:24 localhost chat[702]: send (ATZ^M)
: Oct 18 22:00:25 localhost chat[702]: expect (OK)
: Oct 18 22:00:29 localhost kernel: ppp_dev_stats called<6>PPP: ppp line
: discipline successfully unregistered
: Oct 18 22:00:43 localhost chat[702]: ATZ^M^M
: Oct 18 22:00:43 localhost chat[702]: OK -- got it

The response comes 19 seconds later, a delay that is much too long.

It is very likely that your Linux serial configuration does not match the
actual modem configuration.  The right port but the wrong irq.  The ISP
disconnects and the LCP requests go into /dev/null.

snip...
--
Clifford Kite                                           Not a guru. (tm)


 
 
 

Connecting to ISP via PPP - I'm almost there

Post by Thomas Christma » Mon, 26 Oct 1998 03:00:00


hey man..... im having the same problems you are too. I am using
worldnet.att.net. Dynamic Changing IP. When i connect to my ISP through
PPP, it disconnects me in 60 secs. I have found out that this is an
authentification problem, or pppd is a script instead of Binary. If you
can figure out this problem, please message me back with the answer...
thnkx...bu bye!
 
 
 

Connecting to ISP via PPP - I'm almost there

Post by Robert Crawfor » Mon, 09 Nov 1998 04:00:00


This sounds a lot like me proublem, how do I check the IRQ setting?


>: I am trying to connect to my ISP (netdirect in the UK) via

>: Oct 18 22:00:43 localhost chat[702]: ATZ^M^M
>: Oct 18 22:00:43 localhost chat[702]: OK -- got it

>The response comes 19 seconds later, a delay that is much too long.

>It is very likely that your Linux serial configuration does not match the
>actual modem configuration.  The right port but the wrong irq.  The ISP
>disconnects and the LCP requests go into /dev/null.

>snip...
>--
>Clifford Kite                                           Not a guru. (tm)


 
 
 

Connecting to ISP via PPP - I'm almost there

Post by BOSS » Thu, 19 Nov 1998 04:00:00


Having similar problem connecting to ex-pressnet.com.  If you find the
solution let me know.



>hey man..... im having the same problems you are too. I am using
>worldnet.att.net. Dynamic Changing IP. When i connect to my ISP through
>PPP, it disconnects me in 60 secs. I have found out that this is an
>authentification problem, or pppd is a script instead of Binary. If you
>can figure out this problem, please message me back with the answer...
>thnkx...bu bye!

 
 
 

1. can't connect to ISP via PPP

I think I set up everything correctly,  from X I get into the network
configuration thing.  I set up my ISP's phone number and all that.  When I
activate it dials, the connect sounds are made, then it sits there, and
after a while it tries reconnecting.  My ISP uses CHAP, so I put my
information in the chap-secrets file.  What else can I do? there is no
ppp-log file in /var/logs, should there be?

2. echo of a variable

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

4. xdm SetPerClientControls failed - what's the solution?

5. Connecting via PPP witn a PnP modem to an ISP using PAP

6. A quick dd utility question

7. How to connect to ISP via PPP?

8. MFS

9. How can I connect ISP via PPP ?

10. connecting to ISP via PPP

11. how can I connect my isp via ppp

12. how can I connect ISP via PPP?

13. Can't Connect to ISP via Modem