LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 02-27-2007, 04:40 PM   #1
kevinuu
LQ Newbie
 
Registered: Feb 2007
Posts: 5

Rep: Reputation: 0
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
 
Old 02-28-2007, 01:43 AM   #2
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
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.

Last edited by blackhole54; 02-28-2007 at 01:48 AM.
 
  


Reply

Tags
gprs, ppp, pppd


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GPRS PPP problem HELP ibibiking Linux - Wireless Networking 4 04-30-2006 02:11 PM
Help GPRS ppp Connection ibibiking Linux - Wireless Networking 3 04-10-2006 06:26 AM
Linux GPRS ppp howto philipvarghese Linux - Newbie 0 12-09-2005 07:40 PM
GPRS connection problem maginotjr Linux - Networking 2 07-11-2005 04:03 AM
ppp + gprs vampire Janus Linux - Networking 0 10-21-2004 06:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 11:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration