If anybody's got some experience with this I'd appreciate some help. I have some
info I'll cut and paste into this message... plz look it over and lemme' know
what you think.

Here's the problem... a 1B connection is easy... here's the chat script for
that:


#/etc/sysconfig/chat-ppp0
'ABORT' 'BUSY'
'ABORT' 'ERROR'
'ABORT' 'NO CARRIER'
'ABORT' 'NO DIALTONE'
'ABORT' 'Invalid Login'
'ABORT' 'Login incorrect'
'' 'AT&F@B0=2%A4=1'
'OK' 'ATDT XXX9515'
'CONNECT' ''
# end 1B script

...a 2B connection has proven impossible... here's the chat script for that:

#/etc/sysconfig/chat-ppp0-2B
'ABORT' 'BUSY'
'ABORT' 'ERROR'
'ABORT' 'NO CARRIER'
'ABORT' 'NO DIALTONE'
'ABORT' 'Invalid Login'
'ABORT' 'Login incorrect'
''
'ATZ'
'OK'
'ATQ0V1'
'OK'
'AT&D2%A2=95@B0=2'
'OK'
'ATDT XXX9515&XXX9515'
'CONNECT' ''

Here's the ifcfg-ppp0 for both of them (note: for testing purposes I've been
manually switching between the two chat scripts I posted above):

#/etc/sysconfig/ifcfg-ppp0
DEVICE="ppp0"
ONBOOT="no"
USERCTL="yes"
MODEMPORT="/dev/modem"
LINESPEED="115200"
PERSIST="yes"
DEFABORT="yes"
DEBUG="yes"
INITSTRING="ATZ%A2=95@B0=2"
DEFROUTE="yes"
HARDFLOWCTL="yes"
ESCAPECHARS="no"
PPPOPTIONS="noipx"
PAPNAME="xxx"
REMIP=""
NETMASK=""
IPADDR=""
MRU=""
MTU=""
DISCONNECTTIMEOUT=""
RETRYTIMEOUT="5"
BOOTPROTO="none"
#end ifcfg-ppp0

I have the full support of the dial-up provider in getting this fixed. In his
radius he has allocated 2 channels to me and he's set the negotiation to both MP
and MPP at various times as we've tried to work this out. Right now I get the
following when I execute a 1B connection and his negotiation is set to MP (note:
I've X'd out items which shouldn't be public):

Jul 21 14:29:23 ns ifup-ppp: pppd started for ppp0 on /dev/modem at 115200
Jul 21 14:29:23 ns pppd[24954]: pppd 2.3.3 started by root, uid 0
Jul 21 14:29:24 ns chat[24955]: abort on (BUSY)
Jul 21 14:29:24 ns chat[24955]: abort on (ERROR)
Jul 21 14:29:24 ns chat[24955]: abort on (NO CARRIER)
Jul 21 14:29:24 ns chat[24955]: abort on (NO DIALTONE)
Jul 21 14:29:24 ns chat[24955]: abort on (Invalid Login)
Jul 21 14:29:24 ns chat[24955]: abort on (Login incorrect)
Jul 21 14:29:24 ns chat[24955]: send (AT&F@B0=2%A4=1^M)
Jul 21 14:29:24 ns chat[24955]: expect (OK)
Jul 21 14:29:25 ns chat[24955]: ^M
Jul 21 14:29:25 ns chat[24955]: OK
Jul 21 14:29:25 ns chat[24955]:  -- got it 
Jul 21 14:29:25 ns chat[24955]: send (ATDT XXX9515^M)
Jul 21 14:29:25 ns chat[24955]: expect (CONNECT)
Jul 21 14:29:25 ns chat[24955]: ^M
Jul 21 14:29:28 ns chat[24955]: ATDT XXX9515^M^M
Jul 21 14:29:28 ns chat[24955]: CONNECT
Jul 21 14:29:28 ns chat[24955]:  -- got it 
Jul 21 14:29:28 ns chat[24955]: send (^M)
Jul 21 14:29:28 ns pppd[24954]: Serial connection established.
Jul 21 14:29:29 ns pppd[24954]: Using interface ppp0
Jul 21 14:29:29 ns pppd[24954]: Connect: ppp0 <--> /dev/modem
Jul 21 14:29:55 ns pppd[24954]: Remote message: 
Jul 21 14:29:55 ns pppd[24954]: local  IP address XXX.XXX.XXX.XXX
Jul 21 14:29:55 ns pppd[24954]: remote IP address XXX.XXX.XXX.XXX

With a 1B connection everything works perfectly... I can ping, ftp, whatever!

When I execute a 2B connection this is what I get:

Jul 21 14:23:38 ns pppd[24840]: pppd 2.3.3 started by root, uid 0
Jul 21 14:23:40 ns chat[24841]: abort on (BUSY)
Jul 21 14:23:40 ns chat[24841]: abort on (ERROR)
Jul 21 14:23:40 ns chat[24841]: abort on (NO CARRIER)
Jul 21 14:23:40 ns chat[24841]: abort on (NO DIALTONE)
Jul 21 14:23:40 ns chat[24841]: abort on (Invalid Login)
Jul 21 14:23:40 ns chat[24841]: abort on (Login incorrect)
Jul 21 14:23:40 ns chat[24841]: send (ATZ^M)
Jul 21 14:23:40 ns chat[24841]: expect (OK)
Jul 21 14:23:40 ns chat[24841]: ATZ^M^M
Jul 21 14:23:40 ns chat[24841]: OK
Jul 21 14:23:40 ns chat[24841]:  -- got it 
Jul 21 14:23:40 ns chat[24841]: send (ATQ0V1^M)
Jul 21 14:23:40 ns chat[24841]: expect (OK)
Jul 21 14:23:40 ns chat[24841]: ^M
Jul 21 14:23:40 ns chat[24841]: ^M
Jul 21 14:23:40 ns chat[24841]: OK
Jul 21 14:23:40 ns chat[24841]:  -- got it 
Jul 21 14:23:40 ns chat[24841]: send (AT&D2%A2=95@B0=2^M)
Jul 21 14:23:41 ns chat[24841]: expect (OK)
Jul 21 14:23:41 ns chat[24841]: ^M
Jul 21 14:23:41 ns chat[24841]: ^M
Jul 21 14:23:41 ns chat[24841]: OK
Jul 21 14:23:41 ns chat[24841]:  -- got it 
Jul 21 14:23:41 ns chat[24841]: send (ATDT XXX9515&XXX9515^M)
Jul 21 14:23:41 ns chat[24841]: expect (CONNECT)
Jul 21 14:23:41 ns chat[24841]: ^M
Jul 21 14:23:45 ns chat[24841]: ^M
Jul 21 14:23:45 ns chat[24841]: CONNECT
Jul 21 14:23:45 ns chat[24841]:  -- got it 
Jul 21 14:23:45 ns chat[24841]: send (^M)
Jul 21 14:23:45 ns pppd[24840]: Serial connection established.
Jul 21 14:23:46 ns pppd[24840]: Using interface ppp0
Jul 21 14:23:46 ns pppd[24840]: Connect: ppp0 <--> /dev/modem
Jul 21 14:23:48 ns pppd[24840]: Remote message: 
Jul 21 14:23:51 ns pppd[24840]: local  IP address XXX.XXX.XXX.XXX
Jul 21 14:23:51 ns pppd[24840]: remote IP address XXX.XXX.XXX.XXX

As you can see everything is successful so far as the log is concerned. The
problem is that there is no network available to me with a 2B connection. No
ping, no ftp, no outside connectivity at all!

I have seen this device work with a 2B connection on another network and I know
it will but after months of fooling with it (when time permits) I've given up.
All help appreciated!

-- 
Chuck Mead, CTO, MoonGroup Consulting, Inc. <http://moongroup.com> 
Mail problems? Send "s-u-b-s-c-r-i-b-e mailhelp" (no quotes and no
hyphens) in the body of a message to [EMAIL PROTECTED]
                              




-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]

Reply via email to