# 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:
Wait 15-20 seconds so the modem can switch from Storage to Modem mode.
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 "NO CARRIER"
ABORT "NO DIALTONE"
ABORT "NO DIAL TONE"
#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:
connect '/usr/sbin/chat -v -f /etc/chatscripts/mobinil'
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:
< 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 residual time 0-5