Hi,
After the upgrade from 2.5.73-bk1 to bk2 the pppd daemon is killed, so
the ppp connection is impossible.
After the reverse of the patch I can connect.
I also applied the bk2-bk3 patch (without the bk2), and I have no
problems.
So the problem is in bk2.
--
Flameeyes <[email protected]>
On 25 Jun 2003 21:06:18 +0200
Flameeyes <[email protected]> wrote:
> Hi,
> After the upgrade from 2.5.73-bk1 to bk2 the pppd daemon is killed, so
> the ppp connection is impossible.
> After the reverse of the patch I can connect.
> I also applied the bk2-bk3 patch (without the bk2), and I have no
> problems.
> So the problem is in bk2.
I can confirm it.
Jun 25 00:11:09 estel chat[13737]: -- got it
Jun 25 00:11:09 estel chat[13737]: send (\d)
Jun 25 00:11:10 estel pppd[13734]: Serial connection established.
Jun 25 00:11:10 estel pppd[13734]: using channel 8
Jun 25 00:11:10 estel pppd[13734]: Using interface ppp0
Jun 25 00:11:10 estel pppd[13734]: Connect: ppp0 <--> /dev/ttyS1
Jun 25 00:11:11 estel pppd[13734]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magi
c 0x54b41996> <pcomp> <accomp>]
Jun 25 00:11:11 estel pppd[13734]: rcvd [LCP ConfReq id=0x1 <mru 1514> <asyncmap
0x0> <auth chap MD5> <magic 0xf1833c0e> <mrru 1514> <endpoint [null]>]
Jun 25 00:11:11 estel pppd[13734]: sent [LCP ConfRej id=0x1 <mrru 1514>]
Jun 25 00:11:11 estel pppd[13734]: rcvd [LCP ConfRej id=0x1 <pcomp>]
Jun 25 00:11:11 estel pppd[13734]: sent [LCP ConfReq id=0x2 <asyncmap 0x0> <magi
c 0x54b41996> <accomp>]
Jun 25 00:11:11 estel pppd[13734]: Modem hangup
Jun 25 00:11:11 estel pppd[13734]: Connection terminated.
Jun 25 00:11:12 estel pppd[13734]: tcsetattr: Invalid argument
Jun 25 00:11:12 estel pppd[13734]: Exit.
Plain 2.5.73 works.
On Thu, 26 Jun 2003 19:52:38 +0200
Diego Calleja Garc?a <[email protected]> wrote:
> On 25 Jun 2003 21:06:18 +0200
> Flameeyes <[email protected]> wrote:
>
> > Hi,
> > After the upgrade from 2.5.73-bk1 to bk2 the pppd daemon is killed, so
> > the ppp connection is impossible.
> > After the reverse of the patch I can connect.
> > I also applied the bk2-bk3 patch (without the bk2), and I have no
> > problems.
> > So the problem is in bk2.
>
>
> I can confirm it.
> Jun 25 00:11:09 estel chat[13737]: -- got it
> Jun 25 00:11:09 estel chat[13737]: send (\d)
> Jun 25 00:11:10 estel pppd[13734]: Serial connection established.
> Jun 25 00:11:10 estel pppd[13734]: using channel 8
> Jun 25 00:11:10 estel pppd[13734]: Using interface ppp0
> Jun 25 00:11:10 estel pppd[13734]: Connect: ppp0 <--> /dev/ttyS1
> Jun 25 00:11:11 estel pppd[13734]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magi
> c 0x54b41996> <pcomp> <accomp>]
> Jun 25 00:11:11 estel pppd[13734]: rcvd [LCP ConfReq id=0x1 <mru 1514> <asyncmap
> 0x0> <auth chap MD5> <magic 0xf1833c0e> <mrru 1514> <endpoint [null]>]
> Jun 25 00:11:11 estel pppd[13734]: sent [LCP ConfRej id=0x1 <mrru 1514>]
> Jun 25 00:11:11 estel pppd[13734]: rcvd [LCP ConfRej id=0x1 <pcomp>]
> Jun 25 00:11:11 estel pppd[13734]: sent [LCP ConfReq id=0x2 <asyncmap 0x0> <magi
> c 0x54b41996> <accomp>]
> Jun 25 00:11:11 estel pppd[13734]: Modem hangup
> Jun 25 00:11:11 estel pppd[13734]: Connection terminated.
> Jun 25 00:11:12 estel pppd[13734]: tcsetattr: Invalid argument
> Jun 25 00:11:12 estel pppd[13734]: Exit.
>
>
> Plain 2.5.73 works.
What is your ppp configuration, anything special?
Is serial line fat or slow? Is this on SMP or UP system?
I can't reproduce this over a null modem cable so trying to see what could
be different.
On Thu, 26 Jun 2003 16:41:16 -0700
Stephen Hemminger <[email protected]> wrote:
> What is your ppp configuration, anything special?
Nothing strange that i know of;
hide-password
noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/provider"
debug
/dev/ttyS1
#200000
115200
#460800
defaultroute
noipdefault
user XXXXXXXXXXXXX
remotename provider
ipparam provider
> Is serial line fat or slow? Is this on SMP or UP system?
It's a external serial (ttyS1) 56k modem (Supraexpress 56e).
It's a SMP system.
>
> I can't reproduce this over a null modem cable so trying to see what could
> be different.
I reverted your changeset and everything works again.
pppd version is 2.4.1 (debian sid environment)
Config is attached.
This is the dmesg output when it works:
Jun 27 02:17:29 estel kernel: PPP generic driver version 2.4.2
Jun 27 02:17:29 estel modprobe: FATAL: Module ipv6 not found.
Jun 27 02:17:29 estel pppd[405]: pppd 2.4.1 started by diego, uid 1234
Jun 27 02:17:30 estel chat[407]: abort on (BUSY)
Jun 27 02:17:30 estel chat[407]: abort on (NO CARRIER)
Jun 27 02:17:30 estel chat[407]: abort on (VOICE)
Jun 27 02:17:30 estel chat[407]: abort on (NO DIALTONE)
Jun 27 02:17:30 estel chat[407]: abort on (NO DIAL TONE)
Jun 27 02:17:30 estel chat[407]: abort on (NO ANSWER)
Jun 27 02:17:30 estel chat[407]: abort on (DELAYED)
Jun 27 02:17:30 estel chat[407]: send (ATZ^M)
Jun 27 02:17:31 estel chat[407]: expect (OK)
Jun 27 02:17:31 estel chat[407]: ATZ^M^M
Jun 27 02:17:31 estel chat[407]: OK
Jun 27 02:17:31 estel chat[407]: -- got it
Jun 27 02:17:31 estel chat[407]: send (ATDTXXXXXXXXX^M)
Jun 27 02:17:31 estel chat[407]: expect (CONNECT)
Jun 27 02:17:31 estel chat[407]: ^M
Jun 27 02:17:50 estel chat[407]: ATDTXXXXXXXXX^M^M
Jun 27 02:17:50 estel chat[407]: CONNECT
Jun 27 02:17:50 estel chat[407]: -- got it
Jun 27 02:17:50 estel chat[407]: send (\d)
Jun 27 02:17:51 estel pppd[405]: Serial connection established.
Jun 27 02:17:51 estel pppd[405]: using channel 1
Jun 27 02:17:51 estel pppd[405]: Using interface ppp0
Jun 27 02:17:51 estel pppd[405]: Connect: ppp0 <--> /dev/ttyS1
Jun 27 02:17:52 estel pppd[405]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xf6e73be2> <pcomp> <accomp>]
Jun 27 02:17:53 estel pppd[405]: rcvd [LCP ConfReq id=0x1 <mru 1514> <asyncmap 0x0> <auth chap MD5> <magic 0xdc4f946b> <mrru 1514> <endpoint [null]>]
Jun 27 02:17:53 estel pppd[405]: sent [LCP ConfRej id=0x1 <mrru 1514>]
Jun 27 02:17:53 estel pppd[405]: rcvd [LCP ConfRej id=0x1 <pcomp>]
Jun 27 02:17:53 estel pppd[405]: sent [LCP ConfReq id=0x2 <asyncmap 0x0> <magic 0xf6e73be2> <accomp>]
Jun 27 02:17:53 estel pppd[405]: rcvd [LCP ConfReq id=0x2 <mru 1514> <asyncmap 0x0> <auth chap MD5> <magic 0xdc4f946b>]
Jun 27 02:17:53 estel pppd[405]: sent [LCP ConfAck id=0x2 <mru 1514> <asyncmap 0x0> <auth chap MD5> <magic 0xdc4f946b>]
Jun 27 02:17:53 estel pppd[405]: rcvd [LCP ConfRej id=0x2 <accomp>]
Jun 27 02:17:53 estel pppd[405]: sent [LCP ConfReq id=0x3 <asyncmap 0x0> <magic 0xf6e73be2>]
Jun 27 02:17:53 estel pppd[405]: rcvd [LCP ConfAck id=0x3 <asyncmap 0x0> <magic 0xf6e73be2>]
Jun 27 02:17:53 estel pppd[405]: sent [LCP EchoReq id=0x0 magic=0xf6e73be2]
Jun 27 02:17:53 estel pppd[405]: rcvd [CHAP Challenge id=0x3 <a00f1ece659797d59f6d87302c8bf0cf>, name = "Hiper"]
Jun 27 02:17:53 estel pppd[405]: sent [CHAP Response id=0x3 <a8d6954791920082eed78270fe8d0342>, name = "XXXXXXXXXXXXXXX"]
Jun 27 02:17:53 estel pppd[405]: rcvd [LCP EchoRep id=0x0 magic=0xdc4f946b]
Jun 27 02:17:53 estel pppd[405]: rcvd [CHAP Success id=0x3 "\000"]
Jun 27 02:17:53 estel pppd[405]: Remote message: ^@
Jun 27 02:17:53 estel pppd[405]: kernel does not support PPP filtering
Jun 27 02:17:53 estel pppd[405]: sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <compress VJ 0f 01>]
Jun 27 02:17:53 estel kernel: PPP BSD Compression module registered
Jun 27 02:17:53 estel kernel: PPP Deflate Compression module registered
Jun 27 02:17:53 estel pppd[405]: sent [CCP ConfReq id=0x1 <deflate 14> <deflate(old#) 14> <bsd v1 15>]
Jun 27 02:17:53 estel pppd[405]: rcvd [IPCP ConfReq id=0x4 <compress VJ 0f 01> <addr 80.58.197.167>]
Jun 27 02:17:53 estel pppd[405]: sent [IPCP ConfAck id=0x4 <compress VJ 0f 01> <addr 80.58.197.167>]
Jun 27 02:17:53 estel pppd[405]: rcvd [IPCP ConfNak id=0x1 <addr 81.42.135.126>]
Jun 27 02:17:53 estel pppd[405]: sent [IPCP ConfReq id=0x2 <addr 81.42.135.126> <compress VJ 0f 01>]
Jun 27 02:17:53 estel pppd[405]: rcvd [LCP ProtRej id=0x5 80 fd 01 01 00 0f 1a 04 68 00 18 04 68 00 15 03 2f]
Jun 27 02:17:53 estel pppd[405]: rcvd [IPCP ConfAck id=0x2 <addr 81.42.135.126> <compress VJ 0f 01>]
Jun 27 02:17:53 estel pppd[405]: Cannot determine ethernet address for proxy ARP
Jun 27 02:17:53 estel pppd[405]: local IP address 81.42.135.126
Jun 27 02:17:53 estel pppd[405]: remote IP address 80.58.197.167
Any suggestion...patch....i'm fully available :)
I've got this exact same problem on 2.5.73-bk5. Connection gets dropped
just after a connection. When I switch back to a previous kernel everything
works fine. Setup is
PAP authentication
56K v.92 modem connection over USB serial connection
UP kernel on P4 1.8 GHz
Let me know if there's anything else I can check.
--
Matthew Harrell Never raise your hand to your
Bit Twiddlers, Inc. children - it leaves your
[email protected] midsection unprotected.
On Fri, 2003-06-27 at 22:20, Matthew Harrell wrote:
> Let me know if there's anything else I can check.
The only way I found is to take the drivers/net/ppp_generic.c from the
original 2.5.73.
Neither the patch sent me by Diego Calleja Garc?a works :/
--
Flameeyes <[email protected]>
On 27 Jun 2003 22:57:21 +0200
Flameeyes <[email protected]> wrote:
> Neither the patch sent me by Diego Calleja Garc?a works :/
It was Stephen Hemminger <[email protected]>; i never sent any patch.
On Fri, 2003-06-27 at 23:51, Diego Calleja Garc?a wrote:
> It was Stephen Hemminger <[email protected]>; i never sent any patch.
sorry I need a copy&paste smarter than me