First of all, thanks for the help and ideas,
I'm sorry to say that I don't seem to be getting anywhere though.
I've included the answers to the various questions below.
The thing I find strangest is not that it drops packets, but that it
drops every second
packet with no variation.
regards,
Paul
Jan De Landtsheer wrote:
> What I think IMHO, is that you have a routing problem...pings are what
>
> should be for ASYNC ppp over a synchronous line
> Send your routing table, probably I may help you out.
> Hope this helps
This is my DNS and routing table setup.
I got the DNS number from pinging dns.iddeo.es under windoze.
I'm assuming it's ok because I can see a network.
# /etc/resolv.conf
nameserver 62.81.31.250 62.81.1.40
# routing table before connection
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
127.0.0.1 0.0.0.0 255.255.255.255 UH 0 0 0
lo
# routing table after connection
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
62.81.1.36 0.0.0.0 255.255.255.255 UH 0 0 0
ppp0
127.0.0.1 0.0.0.0 255.255.255.255 UH 0 0 0
lo
0.0.0.0 62.81.1.36 0.0.0.0 UG 0 0 0
ppp0
Clifford Kite wrote:
> [snip]
> |> I'd *guess* that the IRQ configured for the modem's device file is
> wrong.
> |
> |Sounds likely.
>
> The 600 second chat timeout and the "very very slow" connection
> suggested
> that but now I'm not at all sure. It still should be checked though,
> and I
> have nothing else to suggest unless it's to use the option "asyncmap
> 0".
>
> It *might* be useful to add the option "debug" and examine the PPP
> link
> negotiation messages for anything unusual.
If it's the IRQ I don't understand why, because it's the same port and
IRQ that NT
uses. Here are the outputs anyway.
# /proc/interrupts without connection
CPU0
0: 65378 XT-PIC timer
1: 2303 XT-PIC keyboard
2: 0 XT-PIC cascade
5: 1 XT-PIC soundblaster
8: 1 XT-PIC rtc
12: 4022 XT-PIC PS/2 Mouse
13: 1 XT-PIC fpu
14: 159311 XT-PIC ide0
15: 3501 XT-PIC ide1
NMI: 0
# setserial /dev/ttyS0
/dev/ttyS0, Line 0, UART: 16550A, Port: 0x03f8, IRQ: 4
Baud_base: 115200, close_delay: 50, divisor: 0
closing_wait: 3000, closing_wait2: infinte
Flags: spd_normal skip_test
# /etc/ppp/options
lock
defaultroute
noipdefault
debug
/dev/ttyS0
115200
modem
mtu 552
mru 552
crtscts
asyncmap 0
remotename *
name "XXXXXXX"
hide-password
# output from pppd with debug on
Dec 16 13:03:50 piglet pppd[528]: pppd 2.3.10 started by root, uid 0
Dec 16 13:03:51 piglet chat[529]: abort on (ERROR)
Dec 16 13:03:51 piglet chat[529]: abort on (BUSY)
Dec 16 13:03:51 piglet chat[529]: abort on (NO CARRIER)
Dec 16 13:03:51 piglet chat[529]: abort on (NO DIALTONE)
Dec 16 13:03:51 piglet chat[529]: report (CONNECT)
Dec 16 13:03:51 piglet chat[529]: send (AT^M)
Dec 16 13:03:52 piglet chat[529]: expect (OK)
Dec 16 13:03:52 piglet chat[529]: ^M
Dec 16 13:03:52 piglet chat[529]: OK
Dec 16 13:03:52 piglet chat[529]: -- got it
Dec 16 13:03:52 piglet chat[529]: send (AT&FE0&U1S13=0&H1^M)
Dec 16 13:03:52 piglet chat[529]: expect (OK)
Dec 16 13:03:52 piglet chat[529]: ^M
Dec 16 13:03:52 piglet chat[529]: ^M
Dec 16 13:03:52 piglet chat[529]: OK
Dec 16 13:03:52 piglet chat[529]: -- got it
Dec 16 13:03:52 piglet chat[529]: send (ATDT912000111^M)
Dec 16 13:03:52 piglet chat[529]: timeout set to 3 seconds
Dec 16 13:03:52 piglet chat[529]: expect (CONNECT)
Dec 16 13:03:52 piglet chat[529]: ^M
Dec 16 13:03:52 piglet chat[529]:
Dec 16 13:03:54 piglet chat[529]: ^M
Dec 16 13:03:54 piglet chat[529]: CONNECT
Dec 16 13:03:54 piglet chat[529]: -- got it
Dec 16 13:03:54 piglet chat[529]: send (^M)
Dec 16 13:03:54 piglet pppd[528]: Serial connection established.
Dec 16 13:03:54 piglet pppd[528]: Using interface ppp0
Dec 16 13:03:54 piglet pppd[528]: Connect: ppp0 <--> /dev/ttyS0
Dec 16 13:03:55 piglet pppd[528]: sent [LCP ConfReq id=0x1 <mru 552>
<asyncmap 0x0> <magic 0xbadb7a9a> <pcomp> <accomp>]
Dec 16 13:03:55 piglet pppd[528]: rcvd [LCP ConfReq id=0x9a <auth chap
MD5> <magic 0x3499c8e4>]
Dec 16 13:03:55 piglet pppd[528]: sent [LCP ConfAck id=0x9a <auth chap
MD5> <magic 0x3499c8e4>]
Dec 16 13:03:55 piglet pppd[528]: rcvd [LCP ConfNak id=0x1 <mru 1500>]
Dec 16 13:03:55 piglet pppd[528]: sent [LCP ConfReq id=0x2 <asyncmap
0x0> <magic 0xbadb7a9a> <pcomp> <accomp>]
Dec 16 13:03:55 piglet pppd[528]: rcvd [LCP ConfAck id=0x2 <asyncmap
0x0> <magic 0xbadb7a9a> <pcomp> <accomp>]
Dec 16 13:03:55 piglet pppd[528]: rcvd [CHAP Challenge id=0x76
<6e998c2da78fd3b8db8ab2de70d9ae1d>, name = "YYYYYY"]
Dec 16 13:03:55 piglet pppd[528]: sent [CHAP Response id=0x76
<c3e7be9afe9a845814949b9b90d1a46a>, name = "XXXXXX"]
Dec 16 13:04:10 piglet last message repeated 5 times
Dec 16 13:04:12 piglet pppd[528]: rcvd [CHAP Success id=0x76 ""]
Dec 16 13:04:12 piglet pppd[528]: sent [IPCP ConfReq id=0x1 <addr
0.0.0.0> <compress VJ 0f 01>]
Dec 16 13:04:13 piglet pppd[528]: sent [CCP ConfReq id=0x1 <deflate 15>
<deflate(old#) 15> <bsd v1 15>]
Dec 16 13:04:13 piglet pppd[528]: rcvd [IPCP ConfReq id=0x3e <addr
62.81.1.36>]
Dec 16 13:04:13 piglet pppd[528]: sent [IPCP ConfAck id=0x3e <addr
62.81.1.36>]
Dec 16 13:04:13 piglet pppd[528]: rcvd [LCP ProtRej id=0x9b 80 fd 01 01
00 0f 1a 04 78 00 18 04 78 00 15 03 2f]
Dec 16 13:04:15 piglet pppd[528]: sent [IPCP ConfReq id=0x1 <addr
0.0.0.0> <compress VJ 0f 01>]
Dec 16 13:04:17 piglet pppd[528]: rcvd [IPCP ConfRej id=0x1 <compress VJ
0f 01>]
Dec 16 13:04:17 piglet pppd[528]: sent [IPCP ConfReq id=0x2 <addr
0.0.0.0>]
Dec 16 13:04:17 piglet pppd[528]: rcvd [IPCP ConfReq id=0x3f <addr
62.81.1.36>]
Dec 16 13:04:17 piglet pppd[528]: sent [IPCP ConfAck id=0x3f <addr
62.81.1.36>]
Dec 16 13:04:17 piglet pppd[528]: rcvd [IPCP ConfNak id=0x2 <addr
62.82.211.52>]
Dec 16 13:04:17 piglet pppd[528]: sent [IPCP ConfReq id=0x3 <addr
62.82.211.52>]
Dec 16 13:04:17 piglet pppd[528]: rcvd [IPCP ConfAck id=0x3 <addr
62.82.211.52>]
Dec 16 13:04:17 piglet pppd[528]: local IP address 62.82.211.52
Dec 16 13:04:17 piglet pppd[528]: remote IP address 62.81.1.36
Dec 16 13:04:17 piglet pppd[528]: Script /etc/ppp/ip-up started (pid
535)
Dec 16 13:04:18 piglet pppd[528]: Script /etc/ppp/ip-up finished (pid
535), status = 0x0
Dec 16 13:04:22 piglet pppd[528]: rcvd [LCP EchoReq id=0x1
magic=0x3499c8e4 78 00 18 04]
Dec 16 13:04:22 piglet pppd[528]: sent [LCP EchoRep id=0x1
magic=0xbadb7a9a 00 2d 0f 01]
Dec 16 13:04:32 piglet pppd[528]: rcvd [LCP EchoReq id=0x2
magic=0x3499c8e4 78 00 18 04]
Dec 16 13:04:32 piglet pppd[528]: sent [LCP EchoRep id=0x2
magic=0xbadb7a9a 00 2d 0f 01]
Dec 16 13:04:42 piglet pppd[528]: rcvd [LCP EchoReq id=0x3
magic=0x3499c8e4 78 00 18 04]
Dec 16 13:04:42 piglet pppd[528]: sent [LCP EchoRep id=0x3
magic=0xbadb7a9a 00 2d 0f 01]
Dec 16 13:04:52 piglet pppd[528]: rcvd [LCP EchoReq id=0x4
magic=0x3499c8e4 78 00 18 04]
Dec 16 13:04:52 piglet pppd[528]: sent [LCP EchoRep id=0x4
magic=0xbadb7a9a 00 2d 0f 01
[ snip ]
I can't see anything obviously wrong here.
--
=============================================================
Paul Parsons
Email [EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]