Configure Alcatel X060S in Ubuntu

Posted: July 22nd, 2009 | Author: adq890 | Filed under: configuration, internet | Tags: , , , , | 1 Comment »

alcatel-one-touch-x060s-internet-key-sempre-connessi-con-un-tasto

Step 1:

  • Plugin your Alcatel x060s to USB drive
  • Run this command : #lsusb

Bus 001 Device 003: ID 1bbb:f000 T & A Mobile Phones

* Please notice the code f000 : this is the responsible of all our problems, we have to modeswitch this to 0000 in order to make the modem work.

Step 2 :

  • Install usb_modeswitch to make kernel recognise the TWO devices inside Alcatel x060s: Mass Storage and MODEM
  • Configure usb_modeswitch with sudo gedit /etc/usb_modeswitch.conf and adding the lines:

########################################################
# Alcatel X060

DefaultVendor= 0×1bbb
DefaultProduct= 0xf000

TargetVendor= 0×1bbb
TargetProduct= 0×0000

# only for reference
# MessageEndpoint=0×01

MessageContent=”55534243123456788000000080000606f50402527000000000000000000000″
########################################################

  • Plug it in again, give as sudo the command: usb_modeswitch
  • Looking your syslog (with tail -20 /var/log/syslog) or  dmesg you should now see:

# tail -20 /var/log/syslog
…..
Jul 15 23:38:06 sysadmin-laptop kernel: [ 2636.080648] usbserial_generic 1-3.4:1.3: generic converter detected
Jul 15 23:38:06 sysadmin-laptop kernel: [ 2636.080700] usb 1-3.4: generic converter now attached to ttyUSB2
…..

# dmesg
…..
[  848.816430] usb-storage: device found at 8
[  848.816432] usb-storage: waiting for device to settle before scanning
[  853.816860] usb-storage: device scan complete
[  853.817689] scsi 5:0:0:0: Direct-Access     USBModem MMC Storage      2.31 PQ: 0 ANSI: 2
…..

  • Next step is starting a driver for the modem. The command is:
  • # modprobe usbserial vendor=0×1bbb product=0×0000

…..
Jul 15 23:38:06 sysadmin-laptop kernel: [ 2636.080648] usbserial_generic 1-3.4:1.3: generic converter detected
Jul 15 23:38:06 sysadmin-laptop kernel: [ 2636.080700] usb 1-3.4: generic converter now attached to ttyUSB2
…..

*Now we have 3 serial usb interfaces! – our modem is on ttyUSB2.

Step 3:

  • # screen /dev/ttyUSB2 (to check it)
  • # ATI ( ask the modem to identify itself )

ATI
Manufacturer: TCT Mobile International Limited
Model: HSPA Data Card
Revision: C1111000
IMEI: 352079030264798
+GCAP: +CGSM,+DS,+ES

OK

Step 4: Configure for wvdial

  • # sudo /etc/wvdial – For Celcom Broadband

[Dialer Defaults]
Modem = /dev/ttyUSB2
Baud = 3600000
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2
Init3 =
Area Code =
Phone = *99***1#
Username = celcom
Password = celcom
Ask Password = 0
Dial Command = ATDT
Stupid Mode = 1
Compuserve = 0
Force Address =
Idle Seconds = 0
DialMessage1 =
DialMessage2 =
ISDN = 0
Auto DNS = 1

Step 5 : Run the Modem with this command:

  • # sudo wvdial

–> WvDial: Internet dialer version 1.60
–> Cannot get information for serial port.
–> Initializing modem.
–> Sending: ATZ
ATZ
OK
–> Sending: ATQ0 V1 E1 S0=0 &C1 &D2
ATQ0 V1 E1 S0=0 &C1 &D2
OK
–> Modem initialized.
–> Sending: ATDT*99***1#
–> Waiting for carrier.
ATDT*99***1#
CONNECT
–> Carrier detected. Starting PPP immediately.
–> Starting pppd at Wed Jul 15 23:39:57 2009
–> Pid of pppd: 7193
–> pppd: ��
–> Using interface ppp0
–> pppd: ��
–> pppd: ��
–> pppd: ��
–> pppd: ��
–> pppd: ��
–> pppd: ��
–> local IP address 10.164.147.110
–> pppd: ��
–> remote IP address 10.64.64.64
–> pppd: ��
–> primary DNS address 203.82.64.67
–> pppd: ��
–> secondary DNS address 203.82.64.41
–> pppd: ��

Step 6 : Open your browser and enjoy surfing!.

DONE !!!

Blog Widget by LinkWithin

One Comment on “Configure Alcatel X060S in Ubuntu”

  1. 1 S.Rushdy said at 8:06 am on August 11th, 2009:

    When plugin tthe moden into the USP….

    sign: Window-No Disk.
    There is no disk in the drive..Please insert a disk into drive.

    After connect:
    Webpage cannot be disply..


Leave a Reply