RPi + SparqEE CELL v1.0

Fórumok

Üdv!

Egy RPi (B) + SparqEE CELLv1.0 modemet (ppp) szeretnék kipróbálni.
http://www.sparqee.com/portfolio/sparqee-shieldr/

Van egy "Example: Raspberry Pi/Linux - Internet Connection (IP address using PPP)" rész:

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

Van hozzá egy Vodafone SIM kártya. Gondolom van rajta adott mennyiségű adatforgalom lehetőség.
A SIM-et kipattintottam a kártáyból, amin volt egy vonalkód. Ill. magán a SIM-en két számsor (2*10 karakter, számjegyek).
Ezeket kellene valahogy felhasználni a scriptnél (APN, APN_USER, AP_PASS)?

sudo ./sakis3g connect --console --nostorage --pppd APN="Internetd.gdsp" BAUD=115200 CUSTOM_TTY="/dev/ttyAMA0" MODEM="OTHER" OTHER="CUSTOM_TTY" APN_USER="user" APN_PASS="pass"

Vodafone esetén mi az APN? vitamax.internet.vodafone.net?

--
G.

Hozzászólások

Kövezz meg, de ennyi SIM-PIN-PUK-APN-Mobilnet háttértudással én nem linuxon meg ipari modemmel kezdenék, hanem max. a telefonomon.

De:
- A SIM kártyán max. a kártya sorozatszáma van (amire tulajdonképpen semmi szükséged), valamint a PIN és PUK kódok az elindításához - de ezeknek a kérését én előtte egy mobiltelefonban biztos kikapcsolnám, leegyszerűsíti a helyzetet.
- A Vodafone APN beállításait (a user-pass információkkal együtt) 1-1,5 perc alatt megtalálod a Vodafone weboldalán a megfelelő dokumentumban (épp csak a másik 2 szolgáltatóval volt dolgom így fejből csak azokat tudnám, de pl. user-pass általában egyiknél sem kell, az APN meg legtöbbször 'net' vagy 'internet')
- Ezen túl viszont: Az általad leírtak után mi az eredmény?

Valóban régen modemeztem Linux alatt és mobilnetet se sűrűn használtam.
Szóval csatlakoztatva az eszközt és boot után a dmesg-ben látszódik a /dev/ttyAMA0, de nem indul:

./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

Foglalja a /sbin/getty folyamat. Mit bénázok el?

--
G.

A --debug kapcsolóval is csak annyi látszódik, hogy vár a /dev/ttyAMA0 eszközre, amit a /sbin/getty használ éppen.


...
03886] [09:39:04] Loaded default value for PPPD_PEERS: /etc/ppp/peers
[03886] [09:39:04] Located "chat" within PATH (/usr/sbin/chat).
[03886] [09:39:04] Verbosing: 14% Preparing modem
[03886] [09:39:04] Loaded default value for CHAT_ABORT_STRINGS: ABORT BUSY ABORT ERROR ABORT BLOCKED ABORT NOCARRIER
[03886] [09:39:04] Unknown command "STAGE0".
[03886] [09:39:04] Command "PROBEGSM" refers to AT commands: ATI OK 'AT+GCAP' OK 'AT+CGSN' OK
[03886] [09:39:04] Will send PROBEGSM commands to tty /dev/ttyAMA0: "" '\pAT' OK ATI OK 'AT+GCAP' OK 'AT+CGSN' OK '\pAT' OK
[03886] [09:39:04] We are root already. Proceeding.
[03886] [09:39:05] Device /dev/ttyAMA0 is currently occupied by 0 process(es).
[03886] [09:39:05] PID(s) are: 2222
/-------------------------------------------------------------------------------
[03886] [09:39:05] Will now run command: \'/bin/ps -p 2222 -o pid,comm= | /usr/bin/tail -1\'
/-------------------------------------------------------------------------------
2222 getty
\-------------------------------------------------------------------------------
[03886] [09:39:05] Command returned 0.
\-------------------------------------------------------------------------------
[03886] [09:39:05] Will wait for 10 seconds in case port is freed.
[03886] [09:39:05] Verbosing: 21% Waiting /dev/ttyAMA0 to be released by PID 2222 getty.
[03886] [09:39:05] Wait for another 10 seconds in case port /dev/ttyAMA0 is freed.
[03886] [09:39:06] We are root already. Proceeding.
[03886] [09:39:06] Device /dev/ttyAMA0 is currently occupied by 0 process(es).
[03886] [09:39:06] PID(s) are: 2222
/-------------------------------------------------------------------------------
[03886] [09:39:06] Will now run command: \'/bin/ps -p 2222 -o pid,comm= | /usr/bin/tail -1\'
/-------------------------------------------------------------------------------
2222 getty
\-------------------------------------------------------------------------------
[03886] [09:39:07] Command returned 0.
\-------------------------------------------------------------------------------
[03886] [09:39:07] Wait for another 9 seconds in case port /dev/ttyAMA0 is freed.
[03886] [09:39:08] We are root already. Proceeding.
[03886] [09:39:08] Device /dev/ttyAMA0 is currently occupied by 0 process(es).
[03886] [09:39:08] PID(s) are: 2222
/-------------------------------------------------------------------------------
[03886] [09:39:08] Will now run command: \'/bin/ps -p 2222 -o pid,comm= | /usr/bin/tail -1\'
/-------------------------------------------------------------------------------
2222 getty
\-------------------------------------------------------------------------------
[03886] [09:39:08] Command returned 0.
\-------------------------------------------------------------------------------
[03886] [09:39:08] Wait for another 8 seconds in case port /dev/ttyAMA0 is freed.
[03886] [09:39:09] We are root already. Proceeding.
[03886] [09:39:09] Device /dev/ttyAMA0 is currently occupied by 0 process(es).
[03886] [09:39:09] PID(s) are: 2222
/-------------------------------------------------------------------------------
[03886] [09:39:09] Will now run command: \'/bin/ps -p 2222 -o pid,comm= | /usr/bin/tail -1\'
/-------------------------------------------------------------------------------
2222 getty
\-------------------------------------------------------------------------------
[03886] [09:39:10] Command returned 0.
\-------------------------------------------------------------------------------
[03886] [09:39:10] Wait for another 7 seconds in case port /dev/ttyAMA0 is freed.
[03886] [09:39:11] We are root already. Proceeding.
[03886] [09:39:11] Device /dev/ttyAMA0 is currently occupied by 0 process(es).
[03886] [09:39:11] PID(s) are: 2222
/-------------------------------------------------------------------------------
[03886] [09:39:11] Will now run command: \'/bin/ps -p 2222 -o pid,comm= | /usr/bin/tail -1\'
/-------------------------------------------------------------------------------
2222 getty
\-------------------------------------------------------------------------------
[03886] [09:39:11] Command returned 0.
\-------------------------------------------------------------------------------
[03886] [09:39:11] Wait for another 6 seconds in case port /dev/ttyAMA0 is freed.
[03886] [09:39:12] We are root already. Proceeding.
[03886] [09:39:12] Device /dev/ttyAMA0 is currently occupied by 0 process(es).
[03886] [09:39:12] PID(s) are: 2222
/-------------------------------------------------------------------------------
[03886] [09:39:12] Will now run command: \'/bin/ps -p 2222 -o pid,comm= | /usr/bin/tail -1\'
/-------------------------------------------------------------------------------
2222 getty
\-------------------------------------------------------------------------------
[03886] [09:39:13] Command returned 0.
\-------------------------------------------------------------------------------
[03886] [09:39:13] Wait for another 5 seconds in case port /dev/ttyAMA0 is freed.
[03886] [09:39:14] We are root already. Proceeding.
[03886] [09:39:14] Device /dev/ttyAMA0 is currently occupied by 0 process(es).
[03886] [09:39:14] PID(s) are: 2222
/-------------------------------------------------------------------------------
[03886] [09:39:14] Will now run command: \'/bin/ps -p 2222 -o pid,comm= | /usr/bin/tail -1\'
/-------------------------------------------------------------------------------
2222 getty
\-------------------------------------------------------------------------------
[03886] [09:39:14] Command returned 0.
\-------------------------------------------------------------------------------
[03886] [09:39:14] Wait for another 4 seconds in case port /dev/ttyAMA0 is freed.
[03886] [09:39:15] We are root already. Proceeding.
[03886] [09:39:15] Device /dev/ttyAMA0 is currently occupied by 0 process(es).
[03886] [09:39:15] PID(s) are: 2222
/-------------------------------------------------------------------------------
[03886] [09:39:15] Will now run command: \'/bin/ps -p 2222 -o pid,comm= | /usr/bin/tail -1\'
/-------------------------------------------------------------------------------
2222 getty
\-------------------------------------------------------------------------------
[03886] [09:39:16] Command returned 0.
\-------------------------------------------------------------------------------
[03886] [09:39:16] Wait for another 3 seconds in case port /dev/ttyAMA0 is freed.
[03886] [09:39:17] We are root already. Proceeding.
[03886] [09:39:17] Device /dev/ttyAMA0 is currently occupied by 0 process(es).
[03886] [09:39:17] PID(s) are: 2222
/-------------------------------------------------------------------------------
[03886] [09:39:17] Will now run command: \'/bin/ps -p 2222 -o pid,comm= | /usr/bin/tail -1\'
/-------------------------------------------------------------------------------
2222 getty
\-------------------------------------------------------------------------------
[03886] [09:39:17] Command returned 0.
\-------------------------------------------------------------------------------
[03886] [09:39:17] Wait for another 2 seconds in case port /dev/ttyAMA0 is freed.
[03886] [09:39:18] We are root already. Proceeding.
[03886] [09:39:18] Device /dev/ttyAMA0 is currently occupied by 0 process(es).
[03886] [09:39:19] PID(s) are: 2222
/-------------------------------------------------------------------------------
[03886] [09:39:19] Will now run command: \'/bin/ps -p 2222 -o pid,comm= | /usr/bin/tail -1\'
/-------------------------------------------------------------------------------
2222 getty
\-------------------------------------------------------------------------------
[03886] [09:39:19] Command returned 0.
\-------------------------------------------------------------------------------
[03886] [09:39:19] Wait for another 1 seconds in case port /dev/ttyAMA0 is freed.
[03886] [09:39:20] We are root already. Proceeding.
[03886] [09:39:20] Device /dev/ttyAMA0 is currently occupied by 0 process(es).
[03886] [09:39:20] PID(s) are: 2222
/-------------------------------------------------------------------------------
[03886] [09:39:20] Will now run command: \'/bin/ps -p 2222 -o pid,comm= | /usr/bin/tail -1\'
/-------------------------------------------------------------------------------
2222 getty
\-------------------------------------------------------------------------------
[03886] [09:39:20] Command returned 0.
\-------------------------------------------------------------------------------
[03886] [09:39:20] Error: Port /dev/ttyAMA0 is currently occupied by 2222 getty.
Port /dev/ttyAMA0 is currently occupied by 2222 getty.
[03886] [09:39:20] Error: Failed to connect.
Failed to connect.
[03886] [09:39:21] Aborting execution chain due to actor "connect" returning 1.
[03886] [09:39:21] Following actors executed: connect
[03886] [09:39:21] Verbosing: 28% Cleaning
[03886] [09:39:21] Stopping operation with return status: 1
[03886] [09:39:21] Now executing traps.
[03886] [09:39:21] Executing trap "cleanscreen".

Hol rontom el a kapcsolódást?

--
G.

Az inittab-ban
#T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100

Most így:

./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.

Az a bizonyos PIN kód kell neki...

--
G.

Próbáltam, de ugyebár a SIM kártya nem magyarországi. Be is mentem a Vodafone-hoz és ott mondták is, hogy ez nem fog menni a magyar Vodafone hálózaton, mert angol Vodafone kártya. A szériaszámából látszódott.

Egyébként gondolom így is menne a "gsm-utils"-al:

sudo apt-get install gsm-utils
sudo gsmctl -d /dev/ttyAMA0 -o unlock sc all 1234
# pl. PIN: 1234

A Vodafone-ban azt is mondták, hogy az a ZTE GSM adapter lehet, hogy az angol Vodafone hálózatra van lockolva.
Ez valóban lehet?
Hogy tudom kideríteni? Egy magyar data SIM kártyával? :)

--
G.

A SparqEE-től visszaírtak, hogy bárhol használható az eszköz, nincs hálózat locking.
Van egy Domino Web SIM kártya (3G), a PIN kódot kivettem belőle. Egy tabletben tökéletesen működik is.
A RPi-be berakva eddig jut (az APN-t próbáltam "wnw" és "internet" beállításokkal):

# ./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".

Van ötlete valakinek miért nem tud a modem regisztrálni a hálózatra?
(a --interactive kapcsoló sem jut semmire, nem talál hálózatot.) Tablet-ról meg megy a SIM kártyával a mobilnet.

--
G.

Na már a ppp0 interface-ig eljut, de még valami hiányzik:

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

...
OK
[02272] [22:27:49] SIM contains "service provider" name: T-Mobile H
[02272] [22:27:49] Modem on /dev/ttyAMA0 has registered 21630.
[02272] [22:27:49] Unknown command "STAGE5".
[02272] [22:27:49] Unable to locate "hal-get-property" within PATH.
[02272] [22:27:49] Modem on device node /dev/ttyAMA0 is now ready for connection.
[02272] [22:27:49] Device /dev/ttyAMA0 is now prepared and registered to T-Mobile H.
[02272] [22:27:49] Verbosing: 21% Resolving connection details
[02272] [22:27:50] Loaded entries from files/operators.db:
21630:: T-Mobile HU T-Mobile Mobilinternet ff00ff internet:Internet:user:pass mms-westel:MMS:mms:pass http://www.t-mobile.at/Tico.ico
[02272] [22:27:50] ISPID: 21630 / ISPNAME: T-Mobile H / ISPTEXT: T-Mobile H
[02272] [22:27:51] Asking user to select: APN Please select APN Select APN that best describes your connection. Contact your operator if unsure. This information, along with APN username and password, is usually easily retrieved through a fast call to customer support Select Cancel internet Internet (internet) mms-westel MMS (mms-westel) CUSTOM_APN Custom APN...
[02272] [22:27:51] Asking user to select: APN Please select APN Select APN that best describes your connection. Contact your operator if unsure. This information, along with APN username and password, is usually easily retrieved through a fast call to customer support Select Cancel internet Internet (internet) mms-westel MMS (mms-westel) CUSTOM_APN Custom APN...
[02272] [22:27:51] APN=internet
[02272] [22:27:51] internet==internet.
[02272] [22:27:51] User has already selected APN="internet". Returning 1.
[02272] [22:27:51] Asking user to enter: APN_USER APN: internet Enter username required by APN, or leave empty to abort. Contact your operator if unsure. This information, along with APN password, is usually easily retrieved through a fast call to customer support OK Cancel
[02272] [22:27:51] Asking user to enter: APN_USER APN: internet Enter username required by APN, or leave empty to abort. Contact your operator if unsure. This information, along with APN password, is usually easily retrieved through a fast call to customer support OK Cancel
[02272] [22:27:51] APN_USER=user
[02272] [22:27:52] User has already entered APN_USER="user". Returning 0.
[02272] [22:27:52] Asking user to enter: APN_PASS APN: internet Enter password required by APN, or leave empty to abort. Contact your operator if unsure. This information is usually easily retrieved through a fast call to customer support OK Cancel
[02272] [22:27:52] Asking user to enter: APN_PASS APN: internet Enter password required by APN, or leave empty to abort. Contact your operator if unsure. This information is usually easily retrieved through a fast call to customer support OK Cancel
[02272] [22:27:52] APN_PASS=pass
[02272] [22:27:52] User has already entered APN_PASS="pass". Returning 0.
[02272] [22:27:52] Command "DIAL" refers to AT commands: ATD*99#
[02272] [22:27:52] Loaded default value for PPPD_OPTIONS: modem crtscts -detach defaultroute dump noipdefault usepeerdns usehostname ktune logfd 2 noauth name sakis3g lock maxfail 3
[02272] [22:27:52] Init strings are:
OK 'ATD*99#'
[02272] [22:27:52] Config file that will be used is: "/tmp/pppd.tmp.2272".
/-------------------------------------------------------------------------------
[02272] [22:27:52] Will now display contents of: \'/tmp/pppd.tmp.2272\'
/-------------------------------------------------------------------------------
ABORT "NO CARRIER"
ABORT "NO DIALTONE"
ABORT "BUSY"
ABORT "ERROR"
ABORT "NO ANSWER"
"" ATZ
OK 'ATD*99#'
\-------------------------------------------------------------------------------
-rw------- 1 root root 104 nov 27 22:27 /tmp/pppd.tmp.2272
\-------------------------------------------------------------------------------
[02272] [22:27:52] Connection command that will be used is: /usr/bin/setsid /usr/sbin/pppd /dev/ttyAMA0 115200 modem crtscts -detach defaultroute dump noipdefault usepeerdns usehostname ktune logfd 2 noauth name sakis3g lock maxfail 3 connect "/usr/sbin/chat -v -f /tmp/pppd.tmp.2272" user "user" password "pass"
[02272] [22:27:52] Verbosing: 28% Initializing modem
[02272] [22:27:52] Using default INITIALIZE.
[02272] [22:27:52] Command "INITIALIZE" refers to AT commands: ATZ OK 'AT&F' OK 'ATQ0 V1 E1' OK 'AT&D2 &C1' OK AT+FCLASS=0 OK ATS0=0 OK 'AT+CGDCONT=1,"IP","internet"' OK
[02272] [22:27:52] Will send INITIALIZE commands to tty /dev/ttyAMA0: "" '\pAT' OK ATZ OK 'AT&F' OK 'ATQ0 V1 E1' OK 'AT&D2 &C1' OK AT+FCLASS=0 OK ATS0=0 OK 'AT+CGDCONT=1,"IP","internet"' OK '\pAT' OK
[02272] [22:27:52] We are root already. Proceeding.
[02272] [22:27:53] Device /dev/ttyAMA0 is not busy.
[02272] [22:27:55] Got response from tty:
AT

OK

ATZ

OK

AT&F

OK
[02272] [22:27:55] Unknown command "STAGE7".
[02272] [22:27:55] Unknown command "STAGE8".
[02272] [22:27:55] We are root already. Proceeding.
/-------------------------------------------------------------------------------
[02272] [22:27:55] Will now run command: \'/bin/rm -f "/tmp/sakis3g.3gnet"\'
/-------------------------------------------------------------------------------
\-------------------------------------------------------------------------------
[02272] [22:27:55] Command returned 0.
\-------------------------------------------------------------------------------
[02272] [22:27:55] We are root already. Proceeding.
[02272] [22:27:55] Device /dev/ttyAMA0 is not busy.
[02272] [22:27:56] Verbosing: 35% Connecting
pppd options in effect:
-detach # (from command line)
logfd 2 # (from command line)
maxfail 3 # (from command line)
ktune # (from command line)
dump # (from command line)
noauth # (from command line)
name raspberrypi # (from command line)
user user # (from command line)
password ?????? # (from command line)
usehostname # (from command line)
/dev/ttyAMA0 # (from command line)
115200 # (from command line)
lock # (from command line)
connect /usr/sbin/chat -v -f /tmp/pppd.tmp.2272 # (from command line)
crtscts # (from command line)
modem # (from command line)
asyncmap 0 # (from /etc/ppp/options)
lcp-echo-failure 4 # (from /etc/ppp/options)
lcp-echo-interval 30 # (from /etc/ppp/options)
hide-password # (from /etc/ppp/options)
noipdefault # (from command line)
defaultroute # (from command line)
usepeerdns # (from command line)
noipx # (from /etc/ppp/options)
[02272] [22:27:56] PID 4285 is still running.
[02272] [22:27:56] Located "netstat" within PATH (/bin/netstat).
[02272] [22:27:56] Waiting for interface to go up (0 seconds passed).
Serial connection established.
Using interface ppp0
Connect: ppp0 <--> /dev/ttyAMA0
[02272] [22:27:57] PID 4285 is still running.
[02272] [22:27:57] Interface ppp0 is up.
[02272] [22:27:57] Waiting for interface to go up (1 seconds passed).
CHAP authentication succeeded
CHAP authentication succeeded
[02272] [22:27:58] PID 4285 is still running.
[02272] [22:27:58] Interface ppp0 is up.
[02272] [22:27:59] Waiting for interface to go up (2 seconds passed).
[02272] [22:28:00] PID 4285 is still running.
[02272] [22:28:00] Interface ppp0 is up.
[02272] [22:28:00] Waiting for interface to go up (3 seconds passed).
[02272] [22:28:01] PID 4285 is still running.
[02272] [22:28:01] Interface ppp0 is up.
[02272] [22:28:01] Waiting for interface to go up (4 seconds passed).
[02272] [22:28:02] PID 4285 is still running.
[02272] [22:28:02] Interface ppp0 is up.
[02272] [22:28:02] Waiting for interface to go up (5 seconds passed).
[02272] [22:28:03] PID 4285 is still running.
[02272] [22:28:04] Interface ppp0 is up.
[02272] [22:28:04] Waiting for interface to go up (6 seconds passed).
[02272] [22:28:05] PID 4285 is still running.
[02272] [22:28:05] Interface ppp0 is up.
[02272] [22:28:05] Waiting for interface to go up (7 seconds passed).
[02272] [22:28:06] PID 4285 is still running.
[02272] [22:28:06] Interface ppp0 is up.
[02272] [22:28:06] Waiting for interface to go up (8 seconds passed).
[02272] [22:28:07] PID 4285 is still running.
[02272] [22:28:07] Interface ppp0 is up.
[02272] [22:28:08] Waiting for interface to go up (9 seconds passed).
[02272] [22:28:09] PID 4285 is still running.
[02272] [22:28:09] Interface ppp0 is up.
[02272] [22:28:09] Waiting for interface to go up (10 seconds passed).
[02272] [22:28:10] PID 4285 is still running.
[02272] [22:28:10] Interface ppp0 is up.
[02272] [22:28:10] Waiting for interface to go up (11 seconds passed).
[02272] [22:28:11] PID 4285 is still running.
[02272] [22:28:11] Interface ppp0 is up.
[02272] [22:28:11] Waiting for interface to go up (12 seconds passed).
[02272] [22:28:12] PID 4285 is still running.
[02272] [22:28:13] Interface ppp0 is up.
[02272] [22:28:13] Waiting for interface to go up (13 seconds passed).
[02272] [22:28:14] PID 4285 is still running.
[02272] [22:28:14] Interface ppp0 is up.
[02272] [22:28:14] Waiting for interface to go up (14 seconds passed).
[02272] [22:28:15] PID 4285 is still running.
[02272] [22:28:15] Interface ppp0 is up.
[02272] [22:28:15] Waiting for interface to go up (15 seconds passed).
[02272] [22:28:16] PID 4285 is still running.
[02272] [22:28:16] Interface ppp0 is up.
[02272] [22:28:16] Waiting for interface to go up (16 seconds passed).
[02272] [22:28:18] PID 4285 is still running.
[02272] [22:28:18] Interface ppp0 is up.
[02272] [22:28:18] Waiting for interface to go up (17 seconds passed).
[02272] [22:28:19] PID 4285 is still running.
[02272] [22:28:19] Interface ppp0 is up.
[02272] [22:28:19] Waiting for interface to go up (18 seconds passed).
[02272] [22:28:20] PID 4285 is still running.
[02272] [22:28:20] Interface ppp0 is up.
[02272] [22:28:20] Waiting for interface to go up (19 seconds passed).
[02272] [22:28:21] PID 4285 is still running.
[02272] [22:28:21] Interface ppp0 is up.
[02272] [22:28:22] Waiting for interface to go up (20 seconds passed).
[02272] [22:28:22] Giving up waiting for connection to occur.
[02272] [22:28:22] Located "kill" within PATH (/bin/kill).
Hangup (SIGHUP)
[02272] [22:28:22] PID 4285 is still running.
[02272] [22:28:23] PID 4285 is still running.
[02272] [22:28:24] PID 4285 is still running.
[02272] [22:28:24] Interface ppp0 is up.
[02272] [22:28:24] Failed to connect.
[02272] [22:28:24] Error: Failed to connect.
Failed to connect.
[02272] [22:28:24] Aborting execution chain due to actor "connect" returning 95.
[02272] [22:28:24] Following actors executed: connect
[02272] [22:28:24] Verbosing: 42% Cleaning
[02272] [22:28:24] Stopping operation with return status: 95
[02272] [22:28:24] Now executing traps.
[02272] [22:28:24] Executing trap "cleanscreen".
[02272] [22:28:25]
>>>>>>>>> If program is paused, you may freely press Ctrl+C. <<<<<<<<<
>>> This happens due to DEBUG being set. Connection will NOT drop. <<<
root@raspberrypi:/home/pi#
root@raspberrypi:/home/pi#
root@raspberrypi:/home/pi#
root@raspberrypi:/home/pi# Connection terminated.
Modem hangup

Ha adok APN_USER és APN_PASS paramétert (pl. user/user v. user/pass), akkor is ugyanaz, mint fent.
(A T-Pont-ban még az APN_NAME-t sem tudták megmondani.)

--
G.

Rég' foglalkoztam vele, de úgy rémlik, hogy csak simán parancssorból (paraméterek nélkül) indítva egy "varázsló"-val végigmehetsz az összes beállításon. Fel fogja ajánlani az elérhető APN-eket, meg mindent, ami csak kétértelmű lehet.
A végén megkapod a komplett parancsori paraméterezett parancsot, amivel tárcsázni tudsz.
A PIN kérést mobilban kapcsold ki előtte, ahogy mások is írták.
Nekem kellett még az

usb-modeswitch

csomag is, de nem ilyen modemmel sznvedtem, mint Te.

Ezen kívül:

sakis3g help
sakis3g man
openSUSE 13.1 x86_64.

A cmdline.txt-ból kiveszem a "console=ttyAMA0,115200", tehát ez marad:

dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait fbcon=map:10 fbcon=font:VGA8x8

akkor:

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

...
[09737] [19:50:35] OTHER=CUSTOM_TTY
[09737] [19:50:35] USBMODEM!=CUSTOM_TTY
[09737] [19:50:35] BLUETOOTH!=CUSTOM_TTY
[09737] [19:50:35] CUSTOM_TTY==CUSTOM_TTY.
[09737] [19:50:35] User has already selected OTHER="CUSTOM_TTY". Returning 3.
[09737] [19:50:35] Asking user to enter: CUSTOM_TTY Please enter tty Enter tty node where your 3G modem resides, or leave empty to abort OK Cancel
[09737] [19:50:35] Asking user to enter: CUSTOM_TTY Please enter tty Enter tty node where your 3G modem resides, or leave empty to abort OK Cancel
[09737] [19:50:35] CUSTOM_TTY=/dev/ttyAMA0
[09737] [19:50:35] User has already entered CUSTOM_TTY="/dev/ttyAMA0". Returning 0.
[09737] [19:50:35] Using device node "/dev/ttyAMA0".
[09737] [19:50:35] Setting up modem.
[09737] [19:50:35] We are root already. Proceeding.
[09737] [19:50:35] Setting up custom modem on /dev/ttyAMA0.
[09737] [19:50:35] Attempting to setup custom tty modem on "/dev/ttyAMA0".
[09737] [19:50:35] Custom tty "/dev/ttyAMA0" exists. Nothing more to do for setting it up.
[09737] [19:50:35] Modem is now setup and resides on /dev/ttyAMA0.
[09737] [19:50:35] Located "wvdial" within PATH (/usr/bin/wvdial).
[09737] [19:50:35] Located "pppd" within PATH (/usr/sbin/pppd).
[09737] [19:50:35] Loaded default value for PPPD_PEERS: /etc/ppp/peers
[09737] [19:50:35] Located "chat" within PATH (/usr/sbin/chat).
[09737] [19:50:36] Verbosing: 14% Preparing modem
[09737] [19:50:36] Loaded default value for CHAT_ABORT_STRINGS: ABORT BUSY ABORT ERROR ABORT BLOCKED ABORT NOCARRIER
[09737] [19:50:36] Unknown command "STAGE0".
[09737] [19:50:36] Command "PROBEGSM" refers to AT commands: ATI OK 'AT+GCAP' OK 'AT+CGSN' OK
[09737] [19:50:36] Will send PROBEGSM commands to tty /dev/ttyAMA0: "" '\pAT' OK ATI OK 'AT+GCAP' OK 'AT+CGSN' OK '\pAT' OK
[09737] [19:50:36] We are root already. Proceeding.
[09737] [19:50:36] Device /dev/ttyAMA0 is not busy.
[09737] [19:50:38] Got response from tty:

[09737] [19:50:38] No GSM capabilities were advertised.
[09737] [19:50:38] Device did not report GSM capabilities.
[09737] [19:50:38] Will check one more time.
[09737] [19:50:38] Command "PROBEGSM" refers to AT commands: ATI OK 'AT+GCAP' OK 'AT+CGSN' OK
[09737] [19:50:38] Will send PROBEGSM commands to tty /dev/ttyAMA0: "" '\pAT' OK ATI OK 'AT+GCAP' OK 'AT+CGSN' OK '\pAT' OK
[09737] [19:50:38] We are root already. Proceeding.
[09737] [19:50:38] Device /dev/ttyAMA0 is not busy.
[09737] [19:50:41] Got response from tty:

[09737] [19:50:41] No GSM capabilities were advertised.
[09737] [19:50:41] Device did not report GSM capabilities.
[09737] [19:50:41] Error: Device did not report GSM capabilities. You can skip this by adding --noprobe command line switch.
Device did not report GSM capabilities. You can skip this by adding --noprobe command line switch.
[09737] [19:50:41] Error: Failed to connect.
Failed to connect.
[09737] [19:50:41] Aborting execution chain due to actor "connect" returning 1.
[09737] [19:50:41] Following actors executed: connect
[09737] [19:50:41] Verbosing: 21% Cleaning
[09737] [19:50:41] Stopping operation with return status: 1
[09737] [19:50:41] Now executing traps.
[09737] [19:50:41] Executing trap "cleanscreen".

~# ./sakis3g connect --console --nostorage --pppd APN="internet" BAUD=115200 CUSTOM_TTY="/dev/ttyAMA0" MODEM="OTHER" OTHER="CUSTOM_TTY" APN_USER="" APN_PASS="" --debug --noprobe

...
[11257] [19:52:03] OTHER=CUSTOM_TTY
[11257] [19:52:03] USBMODEM!=CUSTOM_TTY
[11257] [19:52:03] BLUETOOTH!=CUSTOM_TTY
[11257] [19:52:03] CUSTOM_TTY==CUSTOM_TTY.
[11257] [19:52:03] User has already selected OTHER="CUSTOM_TTY". Returning 3.
[11257] [19:52:03] Asking user to enter: CUSTOM_TTY Please enter tty Enter tty node where your 3G modem resides, or leave empty to abort OK Cancel
[11257] [19:52:03] Asking user to enter: CUSTOM_TTY Please enter tty Enter tty node where your 3G modem resides, or leave empty to abort OK Cancel
[11257] [19:52:03] CUSTOM_TTY=/dev/ttyAMA0
[11257] [19:52:03] User has already entered CUSTOM_TTY="/dev/ttyAMA0". Returning 0.
[11257] [19:52:03] Using device node "/dev/ttyAMA0".
[11257] [19:52:03] Setting up modem.
[11257] [19:52:03] We are root already. Proceeding.
[11257] [19:52:03] Setting up custom modem on /dev/ttyAMA0.
[11257] [19:52:03] Attempting to setup custom tty modem on "/dev/ttyAMA0".
[11257] [19:52:03] Custom tty "/dev/ttyAMA0" exists. Nothing more to do for setting it up.
[11257] [19:52:03] Modem is now setup and resides on /dev/ttyAMA0.
[11257] [19:52:03] Located "wvdial" within PATH (/usr/bin/wvdial).
[11257] [19:52:03] Located "pppd" within PATH (/usr/sbin/pppd).
[11257] [19:52:03] Loaded default value for PPPD_PEERS: /etc/ppp/peers
[11257] [19:52:03] Located "chat" within PATH (/usr/sbin/chat).
[11257] [19:52:03] Verbosing: 14% Preparing modem
[11257] [19:52:03] Loaded default value for CHAT_ABORT_STRINGS: ABORT BUSY ABORT ERROR ABORT BLOCKED ABORT NOCARRIER
[11257] [19:52:03] Unknown command "STAGE0".
[11257] [19:52:04] Command "PROBEGSM" refers to AT commands: ATI OK 'AT+GCAP' OK 'AT+CGSN' OK
[11257] [19:52:04] Will send PROBEGSM commands to tty /dev/ttyAMA0: "" '\pAT' OK ATI OK 'AT+GCAP' OK 'AT+CGSN' OK '\pAT' OK
[11257] [19:52:04] We are root already. Proceeding.
[11257] [19:52:04] Device /dev/ttyAMA0 is not busy.
[11257] [19:52:06] Got response from tty:

[11257] [19:52:06] No GSM capabilities were advertised.
[11257] [19:52:06] Forced by user to consider tty /dev/ttyAMA0 GSM capable.
[11257] [19:52:06] Found GSM capabilities on tty /dev/ttyAMA0.
[11257] [19:52:06] Command "IDENTIFY" refers to AT commands: AT+CGMM OK
[11257] [19:52:06] Will send IDENTIFY commands to tty /dev/ttyAMA0: "" '\pAT' OK AT+CGMM OK '\pAT' OK
[11257] [19:52:06] We are root already. Proceeding.
[11257] [19:52:06] Device /dev/ttyAMA0 is not busy.
[11257] [19:52:08] Got response from tty:

[11257] [19:52:09] Modem did not report a name.
[11257] [19:52:09] Unknown command "STAGE1".
[11257] [19:52:09] Using default PINCHECK.
[11257] [19:52:09] Command "PINCHECK" refers to AT commands: 'AT+CPIN?' OK
[11257] [19:52:09] Will send PINCHECK commands to tty /dev/ttyAMA0: "" '\pAT' OK 'AT+CPIN?' OK '\pAT' OK
[11257] [19:52:09] We are root already. Proceeding.
[11257] [19:52:09] Device /dev/ttyAMA0 is not busy.
[11257] [19:52:11] Got response from tty:

[11257] [19:52:11] Got "ERROR" while checking modem on /dev/ttyAMA0 for PIN requirement.
[11257] [19:52:11] Error: Modem responded "ERROR" while checking for PIN.
Modem responded "ERROR" while checking for PIN.
[11257] [19:52:11] Error: Failed to connect.
Failed to connect.
[11257] [19:52:11] Aborting execution chain due to actor "connect" returning 1.
[11257] [19:52:11] Following actors executed: connect
[11257] [19:52:12] Verbosing: 21% Cleaning
[11257] [19:52:12] Stopping operation with return status: 1
[11257] [19:52:12] Now executing traps.
[11257] [19:52:12] Executing trap "cleanscreen".

A PIN nincs beállítva, mert pl. egy Tablet-ben sem kéri. :(

--
G.

Ez viszont érdekes. Ugyanezt a SIM kártyát betettem egy Mobile Szélessávű USB Stickbe(!):

# apt-get install ppp wvdial usb-modeswitch

# létrejött a kapcsolódáskor /dev/ttyUSB0, /dev/ttyUSB1, /dev/ttyUSB2

./sakis3g connect --nostorage --pppd APN="internet" APN_USER="" APN_PASS="" CUSTOM_TTY="/dev/ttyAMA0" USBDRIVER="option" OTHER="USBMODEM" USBMODEM="19d2:2000" --debug

...
[10664] [20:48:46] Waiting for interface to go up (2 seconds passed).
[10664] [20:48:47] PID 13618 is still running.
[10664] [20:48:47] Interface ppp0 is up.
[10664] [20:48:47] Waiting for interface to go up (3 seconds passed).
[10664] [20:48:48] PID 13618 is still running.
Could not determine remote IP address: defaulting to 10.64.64.64
not replacing existing default route via 192.168.1.254
local IP address 100.66.23.31
remote IP address 10.64.64.64
primary DNS address 84.2.46.1
secondary DNS address 84.2.44.1
[10664] [20:48:48] Interface ppp0 is up.
[10664] [20:48:48] Default route through ppp0 is established.
[10664] [20:48:48] Really connected.
[10664] [20:48:48] PID 13618 is still running.
[10664] [20:48:48] Interface ppp0 is up.
[10664] [20:48:49] Default route through ppp0 is established.
[10664] [20:48:49] Really connected.
[10664] [20:48:49] Connection is established.
[10664] [20:48:49] Verbosing: 70% Fixing connection
[10664] [20:48:49] Running post-connection setup.
[10664] [20:48:49] Located "route" within PATH (/sbin/route).
[10664] [20:48:49] We are root already. Proceeding.
[10664] [20:48:49] Deleting default gateway 192.168.1.254.
/-------------------------------------------------------------------------------
[10664] [20:48:49] Will now run command: \'/sbin/route del default gw 192.168.1.254\'
/-------------------------------------------------------------------------------
\-------------------------------------------------------------------------------
[10664] [20:48:49] Command returned 0.
\-------------------------------------------------------------------------------
[10664] [20:48:49] Deleted all default gateways.
/-------------------------------------------------------------------------------
[10664] [20:48:49] Will now run command: \'/sbin/route add default gw 10.64.64.64\'
/-------------------------------------------------------------------------------
\-------------------------------------------------------------------------------
[10664] [20:48:49] Command returned 0.
\-------------------------------------------------------------------------------
[10664] [20:48:49] Added correct default gateway: 10.64.64.64.
/-------------------------------------------------------------------------------
[10664] [20:48:49] Will now run command: \'/bin/netstat -rn\'
/-------------------------------------------------------------------------------
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 10.64.64.64 0.0.0.0 UG 0 0 0 ppp0
10.64.64.64 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
\-------------------------------------------------------------------------------
[10664] [20:48:49] Command returned 0.
\-------------------------------------------------------------------------------
[10664] [20:48:49] Checking if required to fix DNS settings.
/-------------------------------------------------------------------------------
[10664] [20:48:49] Will now display contents of: \'/etc/resolv.conf\'
/-------------------------------------------------------------------------------
nameserver 84.2.46.1
nameserver 84.2.44.1
\-------------------------------------------------------------------------------
-rw-r--r-- 1 root root 42 nov 28 20:48 /etc/resolv.conf
\-------------------------------------------------------------------------------
[10664] [20:48:50] No need to fix DNS servers. Skipping it.
[10664] [20:48:50] Interface ppp0 is up.
[10664] [20:48:50] Default route through ppp0 is established.
[10664] [20:48:50] Really connected.
[10664] [20:48:50] Retrieved from /tmp/sakis3g.3gnet: "21630" - "T-Mobile H"
[10664] [20:48:50] Retrieved ISP ID from /tmp/sakis3g.3gnet: 21630
[10664] [20:48:50] Also retrieved ISP name: T-Mobile H
[10664] [20:48:50] Process ID 13618 is: pppd
[10664] [20:48:50] ISPID is set to: 21630
[10664] [20:48:50] It matches value retrieved from file.
[10664] [20:48:51] Loaded entries from files/operators.db:
21630:: T-Mobile HU T-Mobile Mobilinternet ff00ff internet:Internet:user:pass mms-westel:MMS:mms:pass http://www.t-mobile.at/Tico.ico
[10664] [20:48:51] ISPID: 21630 / ISPNAME: T-Mobile H / ISPTEXT: T-Mobile H
[10664] [20:48:51] Notify: MF626 connected to T-Mobile H (21630).
MF626 connected to T-Mobile H (21630).
[10664] [20:48:51] Following actors executed: connect
[10664] [20:48:52] Verbosing: 7% Cleaning
[10664] [20:48:52] Stopping operation with return status: 0
[10664] [20:48:52] Now executing traps.
[10664] [20:48:52] Executing trap "cleanscreen".
[10664] [20:48:52]
>>>>>>>>> If program is paused, you may freely press Ctrl+C. <<<<<<<<<
>>> This happens due to DEBUG being set. Connection will NOT drop. <<<

Elsőre elindult!! Csak nem értem egészen, ezzel miért megy. :)

(Ha a /boot/cmdline.txt fájlban nincs "console=ttyAMA0,115200", akkor létrejönnek a ttyUSB0,ttyUSB1,ttyUSB2 eszközök és így indítható:
./sakis3g connect --nostorage --pppd APN="internet" APN_USER="" APN_PASS="" CUSTOM_TTY="/dev/ttyUSB2" USBDRIVER="option" OTHER="USBMODEM" USBMODEM="19d2:2000" --debug)

--
G.

Végül így sikerült működésre bírni az eszközt (root-ként):


~$ wget http://www.sparqee.com/drivers/Linux.zip

# Linux.zip alapján

~$ cat ppp-on
#!/bin/sh

clear
/sbin/route del -net default
# These are the parameters. Change as needed.
echo "=============== This is the part 1 of the scripts. ================"
TELEPHONE="*99#" # The telephone number for the connection
ACCOUNT=null # The account name for logon
PASSWORD=null # The password for this account
LOCAL_IP=0.0.0.0 # Local IP address if known. Dynamic = 0.0.0.0
REMOTE_IP=0.0.0.0 # Remote IP address if desired. Normally 0.0.0.0
NETMASK=255.255.255.0 # The proper netmask if needed
OPTION_FILE="zte_options"
DIAL_SCRIPTS_PATH=`pwd`
DEBUG_STAT="no"
export TELEPHONE ACCOUNT PASSWORD DIAL_SCRIPTS_PATH DEBUG_STAT
if [ "$1" = "-d" ]; then
DEBUG_STAT="yes"
$DIAL_SCRIPTS_PATH/zte_log $0 "DEBUG_STAT = " $DEBUG_STAT
fi

echo "=============== This is the part 2 of the scripts. ================ "

DIALER_SCRIPT=$DIAL_SCRIPTS_PATH/zte_ppp_dialer

$DIAL_SCRIPTS_PATH/zte_log $0 "DIALER_SCRIPT = " $DIALER_SCRIPT

if [ -f $DIALER_SCRIPT ]; then
if [ -x $DIALER_SCRIPT ]; then
$DIAL_SCRIPTS_PATH/zte_log $0 DIALER_SCRIPT "is ok!"
else
echo $DIALER_SCRIPT": permission limittion"
exit 0
fi
else
echo "The file" $DIALER_SCRIPT " don't exist in the current directory!"
exit 0
fi

echo " =============== This is the part 3 of the scripts. ================"
exec /usr/sbin/pppd $LOCAL_IP:$REMOTE_IP file $OPTION_FILE connect $DIALER_SCRIPT

~$ cat zte_options
/dev/ttyAMA0
115200
noauth
noipdefault
defaultroute
usepeerdns
crtscts
lock
lcp-echo-failure 4
asyncmap 20A0000
kdebug 4
netmask 255.255.255.0
-detach
-ccp
-vj

~$ cat zte_ppp_dialer
#!/bin/sh

OPTIONS_FILE=$DIAL_SCRIPTS_PATH/"zte_chat_options"

$DIAL_SCRIPTS_PATH/zte_log $0 "OPTIONS_FILE = " $OPTIONS_FILE
$DIAL_SCRIPTS_PATH/zte_log $0 "TELEPHONE = " $TELEPHONE

exec /usr/sbin/chat -v -s \
TIMEOUT 3 \
ABORT '\nBUSY\r' \
ABORT '\nNO ANSWER\r' \
ABORT '\nRINGING\r\n\r\nRINGING\r' \
'' \rAT \
'OK' \rAT+CFUN=1 \
OK ATS0=0 \
OK AT+CPIN? \
'READY' AT+CPMS? \
OK AT+CGDCONT=1,\"IP\",\"internet\" \
'' 'ATDT*99#' \
CONNECT '' \

~$ cat disconnect
#!/bin/sh
######################################################################
if [ "$1" = "" ]; then
DEVICE=ppp0
else
DEVICE=$1
fi
######################################################################
if [ -r /var/run/$DEVICE.pid ]; then
kill -INT `cat /var/run/$DEVICE.pid`
echo "PPP link to $DEVICE terminated."
exit 0
fi
echo "ERROR: PPP link is not active on $DEVICE"
exit 1

A ppp-on script segítségével szépen csatlakozik. A disconnect megszakítja a kapcsolatot.

Egyébként a 115200 baud miatt valószínű érdemesebb az USB Broadband Stick megoldást választani a sebességkülönbség miatt.

--
G.

Elég instabilnak tűnik a cucc. Most pl. akárhányszor próbálkozom:

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

...
Device did not report GSM capabilities.
...
Connection failed
...
...return status 1

sudo ./sakis3g connect --console --nostorage --pppd APN="internet" BAUD=115200 CUSTOM_TTY="/dev/ttyAMA0" MODEM="OTHER" OTHER="CUSTOM_TTY" APN_USER="" APN_PASS="" --debug --noprobe
...
Error: Modem responded "ERROR" while checking for PIN
Failed to connect
...
...return status 1

A SIM-ről a PIN törölve lett.

--
G.

Nah most én is meg vagyok lőve!

Megdöglött a SIM-kártyám és kicserélték, azóta nem látja az usb-s stick!
Holnap megyek be a csodafonba érdeklődni, és akkor kiderül, hogy mit is ...tak el!

Oykawa