Archive for category Internet Modem

Configure Citycell Zoom ZTE CDMA USB Modem in Ubuntu & Fedora

Few months ago, I configured citycell zoom in my friend’s pc. That was Huawei modem and was much easy to configure. First tried to detect modem using wvdialconf in the terminal. Then just edited wvdial.conf file (/etc/wvdial.conf) with the detected path and after dialing wvdial cdma in the terminal it was successfully connected.

But recently in the eid vacation when i was in chittagong, i’ve bought citycell zoom with ZTE usb modem for using internet there. It was very much easy to setup and connect to internet in windows XP but failed to do so in ubuntu. First i tried to detect modem using wvdialconf. But It was showing a msg like failed to detect modem. then tried to grep tty using dmesg | grep tty but failed again, then tried to view modem using cat /proc/bus/usb/devices. But i haven’t found anything like devices in cat /proc/bus/usb/devices directory.

Anyway, Here is what you have to do to detect ZTE usb modem.

In ubuntu, you have to uncomment few lines to explore devices directory. So edit mountdevsubfs.sh file. ( ** No need to do this in fedora core, it will automatically detect devices in /proc/bus/usb/ directory)

sudo gedit /etc/init.d/mountdevsubfs.sh

and uncomment following lines from this file.

# Magic to make /proc/bus/usb work
mkdir -p /dev/bus/usb/.usbfs
domount usbfs “” /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644
ln -s .usbfs/devices /dev/bus/usb/devices
mount –rbind /dev/bus/usb /proc/bus/usb

Now start the service

/etc/init.d/mountdevsubfs.sh start and reboot your pc.

Then check if the USB device is detected properly
cat /proc/bus/usb/devices

Try to find some output like this

T:  Bus=07 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 1.01 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=16 #Cfgs=  1
P:  Vendor=19d2 ProdID=fffd Rev= 0.00
S:  Manufacturer=ZTE, Incorporated
S:  Product=ZTE CDMA Tech
C:* #Ifs= 3 Cfg#= 1 Atr=e0 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=usbserial_generic
E:  Ad=81(I) Atr=03(Int.) MxPS=  16 Ivl=128ms
E:  Ad=8a(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=0b(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
I:* If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=usbserial_generic
E:  Ad=83(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=06(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
I:* If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=usbserial_generic
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=05(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms

Now probe for this USB device
modprobe usbserial vendor=0×19d2 product=0×fffd

You are done!!

Now run wvdialconf in the terminal Or you can edit /etc/wvdial.conf file and paste these following lines.

[Modem0]
Modem = /dev/ttyUSB0
Baud = 230400
SetVolume = 0
Dial Command = ATDT
Init1 = ATZ
FlowControl = Hardware (CRTSCTS)
[Dialer cdma]
Username = waps
Password = waps
Phone = #777
Stupid Mode = 1
Inherits = Modem0

Now you can connect to internet by applying the following command in terminal.

wvdial cdma

Using the same procedure, i’ve configured this modem in my office (fedora) also.

Thats it! Enjoy. :)

Note: For Ubuntu intrepid 8.10 and Ubuntu 9.04 jaunty jackalope, Please see my comments, i hope that will help you to connect to Internet

, , ,

25 Comments

How to configure for GPRS/EDGE modem in grameen phone and broadband connection (pppoe) in linux.

At first, Take a look at the wvdial.conf file. There you will see only 4 lines for username, password… Dont bother with it now.. that’s not the full specification. What you have to do is , type

wvdialconf in the terminal. It will locate your modem and do some necessary configuration in that file.

In the terminal window you may see permission problem with /etc/ppp folder or may be with some other folder. So give that folder permission to write OR use super user command to run wvdialconf in the terminal again.

And now look at the wvdial.conf folder again. You will notice few changes with some modem configuration. Now just add the following line if you are using grameen phone service.

Init3 = AT+CGDCONT=1,”IP”,”gpinternet”

and modify phone number

Phone = *99***1#

username and password can be anything. So don’t bother with it.

Now type wvdial in the terminal to connect now

OR

you may connect and configure your modem by launching KPPP or GNOME-PPP (kppp for kde and gnome-ppp for gnome environment) in your terminal window too

PPPOE Broadband connection

Last month i was bit worried about my broadband connection cause i wasn’t able to connect to internet as it was in linux. I was more confused because my Internet service provider has given me an username and password to dial though it was a broadband connection:o. (later i knew that mine one is pppoe connection that’s why username nad password is required for proper configuration. lol) Before that i was using gpinternet.

Anyway, then i called my isp. But what has surprised me is, even they dont know how to configure it in a linux machine and they told me that they will call me after 2 days after consulting with their engineers .But i dont have that much time you know ;) I started to surfing around in different forums. and found a way to configure it.

Just type pppoeconf in the terminal window. A window will appear and will prompt for your username and password (what your isp may have given you) and for all the other prompt action, just enter default options(yes) . now restart networking service.

./etc/init.d/networking restart

Ping any site. I guess, you are connected ;)
Both the way for connecting internet is pretty simple. Isn’t it?

Enjoy

, , , ,

2 Comments