Connect to Internet via GPRS


Forum: Networking
Topic: Connect to Internet via GPRS
started by: Juanito

Posted by Juanito on Jan. 20 2007,10:56
I've been trying to connect to the Internet in DSL via a GPRS enabled mobile phone.

It looks like I'm connecting and it looks like I'm sending data out from the phone - the problem is that it looks like the data does not get back from the phone to my DSL machine.

I have the feeling I need some kind of ppp command to tie things up - does anybody have any ideas?

CONNECT
--> Carrier detected.  Starting PPP immediately.
--> Starting pppd at Sat Jan 13 15:20:30 2007
--> pid of pppd: 1492
--> Using interface ppp0
--> pppd: =0
--> pppd: =0
--> local  IP address 217.165.202.235
--> pppd: =0
--> remote IP 217.165.202.234
--> pppd: =0
--> primary   DNS address 195.229.241.222
--> pppd: =0
--> secondary DNS address 213.42.20.20
--> pppd: =0

At this point I opened another terminal window and tried to ping various address - the only address I get is the remote IP address:

# ping 217.165.202.234      
PING 217.165.202.234 (217.165.202.234): 56 data bytes
64 bytes from 217.165.202.234: icmp_seq=0 ttl=250 time=2914.0 ms

# ifconfig

ppp0      Link encap:Point-to-Point Protocol  
         inet addr:217.165.202.235  P-t-P:217.165.202.234  Mask:255.255.255.255
         UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
         RX packets:9 errors:0 dropped:0 overruns:0 frame:0
         TX packets:76 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:3
         RX bytes:484 (484.0 b)  TX bytes:6061 (5.9 KiB)

Posted by roberts on Jan. 20 2007,15:09
What is the output of the route command?
Who/What provides your gateway?

Posted by Juanito on Jan. 21 2007,06:13
Quote (roberts @ Jan. 20 2007,14:09)
What is the output of the route command?
Who/What provides your gateway?

CONNECT
--> Carrier detected.  Starting PPP immediately.
--> Starting pppd at Sun Jan 21 09:49:49 2007
--> pid of pppd: 1570
--> Using interface ppp0
--> pppd: =0
--> pppd: =0
--> local  IP address 217.165.200.209
--> pppd: =0
--> remote IP address 217.165.200.208
--> pppd: =0
--> primary   DNS address 195.229.241.222
--> pppd: =0
--> secondary DNS address 213.42.20.20
--> pppd: =0

# route [using a 2nd terminal window]
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
217.165.200.208 *               255.255.255.255 UH    0      0        0 ppp0
default         217.165.200.208 0.0.0.0         UG    0      0        0 ppp0


In the same fashion as dial-up using a "normal" modem, I was presuming that the ISP would provide the gateway - I can browse the Internet directly from the phone using GPRS

Posted by Juanito on Feb. 05 2007,12:14
I'm still trying to make this work (irritatingly, GPRS over Bluetooth and irda works in W2K without any setup at all) and wondered if using wvdial on DSL might be the problem.

I looked at the ppp directories in DSL right after boot and found that etc/ppp is symlinked to /opt/ppp and thus the /peers subdirectory appears as /opt/ppp/peers.

Although the wvdial application is not present in DSL, there are two files in /opt/ppp/peers with wvdial in their name:

wvdial
------
noauth
name wvdial
usepeerdns

wvdial-pipe
-----------
noauth
name wvdial
plugin passwordfd.so
defaultroute
replacedefaultroute

Does anybody know of a reason for these two files to be present?

If I install the deb package for wvdial, it places files in etc/ppp and etc/ppp/peers and thus overwrites the symlink to /opt/ppp. Whilst this doesn't appear to be a problem for "dial-up classic" with wvdial, I'm wondering if this is the reason why GPRS dial-up apparently connects, data goes out but nothing appears to make it back to DSL?

Any suggestions would be welcome

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.