Help - Search - Members - Calendar
Full Version: How-TO: Connet CF GPRS/GSM (AudioVox RTM8000) to internet
OESF Forums > General Forums > General Support and Discussion > Security and Networking
Pages: 1, 2
tamarian
(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
tamarian
serial_cs.o and sample 3 gprs scripts were uploaded to the ZUG download section, under Applications/Drivers.
tamarian
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.
NHT
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.
tamarian
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.
NHT
I have used this /" and cardctl resume, but still got the same error message like before. Any suggestion on where I should start checking?
maslovsky
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.
ZeeUser
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
cs_jacky
"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
maslovsky
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
roguetrooper
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
maslovsky
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
roguetrooper
See you early next week smile.gif
Stefani
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
ludovicus
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
cherubina
if i try to use the gui to dial i get connection failed after about a minute with the green light blinking slowly on my audiovox card--- i've tried various settings --- for number *99***1# and *99# --- under the network tab i have it auto-detect ---- under the modem tab i have tried AT+CGDCONT=1,,"internet2.voicestream.com" as per a recomendation from tech support and AT+CGDCONT=1,\"IP",\"internet2.voicestream.com\" from this how-to --

then i try the more complicated method---
when i follow the steps and then try to pppd call gprs i get.....

Removed stale lock on ttyS3 (pid 2485)
Press CTRL-C to close the connection at any stage!
defining PDP context...
Connect script failed

i am using a c860 with a fresh flash of cacko 1.21 with hotfix b. i have the audiovox rtm8000 and t-moble as my provider.

anyone have any ideas?
tg
QUOTE(cherubina @ Dec 12 2004, 12:08 AM)
if i try to use the gui to dial i get connection failed after about a minute with the green light blinking slowly on my audiovox card--- i've tried various settings --- for number *99***1# and *99# --- under the network tab i have it auto-detect ---- under the modem tab i have tried AT+CGDCONT=1,,"internet2.voicestream.com" as per a recomendation from tech support and AT+CGDCONT=1,\"IP",\"internet2.voicestream.com\" from this how-to --

then i try the more complicated method---
when i follow the steps and then try to pppd call gprs i get.....

Removed stale lock on ttyS3 (pid 2485)
Press CTRL-C to close the connection at any stage!
defining PDP context...
Connect script failed

i am using a c860 with a fresh flash of cacko 1.21 with hotfix b. i have the audiovox rtm8000 and t-moble as my provider.

anyone have any ideas?


Here is what works for me (latest Cacko + hotfix, same GRPS card):

1. In /etc/pcmcia/serial.opts make sure you have this:

SERIAL_OPTS="uart 16550A"

2. In /etc/ppp/char-secrets add the following if you don't have already:

guest * guest

3. My /etc/ppp/options .ttyS3

-detach
asyncmap 0
crtscts
modem
lock
115200
connect-delay 1000

4. My /etc/ppp/peers/connecttmobile

exec /usr/sbin/chat -sVS \
TIMEOUT 5 \
ECHO ON \
ABORT '\nBUSY\r' \
ABORT '\nERROR\r' \
ABORT '\nNO ANSWER\r' \
ABORT '\nNO CARRIER\r' \
ABORT '\nNO DIALTONE\r' \
ABORT '\nRINGING\r\n\r\nRINGING\r' \
'' \rAT \
TIMEOUT 12 \
SAY "Press CTRL-C to close the connection at any stage!" \
SAY "\ndefining PDP context...\n" \
OK ATH \
OK ATE0V1 \
OK 'AT+CGDCONT=1,"IP","internet3.voicestream.com"' \
OK ATD*99***1# \
TIMEOUT 22 \
SAY "\nwaiting for connect...\n" \
CONNECT "" \
SAY "\nConnected." \
SAY "\nIf the following ppp negotiations fail,\n" \
SAY "try restarting the phone.\n"

5. /etc/ppp/peers/disconnecttmobile

exec /usr/sbin/chat -s -V -S \
"" "\K" \
"" "+++ATH"

6. /etc/ppp/peers/gprs.sh

#!/bin/sh
cardctl suspend
sleep 1
cardctl resume
sleep 1
pppd call tmobile

7. /etc/ppp/peers/tmobile

/dev/ttyS3
115200
crtscts
connect /etc/ppp/peers/connecttmobile
user guest
mru 1450
mtu 1450
:10.0.0.1
ipcp-accept-local
defaultroute
nodeflate
noipdefault
nomagic
novj
novjccomp
usepeerdns


Once I have all this I add the following 2 aliases to my .profile
to connect and disconnect (from bash):

alias gprs_on=/etc/ppp/peers/gprs.sh
alias gprs_off='cardctl suspend'

After you run grps_on and see that ip address was assigned (dhcp) you
can then start opera (it will try to connect but refuse that since you
are already connected). Or you can open another bash window and
ssh into your servers etc.

Hope this helps and good luck.

tg
cherubina
Thanks tg - you've saved me many hours of frustration :-) - that worked right away

also i found that if i just opened a new session in the embeded terminal and typed opera or netfront3 it would realize that it was connected, not bringing up the connect dialog

one more thing i am trydng to do is find a headset that is compatible with the audiovox - so far i've bought to headsets from walmart - neither recognized that i was receiving a call... know of any that work well?
tg
Happy to see that worked for you. And I want to thank tamarian as without his scripts as a starting point I would not have gotten this to work either. As far as headset though, I'm affraid I can't help as I have only used this card for browsing (so far). Once new Cacko is out I plan to take a look at some of those recent phone packages people have put together and see if I can get them to work.
ludovicus
Hello fellow Z, Tmobile, RTM-8000 users!!

from my online scavanging, the ZipLinq 30" retractable nokia jack hands free head
item # C250-3654 seems to be the best hands free kit. www.tigerdirect.com

OK, so is the serial_cs.o driver the issue?? How many of you have successfully made or recieved calls? which version of minicom and are you using an ipkg or the binary?
many many permutations of success and implementation over seas in europe and I'd like to know what T-mobile success stories are available.
I haven't had any sucess with my z+T+RTM yet. I did get a connection with AT&T though... borrowed simcard.

Is anyone using pdaxrom?

There is a gui phone dialing program in development. Hopefully we'll see it sometime in the future.
You reading this Guyhelm? smile.gif

peace
lu
guylhem
I do - I have the very same ziplink cable. Works like a charm - press the button to hang up/take a call.

The problem with the GUI application is I don't do good C++. Had a friend code it, but it only works with the latests qtopia lib which is using lots of prototypes absent from ealier versions.

We're currently trying to compile it with a version that would work. Anybody with C++/qtopia knowledge who could code a very simple application (numbers 0 to 9, with *, #, red phone, green phone) that would sprintf the key to the command line, and display whatever is read from the command line on a small pseudo screen, would be very welcome.

the text mode interface is working, but it's basically a glorified minicom (you type the number and press enter to dial...)
cherubina
thanks for the info ludovicus (my cat louie ate the one the card came with). I now have my new ziplink and it works great. I've been using kermit for dialing - - i like it because of the command line interface and the scipting ability it has. Altough recenty i wanted to check my voicemail with kermit - after a long time playing with it, i couldnt seem to figure out how to generate a tone after i dialed a number. technical support at the kermit homepage says that you have to know the extension you want before you make the call... with the wait command (atdt123W1)

can minicom do this? i've tried using minicom but not for long -- i cant seem to get rid of weird characters when editing the options in it

guylhem-- can your software do this? -- im looking forward to it :-)

also -- has anyone had problems with their audiovox since installing the new cacko 1.22 rom? I've had to revert back to 1.21 for the time being :-(
cherubina
well I guess I should have looked things up a little more before I started asting questions...
kermit can after all do what I wanted it to do.. so can minicom. I'm not sure what technical support at kermit meant then....during the call you can generate tone with....

at+vts=1;

it is a little troublesome to type that in every time you want to make a tone or dial a number manually, so its really helpful to set up an expect script. If anyone needs expect, http://sense.net/zc/files/ .... it is dependent on tlc which is also there.
I hope this isnt old news to everyone - i wanted to help out in some way :-/
it also turns out that i made some error when trying the card out on cacko 1.22 the first time - i've tried it again and it works fine.
steliosx
hello - I bought an Ambicom GPRS CF card, are the instructions the same for my card? I've seen a special kernel at steyla.com which is supposed to work.. what do you think?

First of all, the output of cardctl ident for Ambicom GPRS CF:
CODE
bash-2.05# cardctl ident
Socket 0:
 product info: "GPRS Modem", "", "", ""
 manfid: 0x0279, 0x950b
 function: 2 (serial)
Socket 1:
 no product info available      


then, my peer connect file from /etc/peers:

CODE
bash-2.05# more DIALUP1115812567
115200
connect '/usr/sbin/chat -s -v -t 60 ABORT "NO CARRIER" ABORT "NO DIALTONE" ABORT "BUSY" "" "ATZ" OK "AT+CGDCONT=1,\"IP\",\"internet.vodafone.gr\";\\136sgauth=1" OK "ATDT*99***1#" CONNECT'
crtscts
noipdefault
modem
user "306944913XXX"
usepeerdns
defaultroute
connect-delay 1000
remotename DialupIrDA1113597272


Then the problem: When I initiate the connect to network, I get "Initializing", and its stays forever there sad.gif even the CF Card's LED doesnt light up sad.gif it only lighted up for a couple of times during my attemps to connect

Finally, the output of my /tmp/qpe-pppd-log:
CODE
bash-2.05# more /tmp/qpe-pppd-log
May 10 15:33:33 localhost pppd[10659]: pppd 2.4.0 started by root, uid 0
May 10 15:33:33 localhost pppd[10659]: Removed stale lock on ircomm (pid 10220)
May 10 15:33:34 localhost chat[10668]: abort on (NO CARRIER)
May 10 15:33:34 localhost chat[10668]: abort on (NO DIALTONE)
May 10 15:33:34 localhost chat[10668]: abort on (BUSY)
May 10 15:33:34 localhost chat[10668]: send (AT+CGDCONT=1,IP,internet.vodafone.gr;^Sgauth=1^M)
May 10 15:34:34 localhost chat[10668]: alarm
May 10 15:34:34 localhost chat[10668]:  -- write timed out
May 10 15:34:34 localhost chat[10668]: Failed
May 10 15:34:34 localhost pppd[10659]: Connect script failed    


Maybe I should try the special steyla.com Kernel?
What do you think?

Thanks in advance smile.gif
mingerz
[quote=steliosx,May 10 2005, 02:08 PM]
hello - I bought an Ambicom GPRS CF card, are the instructions the same for my card? I've seen a special kernel at steyla.com which is supposed to work.. what do you think?


I've got the steyla kernel, card picked up as ttyS03 ttyS04 (using dmesg)
using minicom -s for test(as connect scripts not working)
I change serial options to
/dev/ttyS3 (Don't ask why, if I feed ttyS03 it exits with no such device)
set speed to 115200
select minicom save as dfl
select exit

Try to type AT
nothing comes back

Yes I've copied over
serial
changed
serial.opt to include the "uart 16550A" string

Getting desparate now going round in circles, anyone got clues?

Thanks

Simon

ps. Yes the card does work when plugged into windows laptop.
Asteroid
[quote=ludovicus,Dec 24 2004, 07:59 PM]
Hello fellow Z, Tmobile, RTM-8000 users!!

Well, I wish I was one.
Over the last two days I've ditched the old Zaurus OS for Opie (great!), networked it to my Linux box (piece o' cake) and religiously copied the instructions WRT the RTM8000. I enviously look at all the error output people report and wish I could paste some here but I don't have any. I 'pppd call gprs', hit enter and the system returns calmly to the command prompt.
Something is going on because I see steady green blinking from the modem, followed by a red light, then it stops. After about 30 secs it starts again and does the same thing.
I LOOKS like the modem is dialing and failing, then trying again.
ps shows me a ppp connection building for about 5 seconds and then vanishing, and nothing more.
I'm using Opie 3.5.3, kernel 2.4.18. I had loaded the serial_cs module (which I noticed remained unused) and then unloaded it when I read later that it was probably no longer necessary.

Some output would be good. I'm hornswoggled.

Any suggestions?
interstate80
I have the Zaurus C3000 and the Audiovox RTM8000... I have tried the above approaches (from tamarian) using the GUI and then going the under-the-hood route with scripts. Neither worked for me. (However, I didn't try copying the serial_cs.o file, thinking that the newer Zaurus would come with the most up-to-date.)

Using the GUI... I never was able to press the 'Connect' button (end of step 5A). It was grayed out--unpressable.

Using the scripts I got the following error...

bash-2.05# pwd
/etc/ppp/peers
bash-2.05# whoami
root
bash-2.05# pppd call gprs
/etc/ppp/peers/connectgprs: permission denied
Connect script failed

I was root when I scp'd the 4 files over (tamarian's steps 5B and 6). I was also root when I issued the above commands.

Note that I don't have a username with my GPRS provider so I didn't know exactly what to do with those fields... I left them blank. But I am not sure if that will work in the chap-secrets file for example. I have no basis for knowing what will or won't work... just a difference I noticed.

Also, speaking of chap-secrets... I scp'd the file onto the Zaurus without looking to see what was already there. Could have I lost some important stuff in that file when I copied over the original? Does anybody have the original for the Z C3000?

Thinking that chap-secrets was a typo, I changed its name to chat-secrets with no success. I got the exact same error as before.

Lastly, I am noticing a few instances of escape characters being inserted or taken away from people's posts... could this be the problem with the scripts?

Thanks folks!
interstate80
Okay so I realized that I needed to make the connectgprs file an executable. The new error I get is

bash-2.05# pppd call gprs
Can't get terminal parameters: Input/output error
Connect script failed

Any ideas what this means?
speculatrix
I tried it using the cacko wizard and it just didn't want to know, so I followed the instructions and created the connectgprs, disconnectgprs scripts and so on, and it worked for me!

I used VirginMobile, and got an acceptable speed when I turned images off in netfront.

Lots of useful GPRS settings here:
http://www.filesaveas.com/gprs.html

I thought I would be clever and enable VJ, but it seemed to break.

Here's my /etc/ppp/peers/virgin file:
CODE
# next 2 lines activate dbg
debug debug
show-password
# end dbg
/dev/ttyS3
115200
crtscts
connect /etc/ppp/peers/connectgprs
user "user"
usepeerdns
nomagic
mru 1500
mru 1500
:10.0.0.1
noipdefault
ipcp-accept-local
defaultroute
novj
novjccomp
disconnect /etc/ppp/peers/disconnectgprs
defaultroute


here's the critical line from my gprsconnect file:
CODE
       OK              'AT+CGDCONT=1,"IP","goto.virginmobile.uk","",0,0'       \


and chap-secrets has this line:
CODE
user virgin     ""
ensign
QUOTE(speculatrix @ Jul 21 2005, 09:34 PM)
I used VirginMobile, and got an acceptable speed when I turned images off in netfront.


I use my Audiovox with VirginMobile PrePaid sim card. I am initially able to get a connection, but after a couple of minutes Audiovox LED goes off and I lose my connection. Any ideas?
jrj
Hi All,

I use the AudioVox RTM-8000D GPRS card on an Zaurus SL-5600 running OpenZaurus 3.5.3 with no problems. Getting it going was tricky. I've written a step by step howto covering the details. It's available here:

http://www.glugers.org/content.php?article.2

I'm now trying to get the RTM-8000D working on Fedora Core 4 with no success so far. It's plugged into my laptop via a CF-to-PCMCIA card. My dmesg output is simply:

cs: memory probe 0xa0000000-0xa0ffffff: excluding 0xa0000000-0xa00fffff
0.0: RequestIO: No more items

Any help would be appreciated.

Cheers,
George
speculatrix
QUOTE(jrj @ Jul 24 2005, 06:08 AM)
I'm now trying to get the RTM-8000D working on Fedora Core 4 with no success so far. It's plugged into my laptop via a CF-to-PCMCIA card. My dmesg output is simply:

cs: memory probe 0xa0000000-0xa0ffffff: excluding 0xa0000000-0xa00fffff
0.0: RequestIO: No more items


It sounds like you need to add an identifier to the system so that it realises that this type of card is, basically, a serial device.

what does "cardctl status" and "cardctl info" tell you?
jrj
QUOTE(speculatrix @ Jul 24 2005, 12:38 PM)
It sounds like you need to add an identifier to the system so that it realises that this type of card is, basically, a serial device.

what does "cardctl status" and "cardctl info" tell you?
*


Cheers for the reply. Below are the outputs. I've also included the entries in /var/log/messages when I insert the card:

[root@umbriel ~]# cardctl status
Socket 0:
3.3V 16-bit PC Card
function 0: [ready]
Socket 1:
5V 16-bit PC Card
function 0: [ready]
[root@umbriel ~]#


[root@umbriel ~]# cardctl info
PRODID_1="GPRS Modem"
PRODID_2=""
PRODID_3=""
PRODID_4=""
MANFID=0279,950b
FUNCID=2
PRODID_1="O2Micro"
PRODID_2="SmartCardBus Reader"
PRODID_3="V1.0"
PRODID_4=""
MANFID=ffff,0001
FUNCID=255
[root@umbriel ~]#

/var/log/messages entries when card is inserted:

Jul 25 11:14:48 umbriel cardmgr[1680]: socket 0: Serial or Modem
Jul 25 11:14:49 umbriel cardmgr[1680]: get dev info on socket 0 failed: No such device
Jul 25 11:14:49 umbriel kernel: 0.0: RequestIO: No more items
gustav1888
Hi all,
i have an audiovox rtm 8000 that works on zaurus 5500 with sharp rom 3.13, having followed the how-to on this thread.
Now i'm trying to install it on a laptop using the cf-pcmcia adapter.
I use 2.4.26 kernel and all seems to work... but there is a problem with routing.
The scripts (gprs, connectgprs...) are executed normally but when the server assigns my
IP, the network remain unreacheable. I cannot ping to any address except mine, even if
the route command outputs as usual. unsure.gif

Does someone has successfully configured the audiovox to use in a laptop?

thanks a lot

Michele
speculatrix
basically, the gsm/gprs modem behaves like any other CF serial device - it emulates a modem.
just ensure there's a mapping for the device name to make sure hotplug assigns it serial or modem identity.
gustav1888
QUOTE(speculatrix @ Aug 12 2005, 04:55 PM)
basically, the gsm/gprs modem behaves like any other CF serial device - it emulates a modem.
just ensure there's a mapping for the device name to make sure hotplug assigns it serial or modem identity.
*


I think the problem is about routing. The kernel recognizes correctly the device and assigns to it the /dev/ttyS1 serial port. Then i use the same scripts (gpr, connectgprs, disconnectgprs) that i do for zaurus and the modem connects. i receive from my provider an IP address and a local address, as well as two DNS nameserver. But i'm unable to ping them, so i can't browse.
Even route and ifconfig commands give the same results as on zaurus but i'm still unable to ping any other IP except from my and remote address.

Somebody knows?

Michele

P.S. I'm not using any distribution. I compiled all with linuxfromscratch 5.1.1
gustav1888
Solved!
For some reason, when connecting using the zaurus, it automagically write the /etc/resolv.conf file. Instead using my laptop this file remained empty.
I need to manually insert the my provider's DNS address and all works well.

Michele
Lancillotto
Hello to everybody!

I solved all my past problems posted on this forum!!!

Now I'm trying to activate my Audiovox RTM 800 on a SL-C3100 with original Zaurus OS and kernel 2.4.20.

In the dmesg I get the bad vcc error and non serial port assignment.

I tryed to replace the serial_cs with various versions on the net but without luck!

Can anybody help me?

Thank you!
dhns
QUOTE(Lancillotto @ Nov 23 2005, 11:07 AM)
Hello to everybody!

I solved all my past problems posted on this forum!!!

Now I'm trying to activate my Audiovox RTM 800 on a SL-C3100 with original Zaurus OS and kernel 2.4.20.

In the dmesg I get the bad vcc error and non serial port assignment.

I tryed to replace the serial_cs with various versions on the net but without luck!

Can anybody help me?

Thank you!
*


Please try the RTM8000-Enabler which contains a tested serial_cs for the 2.4.20 kernel:

http://www.handheld-linux.com/wiki.php?page=RTM8000-Enabler

-- hns

-- hns
Lancillotto
Thanks for your answer.

I tried It but with no success. I read on another forum that QTopia newer than 1.2 has a serial_cs driver built-in, so I cannot replace it.

Any other idea? sad.gif
dhns
QUOTE(Lancillotto @ Nov 24 2005, 11:41 AM)
Thanks for your answer.

I tried It but with no success. I read on another forum that QTopia newer than 1.2 has a serial_cs driver built-in, so I cannot replace it.

Any other idea? sad.gif
*

The driver is never built into Qtopia - it is part of the Linux kernel. And the one in the enabler replaces the builtin one. Can you
1. install the enabler
2. insert the card
3. post
a) the dmesg log
cool.gif results of cartctl status and cardctl ident
c) result of lsmod

And, do you use the original Sharp ROM or a different kernel?

-- hns
Lancillotto
QUOTE(dhns @ Nov 24 2005, 04:03 AM)
QUOTE(Lancillotto @ Nov 24 2005, 11:41 AM)
Thanks for your answer.

I tried It but with no success. I read on another forum that QTopia newer than 1.2 has a serial_cs driver built-in, so I cannot replace it.

Any other idea? sad.gif
*

The driver is never built into Qtopia - it is part of the Linux kernel. And the one in the enabler replaces the builtin one. Can you
1. install the enabler
2. insert the card
3. post
a) the dmesg log
cool.gif results of cartctl status and cardctl ident
c) result of lsmod

And, do you use the original Sharp ROM or a different kernel?

-- hns
*



I did all you posted me:

1) The ROM is the Original with Kernel 2.4.20

2) DMESG -> "serial_cs: RequestConfiguration: Bad Vcc"

3) cardctl status ->

Socket 0:
3.3V 16-bit PC Card
function 0: [ready]

Socket 1:
3.3V 16-bit PC Card
function 0: [ready], [bat dead], [bat-low]

4) cardctl ident ->

Socket 0:
product info: "GPRS modem", "", "", ""
manfid: 0x0279, 0x950b
function: 2 (serial)

Socket 1:
product info: "Hitachi", "microdrive", "", ""
manfid: 0x0319, 0x0000
function: 4 (fixed disk)

5) lsmod ->

Module Size Used by
pxa_bi 24912 0 (unused)
net_fd 25216 0 (unused)
usbdcore 35504 0 [pxa_bi net_fd]
usbdmonitor 5488 0
usb-monitor 6496 0
sharp_mmcsd_m 41008 1

Thanks a lot!
dhns
QUOTE(Lancillotto @ Nov 29 2005, 10:41 AM)
I did all you posted me:

1) The ROM is the Original with Kernel 2.4.20

2) DMESG -> "serial_cs: RequestConfiguration: Bad Vcc"

3) cardctl status ->

        Socket 0:
          3.3V 16-bit PC Card
          function 0: [ready]

        Socket 1:
          3.3V 16-bit PC Card
          function 0: [ready], [bat dead], [bat-low]

4) cardctl ident ->

        Socket 0:
          product info: "GPRS modem", "", "", ""
          manfid: 0x0279, 0x950b
          function: 2 (serial)

        Socket 1:
          product info: "Hitachi", "microdrive", "", ""
          manfid: 0x0319, 0x0000
          function: 4 (fixed disk)
       
  5) lsmod ->

        Module              Size     Used by
        pxa_bi               24912  0 (unused)
        net_fd                25216  0 (unused)
        usbdcore            35504   0 [pxa_bi net_fd]
        usbdmonitor       5488    0
        usb-monitor        6496    0
        sharp_mmcsd_m 41008  1

Thanks a lot!
*

Looks pretty ok - besides that it did not load the serial_cs...

Some more things to try/report:
1) uname -a
2) find / -name "serial_cs.o" -print

and try if it shows a serial_cs after
3) depmod -a; lsmod
4) modprobe serial_cs; lsmod

finally, try
insmod path of serial_cs.o found by 2)

-- hns
Ferret-Simpson
hmmm. . . I'm uing the Ambicom card (Actually identical to the Chi Mei card (Actually identical to the audiovox card. . I think))

Basically, I'm getting something really wierd. .. Whenever I insert or resume the card (e.g. using zedialler or bash) It seems to be autoconnecting. . The amber light flashes for a bit, then it goes green. I think this may in fact be a product of using the o2 online chip, because under a mobile phone, the o2 online always sends off a few SMS when you irst activate it, to install settings. . because the Z can't download those SMS, maybe it's holding up the line. . . ?
speculatrix
QUOTE(Ferret-Simpson @ Jan 3 2006, 11:00 PM)
Basically, I'm getting something really wierd. ..  Whenever I insert or resume the card (e.g. using zedialler or bash) It seems to be autoconnecting. . The amber light flashes for a bit, then it goes green. I think this may in fact be a product of using the o2 online chip, because under a mobile phone, the o2 online always sends off a few SMS when you irst activate it, to install settings. . because the Z can't download those SMS, maybe it's holding up the line. . .
*



as far as I understand it, this is merely the card registering with the network. If your sim has a pin, you'll need to enter AT+CPIN=1234 before it can register. There's an AT code to ask what network the device is registered to, and this will get set after successfully registering.


so, this is perfectly normal!
gummy_bear
Hi all, I know this thread is old but i am desperate. I have a gumstix from www.gumstix.com, linux 2.6 ARM etc.

I have put an Audiovox RT-8000 in it but it is not going to work without a fight so I need your help. I will not bore you with too much gorry detail which is not required because I have just found the serial_cs.o module here, the problem is I try to load the module and it says

"insmod: error inserting './serial_cs.o': -1 Invalid module format"

The irq allocation for the card is totally messed up so I really need this patch.

cat /proc/tty/driver/serial
serinfo:1.0 driver revision:
0: uart:16C950/954 port:C4860400 irq:49 tx:169 rx:0 CTS
1: uart:unknown port:00000000 irq:0
2: uart:unknown port:00000000 irq:0
3: uart:unknown port:00000000 irq:0

# cat /proc/tty/drivers
/dev/tty /dev/tty 5 0 system:/dev/tty
/dev/console /dev/console 5 1 system:console
/dev/ptmx /dev/ptmx 5 2 system
serial /dev/ttyS 4 64-67 serial
PXA serial /dev/ttySA 4 68-71 serial
pty_slave /dev/pts 136 0-1048575 pty:slave
pty_master /dev/ptm 128 0-1048575 pty:master

No 49 irq is used by the serial :-(
seems like 8250.ko should be patched :-(

# cat /proc/interrupts
CPU0
0: 44 SC HWUART
4: 0 SC pxa2xx_udc
18: 0 SC DMA
19: 68485 SC PXA Timer Tick
27: 0 GPIO CF0 nSTSCHG
34: 0 GPIO CF0 nCD
58: 0 GPIO pxa2xx_udc
59: 1778 GPIO eth0
Err: 0

I am a noob having a love/hate relationship with linux at the moment, can someone guide me to the light?

Thanks
Chris
zmiq2
I think that the seerial_cs.o module you got from somewhere is for kernel 2.4, thus completely unusable under 2.6.

maybe if using 2.6, the serial_cs.ko (the module naming in 2.6 is .ko) that is already with the distribution you are using could work.

1) Do you have a serial_cs module from the same place you got 2.6 kernel? Can you modprobe that module ?

If so, I'd suggest to go ahead and after, send the setserial command.

HTH
speculatrix
yeah, I would agree that it sounds like a module mismatch. Be sure to use the same kernel source throughout and also to make sure the kernel versioning is correct in the main Makefile.
gummy_bear
ok so it is all down to 8250.ko module, it needs to be modified. oh my god this is hard work for me, I am dumbass!

it needs support for irq49 or something like that, how does a module get compiled? Where is the source
zmiq2
Hi,

I'd suggest

1) ask someone in a gumstix forum o mailing list to have it compiled for you

2) install a virtual machine with all the gumstix development tools installed, and go compile yourself ...

The source is probably somewhere the linux 2.6 modules sources.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.