Joachim Ott-2 wrote: > > 2009/2/18 lakshmikanth <t.lakshmika...@gmail.com>: >> >> I get a ppp0 connection when i followed the steps given in " >> http://wiki.openmoko.org/wiki/GPRS_FSO " for connecting to GPRS. >> But i cannot access internet from GPRS, i cannot even ping any >> website/IP. >> DNS automatically comes up when i use gprs_on.sh as 10.11.206.2 and >> 10.11.206.3 >> >> here is the way my phone works: >> >> debian-gta02:~# ./gprs-on.sh >> /org/freesmartphone/GSM/Device: ActivateContext -> >> >> after that #ifconfig gives me this "ppp0 connection " >> >> ppp0 Link encap:Point-to-Point Protocol >> inet addr:10.16.61.110 P-t-P:10.64.64.64 Mask:255.255.255.255 >> UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 >> RX packets:5 errors:0 dropped:0 overruns:0 frame:0 >> TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 >> collisions:0 txqueuelen:3 >> RX bytes:122 (122.0 B) TX bytes:283 (283.0 B) >> >> debian-gta02:~# route >> Kernel IP routing table >> Destination Gateway Genmask Flags Metric Ref Use >> Iface >> 10.64.64.64 * 255.255.255.255 UH 0 0 0 >> ppp0 >> 192.168.0.0 * 255.255.255.0 U 0 0 0 >> usb0 >> default * 0.0.0.0 U 0 0 0 >> ppp0 >> >> debian-gta02:~# ping www.google.com >> PING www.l.google.com (209.85.153.104) 56(84) bytes of data. >> ^C >> --- www.l.google.com ping statistics --- >> 18 packets transmitted, 0 received, 100% packet loss, time 17014ms > > It looks different here: > > 1. the nameservers are not in the local net: > > r...@gta02v6:~ # cat /etc/resolv.conf > nameserver 212.23.97.2 > nameserver 212.23.97.3 > > 2. but the main reason must be the missing gateway: > > r...@gta02v6:~ # route > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use > Iface > 10.64.64.64 * 255.255.255.255 UH 0 0 0 > ppp0 > 192.168.0.0 * 255.255.255.0 U 0 0 0 > usb0 > default 10.64.64.64 0.0.0.0 UG 0 0 0 > ppp0 > r...@gta02v6:~ # ping www.google.com > PING www.google.com (74.125.79.103): 56 data bytes > 64 bytes from 74.125.79.103: seq=0 ttl=238 time=726.943 ms > 64 bytes from 74.125.79.103: seq=1 ttl=238 time=746.121 ms > 64 bytes from 74.125.79.103: seq=2 ttl=238 time=820.809 ms > > You have the following at the default route: > > default * 0.0.0.0 U 0 0 0 > ppp0 > > no gateway. try to set it by hand after the ppp-connection is up. > > _______________________________________________ > support mailing list > support@lists.openmoko.org > https://lists.openmoko.org/mailman/listinfo/support > >
I think nameserver may vary from operator to operator(i use Vodafone India) and also when i ping google, it finds the IP to be connected correctly(i test that ip in web browser of my PC). So I think it(DNS) may be correct. for the gateway: i have removed the default one with(route del default) and added a new one as (route add default gw 10.64.64.64) So, now it becomes like this : debian-gta02:~# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 10.64.64.64 * 255.255.255.255 UH 0 0 0 ppp0 192.168.0.0 * 255.255.255.0 U 0 0 0 usb0 default 10.64.64.64 0.0.0.0 UG 0 0 0 ppp0 debian-gta02:~# cat /etc/resolv.conf nameserver 10.11.230.2 nameserver 10.11.230.3 debian-gta02:~# ping www.google.com PING www.l.google.com (209.85.153.104) 56(84) bytes of data. ^C --- www.l.google.com ping statistics --- 5 packets transmitted, 0 received, 100% packet loss, time 4013ms debian-gta02:~# ping 10.64.64.64 PING 10.64.64.64 (10.64.64.64) 56(84) bytes of data. ^C --- 10.64.64.64 ping statistics --- 5 packets transmitted, 0 received, 100% packet loss, time 4002ms I cant even ping Gateway....? i still confused..!! any other things to be done??? -- View this message in context: http://n2.nabble.com/problem-in-Using-GPRS--Debian--tp2345794p2351757.html Sent from the Openmoko Support mailing list archive at Nabble.com. _______________________________________________ support mailing list support@lists.openmoko.org https://lists.openmoko.org/mailman/listinfo/support