OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

4 Pages V   1 2 3 > »   
Reply to this topicStart new topic
> How-TO: Connet CF GPRS/GSM (AudioVox RTM8000) to internet
tamarian
post Jan 30 2004, 08:15 AM
Post #1





Group: Members
Posts: 45
Joined: 30-January 04
Member No.: 1,617



(Updated with less steps)

Hi folks,

I finally managed to get my Audiovox RTM8000 GPRS/GSM CF card to connect to the internet. I do have a Wi-Fi card, but I need to connect sometime when I'm not at a hot-spot, so this is an ideal solution for my needs.

My setup:

Sharp Zaurus SL-C760
Using Sash ROM (but a default ROM should work, as the Sash ROM gave me the same errors as the Sharp ROM, the bad Vcc error)
Audiovox RTM8000 GPRS/GSM compact flash card

GPRS/GSM provider: Fido www.fido.ca in Canada
Plan: data only, no voice. CDN$50, unlimited data

Fido network settings: (Note these, so you can replace with your own provider settings
APN: internet.fido.ca
User name: fido
Password: fido
DNS: none
IP: none

Fido simply asks for your smart card number, and the MEI number (from the bottom of your modem), and sets you up (activate)


Steps:

Note: You can download a gzip file containing serial_cs.o and sample scripys from here:

http://www.zaurususergroup.com/modules.php...q=getit&lid=183

Steps 1 and 2 are not required if you are using the Cacko Qtopia 1.2 ROM, as it contains the proper serial_cs module http://www.zaurususergroup.com/index.php?n...iewtopic&t=2232

Step 1.Download serial_cs.o driver. One place that has it available for download:

http://www.iral.com:88/~albertr/zaurus/mis.../serial_cs.o.gz

Step 2 Copy the serial_cs.o to the modules directory:

/lib/modules/2.4.18-rmk7-pxa3-embedix

Type

depmod -a
modprobe serial_cs

Step 3 edit the file /etc/pcmcia/serial.opts and set:

SERIAL_OPTS="uart 16550A"

Step 4 Insert the Audiovox RTM8000 card

Step 5A. Use the network setup application to create a dial-up PPP connection . Simply launch the network setup, select Dial-up PPP from the frop down menu. Click Add, Select, and enter the following information (Images of the screen attached below):

In the Account tab, enter any name, and in the user name and password fields, enter the username and password provided by your GPRS provider. In the phone number field, enter *99#

In the Modem tab screen (image provided below), enter the following modem init string:

AT+CGDCONT=1,\"IP\",\"internet.fido.ca\"

Simply replace "internet.fido.ca" with the APN for your GPRS provider.

Click "OK", and thin click "Connect".


That's it, you're done! The following steps are only required for debug, if the above didn't work


Step 5B Go to the directory /etc/ppp/peers

Create 3 files as follows

a. gprs (replace "fido" with your username)
CODE
# the two lines below help debugging, delete when things work fine

debug debug debug

show-password

# end debug

/dev/ttyS3

115200

crtscts

connect /etc/ppp/peers/connectgprs

user fido

usepeerdns

nomagic

mru 1500

mru 1500

:10.0.0.1

noipdefault

ipcp-accept-local

defaultroute

novj

novjccomp

disconnect /etc/ppp/peers/disconnectgprs

defaultroute


And second file, connectgprs (replace "internet.fido.ca with your provider's APN) Note, make sure you use tabs in editing this file, if you need a template use an original file from the links at the bottom, or wget http://kotinetti.suomi.net/mcfrisk/gprs-connect-chat and make the appropriate edits from this code:
CODE


exec /usr/sbin/chat -sVS

       TIMEOUT         5                              

       ECHO            ON                              



       ABORT           'nBUSYr'                      

       ABORT           'nERRORr'                    

       ABORT           'nNO ANSWERr'                

       ABORT           'nNO CARRIERr'                

       ABORT           'nNO DIALTONEr'              

       ABORT           'nRINGINGrnrnRINGINGr'    

       ''              rAT                            

       TIMEOUT         12                              

       SAY             "Press CTRL-C to close the connection at any stage!"

noipdefault

       SAY             "ndefining PDP context...n"  

       OK              ATH                            



       OK              ATE0V1                            

       OK              'AT+CGDCONT=1,"IP","internet.fido.ca","",0,0'  

       OK              ATD*99#                        

       TIMEOUT         22                              

       SAY             "nwaiting for connect...n"    

       CONNECT         ""                              

       SAY             "nConnected."

       SAY             "nIf the following ppp negotiations fail,n"  

       SAY             "try restarting the phone.n"


And last file, disconnectgprs
CODE
exec /usr/sbin/chat -s -V -S

"" "K"

"" "+++ATH"



Step 6 go to the directory /etc/ppp

edit the file chap-secrets

Add a line to insert your username and password, in my case fido and fido:

fido [tab] * [tab] "fido"

Step 7 Make sure your card is ready, type:

cardctl status

if it shows "suspended", then (only if it is suspended, otherwise skip this step) type:

cardctl resume

Step 8 Now the good part smile.gif To connect, go to /etc/ppp/peers and type:

pppd calll gprs

That should do it!

Step 9 If you want to have the connect/disconnect through the GUI network setting application, simply create a modem connection with username/password and phone number as *99#, then click o.k. (tip: you can enter an accelerator proxy here, if your provider offers one).

Then copy the gprs script to override the generated Zaurus script.

cd /etc/ppp/peers
cp grps DIALUP*

Where DIALUP1234 (or any number) is the one created by the zaurus network app.

Note: Do not edit the connection from the Network setup menu, it will overwrite your connection script

Connection output
CODE
Removed stale lock on ttyS3 (pid 4133)

Press CTRL-C to close the connection at any stage!^M

defining PDP context...

^MAT

OK

ATH

OK

ATE0V1

OK



OK

waiting for connect...

^M



CONNECT

Connected.^M

If the following ppp negotiations fail,

^Mtry restarting the phone.

^M

Serial connection established.

using channel 5

Using interface ppp0

Connect: ppp0 <--> /dev/ttyS3

sent [LCP ConfReq id=0x1 <asyncmap 0x0> <pcomp> <accomp>]

Timeout 0x20084bc:0x203b440 in 3 seconds.

rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <pcomp> <accomp>]

rcvd [LCP ConfReq id=0x1 <auth pap> <pcomp> <accomp>]

lcp_reqci: returning CONFACK.

sent [LCP ConfAck id=0x1 <auth pap> <pcomp> <accomp>]

Untimeout 0x20084bc:0x203b440.

sent [PAP AuthReq id=0x1 user="fido" password="fido"]

Timeout 0x200ebbc:0x203b6e0 in 3 seconds.

rcvd [PAP AuthAck id=0x1 ""]

sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]

Timeout 0x20084bc:0x203b6a0 in 3 seconds.

sent [CCP ConfReq id=0x1 <bsd v1 15>]

Timeout 0x20084bc:0x203b7a0 in 3 seconds.

rcvd [LCP ProtRej id=0x1 80 fd 01 01 00 07 15 03 2f]

Untimeout 0x20084bc:0x203b7a0.

sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]

Timeout 0x20084bc:0x203b6a0 in 3 seconds.

rcvd [IPCP ConfReq id=0x1 <addr 205.151.9.1>]

ipcp: returning Configure-NAK

sent [IPCP ConfNak id=0x1 <addr 10.0.0.1>]

rcvd [IPCP ConfReq id=0x2 <addr 205.151.9.1>]

ipcp: returning Configure-NAK

sent [IPCP ConfNak id=0x2 <addr 10.0.0.1>]

rcvd [IPCP ConfReq id=0x3 <addr 205.151.9.1>]

ipcp: returning Configure-NAK

sent [IPCP ConfNak id=0x3 <addr 10.0.0.1>]

rcvd [IPCP ConfReq id=0x4 <addr 205.151.9.1>]

ipcp: returning Configure-NAK

sent [IPCP ConfNak id=0x4 <addr 10.0.0.1>]

rcvd [IPCP ConfReq id=0x5 <addr 205.151.9.1>]

ipcp: returning Configure-NAK

sent [IPCP ConfNak id=0x5 <addr 10.0.0.1>]

rcvd [IPCP ConfReq id=0x6 <addr 205.151.9.1>]

ipcp: returning Configure-REJ

sent [IPCP ConfRej id=0x6 <addr 205.151.9.1>]

rcvd [IPCP ConfReq id=0x7]

ipcp: returning Configure-ACK

sent [IPCP ConfAck id=0x7]

sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]

Timeout 0x20084bc:0x203b6a0 in 3 seconds.

rcvd [IPCP ConfNak id=0x1 <addr 205.151.13.55> <ms-dns1 204.92.15.211> <ms-dns3



Untimeout 0x20084bc:0x203b6a0.

sent [IPCP ConfReq id=0x2 <addr 205.151.13.55> <ms-dns1 204.92.15.211> <ms-dns3

Timeout 0x20084bc:0x203b6a0 in 3 seconds.

rcvd [IPCP ConfAck id=0x2 <addr 205.151.13.55> <ms-dns1 204.92.15.211> <ms-dns3

Untimeout 0x20084bc:0x203b6a0.

ipcp: up

local  IP address 205.151.xxx.xxx

remote IP address 10.0.0.1

primary   DNS address 204.92.15.211

secondary DNS address 204.92.15.212

Script /etc/ppp/ip-up started (pid 4181)

Script /etc/ppp/ip-up finished (pid 4181), status = 0x0

---

Finally, this is a really quick how-to, as I've just connected right now, and thought I'd list all the info before I forget.

Try it out, and hopefully it will work for you too. If not, post here, and we'll try to sort out the problem.

Resources: I found the following info below helpful. I had to make adjustments, and after several trials and errors (4 days) it finally worked. I will list the links, just in case they help you, if my info doesn't work in your case:

http://kotinetti.suomi.net/mcfrisk/linux_gprs.html
http://www.winlab.rutgers.edu/~zhibinwu/gprs.htm
http://www.linuxslate.org/help/Linux_and_GPRS.html
http://kotinetti.suomi.net/mcfrisk/gprs
http://www.zaurus.com/dev/board/index.php?...4&t=314&hl=gprs

Tips from members (copied from the devboard which has been shutdown)

1. Using voice GSM.
QUOTE
From: datatedy   
Posted: Sep 10 2003, 01:06 AM

BTW: If you ever like to use you card as a phone try this:

ate1
OK
at+cpin="1111"
OK
atd 001 212 123 4567;
OK
ath
OK

The pin needs to be the pin of your sim card (PIN1). The semikolon after the telephone nunber is important. Otherwise you will try to make a data call.

Claus


2. List of international GPRS providers
QUOTE
I found this link, which lists many global GPRS providers:

http://www.taniwha.org.uk/gprs.html
Go to the top of the page
 
+Quote Post
tamarian
post Feb 7 2004, 12:40 PM
Post #2





Group: Members
Posts: 45
Joined: 30-January 04
Member No.: 1,617



serial_cs.o and sample 3 gprs scripts were uploaded to the ZUG download section, under Applications/Drivers.
Go to the top of the page
 
+Quote Post
tamarian
post Mar 13 2004, 06:06 PM
Post #3





Group: Members
Posts: 45
Joined: 30-January 04
Member No.: 1,617



Major update smile.gif

1. You no longer need the serial_cs module if you are using the Qtopia ROM 1.2

2. You no longer need to create the ppp scripts, as you can enter the data directly in the network setup wizard, using the escape / for double quotes, as shown in the attached images.
Go to the top of the page
 
+Quote Post
NHT
post Apr 18 2004, 10:57 PM
Post #4





Group: Members
Posts: 2
Joined: 18-April 04
Member No.: 2,903



I have difficulty in making my AudioVox GPRS card works on my C860. My configuration is as follow C860 and Cocko 1.21 with Japanese interface. My GPRS services provider does not require user ID or password to sign on. In a GPRS modem (in PC environment), I just need to specify phone number=*99# and AT+CGDCONT=1,'IP', 'sgprs' as the additional command (where 'sgprs' is the provider's network name).

After I set up in the network wizard and inserted the AudioVox card, the network icon shows up, but when I click for connection, I got a message that 'CF card type serial device is busy' and cannot proceed any further.

Then, I copied the 3 files (connectgprs, disconnectgprs, gprs) following the instruction mentioned in forum, but still cannot get any success.

Did I miss out anything in the setup? Appreciate your help. Thanks.
Go to the top of the page
 
+Quote Post
tamarian
post Apr 19 2004, 09:27 AM
Post #5





Group: Members
Posts: 45
Joined: 30-January 04
Member No.: 1,617



QUOTE
I just need to specify phone number=*99# and AT+CGDCONT=1,'IP', 'sgprs' as the additional command (where 'sgprs' is the provider's network name).


Did you escape those double quotes? each " should become "

QUOTE
I got a message that 'CF card type serial device is busy' and cannot proceed any further.


You would get this error if the previous dial attempt didn't exit cleanly, or something else is trying to use the card. Just pop it out, then pop it in again. Or try the cardctl resume command.

Let me know how it goes.
Go to the top of the page
 
+Quote Post
NHT
post Apr 20 2004, 06:19 PM
Post #6





Group: Members
Posts: 2
Joined: 18-April 04
Member No.: 2,903



I have used this /" and cardctl resume, but still got the same error message like before. Any suggestion on where I should start checking?
Go to the top of the page
 
+Quote Post
maslovsky
post May 4 2004, 05:09 AM
Post #7





Group: Members
Posts: 1,426
Joined: 22-October 03
Member No.: 89



QUOTE
I have used this /" and cardctl resume, but still got the same error message like before.    Any suggestion on where I should start checking?


Try to use serial_cs module from thepis site.
Go to the top of the page
 
+Quote Post
ZeeUser
post May 7 2004, 05:36 AM
Post #8





Group: Members
Posts: 109
Joined: 27-January 04
Member No.: 1,559



Tamarian:
Thanks for the how-to! It was instrumental in getting my Z connected to T-mobile's Unlimited Internet. However, there were a few issues that prevented me from getting connected immediately:

1)Had to log in as root in order to do step 3
2) The text of your walkthrough uses / for the modem init string in step 5a. It uses in the screenshots, which is what works.
3) My Z specifically had to be in suspend mode before it would connect. Otherwise I would receive a "CF card type serial device is busy" error.

I eventually got around those issues myself; no big deal, really. I couldn't have done anything without the walkthrough, though (at least, not without a lot of research).

One other issue: Is there any way to prevent the connection from being disconnected when the Zaurus is turned off, or at least to have it automatically re-connect when the Zaurus is turned back on?

Also, does anyone know of any GUI dialer utilities for the Z? I would like to add a voice package to the internet account ($10 discount!) and use the Z for the occasional call. However, I would like the calling to be as quick and easy as possible (as in, not through the console). I would also like something that supports all of the extra stuff like Caller ID, SMS, etc.



c760 with Cacko 1.21
Go to the top of the page
 
+Quote Post
cs_jacky
post May 27 2004, 06:18 AM
Post #9





Group: Members
Posts: 143
Joined: 22-April 04
From: Melbourne, Australia
Member No.: 2,964



"My Z specifically had to be in suspend mode before it would connect." in ZeeUser's message means to suspend the gprs card.

You can use the command "cardctrl suspend" to suspend the card. After that, you can connect with the GUI without any problem.

Tested on C860 with Cacko 1.21a
Go to the top of the page
 
+Quote Post
maslovsky
post May 27 2004, 07:58 AM
Post #10





Group: Members
Posts: 1,426
Joined: 22-October 03
Member No.: 89



QUOTE
"My Z specifically had to be in suspend mode before it would connect." in ZeeUser's message means to suspend the gprs card.

You can use the command "cardctrl suspend" to suspend the card. After that, you can connect with the GUI without any problem.

Tested on C860 with Cacko 1.21a


I'm aware а this problem - it will be fixed in Hotfix 1.21B
Go to the top of the page
 
+Quote Post
roguetrooper
post Jun 11 2004, 11:50 PM
Post #11





Group: Members
Posts: 43
Joined: 2-June 04
From: South East Asia (mostly)
Member No.: 3,541



I am trying to get the AudioVox card working (I have a clone card) however I am getting random system freezes within minutes of inserting the card

When I try the debug scripts I get a "/etc/ppp/peers/connectgprs" not found from executing the initial "gprs" script even though I have correctly named it in the directory

The card works fine in my PC (with a PC card -> CF adaptor)

Any ideas?

I now have non-functioning (but working in PC) bluetooth andf GPRS cards sad.gifsad.gifsad.gif
Go to the top of the page
 
+Quote Post
maslovsky
post Jun 15 2004, 07:35 AM
Post #12





Group: Members
Posts: 1,426
Joined: 22-October 03
Member No.: 89



QUOTE
I am trying to get the AudioVox card working (I have a clone card) however I am getting random system freezes within minutes of inserting the card

When I try the debug scripts I get a "/etc/ppp/peers/connectgprs" not found from executing the initial "gprs" script even though I have correctly named it in the directory  

The card works fine in my PC (with a PC card -> CF adaptor)

Any ideas?

I now have non-functioning (but working in PC) bluetooth andf GPRS cards sad.gifsad.gifsad.gif


How about us trying to get that fixed with a couple of beers? Seems to be a good reason to finaly get together smile.gif
Go to the top of the page
 
+Quote Post
roguetrooper
post Jun 17 2004, 09:26 PM
Post #13





Group: Members
Posts: 43
Joined: 2-June 04
From: South East Asia (mostly)
Member No.: 3,541



See you early next week smile.gif
Go to the top of the page
 
+Quote Post
Stefani
post Aug 26 2004, 06:27 PM
Post #14





Group: Members
Posts: 1
Joined: 26-August 04
Member No.: 4,402



I have tried to bring up my new RTM8000 Card. Now i had erased my serial_cs.o modul for my cacko 1.21 zaurus 760, and with the modul from

http://www.iral.com:88/~albertr/zaurus/misc/serial_cs.o.gz

i had no success.

Please could anyone sent me serial_cs.o for the cacko 1.21 cXXX to my EMail Address Stefani@Seibold.net????? Please!!!!!!!!

Maybe it is also another problem. The card works well under windows xp with hyperterminal. But i will get no responce from the card under linux on my zaurus nur on my desktop linux (i tried mandrake and knoppix).

The card will be detected:

#dmesg
ttyS03 at port 0xf6000400 (irq = 39) is a 16C950/954

# cardctl status
Socket 0:
3.3V 16-bit PC Card
function 0: [ready], [bat dead], [bat low]
Socket 1:
no card
# cardctl config
Socket 0:
Vcc 3.3V Vpp1 0.0V Vpp2 0.0V
interface type is "memory and I/O"
irq 39 [exclusive] [level]
Speaker output is enabled
function 0:
config base 0x00f8
option 0x41 status 0x08 pin 0x00 copy 0x00
io 0xf60003f8-0xf6000407 [8bit]
Socket 1:
not configured

Typing characters in minicom increase the number of interrupts in /proc/interrupt
but i will get no responce for an AT<cr>.

Also a stty </dev/ttyS3 will hang until i kill the process.

Is there anyone with an idea, whats wrong?

Thnx a lot for help,
Stefani
Go to the top of the page
 
+Quote Post
ludovicus
post Nov 11 2004, 02:08 AM
Post #15





Group: Members
Posts: 27
Joined: 19-September 04
Member No.: 4,648



my cf audiovox card is coming in the mail, if there's anybody in the orlando, fl area interested in collaborating on this lemme know
ludovicus[aT]linuxmail_org
peace
lu
c860
sl5500
lots of gadgets
Go to the top of the page
 
+Quote Post

4 Pages V   1 2 3 > » 
Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 31st October 2014 - 03:03 PM