rendered paste bodylamikr@h6300:~$ /usr/sbin/pppd call gprs
GPRS modem init: press <ctrl>-C to disconnect
+ defining PDP context
+ attaching to GPRS
+ requesting data connection
Serial connection established.
using channel 2
Using interface ppp0
Connect: ppp0 <--> /dev/ttyS1
sent [LCP ConfReq id=0x1 <asyncmap 0x20a0000> <magic 0xd39ceff8> <pcomp> <accomp>]
rcvd [LCP ConfRej id=0x1 <magic 0xd39ceff8>]
sent [LCP ConfReq id=0x2 <asyncmap 0x20a0000> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x2 <asyncmap 0x20a0000> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <mru 1500> <asyncmap 0x0> <pcomp> <accomp> <auth pap>]
sent [LCP ConfAck id=0x1 <mru 1500> <asyncmap 0x0> <pcomp> <accomp> <auth pap>]
sent [PAP AuthReq id=0x1 user="h6300" password=<hidden>]
rcvd [PAP AuthAck id=0x1 "Welcome!"]
Remote message: Welcome!
PAP authentication succeeded
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
rcvd [LCP ProtRej id=0x2 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f]
rcvd [IPCP ConfReq id=0x1 <addr 192.168.111.111>]
sent [IPCP ConfAck id=0x1 <addr 192.168.111.111>]
rcvd [IPCP ConfNak id=0x1 <addr 10.101.19.52> <ms-dns1 192.89.123.230> <ms-dns3 192.89.123.231>]
sent [IPCP ConfReq id=0x2 <addr 10.101.19.52> <ms-dns1 192.89.123.230> <ms-dns3 192.89.123.231>]
rcvd [IPCP ConfAck id=0x2 <addr 10.101.19.52> <ms-dns1 192.89.123.230> <ms-dns3 192.89.123.231>]
replacing old default route to usb0 [192.168.2.1]
local IP address 10.101.19.52
remote IP address 192.168.111.111
primary DNS address 192.89.123.230
secondary DNS address 192.89.123.231
Script /etc/ppp/ip-up started (pid 4886)
Script /etc/ppp/ip-up finished (pid 4886), status = 0x0
/sbin/route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.111.111 * 255.255.255.255 UH 0 0 0 ppp0
192.0.0.0 * 255.0.0.0 U 0 0 0 usb0
default 192.168.111.111 0.0.0.0 UG 0 0 0 ppp0
root@h6300:/var/run# ls -la /etc/resolv.conf
lrwxrwxrwx 1 root root 20 Oct 23 2006 /etc/resolv.conf -> /var/run/resolv.conf
root@h6300:/var/run# cat /var/run/resolv.conf
nameserver 192.89.123.230
nameserver 192.89.123.231
root@h6300:/var/run# /sbin/ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:48 errors:0 dropped:0 overruns:0 frame:0
TX packets:48 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4300 (4.1 KiB) TX bytes:4300 (4.1 KiB)
ppp0 Link encap:Point-Point Protocol
inet addr:10.101.19.52 P-t-P:192.168.111.111 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1400 Metric:1
RX packets:6 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:306 (306.0 B) TX bytes:321 (321.0 B)
usb0 Link encap:Ethernet HWaddr B6:A1:B5:E9:46:46
inet addr:192.168.2.2 Bcast:192.255.255.255 Mask:255.0.0.0
inet6 addr: fe80::b4a1:b5ff:fee9:4646/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:54055 errors:0 dropped:0 overruns:0 frame:0
TX packets:43351 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:27141172 (25.8 MiB) TX bytes:6318283 (6.0 MiB)