Linux trükkök

Linux tippek és trükkök

Setup Alcatel X200 on Ubuntu Jaunty (9.04) (3G stick)

I’ve just bought an Alcatel X200 modem. I had problems with it on Ubuntu linux. I found some solutions that use wvdial or gnome-ppp, but in the latest Ubuntu, the NetworkManager is the default, and it can be used with several 3G cards.

I discovered a solution to make it work in Ubuntu 9.04 (Jaunty Jackalope)

These are the steps I made:

  1. download the usb_modeswitch package: http://ftp.hu.debian.org/debian/pool/main/u/usb-modeswitch/usb-modeswitch_1.0.2-1_i386.deb . It is a Debian package, but Ubuntu is almost Debian…
  2. gksudo gedit /etc/hal/fdi/information/alcatel-x200.fdi
  3. copy the next xml in it:
    <?xml version="1.0" encoding="UTF-8"?> <!-- -*- xml -*- -->
    <deviceinfo version="0.2">
      <device>
        <match key="info.category" string="serial">
          <match key="@info.parent:usb.vendor_id" int="0x1bbb">
            <match key="@info.parent:usb.product_id" int="0x0000">
              <match key="@info.parent:usb.interface.number" int="3">
                <append key="info.capabilities" type="strlist">
                  modem
                </append>
                <append key="info.capabilities" type="strlist">
                  access_control
                </append>
                <append key="modem.command_sets" type="strlist">
                  GSM-07.07
                </append>
                <append key="modem.command_sets" type="strlist">
                  GSM-07.05
                </append>
              </match>
            </match>
          </match>
        </match>
      </device>
    </deviceinfo>
  4. save and exit from the editor
  5. gksudo gedit /etc/udev/rules.d/99-alcatel-x200.rules
  6. copy the following text in it:
    SUBSYSTEM==”usb”, SYSFS{idProduct}==”0000″, SYSFS{idVendor}==”1bbb”, RUN+=”/sbin/modprobe usbserial vendor=0×1bbb product=0×0000″
    ACTION==”add|change”, SUBSYSTEM==”tty”, ENV{ID_VENDOR_ID}==”1bbb”, ENV{ID_MODEL_ID}==”0000″, ENV{ID_IFACE}==”03″, ENV{ID_NM_MODEM_GSM}=”1″, ENV{ID_NM_MODEM_PROBED}=”1″
  7. save and exit from the editor
  8. Reboot the system. It’s not necessery, you can only restart some services, but it’s easier to restart…
  9. Plug your device into an USB port.
  10. Your NetworManager should see it. A wizard will be shown, to select your country and profile.

Enjoy!


				
				

Comments

1 Comment

  1. Sziasztok.
    Nekem is ubuntu 9.10van telepítve másodlagos op rendszernek.
    Sajnos valami miatt nem tudtam letölteni a drivert(alcatel one touch x200)usb modemhez.
    Légyszives valaki eltudná küldeni e-mailban a drivert,és a leírást?
    Rlőre is köszööm

    rtomek.1980 {at} gmail (dot) com

    Comment by RTome — Friday October 8th, 2010 @ 11:33 PM

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.