You are on page 1of 2

If you have modem Smart ZTE C261 however you still confuse how to connect on you r Ubuntu.

In this post, I will share how to run your modem manually. Basicly, yo u have to configure two files they are: wvdial.config and options. To avoid the problems when you do the mistakes, better you backup those files. Let s follow the following steps: 1. Check the modem has detected or not. If not, run the following command on you r terminal. $lsusb Output Bus 001 Device gy Corp. Bus 001 Device Bus 005 Device Bus 004 Device Bus 004 Device Bus 004 Device Bus 003 Device Bus 002 Device 005: ID 152d:2329 JMicron Technology Corp. / JMicron USA Technolo 001: 001: 025: 008: 001: 001: 001: ID ID ID ID ID ID ID 1d6b:0002 1d6b:0001 15d9:0a37 05c6:9004 1d6b:0001 1d6b:0001 1d6b:0001 Linux Foundation Linux Foundation Unknown Mouse Qualcomm, Inc. Linux Foundation Linux Foundation Linux Foundation 2.0 root hub 1.1 root hub 1.1 root hub 1.1 root hub 1.1 root hub

Note : Bus 004 Device 008: ID 05c6:9004 Qualcomm, Inc. This line indicates that the modem has been detected. 2.Install the following packages: $ sudo apt-get install wvdial libuniconf4.6 libwvstreams4.6-base libwvstreams4.6 -extras libxplc0.3.13 3. Configure wvdial.config $ sudo gedit /etc/wvdial.conf Then replace the content of wvdial.config with the following sources: [Dialer smart] Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 Modem = /dev/ttyUSB1 New PPPD = yes Phone = #777 Username =smart Password =smart Ask Password = 0 Dial Command = ATDT Stupid Mode = 1 Compuserve = 0 Force Address = Idle Seconds = 300 DialMessage1 = DialMessage2 = ISDN = 0 Auto DNS = 1 4. Configure options $sudo gedit /etc/ppp/options Then replace the content of options with the following sources:

asyncmap 0 noauth crtscts modem proxyarp noipx persist idle 1000000 5. Connection the modem to Ubuntu. $sudo modprobe usbserial vendor=0x05c6 product=09004 Note: If you are curious to know where I got vendor and product from? Just type lsusb on your terminal. 6. Dialing to internet: $sudo wvdial smart After run the above command you will get the output as the following: > WvDial: Internet dialer version 1.60 > Cannot get information for serial port. > Initializing modem. > Sending: ATZ OK > Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 OK > Modem initialized. > Idle Seconds = 300, disabling automatic reconnect. > Sending: ATDT#777 > Waiting for carrier. ATDT#777 CONNECT > Carrier detected. Starting PPP immediately. > Starting pppd at Wed Jan 27 23:02:49 2010 > Pid of pppd: 2910 > Using interface ppp0 > local IP address 10.12.4.180 > remote IP address 10.20.4.12 > primary DNS address 10.17.3.244 > secondary DNS address 10.17.3.252 Hope this post useful for those who need it.