Friday Jun 19, 2009

Mobility is important. Getting Connected is important. I need to get the Broadband USB Modem to work.

I have a HUAWEI E220 USB Modem, Acer TravelMate 6292 Notebook. My Service Provider is StarHub (Singapore). After some research on the net, I know that the modem needs to work with usbsacm driver.

Finally this is what I did to get it work.

I installed the updated driver from http://chototsumoushinp.dip.jp/solaris/emobile.tar.bz2. I copied the driver "usbsacm" from the "amd64" directory in the archive to  /kernel/drv/amd64 directory.

I updated the driver with the following commands:

# update_drv -a -i "usb12d1,1003" usbsacm
# devfsadm

# ln -s /dev/term/0 /dev/huawei

I also created the 2 files.

/etc/ppp/peers/huawei:

nodetach
huawei
460800
noauth
passive
defaultroute
usepeerdns
noccp
novj
user 'ppp'
show-password
crtscts
connect '/usr/bin/chat -V -t15 -f /etc/ppp/huawei-chat'

/etc/ppp/huawei-chat:

'' 'ATZ'
'OK' 'ATQ0V1E1&D2&C1S0=0'
'OK' 'ATE0V1'
'OK' 'ATS7=60'
'OK' 'ATDT*99#'
CONNECT ''

I then connected the USB Model to the USB port. Rebooted the server with the USB stick connected.

After reboot, I disabled one CPU (as I read somewhere the with 2 CPU cores up, the driver may not work properly)

# psradm -f 1

I then run:

# pppd call huawei

The is the output from the command:

OK
ATQ0V1E1&D2&C1S0=0
OK
ATE0V1
OK

OK

CONNECTSerial connection established.
Using interface sppp0
Connect: sppp0 <--> /dev/huawei
local  IP address ....
remote IP address ....
primary   DNS address ....
secondary DNS address ....

I then manually updated /etc/resolv.conf with the DNS addresses.

That's it. Network is up, and I am writing this blog using this wireless broadband HSDPA connection.

Great !

Comments:

I've found usbsacm also works with Sierra Wireless modems and zte mobile phones. I'm using an Ultra 80 on Sparc with Solaris 10, I can't use more than one processor, however I believe that in OpenSolaris the problem has long been fixed (it was a relatively simple bug from memory).

Posted by Peter on June 19, 2009 at 04:37 AM SGT #

Post a Comment:
  • HTML Syntax: NOT allowed