On Wed, 27 Oct 2010, Mayuresh Kathe wrote:

> would like to know if my modem is supported under 4.7, if not, what about 4.8,
> if
> not what assistance can i provide the person/people who have the capability
> to
> add in support?
> if supported, can someone please provide me the chat-script?
> i have tacked in the dmesg (while the modem was plugged in) below.

> umsm0 at uhub0 port 5 configuration 1 interface 0 "HUAWEI Technology HUAWEI
> Mobile" rev 2.00/0.00 addr 2
> umsm0: umass only mode. need to reattach
> umsm0 detached
> umsm0 at uhub0 port 5 configuration 1 interface 0 "HUAWEI Technology HUAWEI
> Mobile" rev 2.00/0.00 addr 2
> ucom0 at umsm0
> umsm1 at uhub0 port 5 configuration 1 interface 1 "HUAWEI Technology HUAWEI
> Mobile" rev 2.00/0.00 addr 2
> ucom1 at umsm1
> umsm2 at uhub0 port 5 configuration 1 interface 2 "HUAWEI Technology HUAWEI
> Mobile" rev 2.00/0.00 addr 2
> ucom2 at umsm2
> umsm3 at uhub0 port 5 configuration 1 interface 3 "HUAWEI Technology HUAWEI
> Mobile" rev 2.00/0.00 addr 2
> umsm4 at uhub0 port 5 configuration 1 interface 4 "HUAWEI Technology HUAWEI
> Mobile" rev 2.00/0.00 addr 2

Your modem is already supported.

You just need to find what is the port that accepts AT commands and 
create two scripts under /etc/ppp/peers.

use cu(1) to test the port:

# cu -l cuaU0
Connected
AT
OK

Then you can start the connection using the following commands:

# ifconfig ppp0 create && pppd file /etc/ppp/peers/vodafone

These are the scripts I use with Vodafone Italia, e.g.:

$ cat /etc/ppp/peers/vodafone
/dev/cuaU0
debug
crtscts
921600
defaultroute
noauth
:10.64.64.64
connect '/usr/sbin/chat -v -f /etc/ppp/peers/vodafone.chat'

$ cat /etc/ppp/peers/vodafone.chat
ABORT "NO CARRIER"
ABORT "NO DIALTONE"
ABORT "ERROR"
ABORT "NO ANSWER"
ABORT "BUSY"
ABORT "Username/Password Incorrect"
TIMEOUT 15
"" "ATZ"
OK "ATE1"
OK "ATQ0V1E1S0=0&C1&D2+FCLASS=0"
OK 'AT+CGDCONT=1,"IP","web.omnitel.it"'
OK "ATDT*99***1#"
TIMEOUT 30
CONNECT \d\c

CCing also the other guy who was asking a similar question... 

Cheers, 
David

Reply via email to