Strange ppp behavior

Manolis Nazlidis ge000042 at mail.ntua.gr
Fri Mar 11 03:14:28 EET 2005


Geia se olous,
Exo to Fedora3, me ton prosfato kernel 2.6.11 egkatesthmeno.
To systhma mporei na ekkinhsei mia dialup syndesh kanonika,
alla _arketa_syxna_ paroysiazontai sfalmata sta received packets.
px einai adynato na kano resolve ena Ip h mia Adress - exo ok configuration
gia resolving,
de mporo na kano ping oute to server poy me eksyphretei. Mia apo tis liges
selides pou katebainei einai px http://147.102.222.210 (h IP toy httpserver
gia www.ntua.gr).
Dhladh katoysian, den exo internet.

Syndeomai meso Otenet kai exo to Intracom Netmod S.A. me ISDN syndesh,
oxi multilink. Anabathisa ton pyrhna giati o 2.6.9 den eblepe sosta
to netmod, sygkekrimena to cdc_acm (to gnosto acm module apo ton 2.4
pyrhna),
den anagnorize to netmod (isos kai alloi na exete afto to problhma). Exo
epipleon mia karta diktyou poy epikoinonei
me ta alla pc sto oikiako moy diktyo kai oi syndeseis trexoyn ok.
Ti mporei na ftaiei sthn olh ypothesh me thn dialup syndesh moy? Mporeite na
bohthisete?
To configuration toy kernel to phra apo mia prohgoymenh metaglotissh poy
etrexe 2.6.11-rc4 kai htan apolytos leitoyrgiko sto Mandrake 10.1.
Sto systhma moy _den_ exo energopoihmeno firewall, oute enabled SELinux (epi
tou parontos).
Ta perissotera modules einai built mesa ston pyrhna (afto peirazei?).
To log apo ton pppd se debug mode (kdebug 7) de deixnei tipota kainourio,
eno tipota to periergo den yparxei sto system log (/var/log/messages sto
Fedora3),
h toylaxiston etsi nomizo... (eimai sxetika neos sto linux).

Edo einai merika dumps...

$ route
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
62.103.3.181    *               255.255.255.255 UH    0      0        0 ppp0
192.168.0.0     *               255.255.255.0   U     0      0        0 eth0
169.254.0.0     *               255.255.0.0     U     0      0        0 eth0
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         62.103.3.181    0.0.0.0         UG    0      0        0 ppp0

$ ifconfig ppp0
ppp0      Link encap:Point-to-Point Protocol
          inet addr:62.103.182.176  P-t-P:62.103.3.181  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:83 errors:45 dropped:0 overruns:0 frame:0
          TX packets:175 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:55051 (53.7 KiB)  TX bytes:24789 (24.2 KiB)

$ netstat -a inet
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address               Foreign Address
State
tcp        0      0 *:1024                      *:*
LISTEN
tcp        0      0 *:sunrpc                    *:*
LISTEN
tcp        0      0 *:ssh                       *:*
LISTEN
tcp        0      0 hermes.myhomenet:ipp        *:*
LISTEN
tcp        0      0 hermes.myhomenet:smtp       *:*
LISTEN
tcp        0      0 *:7741                      *:*
LISTEN
tcp        0      0 62.103.182.176:3338         147.102.222.210:ftp
ESTABLISHED
tcp        0      0 62.103.182.176:3339         147.102.222.210:ftp
ESTABLISHED
tcp        0      1 62.103.182.176:4686         147.102.222.210:http
FIN_WAIT1
tcp        0      0 62.103.182.176:4693         147.102.222.210:http
ESTABLISHED
tcp        0    584 62.103.182.176:4694         147.102.222.210:http
ESTABLISHED
tcp        0      0 62.103.182.176:4695         147.102.222.210:http
ESTABLISHED
tcp        0      0 62.103.182.176:4696         147.102.222.210:http
ESTABLISHED
udp        0      0 *:1024                  *:*
udp        0      0 *:7741                  *:*
udp        0      0 *:858                   *:*
udp        0      0 *:sunrpc                *:*
udp        0      0 *:ipp                   *:*

To stderr apo ton kppp kata th syndesh:

Opener: received OpenDevice
QMetaObject::findSignal:Accounting: Conflict with
AccountingBase::changed(QString,QString)
Opener: received ExecPPPDaemon
Kernel supports ppp alright.
In parent: pppd pid 4716
Couldn't find interface ppp0: No such device
Couldn't find interface ppp0: No such device
Opener: received OpenResolv
Opener: received RemoveSecret
Opener: received RemoveSecret

kai to dump apo to syslog gia ton ppp daemon
$ tail -n 200 /var/log/messages | grep -e pppd

Mar 10 22:21:10 hermes pppd[3771]: pppd 2.4.2 started by root, uid 0
Mar 10 22:21:10 hermes pppd[3771]: using channel 5
Mar 10 22:21:11 hermes pppd[3771]: Using interface ppp0
Mar 10 22:21:11 hermes pppd[3771]: Connect: ppp0 <--> /dev/ttyACM0
Mar 10 22:21:11 hermes pppd[3771]: sent [LCP ConfReq id=0x1 <asyncmap
0xa0000> <magic 0x1079e4ee> <pcomp> <accomp>]
Mar 10 22:21:11 hermes pppd[3771]: rcvd [LCP ConfRej id=0x1 <pcomp>
<accomp>]
Mar 10 22:21:11 hermes pppd[3771]: sent [LCP ConfReq id=0x2 <asyncmap
0xa0000> <magic 0x1079e4ee>]
Mar 10 22:21:11 hermes pppd[3771]: rcvd [LCP ConfAck id=0x2 <asyncmap
0xa0000> <magic 0x1079e4ee>]
Mar 10 22:21:13 hermes pppd[3771]: rcvd [LCP ConfReq id=0xc3 <auth chap MD5>
<magic 0xfa048583> <asyncmap 0x0>]
Mar 10 22:21:13 hermes pppd[3771]: sent [LCP ConfAck id=0xc3 <auth chap MD5>
<magic 0xfa048583> <asyncmap 0x0>]
Mar 10 22:21:13 hermes pppd[3771]: rcvd [CHAP Challenge id=0xaf
<d7cc360bab5c561b6e97ab7670428830>, name = "otenet"]
Mar 10 22:21:13 hermes pppd[3771]: sent [CHAP Response id=0xaf
<396206ec68147622a3b937dd94474497>, name = <username>]
Mar 10 22:21:13 hermes pppd[3771]: rcvd [CHAP Success id=0xaf ""]
Mar 10 22:21:13 hermes pppd[3771]: CHAP authentication succeeded
Mar 10 22:21:13 hermes pppd[3771]: sent [CCP ConfReq id=0x1 <deflate 15>
<deflate(old#) 15> <bsd v1 15>]
Mar 10 22:21:13 hermes pppd[3771]: sent [IPCP ConfReq id=0x1 <compress VJ 0f
01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
Mar 10 22:21:13 hermes pppd[3771]: rcvd [IPCP ConfReq id=0x1 <addr
62.103.3.181>]
Mar 10 22:21:13 hermes pppd[3771]: sent [IPCP ConfAck id=0x1 <addr
62.103.3.181>]
Mar 10 22:21:13 hermes pppd[3771]: rcvd [LCP ProtRej id=0xc4 80 fd 01 01 00
0f 1a 04 78 00 18 04 78 00 15 03 2f]
Mar 10 22:21:13 hermes pppd[3771]: rcvd [IPCP ConfRej id=0x1 <compress VJ 0f
01>]
Mar 10 22:21:13 hermes pppd[3771]: sent [IPCP ConfReq id=0x2 <addr 0.0.0.0>
<ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
Mar 10 22:21:13 hermes pppd[3771]: rcvd [IPCP ConfNak id=0x2 <addr
62.103.182.103> <ms-dns1 195.170.0.1> <ms-dns3 195.170.2.2>]
Mar 10 22:21:13 hermes pppd[3771]: sent [IPCP ConfReq id=0x3 <addr
62.103.182.103> <ms-dns1 195.170.0.1> <ms-dns3 195.170.2.2>]
Mar 10 22:21:13 hermes pppd[3771]: rcvd [IPCP ConfAck id=0x3 <addr
62.103.182.103> <ms-dns1 195.170.0.1> <ms-dns3 195.170.2.2>]
Mar 10 22:21:13 hermes pppd[3771]: local  IP address 62.103.182.103
Mar 10 22:21:13 hermes pppd[3771]: remote IP address 62.103.3.181
Mar 10 22:21:13 hermes pppd[3771]: primary   DNS address 195.170.0.1
Mar 10 22:21:13 hermes pppd[3771]: secondary DNS address 195.170.2.2
Mar 10 22:21:13 hermes pppd[3771]: Script /etc/ppp/ip-up started (pid 3789)
Mar 10 22:21:13 hermes pppd[3771]: Script /etc/ppp/ip-up finished (pid
3789), status = 0x0
Mar 10 22:24:08 hermes pppd[3771]: Terminating on signal 15.
Mar 10 22:24:08 hermes pppd[3771]: Script /etc/ppp/ip-down started (pid
3797)
Mar 10 22:24:08 hermes pppd[3771]: sent [LCP TermReq id=0x3 "User request"]
Mar 10 22:24:08 hermes pppd[3771]: rcvd [LCP TermAck id=0x3]
Mar 10 22:24:08 hermes pppd[3771]: Connection terminated.
Mar 10 22:24:08 hermes pppd[3771]: Connect time 3.0 minutes.
Mar 10 22:24:08 hermes pppd[3771]: Sent 2301 bytes, received 2368 bytes.
Mar 10 22:24:08 hermes pppd[3771]: Waiting for 1 child processes...
Mar 10 22:24:08 hermes pppd[3771]:   script /etc/ppp/ip-down, pid 3797
Mar 10 22:24:09 hermes pppd[3771]: Script /etc/ppp/ip-down finished (pid
3797), status = 0x0
Mar 10 22:24:09 hermes pppd[3771]: Connect time 3.0 minutes.
Mar 10 22:24:09 hermes pppd[3771]: Sent 2301 bytes, received 2368 bytes.
Mar 10 22:24:09 hermes pppd[3771]: Exit.

Edo paratheto akoma kai to dump apo mia apo tis polles apotyxhmenes
prospatheies syndeshs meso NTUA, opou yparxei kai compression...

Mar 11 02:22:16 hermes pppd[4667]: pppd 2.4.2 started by root, uid 0
Mar 11 02:22:16 hermes pppd[4667]: using channel 10
Mar 11 02:22:16 hermes pppd[4667]: Using interface ppp0
Mar 11 02:22:16 hermes pppd[4667]: Connect: ppp0 <--> /dev/ttyACM0
Mar 11 02:22:16 hermes pppd[4667]: sent [LCP ConfReq id=0x1 <asyncmap
0xa0000> <magic 0x3b9307b6> <pcomp> <accomp>]
Mar 11 02:22:16 hermes pppd[4667]: rcvd [LCP ConfRej id=0x1 <pcomp>
<accomp>]
Mar 11 02:22:16 hermes pppd[4667]: sent [LCP ConfReq id=0x2 <asyncmap
0xa0000> <magic 0x3b9307b6>]
Mar 11 02:22:17 hermes pppd[4667]: rcvd [LCP ConfAck id=0x2 <asyncmap
0xa0000> <magic 0x3b9307b6>]
Mar 11 02:22:19 hermes pppd[4667]: rcvd [LCP ConfReq id=0xc5 <auth pap>
<magic 0xaed2dc56> <asyncmap 0x0>]
Mar 11 02:22:19 hermes pppd[4667]: sent [LCP ConfAck id=0xc5 <auth pap>
<magic 0xaed2dc56> <asyncmap 0x0>]
Mar 11 02:22:19 hermes pppd[4667]: sent [PAP AuthReq id=0x1 user=<hidden>
password=<hidden>]
Mar 11 02:22:19 hermes pppd[4667]: rcvd [PAP AuthAck id=0x1 ""]
Mar 11 02:22:19 hermes pppd[4667]: PAP authentication succeeded
Mar 11 02:22:19 hermes pppd[4667]: sent [CCP ConfReq id=0x1 <deflate 15>
<deflate(old#) 15> <bsd v1 15>]
Mar 11 02:22:19 hermes pppd[4667]: sent [IPCP ConfReq id=0x1 <compress VJ 0f
01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
Mar 11 02:22:19 hermes pppd[4667]: rcvd [IPCP ConfReq id=0x1 <compress VJ 0f
00> <addr 147.102.230.201>]
Mar 11 02:22:19 hermes pppd[4667]: sent [IPCP ConfAck id=0x1 <compress VJ 0f
00> <addr 147.102.230.201>]
Mar 11 02:22:20 hermes pppd[4667]: rcvd [LCP EchoReq id=0x1 magic=0xaed2dc56
93 66 e6 c9]
Mar 11 02:22:20 hermes pppd[4667]: sent [LCP EchoRep id=0x1 magic=0x3b9307b6
93 66 e6 c9]
Mar 11 02:22:21 hermes pppd[4667]: rcvd [IPCP ConfReq id=0x2 <compress VJ 0f
00> <addr 147.102.230.201>]
Mar 11 02:22:21 hermes pppd[4667]: sent [IPCP ConfAck id=0x2 <compress VJ 0f
00> <addr 147.102.230.201>]
Mar 11 02:22:22 hermes pppd[4667]: sent [CCP ConfReq id=0x1 <deflate 15>
<deflate(old#) 15> <bsd v1 15>]
Mar 11 02:22:22 hermes pppd[4667]: sent [IPCP ConfReq id=0x1 <compress VJ 0f
01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
Mar 11 02:22:22 hermes pppd[4667]: rcvd [LCP ProtRej id=0x1 80 fd 01 01 00
0f 1a 04 78 00 18 04 78 00 15 03 2f]
Mar 11 02:22:22 hermes pppd[4667]: rcvd [IPCP ConfNak id=0x1 <addr
147.102.230.144> <ms-dns1 147.102.222.220> <ms-dns3 147.102.222.210>]
Mar 11 02:22:22 hermes pppd[4667]: sent [IPCP ConfReq id=0x2 <compress VJ 0f
01> <addr 147.102.230.144> <ms-dns1 147.102.222.220> <ms-dns3
147.102.222.210>]
Mar 11 02:22:25 hermes pppd[4667]: sent [IPCP ConfReq id=0x2 <compress VJ 0f
01> <addr 147.102.230.144> <ms-dns1 147.102.222.220> <ms-dns3
147.102.222.210>]
Mar 11 02:22:25 hermes pppd[4667]: rcvd [IPCP ConfReq id=0x3 <compress VJ 0f
00> <addr 147.102.230.201>]
Mar 11 02:22:25 hermes pppd[4667]: sent [IPCP ConfAck id=0x3 <compress VJ 0f
00> <addr 147.102.230.201>]
Mar 11 02:22:28 hermes pppd[4667]: sent [IPCP ConfReq id=0x2 <compress VJ 0f
01> <addr 147.102.230.144> <ms-dns1 147.102.222.220> <ms-dns3
147.102.222.210>]
Mar 11 02:22:28 hermes pppd[4667]: rcvd [IPCP ConfReq id=0x4 <compress VJ 0f
00> <addr 147.102.230.201>]
Mar 11 02:22:28 hermes pppd[4667]: sent [IPCP ConfAck id=0x4 <compress VJ 0f
00> <addr 147.102.230.201>]
Mar 11 02:22:30 hermes pppd[4667]: rcvd [LCP EchoReq id=0x2 magic=0xaed2dc56
93 66 e6 c9]
Mar 11 02:22:30 hermes pppd[4667]: sent [LCP EchoRep id=0x2 magic=0x3b9307b6
93 66 e6 c9]
Mar 11 02:22:31 hermes pppd[4667]: sent [IPCP ConfReq id=0x2 <compress VJ 0f
01> <addr 147.102.230.144> <ms-dns1 147.102.222.220> <ms-dns3
147.102.222.210>]
Mar 11 02:22:31 hermes pppd[4667]: rcvd [IPCP ConfReq id=0x5 <compress VJ 0f
00> <addr 147.102.230.201>]
Mar 11 02:22:31 hermes pppd[4667]: sent [IPCP ConfAck id=0x5 <compress VJ 0f
00> <addr 147.102.230.201>]
Mar 11 02:22:34 hermes pppd[4667]: sent [IPCP ConfReq id=0x2 <compress VJ 0f
01> <addr 147.102.230.144> <ms-dns1 147.102.222.220> <ms-dns3
147.102.222.210>]
Mar 11 02:22:34 hermes pppd[4667]: rcvd [IPCP ConfReq id=0x6 <compress VJ 0f
00> <addr 147.102.230.201>]
Mar 11 02:22:34 hermes pppd[4667]: sent [IPCP ConfAck id=0x6 <compress VJ 0f
00> <addr 147.102.230.201>]
Mar 11 02:22:37 hermes pppd[4667]: sent [IPCP ConfReq id=0x2 <compress VJ 0f
01> <addr 147.102.230.144> <ms-dns1 147.102.222.220> <ms-dns3
147.102.222.210>]
Mar 11 02:22:37 hermes pppd[4667]: rcvd [IPCP ConfReq id=0x7 <compress VJ 0f
00> <addr 147.102.230.201>]
Mar 11 02:22:37 hermes pppd[4667]: sent [IPCP ConfAck id=0x7 <compress VJ 0f
00> <addr 147.102.230.201>]
Mar 11 02:22:40 hermes pppd[4667]: sent [IPCP ConfReq id=0x2 <compress VJ 0f
01> <addr 147.102.230.144> <ms-dns1 147.102.222.220> <ms-dns3
147.102.222.210>]
Mar 11 02:22:40 hermes pppd[4667]: rcvd [IPCP ConfReq id=0x8 <compress VJ 0f
00> <addr 147.102.230.201>]
Mar 11 02:22:40 hermes pppd[4667]: sent [IPCP ConfAck id=0x8 <compress VJ 0f
00> <addr 147.102.230.201>]
Mar 11 02:22:40 hermes pppd[4667]: rcvd [LCP EchoReq id=0x3 magic=0xaed2dc56
93 66 e6 c9]
Mar 11 02:22:40 hermes pppd[4667]: sent [LCP EchoRep id=0x3 magic=0x3b9307b6
93 66 e6 c9]
Mar 11 02:22:43 hermes pppd[4667]: sent [IPCP ConfReq id=0x2 <compress VJ 0f
01> <addr 147.102.230.144> <ms-dns1 147.102.222.220> <ms-dns3
147.102.222.210>]
Mar 11 02:22:43 hermes pppd[4667]: rcvd [IPCP ConfReq id=0x9 <compress VJ 0f
00> <addr 147.102.230.201>]
Mar 11 02:22:43 hermes pppd[4667]: sent [IPCP ConfAck id=0x9 <compress VJ 0f
00> <addr 147.102.230.201>]
Mar 11 02:22:46 hermes pppd[4667]: sent [IPCP ConfReq id=0x2 <compress VJ 0f
01> <addr 147.102.230.144> <ms-dns1 147.102.222.220> <ms-dns3
147.102.222.210>]
Mar 11 02:22:46 hermes pppd[4667]: rcvd [IPCP ConfReq id=0xa <compress VJ 0f
00> <addr 147.102.230.201>]
Mar 11 02:22:46 hermes pppd[4667]: sent [IPCP ConfAck id=0xa <compress VJ 0f
00> <addr 147.102.230.201>]
...
Mar 11 02:22:46 hermes pppd[4667]: Terminating on signal 15.
Mar 11 02:22:46 hermes pppd[4667]: sent [LCP TermReq id=0x3 "User request"]
Mar 11 02:22:46 hermes pppd[4667]: rcvd [LCP TermAck id=0x3]
Mar 11 02:22:46 hermes pppd[4667]: Connection terminated.
Mar 11 02:22:46 hermes pppd[4667]: Exit.

Any Ideas?
Den eimai subscribed sto mailing list, pos mporo na do tis apanthseis sas?

Me ektimhsh se olo to mail list!!!





More information about the Linux-greek-users mailing list