[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: wierd problem with ppp; need help!



On Sun, 11 Oct 1998, Jim Foltz wrote:

> You need to give more information about your connection to get a more
> precise reply. Try including log files, /var/log/ppp.log and use the debug
> option in the /etc/ppp/peers/provider file.
> 

Hello,
Below I had tried to supply all information which might be
usefull to figure out what is wrong with ppp. Would be obliged if someone
can help me.

I had run pon test and tried to telnet to peer but hang at
login during entering password. From another xterm  ping-ing gave no   
results at all. This is the typical picture after upgating to hamm.
At the same time connection from w95 to the same peer (which is running
bo) is ok.


Contents:
- /etc/ppp/peers/test
- /etc/ppp/options
- outputs of ping, ifconfig, netstat -r 
- /var/log/ppp.log
- /var/log/ppp.log (from server side)

(Remark: All "stared" local&remote IPs was correct)

----------------------------------------
/etc/ppp/peers/test:

noauth         #pppconfig_noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/test"  #pppconfig_connect
debug          #pppconfig_debug
/dev/ttyS1       #pppconfig_dev
115200      #pppconfig_speed
defaultroute         #pppconfig_route
194.*.*.*:194.*.*.*     #pppconfig_ipdefault
user sevinian  #pppconfig_user
----------------------------------------

/etc/ppp/options:

asyncmap 0
auth
crtscts
lock
modem
proxyarp
lcp-echo-interval 30
lcp-echo-failure 4
noipx
----------------------------------------

crdppp.root:~$ ping 194.*.*.*
PING 194.*.*.* (194.*.*.*): 56 data bytes

--- 194.67.208.105 ping statistics ---
22 packets transmitted, 0 packets received, 100% packet loss
----------------------------------------

crdppp.root:~$ ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Bcast:127.255.255.255  Mask:255.0.0.0
          UP BROADCAST LOOPBACK RUNNING  MTU:3584  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          Collisions:0

ppp0      Link encap:Point-to-Point Protocol
          inet addr:194.*.*.*  P-t-P:194.*.*.*
Mask:255.255.255.0
          UP POINTOPOINT RUNNING  MTU:542  Metric:1
          RX packets:31 errors:14 dropped:14 overruns:0 frame:0
          TX packets:66 errors:0 dropped:0 overruns:0 carrier:0
          Collisions:0
          Memory:1620830-1620c80
----------------------------------------

crdppp.root:~$ netstat -r
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt
Iface
194.*.*.*       *               255.255.255.255 UH      542 0          0
ppp0
localnet        *               255.0.0.0       U      3584 0          0
lo        
default         194.*.*.*       0.0.0.0         UG      542 0          0
ppp0
----------------------------------------



/var/log/ppp.log (Remark: local/remote IPs are OK)

Oct 14 00:14:53 crdppp pppd[260]: Serial connection established.
Oct 14 00:14:54 crdppp pppd[260]: Using interface ppp0
Oct 14 00:14:54 crdppp pppd[260]: Connect: ppp0 <--> /dev/ttyS1
Oct 14 00:14:54 crdppp pppd[260]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
<magic 0xffff20c2> <pcomp> <accomp>]
Oct 14 00:14:54 crdppp pppd[260]: rcvd [LCP ConfReq id=0x1 <mru 542>
<asyncmap
0x0> <auth pap> <magic 0x21a79b3f> <pcomp> <accomp>]
Oct 14 00:14:54 crdppp pppd[260]: sent [LCP ConfAck id=0x1 <mru 542>
<asyncmap
0x0> <auth pap> <magic 0x21a79b3f> <pcomp> <accomp>]
Oct 14 00:14:57 crdppp pppd[260]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
<magic 0xffff20c2> <pcomp> <accomp>]
Oct 14 00:14:57 crdppp pppd[260]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0>
<magic 0xffff20c2> <pcomp> <accomp>]
Oct 14 00:14:57 crdppp pppd[260]: sent [LCP EchoReq id=0x0
magic=0xffff20c2]
Oct 14 00:14:57 crdppp pppd[260]: sent [PAP AuthReq id=0x1 user="sevinian"
password="*****"]
Oct 14 00:14:57 crdppp pppd[260]: rcvd [LCP EchoRep id=0x0
magic=0x21a79b3f]
Oct 14 00:14:57 crdppp pppd[260]: rcvd [PAP AuthAck id=0x1 "Login ok"]
Oct 14 00:14:57 crdppp pppd[260]: Remote message: Login ok
Oct 14 00:14:57 crdppp pppd[260]: sent [IPCP ConfReq id=0x1 <addr
194.*.*.*> <compress VJ 0f 01>]
Oct 14 00:14:57 crdppp pppd[260]: rcvd [IPCP ConfReq id=0x1 <addr
194.*.*.*> <compress VJ 0f 01>]
Oct 14 00:14:57 crdppp pppd[260]: sent [IPCP ConfAck id=0x1 <addr
194.*.*.*> <compress VJ 0f 01>]
Oct 14 00:14:57 crdppp pppd[260]: rcvd [IPCP ConfAck id=0x1 <addr
194.*.*.*> <compress VJ 0f 01>]
Oct 14 00:14:57 crdppp pppd[260]: Cannot determine ethernet address for
proxy ARP
Oct 14 00:14:57 crdppp pppd[260]: local  IP address 194.*.*.*
Oct 14 00:14:57 crdppp pppd[260]: remote IP address 194.*.*.*
Oct 14 00:15:27 crdppp pppd[260]: sent [LCP EchoReq id=0x1
magic=0xffff20c2]
Oct 14 00:15:27 crdppp pppd[260]: rcvd [LCP EchoRep id=0x1
magic=0x21a79b3f]
Oct 14 00:15:57 crdppp pppd[260]: sent [LCP EchoReq id=0x2
magic=0xffff20c2]
Oct 14 00:15:57 crdppp pppd[260]: rcvd [LCP EchoRep id=0x2
magic=0x21a79b3f]
Oct 14 00:16:27 crdppp pppd[260]: sent [LCP EchoReq id=0x3
magic=0xffff20c2]
Oct 14 00:16:57 crdppp pppd[260]: sent [LCP EchoReq id=0x4
magic=0xffff20c2]
Oct 14 00:17:27 crdppp pppd[260]: sent [LCP EchoReq id=0x5
magic=0xffff20c2]
Oct 14 00:17:42 crdppp pppd[260]: rcvd [LCP EchoReq id=0x0
magic=0x21a79b3f]
Oct 14 00:17:42 crdppp pppd[260]: sent [LCP EchoRep id=0x0
magic=0xffff20c2]
Oct 14 00:17:57 crdppp pppd[260]: sent [LCP EchoReq id=0x6
magic=0xffff20c2]
Oct 14 00:18:27 crdppp pppd[260]: No response to 4 echo-requests
Oct 14 00:18:27 crdppp pppd[260]: Serial link appears to be disconnected.
Oct 14 00:18:27 crdppp pppd[260]: sent [LCP TermReq id=0x2 "Peer not
responding"]
Oct 14 00:18:30 crdppp pppd[260]: sent [LCP TermReq id=0x3 "Peer not
responding"]
Oct 14 00:18:33 crdppp pppd[260]: Connection terminated.  
Oct 14 00:18:33 crdppp pppd[260]: Hangup (SIGHUP)
Oct 14 00:18:33 crdppp pppd[260]: Exit.
-----------------------------------

Here is ppp.log from server side of the same session:

Oct 14 00:49:27 crdlx2 pppd[8064]: pppd 2.2.0 started by root, uid 0
Oct 14 00:49:27 crdlx2 pppd[8064]: Using interface ppp0
Oct 14 00:49:27 crdlx2 pppd[8064]: Connect: ppp0 <--> /dev/ttyS1
Oct 14 00:49:27 crdlx2 pppd[8064]: sent [LCP ConfReq id=0x1 <mru 542>
<asyncmap$
Oct 14 00:49:27 crdlx2 pppd[8064]: rcvd [LCP ConfAck id=0x1 <mru 542>
<asyncmap$
Oct 14 00:49:30 crdlx2 pppd[8064]: rcvd [LCP ConfReq id=0x1 <asyncmap 0x0>
<mag$
Oct 14 00:49:30 crdlx2 pppd[8064]: sent [LCP ConfAck id=0x1 <asyncmap 0x0>
<mag$
Oct 14 00:49:30 crdlx2 pppd[8064]: rcvd [LCP EchoReq id=0x0 00 00 35 27]   
Oct 14 00:49:30 crdlx2 pppd[8064]: sent [LCP EchoRep id=0x0 b8 e1 36 45]   
Oct 14 00:49:30 crdlx2 pppd[8064]: rcvd [PAP AuthReq id=0x1
user="sevinian"
pas$
Oct 14 00:49:30 crdlx2 pppd[8064]: user sevinian logged in
Oct 14 00:49:30 crdlx2 pppd[8064]: sent [PAP AuthAck id=0x1msg="Login ok"]
Oct 14 00:49:30 crdlx2 pppd[8064]: sent [IPCP ConfReq id=0x1 <addr
194.*.*.*
Oct 14 00:49:30 crdlx2 pppd[8064]: sent [PAP AuthAck id=0x1msg="Login ok"]
Oct 14 00:49:30 crdlx2 pppd[8064]: sent [IPCP ConfReq id=0x1 <addr
194.*.*.*
Oct 14 00:49:30 crdlx2 pppd[8064]: rcvd [IPCP ConfReq id=0x1 <addr
194.*.*.*
Oct 14 00:49:30 crdlx2 pppd[8064]: sent [IPCP ConfAck id=0x1 <addr
194.*.*.*
Oct 14 00:49:30 crdlx2 pppd[8064]: rcvd [IPCP ConfAck id=0x1 <addr
194.*.*.*
Oct 14 00:49:30 crdlx2 pppd[8064]: local  IP address 194.*.*.*
Oct 14 00:49:30 crdlx2 pppd[8064]: remote IP address 194.*.*.*
Oct 14 00:49:30 crdlx2 pppd[8064]: found interface eth0 for proxy arp   
Oct 14 00:50:00 crdlx2 pppd[8064]: rcvd [LCP EchoReq id=0x1 00 00 35 27]
Oct 14 00:50:00 crdlx2 pppd[8064]: sent [LCP EchoRep id=0x1 b8 e1 36 45]
Oct 14 00:50:49 crdlx2 pppd[8064]: Hangup (SIGHUP)
Oct 14 00:50:49 crdlx2 pppd[8064]: Modem hangup
Oct 14 00:50:49 crdlx2 pppd[8064]: Connection terminated.
Oct 14 00:50:49 crdlx2 pppd[8064]: Exit.
Oct 14 00:50:49 crdlx2 pppd[8265]: Hangup (SIGHUP)
-----------------------------------

Thanks forward,
	Eugene.

> 
> On Mon, Oct 12, 1998 at 12:36:25AM +0400, Eugene Sevinian wrote:
> > 
> > Hi all,
> > recently I have upgrated to hamm on my home computer
> > which is running also w95. After that I have got broken ppp from linux
> > side while everything is ok from w95 :(((. Therer where no such problems
> > with bo. Speaking more definitly .. it looks like connection hang very
> > soon at the beginnig of session. Sometimes I  even unable to input
> > password. As the phone line is noisy it seems that linux-ppp (from hamm) 
> > is more sensitive to it. However, I hate this possibility.
> > 
> > Are ther any other ideas? At this point I am quite lost :(((
> >  
> > TIA,
> > 
> > Eugene Sevinian
> > 



Reply to: