Subject: stupid pppd q.
To: None <netbsd-help@netbsd.org>
From: Herb Peyerl <hpeyerl@beer.org>
List: netbsd-help
Date: 10/11/2001 10:36:47
Ok, so this isn't strictly a NetBSD question, but I'm trying to get
something working using pppd on NetBSD.

So I have this NovatelWireless GPRS card that is really just a 16550
uart and a 'modem' that uses the AT command set.

What happens is you send an 'AT' command sequence to activate the card on
the GPRS network, and it starts spewing ppp packets at you. no problem.

I've managed to register and authenticate on the network but then the
stupid network wants to use an address of 255.255.255.255 for the 
remote address and I'm not quite sure what to make of it.   The remote
network is operated by a local cellphone provider.  This all works 
under Windoze and WinCE.  

Has anyone seen this or does anyone know what they're trying to do? My
guess is 'we want all of your packets. every last one of them'.  I could
see how this could work fine under windoze but it seems 'wrong'.


Here's my pppd debug output:

Oct 10 14:12:52 sixpack pppd[352]: pppd 2.4.0 started by hpeyerl, uid 0
Oct 10 14:12:55 sixpack chat[354]: abort on (BUSY)
Oct 10 14:12:55 sixpack chat[354]: abort on (NO CARRIER)
Oct 10 14:12:55 sixpack chat[354]: abort on (ERROR)
Oct 10 14:12:55 sixpack chat[354]: send (AT^M)
Oct 10 14:12:55 sixpack chat[354]: expect (OK)
Oct 10 14:12:55 sixpack chat[354]: AT^M^M
Oct 10 14:12:55 sixpack chat[354]: OK
Oct 10 14:12:55 sixpack chat[354]:  -- got it
Oct 10 14:12:55 sixpack chat[354]: send (ATDT*99#^M)
Oct 10 14:12:55 sixpack chat[354]: expect (CONNECT)
Oct 10 14:12:55 sixpack chat[354]: ^M
Oct 10 14:13:07 sixpack chat[354]: ATDT*99#^M^M
Oct 10 14:13:07 sixpack chat[354]: CONNECT
Oct 10 14:13:07 sixpack chat[354]:  -- got it
Oct 10 14:13:07 sixpack pppd[352]: Serial connection established.
Oct 10 14:13:07 sixpack pppd[352]: Using interface ppp0
Oct 10 14:13:07 sixpack pppd[352]: Connect: ppp0 <--> /dev/tty04
Oct 10 14:13:11 sixpack pppd[352]: Remote message: TTP Com PPP - Password Verifi
ed OK
Oct 10 14:13:15 sixpack pppd[352]: Peer is not authorized to use remote address
255.255.255.255
Oct 10 14:13:15 sixpack pppd[352]: Connection terminated.
Oct 10 14:13:15 sixpack pppd[352]: Connect time 0.2 minutes.
Oct 10 14:13:15 sixpack pppd[352]: Sent 230 bytes, received 316 bytes.
Oct 10 14:13:17 sixpack pppd[352]: Exit.