Re: pppd over gprs modem
James Carlson <carlsonj <at> workingcode.com>
2006-01-15 18:35:20 GMT
Babarovic Ivica writes:
> I'm trying to configure pppd to run over GPRS modem.
> So far withouth any success. Peer just keeps on reseting the link.
You should first be aware that GPRS is very strange. It is (in my
opinion) badly designed for networking, in particular because it
deliberately redefines the operation of PPP. The actual
authentication does *NOT* take place during PPP's Authentication
phase. Instead, it takes place during Network phase, when IPCP runs.
The implication of this is that authentication errors (bad user name,
bad passphrase) on GPRS are typically reported as IPCP addressing
errors. During authentication phase, the peer sends "ack" even if
your credentials are completely wrong. This makes no operational
sense, of course, but it's how it was designed.
Problems are just par for the course.
> pppd /dev/ttyS1 19200 nocrtscts noauth defaultroute novj novjccomp user
> simobil ipcp-accept-local ipcp-accept-remote connect "exec
Instead of those ipcp-accept-* options, you probably want
"noipdefault."
> Nov 25 08:54:40 nova pppd[1175]: rcvd [LCP ConfReq id=0x3 <asyncmap
> 0xa0000> <pcomp> <accomp> <magic 0x4895f5d2> <auth chap MD5>]
> Nov 25 08:54:40 nova pppd[1175]: sent [LCP ConfNak id=0x3 <auth pap>]
One problem is that the peer is asking you to use CHAP, and you're
insisting that you want to use PAP instead. If you're absolutely sure
(Continue reading)