# Insert the modem.
# Wait until the modem automounts in your Desktop.
# Eject the modem and wait a few seconds until it's available to connect and switched to modem mode(as it's first recognized as a SCSI device).
Open a Terminal and type:
eject /media/ZTEMODEM
Wait 15-20 seconds so the modem can switch from Storage to Modem mode.
--
ls /dev/ttyUSB*
If it is recognized, proceed.
---Now it's time to sniff the used configuration.----
#Using a (USB-sinffer) while modem is connecting to my provider we got the required data in log file.
#Then i had to unhex | grep the contents (unhex.c is a small c code to convert hex to string):
grep '^[0-9a-f]\+:' log.txt |sed -e 's/.*://'|unhex |tr '\r' '\n'|grep -av '^$'
#Below the output
ABORT BUSY
ABORT VOICE
ABORT "NO CARRIER"
ABORT "NO DIALTONE"
ABORT "NO DIAL TONE"
"" AT
OK ATV1
OK ATE0
OK AT&F&D2&C1S0=0
OK ATS7=60S30=0
OK ATS0=0
OK ATDT*99#
CONNECT ""
#Then i created a file in /etc/chatscripts/ called mobinil (or whatever you like), this how i tell pppd (point to point protocol daemon) to dial the ISP's modem and go through any logon sequence required.
#Now Create a new file /etc/ppp/peers/provider containing:
/dev/ttyUSB2 115200
debug
noipdefault
usepeerdns
defaultroute
hide-password
lcp-echo-interval 20
lcp-echo-failure 3
connect '/usr/sbin/chat -v -f /etc/chatscripts/mobinil'
noauth
noaccomp
default-asyncmap
maxfail 3
holdoff 10
This is a file that contains characteristics of the remote peer peer-name. Typical characteristics include the remote peer's phone number and chat script for negotiating the link with the peer.
#That's it, now from a terminal type: pon
I hope this may some how helped you and welcome if you have any further questions.
The ZTE-MF626 from mobinil is locked, here's attached some AT commands which check lock type:
check net-/SIMlock
AT+ZSEC?
answer:
< SEC_STATUE >:
0 Initializing the encryption (Insignificant SEC_ITEMS)
1 Network Lock error. (Insignificant SEC_ITEMS)
2 Network Locked
3 Unlocked or correct MCC/MNC
0 No action
1 Network lock
2 (U)SIM card lock
3 Network Lock and (U)SIM card Lock
Unlock
+ZNCK="unlock-code"
+ZNCK?
Unlock residual time 0-5
Weblinks:
http://www.zte.com.au/downloads/USB_Modem_Config_Procedure.pdf