Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Connect to Internet via GPRS, Additional ppp commands for DSL?< Next Oldest | Next Newest >
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Jan. 20 2007,10:56 QUOTE

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)
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Jan. 20 2007,15:09 QUOTE

What is the output of the route command?
Who/What provides your gateway?
Back to top
Profile PM WEB 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Jan. 21 2007,06:13 QUOTE

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
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Feb. 05 2007,12:14 QUOTE

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
Back to top
Profile PM 
3 replies since Jan. 20 2007,10:56 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Connect to Internet via GPRS

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code