Eismann <(E-Mail Removed)> wrote:
> Hi there.
> I have been connecting with pppd and gprs without problems, but today i
> cant get an IP.
> I was connecting with this command:
....
> I have tried with other options and I have more output.
> -------
> root@kubuntu:/home/aitor/ppp# pppd file options-gprs connect
> ./ppp-on-dialer-gprs
> Serial connection established.
> using channel 47
> Using interface ppp0
> Connect: ppp0 <--> /dev/ttyS0
> sent [LCP ConfReq id=0x1 <asyncmap 0x0>]
> rcvd [LCP ConfAck id=0x1 <asyncmap 0x0>]
> rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0x97333300>]
> sent [LCP ConfRej id=0x1 <magic 0x97333300>]
> rcvd [LCP ConfReq id=0x2 <asyncmap 0x0> <auth pap>]
> sent [LCP ConfAck id=0x2 <asyncmap 0x0> <auth pap>]
> sent [LCP EchoReq id=0x0 magic=0x0]
> sent [PAP AuthReq id=0x1 user="cliente" password=<hidden>]
> rcvd [LCP EchoRep id=0x0 magic=0x0]
> rcvd [PAP AuthAck id=0x1 "Welcome!"]
> Remote message: Welcome!
> PAP authentication succeeded
> sent [IPCP ConfReq id=0x1 <addr 0.0.0.0>]
> rcvd [IPCP ConfReq id=0x2 <addr 192.168.202.1>]
> sent [IPCP ConfAck id=0x2 <addr 192.168.202.1>]
As in the previous two sections the peer requested 192.168.202.1
for itself and pppd agreed that it could. Then the peer hangs up,
a looped-back condition occurs, and pppd begins talking to itself.
> sent [IPCP ConfReq id=0x1 <addr 0.0.0.0>]
> rcvd [IPCP ConfReq id=0x1 <addr 0.0.0.0>]
> sent [IPCP ConfRej id=0x1 <addr 0.0.0.0>]
> rcvd [IPCP ConfRej id=0x1 <addr 0.0.0.0>]
....
The PAP authentication is usually (always?) a formality at best; real
authentication takes place "behind the scenes" and must be successful
before the GPRS PPP will provide an IP address. So, you should check
the user name and password, make sure your account is current, and
confirm that the service provider still has GPRS service available.
Or change providers.
....
> The file optios-gprs is this one:
If you've been connecting with the first configuration then I'd say
keep using it. You can tweak it to eliminate useless negotiations,
but it was the "nomagic" option in options-gprs that allowed pppd to
talk to itself.
--
Clifford Kite Email: "echo
xvgr_yvahk-(E-Mail Removed)|rot13"