LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   problem with GPRS connection to outside world (ppp) (https://www.linuxquestions.org/questions/linux-wireless-networking-41/problem-with-gprs-connection-to-outside-world-ppp-533059/)

kevinuu 02-27-2007 04:40 PM

problem with GPRS connection to outside world (ppp)
 
I have installed a MultiTech USB MultiModem GPRS on Slackware 10.2 with a 2.6.12 kernel.

I am able to install the modem's driver into the kernel and then dial up to the T-Mobile server, obtaining (I think) an IP address, but I cannot get traffic through the modem. I have tried pinging out through the modem (bash# ping -I ppp0 <address>), doesn't work. I also tried pinging the modem's IP (208.54.147.71) and ssh'ing into the machine through that same IP to no avail.

I have also tried this same set of actions with first killing the ethernet interface (bash# ifconfig eth0 down), with exactly the same results. Below is the command I use to call the PPP daemon and also the ifconfig and route states. Any help would be greatly appreciated!




root@slack9:~# pppd connect '/usr/sbin/chat -v ABORT "NO CARRIER" "" AT+CGDCONT=1,\"IP\",\"INTERNET3.VOICESTREAM.COM\" OK "ATDT*99***1#" CONNECT' /dev/ttyUSB0 defaultroute noauth name bogususername



root@slack9:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:E0:4C:EA:CC:72
inet addr:192.168.1.77 Bcast:192.168.10.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:181267 errors:0 dropped:0 overruns:0 frame:0
TX packets:162034 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:45978414 (43.8 Mb) TX bytes:61687903 (58.8 Mb)
Interrupt:5 Base address:0xc000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:145 errors:0 dropped:0 overruns:0 frame:0
TX packets:145 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:12132 (11.8 Kb) TX bytes:12132 (11.8 Kb)

ppp0 Link encap:Point-to-Point Protocol
inet addr:208.54.147.71 P-t-P:192.168.111.111 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:18 errors:0 dropped:0 overruns:0 frame:0
TX packets:66 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:962 (962.0 b) TX bytes:4931 (4.8 Kb)



root@slack9:~# 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.168.1.0 * 255.255.255.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
default * 0.0.0.0 U 0 0 0 ppp0

blackhole54 02-28-2007 01:43 AM

Have you looked through the logs to see if there are any clues?

The last line in your routing table looks wrong, but I am used to looking at the output with the -n option. But I think it should list 192.168.111.111 as the gateway address. And I have been wondering if I should be concerned that the gateway address is one of the addresses reserved for LANs instead of an Internet address. I am used to seeing an Internet address there, but I can't make the argument why it couldn't be a reserved address. Pardon my thinking out loud on the last point.

EDIT: Here's a tip when posting on this forum: When you have output like for your route command where things are supposed to be in columns, posting the output between "code" tags will keep the columns from getting all screwed up (although it may look screwed up in your editing box). Code tags can also keep some other weird things from happening.


All times are GMT -5. The time now is 01:24 PM.