Using Alcatel OT x020 with Linux (usbserial)

The Alcatel OT x020 is an HSDPA modem, it works fine in windows and Mac OS X (Drivers for both the OS's are provided). In Linux you need to work a little. If you want to use this modem you shall execute the following steps:

  • Download and install the latest libusb (version 0.1-4 works fine)
  • Download usb_modeswitch from here the packet contains the source code and a compiled binary, open a terminal window and extract the packet by typing the following line:

# tar jxvf usb_modeswitch-0.9.5.tar.bz2

  • move into the usb_modeswitch directory

# cd usb_modeswitch-0.9.5/

  • if you want to compile the source code for your processor type the following line (this step is optional):

# gcc -l usb -o usb_modeswitch usb_modeswitch.c

  • move the binary into /sbin/

# mv usb_modeswitch /sbin/

  • edit the /etc/usb_modeswitch.conf file

# sudo gedit /etc/usb_modeswitch.conf

  • Add the following lines to the file:

######################################################## # Alcatel OT-X020 DefaultVendor=  0x1c9e DefaultProduct= 0x1001 TargetVendor=   0x1c9e TargetProduct=  0x6061 MessageEndpoint=0x05 MessageContent="55534243123456780000000000000606f50402527000000000000000000000"

  • and save it.
  • prepare the /etc/ppp/peers/ppp0 file

# sudo gedit /etc/ppp/peers/ppp0

  • Add the following lines:

/dev/ttyUSB0 115200 connect "/usr/sbin/chat -v -f /etc/chatscripts/ppp0" user "on" usepeerdns defaultroute persist and save it. prepare the  /etc/chatscripts/ppp0 file # sudo gedit /etc/ppp/peers/ppp0

add the following lines: ABORT 'BUSY' ABORT 'NO CARRIER' ABORT 'ERROR' '' AT OK AT+CGATT=1 OK AT+CGDCONT=1,"IP","internet.wind" OK      ATDT*99***1# To prepare these two files you can also use kppp or pppconfig

  • Now attach the usb modem and wait a while (the usb disk will be showed)
  • unmount the usb disk
  • run the usb_modeswitch

# usb_modeswitch

  • prepare the serial driver

# modprobe usbserial vendor=0x1c9e product=0x6061

  • try to connect

# pppd call ppp0 Now you should be connected to the internet

Posted by at December 26, 2008
Filed in category: UNIX TLC, and tagged with: , , ,

5 Responses to Using Alcatel OT x020 with Linux (usbserial)

  1. admin says:

    Note that with usbserial driver you could use the OT x020 only at 64 KB/s. To speed up your modem you need to recompile the airprime module. I’ve tested the x020 with the airprime module and I can say that it works fine and you can use the modem at 320 KB/s. As soon as possible I will post how to use the airprime module.

    If you have any question please feel free to leave a comment

  2. Pingback: xAppSoftware » Ubuntu on Acer AspireOne 110 – Part 2: Using

  3. Simo says:

    hi! i wish to have the driver of HSDPA USB modem OT x020 of compatibility with windows 7 premium. txs so very much o tell me that or how to do .

  4. admin says:

    Hi Simo,
    I’d like to help you, but for now I cannot. I don’t have every O.S. in the market, I must buy each O.S. to perform tests. So I would appreciate donations or helps from the users of this blog. For now, with the current donations status I think I will buy a copy of windows 7 at the end of february.

    Thank you for your interest,
    adm.

  5. Pingback: alcatel ot - StartTags.com

Leave a Reply

Your email address will not be published. Required fields are marked *

*


*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <font color="" face="" size=""> <span style="">

Statistical data collected by Statpress SEOlution (blogcraft).