Its been few days for me preparing my laptop using OpenSolaris Operating System, the greatest challenge i was facing, while i did configure my 3g modem in this operating system. i have red some of good stuff from OpenSolaris forum and indeed it helps me a lot to finish the 3g modem configuration.
Enough the talk, hopefully this few steps of what i’ve done in my laptop will help anyone who are having difficulty of configuring their indosatm2 3g modem using huawei model MF622.
Since, the usb device currently recognize as usb storage you will need to run bellow command in order to modify the usb storage driver to the usb to serial device (modem):
update_drv -a -i “usb19d2,1″ usbsacm
configure point to point file configuration
create file /etc/ppp/indosat-3g-connect-chat, and put the text bellow.
ECHO ON
ABORT BUSY ABORT ‘NO CARRIER’ ” ATZ OK AT+CGDCONT=1,”IP”,”indosatm2″ OK ATDT*99# CONNECT \c
basically the text above is an AT command will be sent to the serial device in order to initiate the connection to you ISP.
configure you user and password for PAP Authentication
edit file /etc/ppp/pap-secrets, and custom the text bellow accordingly with your 3g username and password. the sequence of the text bellow are: username, isp, and password.
sonny.hastomo indosatm2 password
configure Point-to-Point for ppp daemon configuration
/etc/ppp/peers/indosat-3g
asyncmap 0xa0000
debug
/dev/cua/0
115200
connect “/usr/bin/chat -f /etc/ppp/indosat-3g-connect-chat” # dial into ISP
user sonny.hastomo
remotename indosatm2 # name of the ISP; for pap-secrets
noipdefault # assume no IP address; get it from ISP
noident
defaultroute # install default route; ISP is Internet gateway
updetach # log errors and CONNECT string to invoker
noccp # ISP doesn’t support free compression
usepeerdns
Basically the above text is ppp daemon properties, that going to be executed when we initiate or starting the pppd command (in order to get more detail information of those properties, you’ll be able to visit this site: http://docs.sun.com)
starting ppp daemon and enjoy browsing internet
execute the command bellow:
pppd call indosat-3g
Voila, you are ready to go with your browser. Yeah i am happy for the moment being, but…… there is some other thing that you need to do. since there is a bug with the usbser driver in the kernel that makes your modem hang up after few minute. And truly it happens more than one time. After awhile browsing on the internet i found the solution from OpenSolaris forum that mention the usbser fail executing more than one core of cpu. and we will need to apply patch written by Kazuhiko Kobayashi (thanks man) at http://chototsumoushinp.dip.jp/solaris/usbser.tar.bz2.
just copy the file inside the archive:
copy i386/usbser to /kernel/misc/usbser
copy amd64/usbser to /kernel/misc/amd64/usbser
Hmmm, it seem everything already in place, and i can browse internet for many hours, until my wife complains.
About Sonny Hastomo Sonny Hastomo is an IT architect at Sun Microsystems, Indonesia, for the telecommunication industry division. His currently is focusing on providing solution design, sizing, implementation, consulting services, and quality support to customers in their evaluation of their IT challenges.
Subscribe to the World's Most Powerful Newsletters
Subscribe to Our Rss Feeds & Get Your SYS-CON News Live!
Click to Add our RSS Feeds to the Service of Your Choice: