LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 11-04-2009, 08:57 AM   #1
agibson
LQ Newbie
 
Registered: Oct 2009
Distribution: fedora, suse
Posts: 4

Rep: Reputation: 1
Question GSM (iDEN) cellullar modems - Networking Connectivity Issues


I am looking for some good (working?) references or direct help.
When doing GSM modems, you have to give it the correct AT commands.
I have PDF reference files on the AT commands, but which ones, in which order and with what parameters is the the question. I have been working on this for over 4 weeks and have frustrating times and little successes, but have not had a big break through.


WHAT: I want to connect the linux SBC to the Internet by way of a GSM (iDEN) modem using PPP.

CURRENT: I have found this order for connecting.
ATZ2
AT+WS46=24
AT+WS45=4
AT+WVCLASS=9
AT&W2
ATDS=2

The dialing of the S=2 seems to dial something that I am assuming is the saved (&W2) two parameters. I added this to the chat script for startup of the PPP.

Okay, so I get the "connect" finally. the SBC finally goes on line with a PPP0 driver and an IP address. It is a local 10. number and the gateway is a 10. number. But no pings to the outside world.

BEFORE CONNECTING:
I do a "at+wpstate" and get info that the modem is PACKET service type, 65.76.xxx.xxx VALID NEI (which is the fixed IP address from NO service Next tell ). the modem is registered and the MIP is registered also.
I do a "at+wv305?" and the MIP home agent address IP is "170.206.xxx.xxx"
I do a "at+wv324?" and the dns ip's are "170.206.xx.xx" "170.206.xx.xx"

AFTER CONNECTING:
I can ping the local 10. PPP0 ip. I can not ping the 10. gateway or 65. or the 170. ip numbers above.
I have a route of all addresses going through the 10. gateway mentioned.
I do not see where the modem 10. gateway and the 65. NEI IP address are connected. Does the modem do that internally? Do you have to enable it some how? I have checked with the modem vendor, not much help yet.

Bottom line: What am I missing? What more do you need to know to help me solve this problem?
 
Old 11-05-2009, 10:28 AM   #2
agibson
LQ Newbie
 
Registered: Oct 2009
Distribution: fedora, suse
Posts: 4

Original Poster
Rep: Reputation: 1
Question Some answers to the questions (route)

routing appears to be part of the problem.
check the systems route tables. "route"
if their is a default route, then the PPPD will not create one.
You may need to use the route command to add or del routes.
Be very aware of what routes are being made or deleted.
this area is a little of Black Magic, until you understand it.

so i deleted the default route and then restarted the PPPD and a new default route using the 10. ip numbers. So now I can get out bound.

Inbound is still a problem. it uses a 65. ip number from the outside world.
 
Old 11-18-2009, 06:35 PM   #3
agibson
LQ Newbie
 
Registered: Oct 2009
Distribution: fedora, suse
Posts: 4

Original Poster
Rep: Reputation: 1
Smile The connection goes wacko after 30 to 90 seconds

The route appears problem appears to be fixed.
delete the existing route, and pppd will add one for you?
I think that is what it did.
now the system pings the outside world, but the ping stops after 30 to 90 seconds.
A full reset is needed to get it running again.

The outside world could not get inside to the box.
so I added some mystic at commands.
at+wvvip=1,"10.23.6.2"
yep, got have the " or it does not work.
at+wv330=1,80,80,6,"10.23.6.2"
yep, the " again, got to have them.
these appeared to allow the outside world into the box where open ports were.

It would be nice if the manufactor, knew how to write manuals that explained the AT command set usage and interaction to make different things happen. Maybe working sample code. But alas, that is asking to much of a battery eliminator company.
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Gsm antena / Gsm / Wifi / Bluetooh dangerous? level of energy, all you should know frenchn00b General 8 07-08-2009 03:06 PM
What GSM phone can I buy to test wireless connectivity with fedora linux? karthickannamalai Linux - Software 1 06-27-2008 07:11 AM
How to access GSM Modems from Linux Machine karthickannamalai Linux - Newbie 5 06-25-2008 05:13 PM
Gsm Modems & Linux bennethos Linux - Hardware 0 02-13-2008 11:44 AM
"gsm cellular phones data connectivity" nksundaram Linux - General 1 08-23-2001 12:58 AM


All times are GMT -5. The time now is 10:56 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration