makgab
Posts: 33
Joined: Fri Oct 24, 2014 9:28 am

RPi + SparqEE CELLv1.0

Fri Nov 21, 2014 6:38 pm

Hi!

I would like to test the RPi (B) + SparqEE CELLv1.0 (with Vodafone SIM card):
http://www.sparqee.com/portfolio/sparqee-shieldr/

The device /dev/ttyAMA0 is exists in dmesg.
I try to follow the instructions:

Code: Select all

sudo apt-get update
sudo apt-get install ppp
wget "http://www.sparqee.com/code/cellv1/sakis3g.gz"
gunzip sakis3g.gz
chmod +x sakis3g
.. etc.
But no connection:

Code: Select all

./sakis3g connect --console --nostorage --pppd APN="internet.vodafone.net" BAUD=115200 CUSTOM_TTY="/dev/ttyAMA0" MODEM="OTHER" OTHER="CUSTOM_TTY" APN_USER="" APN_PASS=""

Port /dev/ttyAMA0 is currently occupied by 6024 getty.
Failed to connect.
root@raspberrypi:/home/pi# ps ax|grep tty
2202 tty1 Ss+ 0:00 /sbin/getty --noclear 38400 tty1
2203 tty2 Ss+ 0:00 /sbin/getty 38400 tty2
2204 tty3 Ss+ 0:00 /sbin/getty 38400 tty3
2205 tty4 Ss+ 0:00 /sbin/getty 38400 tty4
2206 tty5 Ss+ 0:00 /sbin/getty 38400 tty5
2207 tty6 Ss+ 0:00 /sbin/getty 38400 tty6
6024 ttyAMA0 Ss+ 0:00 /sbin/getty -L ttyAMA0 115200 vt100
What do I missing?
--
G.

makgab
Posts: 33
Joined: Fri Oct 24, 2014 9:28 am

Re: RPi + SparqEE CELLv1.0

Sat Nov 22, 2014 8:09 pm

In /etc/inittab:

Code: Select all

#T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100
Then:

Code: Select all

./sakis3g connect --console --nostorage --pppd APN="internet" BAUD=115200 CUSTOM_TTY="/dev/ttyAMA0" MODEM="OTHER" OTHER="CUSTOM_TTY" APN_USER="" APN_PASS=""
Device did not report GSM capabilities. You can skip this by adding --noprobe command line switch.
Failed to connect.

./sakis3g connect --console --nostorage --pppd APN="internet" BAUD=115200 CUSTOM_TTY="/dev/ttyAMA0" MODEM="OTHER" OTHER="CUSTOM_TTY" APN_USER="" APN_PASS="" --noprobe
Modem responded "ERROR" while checking for PIN.
Failed to connect.
Ok, it need a PIN.

Otherwise the SparqEE (ZTE GSM) is useable in any country? Or it is network locked?
--
G.

makgab
Posts: 33
Joined: Fri Oct 24, 2014 9:28 am

Re: RPi + SparqEE CELLv1.0

Thu Nov 27, 2014 7:48 pm

I have T-Mobile Web SIM card. It is working in a Tablet (Android 4.x).
I removed the PIN code from SIM.
But I cannot connect with RPi:

Code: Select all

# ./sakis3g connect --console --nostorage --pppd APN="wnw" BAUD=115200 CUSTOM_TTY="/dev/ttyAMA0" MODEM="OTHER" OTHER="CUSTOM_TTY" APN_USER="" APN_PASS=""
Modem unable to register a network.
Scan for network by using --scanyes or --scanno switches, or by enabling interactive mode.
$ /home/pi/sakis3g --interactive "connect" "--console" "--nostorage" "--pppd" "APN=wnw" "BAUD=115200" "CUSTOM_TTY=/dev/ttyAMA0" "MODEM=OTHER" "OTHER=CUSTOM_TTY" "APN_USER=" "APN_PASS="

# ./sakis3g connect --console --nostorage --pppd APN="wnw" BAUD=115200 CUSTOM_TTY="/dev/ttyAMA0" MODEM="OTHER" OTHER="CUSTOM_TTY" APN_USER="" APN_PASS=""
Modem unable to register a network.
Scan for network by using --scanyes or --scanno switches, or by enabling interactive mode.
$ /home/pi/sakis3g --interactive "connect" "--console" "--nostorage" "--pppd" "APN=wnw" "BAUD=115200" "CUSTOM_TTY=/dev/ttyAMA0" "MODEM=OTHER" "OTHER=CUSTOM_TTY" "APN_USER=" "APN_PASS=" --debug

...
[22062] [20:41:55] Modem not registered to a network yet.
[22062] [20:41:55] Giving up after 24 seconds have passed.
[22062] [20:41:55] Error: Modem unable to register a network.
Modem unable to register a network.
[22062] [20:41:55] Asking user to confirm: scan Scan for network Modem was unable to register a network. Would you like to manually select a network? Yes No reset
[22062] [20:41:55] Asking user to confirm: scan Scan for network Modem was unable to register a network. Would you like to manually select a network? Yes No reset
[22062] [20:41:55] Notify: Scan for network by using --scanyes or --scanno switches, or by enabling interactive mode.
Scan for network by using --scanyes or --scanno switches, or by enabling interactive mode.
[22062] [20:41:56] Notify: $ /home/pi/sakis3g --interactive "connect" "--console" "--nostorage" "--pppd" "APN=internet" "BAUD=115200" "CUSTOM_TTY=/dev/ttyAMA0" "MODEM=OTHER" "OTHER=CUSTOM_TTY" "APN_USER=" "APN_PASS=" "--debug"
$ /home/pi/sakis3g --interactive "connect" "--console" "--nostorage" "--pppd" "APN=internet" "BAUD=115200" "CUSTOM_TTY=/dev/ttyAMA0" "MODEM=OTHER" "OTHER=CUSTOM_TTY" "APN_USER=" "APN_PASS=" "--debug"
[22062] [20:41:56] Verbosing: 33% Cleaning
[22062] [20:41:56] Stopping operation with return status: 98
[22062] [20:41:56] Now executing traps.
[22062] [20:41:56] Executing trap "cleanscreen".
--
G.

Return to “General discussion”