Re: GPRS connection to the public APN on a cell network - HELP
After struggling with my options file I got it semi-working. (at last)
It appears that I am connecting but I can not ping any machine.
The output when running my script is:
Serial connection established.
using channel 1
Using interface ppp0
Connect: ppp0 <--> /dev/ttyS5
sent [LCP ConfReq id=0x1 <pcomp>]
rcvd [LCP ConfReq id=0x1 <asyncmap 0xa0000> <auth pap>]
sent [LCP ConfRej id=0x1 <asyncmap 0xa0000>]
rcvd [LCP ConfRej id=0x1 <pcomp>]
sent [LCP ConfReq id=0x2]
rcvd [LCP ConfReq id=0x2 <auth pap>]
sent [LCP ConfAck id=0x2 <auth pap>]
rcvd [LCP ConfAck id=0x2]
sent [PAP AuthReq id=0x1 user="xxxx" password=<hidden>]
rcvd [PAP AuthAck id=0x1 ""]
PAP authentication succeeded
sent [IPCP ConfReq id=0x1 <addr 196.36.72.244> <ms-dns1 0.0.0.0> <ms-
dns3 0.0.0.0>]
rcvd [IPCP ConfReq id=0x3 <addr 85.102.119.136>]
sent [IPCP ConfAck id=0x3 <addr 85.102.119.136>]
rcvd [IPCP ConfAck id=0x1 <addr 196.36.72.244> <ms-dns1 0.0.0.0> <ms-
dns3 0.0.0.0>]
local IP address 196.36.72.244
remote IP address 85.102.119.136
Script /etc/ppp/ip-up started (pid 214)
Script /etc/ppp/ip-up finished (pid 214), status = 0x0
My ifconfig says:
ppp0 link encap: Point to Point Protocol
inet addr : 196.36.72.244 P-t-P 85.102.119.136 Mask
255.255.255.255
UP POINTTOPOINT RUNNING NOARP MULTILINK MTU:1500 Metric :
1
Rx packets: 2 errors: 0 dropped 0 overuns: 0 frame: 0
Tx packets: 2 errors: 0 dropped 0 overuns: 0 frame: 0
colllisions: 0 txquelen: 3
Rxbytes 32 (32.0b) Txbytes 32.0b)
when running route -n i get:
Destination Gateway Genmask Flags Metric Use ID Ref
85.102.119.136 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 pp0
This lead me to believe that my pppd is up and running. (but I am
concerned that I do not have a default entry in the route table, that
is a requirement according to the PPP-Howto.?)
Any pointers as to what I can check? Any help will be appreciated.
TIA
Jan Coetzer |