Re: wvdial problems



In news:slrnfc9b06.jqo.ibuprofin@xxxxxxxxxxxxxxxxx,
Moe Trin <ibuprofin@xxxxxxxxxxxxxxxxxxxxxx> wrote:

OK - you said in your initial post that

]Recently, I've subscribed to a new ISP where the local dialup number
]works fine with an M$ dialup connection, but fails using wvdial:

so this _number_ works - but what we're seeing is them not responding
to a Linux LCP ConfReq. Is this the same box, or a different one?

The M$ dialup is performed from w2k on a laptop, the Linux is a
router/firewall dialup on a different box -- different
modems/drivers/dialup-clients etc.

I posted a request to an M$ newsgroup hoping for a method to log the
details of the successful dialup that occurs using that OS.
:: http://support.microsoft.com/default.aspx?scid=kb;[LN];234014
I should mention that the windoze ppp log is intentionally bloated
beyond a lot of people's tolerance - mainly to scare away the users.
I don't know of anyone reading this group that can make a lot of
sense out of it, and only one person I occasionally see posting in the
comp.protocols.ppp newsgroup (Patrick Klos) who may make an attempt to
translate it.

Yes, just recording the connection then a voluntary disconnect yielded ~17KB
of "stuff".

Let's loose the 'persist' option too.

Done for now.

....
I don't _think_ it's a factor here, but check the output of the command
'rpm -q ppp' and see which package you have.

$ rpm -q ppp
ppp-2.4.1-3

ttyS1 at 0x02f8 (irq = 3) is a 16550A
OK
$ cat /proc/interrupts
Won't show up unless some application is using the modem.

....
3: 4080 XT-PIC serial
....
verified during modem operation.

Aug 15 22:29:43 linux0 chat[4034]: CONNECT
Aug 15 22:29:43 linux0 chat[4034]: -- got it
Aug 15 22:29:43 linux0 chat[4034]: send (\dc^M^M)

Hmmm...

Aug 11 11:46:59 apraphoe chat[13969]: CONNECT
Aug 11 11:46:59 apraphoe chat[13969]: -- got it
Aug 11 11:46:59 apraphoe chat[13969]: send (\d)

$ cat /etc/ppp/dialscript
ABORT BUSY ABORT 'NO CARRIER' "" AT&F0S11=50 OK ATDTxxxxxxx CONNECT
\d\c

Not exactly sure why the '\dc' got sent - the '\c' is supposed to exit
without sending a carriage return. Try quoting the '\d\c' at the end
of the dial-script (change the end of the line to be CONNECT '\d\c').

After quoting, the same result is achieved; indeed, the same result even if
the \d\c is omitted.

A curious thing though, is that if I dial a long-distance PoP for the same
ISP, the connection will cycle through all 10 default "sent [LCP ConfReq
...." without receiving a response before the "Modem hangup\nConnection
terminated.", rather than having a hangup after a few seconds as occurs when
dialing the local PoP number.

This suggests to me that there may be a local Telco issue coincidentally
complicating the problem, but the fact remains that the local w2k dialup
connection is successful. The authentication seems to be hexadecimal plain
text and won't be included here, but the protocol and authentication
negotiations start as:

[484] 15:36:59:754: PPPEMSG_Start recvd, d=,
hPort=5,callback=0,mask=83074a,IfType=-1
[1280] 15:36:59:754: Line up event occurred on port 5
[1280] 15:36:59:754: Local identification = MSRAS-0-W2K
[1280] 15:36:59:754: PortName: COM7
[1280] 15:36:59:754: Starting PPP on link with
IfType=0xffffffff,IPIf=0xffffffff,IPXIf=0xffffffff
[1280] 15:36:59:754: RasGetBuffer returned 123020 for SendBuf
[1280] 15:36:59:754: FsmInit called for protocol = c021, port = 5
[1280] 15:36:59:754: ConfigInfo = 83074a
[1280] 15:36:59:754: APs available = 5e
[1280] 15:36:59:754: FsmReset called for protocol = c021, port = 5
[1280] 15:36:59:754: Inserting port in bucket # 5
[1280] 15:36:59:754: Inserting bundle in bucket # 0
[1280] 15:36:59:754: FsmOpen event received for protocol c021 on port 5
[1280] 15:36:59:754: FsmThisLayerStarted called for protocol = c021, port =
5
[1280] 15:36:59:754: FsmUp event received for protocol c021 on port 5
[1280] 15:36:59:754: <PPP packet sent at 08/16/2007 22:36:59:754
[1280] 15:36:59:754: <Protocol = LCP, Type = Configure-Req, Length = 0x34,
Id = 0x0, Port = 5
[1280] 15:36:59:754: <C0 21 01 00 00 32 02 06 00 00 00 00 05 06 0E D9
|.!...2..........|
[1280] 15:36:59:754: <76 84 07 02 08 02 0D 03 06 11 04 06 4E 13 17 01
|v...........N...|
[1280] 15:36:59:754: <57 23 C1 DA 4B 7B 40 65 8F EA 28 36 08 D2 2F C5
|W#..K{@e..(6../.|
[1280] 15:36:59:754: <00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|................|
[1280] 15:36:59:754:
[1280] 15:36:59:754: InsertInTimerQ called
portid=10,Id=0,Protocol=c021,EventType=0,fAuth=0
[1280] 15:36:59:754: InsertInTimerQ called
portid=10,Id=0,Protocol=0,EventType=3,fAuth=0
[1520] 15:37:00:235: Packet received (41 bytes) for hPort 5
[1280] 15:37:00:235: >PPP packet received at 08/16/2007 22:37:00:235
[1280] 15:37:00:235: >Protocol = LCP, Type = Configure-Req, Length = 0x29,
Id = 0x1, Port = 5
[1280] 15:37:00:235: >C0 21 01 01 00 27 00 04 00 00 01 04 05 F4 02 06
|.!...'..........|
[1280] 15:37:00:235: >00 0A 00 00 03 04 C0 23 07 02 08 02 11 04 05 F4
|.......#........|
[1280] 15:37:00:235: >13 09 03 00 C0 7B A8 C9 6C 00 00 00 00 00 00 00
|.....{..l.......|
[1280] 15:37:00:235:
[1280] 15:37:00:235: <PPP packet sent at 08/16/2007 22:37:00:235
[1280] 15:37:00:235: <Protocol = LCP, Type = Configure-Reject, Length = 0xa,
Id = 0x1, Port = 5
[1280] 15:37:00:235: <C0 21 04 01 00 08 00 04 00 00 00 00 00 00 00 00
|.!..............|
[1280] 15:37:00:235:
[1520] 15:37:00:235: Packet received (9 bytes) for hPort 5
[1280] 15:37:00:235: >PPP packet received at 08/16/2007 22:37:00:235
[1280] 15:37:00:235: >Protocol = LCP, Type = Configure-Reject, Length = 0x9,
Id = 0x0, Port = 5
[1280] 15:37:00:235: >C0 21 04 00 00 07 0D 03 06 00 00 00 00 00 00 00
|.!..............|
[1280] 15:37:00:235:
[1280] 15:37:00:235: RemoveFromTimerQ called
portid=10,Id=0,Protocol=c021,EventType=0,fAuth=0
[1280] 15:37:00:235: <PPP packet sent at 08/16/2007 22:37:00:235
[1280] 15:37:00:235: <Protocol = LCP, Type = Configure-Req, Length = 0x31,
Id = 0x1, Port = 5
[1280] 15:37:00:235: <C0 21 01 01 00 2F 02 06 00 00 00 00 05 06 0E D9
|.!.../..........|
[1280] 15:37:00:235: <76 84 07 02 08 02 11 04 06 4E 13 17 01 57 23 C1
|v........N...W#.|
[1280] 15:37:00:235: <DA 4B 7B 40 65 8F EA 28 36 08 D2 2F C5 00 00 00
|.K{@e..(6../....|
[1280] 15:37:00:235: <00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|................|
[1280] 15:37:00:235:
[1280] 15:37:00:235: InsertInTimerQ called
portid=10,Id=1,Protocol=c021,EventType=0,fAuth=0
[1520] 15:37:00:405: Packet received (37 bytes) for hPort 5
[1280] 15:37:00:405: >PPP packet received at 08/16/2007 22:37:00:405
[1280] 15:37:00:405: >Protocol = LCP, Type = Configure-Req, Length = 0x25,
Id = 0x2, Port = 5
[1280] 15:37:00:405: >C0 21 01 02 00 23 01 04 05 F4 02 06 00 0A 00 00
|.!...#..........|
[1280] 15:37:00:405: >03 04 C0 23 07 02 08 02 11 04 05 F4 13 09 03 00
|...#............|
[1280] 15:37:00:405: >C0 7B A8 C9 6C 00 00 00 00 00 00 00 00 00 00 00
|.{..l...........|
[1280] 15:37:00:405:
[1280] 15:37:00:405: <PPP packet sent at 08/16/2007 22:37:00:405
[1280] 15:37:00:405: <Protocol = LCP, Type = Configure-Ack, Length = 0x25,
Id = 0x2, Port = 5
[1280] 15:37:00:405: <C0 21 02 02 00 23 01 04 05 F4 02 06 00 0A 00 00
|.!...#..........|
[1280] 15:37:00:405: <03 04 C0 23 07 02 08 02 11 04 05 F4 13 09 03 00
|...#............|
[1280] 15:37:00:405: <C0 7B A8 C9 6C 00 00 00 00 00 00 00 00 00 00 00
|.{..l...........|
[1280] 15:37:00:405:
[1520] 15:37:00:445: Packet received (49 bytes) for hPort 5
[1280] 15:37:00:445: >PPP packet received at 08/16/2007 22:37:00:445
[1280] 15:37:00:445: >Protocol = LCP, Type = Configure-Ack, Length = 0x31,
Id = 0x1, Port = 5
[1280] 15:37:00:445: >C0 21 02 01 00 2F 02 06 00 00 00 00 05 06 0E D9
|.!.../..........|
[1280] 15:37:00:445: >76 84 07 02 08 02 11 04 06 4E 13 17 01 57 23 C1
|v........N...W#.|
[1280] 15:37:00:445: >DA 4B 7B 40 65 8F EA 28 36 08 D2 2F C5 00 00 00
|.K{@e..(6../....|
[1280] 15:37:00:445: >00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|................|
[1280] 15:37:00:445:
[1280] 15:37:00:445: RemoveFromTimerQ called
portid=10,Id=1,Protocol=c021,EventType=0,fAuth=0
[1280] 15:37:00:445: FsmThisLayerUp called for protocol = c021, port = 5
[1280] 15:37:00:445: LCP Local Options-------------
[1280] 15:37:00:445:
MRU=1500,ACCM=0,Auth=0,MagicNumber=249132676,PFC=ON,ACFC=ON
[1280] 15:37:00:445: Recv Framing = PPP
Multilink,SSHF=OFF,MRRU=1614,LinkDiscrim=0,BAP=OFF
[1280] 15:37:00:445: ED Class = 1, ED Value =
5723c1da4b7b40658fea283608d22fc500000000
[1280] 15:37:00:445: LCP Remote Options-------------
[1280] 15:37:00:445:
MRU=1524,ACCM=655360,Auth=c023,MagicNumber=0,PFC=ON,ACFC=ON
[1280] 15:37:00:445: Send Framing = PPP
Multilink,SSHF=OFF,MRRU=1524,LinkDiscrim=0
[1280] 15:37:00:445: ED Class = 3, ED Value =
00c07ba8c96c0000000000000000000000000000
[1280] 15:37:00:445: LCP Configured successfully
[1280] 15:37:00:445: <PPP packet sent at 08/16/2007 22:37:00:445
[1280] 15:37:00:445: <Protocol = LCP, Type = Identification, Length = 0x14,
Id = 0x2, Port = 5
[1280] 15:37:00:445: <C0 21 0C 02 00 12 0E D9 76 84 4D 53 52 41 53 56
|.!......v.MSRASV|
[1280] 15:37:00:445: <35 2E 30 30 00 00 00 00 00 00 00 00 00 00 00 00
|5.00............|
[1280] 15:37:00:445:
[1280] 15:37:00:445: <PPP packet sent at 08/16/2007 22:37:00:445
[1280] 15:37:00:445: <Protocol = LCP, Type = Identification, Length = 0x15,
Id = 0x3, Port = 5
[1280] 15:37:00:445: <C0 21 0C 03 00 13 0E D9 76 84 4D 53 52 41 53 2D
|.!......v.MSRAS-|
[1280] 15:37:00:445: <30 2D 57 32 4B 00 00 00 00 00 00 00 00 00 00 00
|0-W2K...........|
[1280] 15:37:00:445:
[1280] 15:37:00:445: Authenticating phase started
[1280] 15:37:00:445: <PPP packet sent at 08/16/2007 22:37:00:445
[1280] 15:37:00:445: <Protocol = PAP, Type = Protocol specific, Length =
0x22, Id = 0x5, Port = 5
....
[remainder deleted]

.



Relevant Pages

  • Re: wvdial problems
    ... when connecting to a different ISP. ... OK - that basically rules out the modem. ... Support people) is dropping the connection before the default (? ... I've subscribed to a new ISP where the local dialup number ...
    (comp.os.linux.misc)
  • Re: Remotely accessing a computer
    ... You'll be much happier if you don't have dialup in general (and I'd go with ... a cable modem over DSL any day). ... The host computer needs to have an Internet connection established ...
    (microsoft.public.windowsxp.work_remotely)
  • RE: [OT] dialup modemspeed change
    ... I've changed the physical location of the Sid box and the telephone ... Now the connection is at a lower speed than before: ... The sound of V92 dialup modem on connecting has changed: ... dialup protocol the modem at your location and the one at your ISP ...
    (Debian-User)
  • Re: Cordless phones advise needed
    ... because it made the dialup connection go half-speed. ... be "dedicated" to the modem: It should run directly from the demarc to the ... was insufficient to achieve maximum connection speed. ... In telephony, if installing a switch, it must open/close BOTH sides ...
    (alt.home.repair)
  • Unable to establish dialup connection with ISP
    ... Every time I try to establish a dialup connection with my ISP I get an error ... I have no problem using either modem (both old Lucent ...
    (microsoft.public.windowsxp.help_and_support)