Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


iqofone

7 posts

Wannabe Geek


#8764 28-Jul-2006 10:19

I have been doing some work with this module, however when I use a PC to establish a GPRS connection it comes up with connect, and thats it.

at+cgdcont=1,"IP","INTERNET"
at+cgreg=1
at+cgatt=1
atd*99***1#
connect

and thats it.... with every other modem module as soon as you receive the connect, you end up with alot of PPP connections stuff come through and then soon disconnects (which is normal).

It can establish the connection fine with at*e2 commands.


Create new topic
freitasm
BDFL - Memuneh
80652 posts

Uber Geek
+1 received by user: 41044

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

#42669 28-Jul-2006 10:25
Send private message

Have you tried other APNs, such as web.vodafone.net.nz? Check with Vodafone that the account on this SIM card can access the "Internet" APN or at least has a "*" wildcard in it.





Referral links: Quic Broadband (free setup code: R587125ERQ6VE) | Samsung | AliExpress | Wise | Sharesies 

 

Support Geekzone by subscribing (browse ads-free), or making a one-off or recurring donation through PressPatron.

 




cyril7
9075 posts

Uber Geek
+1 received by user: 2499

ID Verified
Trusted
Subscriber

  #42698 28-Jul-2006 11:45
Send private message

You will need to replace  "INTERNET" with a valid APN, "web.vodafone.net.nz" will do.

Cyril

johnr
19282 posts

Uber Geek
+1 received by user: 2526
Inactive user


  #42702 28-Jul-2006 12:10
Send private message

should use www.vodafone.net.nz




cyril7
9075 posts

Uber Geek
+1 received by user: 2499

ID Verified
Trusted
Subscriber

  #42704 28-Jul-2006 12:17
Send private message

They both will work, one will return a public address, the other a vodafone private address, other than that they seem to work the same from all the devices that I have attached to the network.

Cyril

iqofone

7 posts

Wannabe Geek


  #42749 28-Jul-2006 17:09

I don't seem to have any problem if I place that sim card into another GPRS modem module (wavecom).  I use the APN "INTERNET" because the others are firewalled (I'm testing using port 3000 for TCP and 5000 for UDP messages) and also have an optimiser, which I don't want anything to do with... my data has to be 100% without adding another potential complexity.

I think it is something specific to the GR47?

iqofone

7 posts

Wannabe Geek


  #42750 28-Jul-2006 17:10

By the way, I have been testing the GR47 as both server and client.  So I needed the public IP address.

 
 
 
 

Shop now for Lego sets and other gifts (affiliate link).
cyril7
9075 posts

Uber Geek
+1 received by user: 2499

ID Verified
Trusted
Subscriber

  #42764 28-Jul-2006 18:41
Send private message

Unless you have your own APN (or VPN in GPRS talk) then you cannot be allocated a static IP. Therefore running a listening port is not an option unless you run a dynamic DNS client on the remote terminal. But I guess you already new that.

I have seen the ÏNTERNET" apn used and always assumed that either on the SIM or within the Network this is simply an alias to the literal APN of www.vodafone.net.nz or web.vodafone.net.nz.

Cyril

iqofone

7 posts

Wannabe Geek


  #42890 31-Jul-2006 08:36

Yes, you are allocated a dynamic IP, and yes you are right about the DNS. I will worry about the details of how I'm going to do that later...(posting the IP address to a known server? I'm pretty sure that the module doesn't support naming... it can look up).

As for the other comment about the APN's. I have had some lengthy talks with vodafone business solutions about APN's, as our target customers are overseas and will most likely have their own APN's.... We cannot afford to set one up just for testing... and the "INTERNET" APN is about the closest as it dosn't have a firewall, or restrictions that the others do (I can't vouch for all of them, but thats what I've been told)...  The two mentioned "www.vodafone.net.nz" and "web.vodafone.net.nz" have a network optimiser which is used to compress webpages, and images being viewed on wap phones, this as I understand is done on vodafones servers automatically.

Robert.

cyril7
9075 posts

Uber Geek
+1 received by user: 2499

ID Verified
Trusted
Subscriber

  #42896 31-Jul-2006 09:27
Send private message

Cant remember on the GR series, but on the Wavecoms, if you are using the internal stack in the modem, then you can set the DNS server with a AT# command, and you then can names rather than hard ips for the address when setting up a connection.

As for using listening ports, I have set these up in the past, you must use whichever APN provides public address, as there is no NAT virtual server service to route inbound connections. But the system definitely is bent toward the mobile providing a client connection. If connections drop (as they can alot in mobile systems) then it is a lot easier for a client socket in the mobile to reconnect than for the server socket in the mobile to reconnect, somehow report its adderss to somewhere and landside clients to reconnect.

Cyril


iqofone

7 posts

Wannabe Geek


  #42898 31-Jul-2006 10:22

The GR47 automatically sets the DNS server, but how do you assign a name to a Modem module?  Can you? on any module?  This would help alot for trying to connect from the internet to the modem module.

Our overseas clients can afford to have their own APN and have static IP address's and all the things that I want for testing.... but for now I have to settle for either the GR47 to report its IP address to a server (me), if I want to connect to it as a client. Or read the GR47's IP address directly.

However, none of this is a problem at the moment.... The module is doing everything its supposed to do using the AT*e2 commands, the problem begins when I want to do an ordanary GPRS connection through a PC.  It never connects.  And the point at where it stops is where it says it is connected.  Its almost like its internal stack is taking over?

Normally with any GPRS modem when you type at*99***1# you get to see the words "Connected" followed by PPP communications, if your using hyperterminal like me, it disconnects (because I don't do PPP :-P).

Now, when I use the GR47 and type at*99***1#, I see "Connected" and nothing?


cyril7
9075 posts

Uber Geek
+1 received by user: 2499

ID Verified
Trusted
Subscriber

  #42900 31-Jul-2006 10:33
Send private message

Dunno, maybe DTR is wrong, and as soon as it connects it immediately drops back to AT. As you say it could also be the internal stack is still running, I have only used the erricson units a while ago, due to the cost I settled on using Wavecoms.

As for naming the module, I doubt you could. With a private APN, I understand that you have IP's assigned to SIMs, that would remove all problems with regards to mobiles listening. You would need to check that with VF support.

Cheers
Cyril

 
 
 

Shop now at Mighty Ape (affiliate link).
iqofone

7 posts

Wannabe Geek


  #42908 31-Jul-2006 11:17

I'll check the DTR line, but its not dropping back to AT.  I'll get back to you on that?

The funny thing is we were using the wavecoms, but they are too expensive, thats why we are developing with the GR47's.

iqofone

7 posts

Wannabe Geek


  #43159 2-Aug-2006 16:34

No its not the DTR line, I have tried everything. HW handshaking, tying it high , tying it low.... you name it.

But I have found something else.... I had forgotten to activate the context (AT+CGACT=1,1), however when I do this I can no longer ATD anything.

Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.