i would like to inform your users, there is a gui tool in ubuntu for connecting.
goto synaptic and install gnome-ppp . you might have to put in the modem device manually.
Also once you have found the vendor id and device id, you can simply add the following to /etc/modules
usbserial vendor=0x19d2 product=0xfffd
the above is for the usb Zte MG880 modem from Reliance. Your vendor id and device id may differ. The usb modem should automatically be detected in subsequent boots
there is no software available for huwai data card that comes with reliance connection. Thats the reason for this howto. If you are looking for windows drivers/softwares, go to this link
I am trying to use Reliance ZTE CDMA 1X Modem MG880 with Ubuntu 8.04.
I tried steps as given below. (I am new to Ubuntu) Please help me to make this work.
santo@santo-notebook:~$ cat/proc/bus/usb/devices
bash: cat/proc/bus/usb/devices: No such file or directory
So I tried sudo gedit /etc/init.d/mountdevsubfs.sh
and made changes like
# 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
sudo: unable to resolve host santo-notebook
/etc/init.d/mountdevsubfs.sh: 67: -obusmode=0700,devmode=0600,listmode=0644: not found
ln:
creating symbolic link `/dev/bus/usb/devices’: File exists
After this I restarted my HP notebook.
santo@santo-notebook:~$ cat/proc/bus/usb/devices
bash: cat/proc/bus/usb/devices: No such file or directory
santo@santo-notebook:~$ sudo wvdialconf
sudo: unable to resolve host santo-notebook
Editing `/etc/wvdial.conf’.
Scanning your serial ports for a modem.
Modem Port Scan: S0 S1 S2 S3
Sorry, no modem was detected! Is it in use by another program?
Did you configure it properly with setserial?
Once done, run this to verify usbserial is been actually loaded
sudo lsmod | grep usbserial
Once you do that, positively drivers for your device would have been loaded. it would be great if you could run the following commands after you do above steps and paste the outpur here,
Hi
I’m new to Ubuntu and I tried to use Reliance Data card Model:EC325 for my internet connection. I followed the steps above.
the thing is i got a message stating that i dont have the previlages to edit the wvdial.config but i dont have any other user in unix there is only one user to it. user name is naveen. it didnt work.
can u plz tel me how can i use internet on ubuntu using reliance data card.
I am using ubuntu7.10
I am unable to do cat cat /proc/bus/usb/devices
it gives no such file or derectory.
I even inserted pen drive to check any entry. but same error.
can anyone suggest me for this
I try to install a Huawei modem EC325 on Ubuntu 7.1
I begin by : lsusb.
The Result is :
Bus 003 Device 001: ID 0000:0000
Bus 005 Device 004: ID eb1a:2761 eMPIA Technology,
Bus 005 Device 003: ID 0951:1606 Kingston
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 003: ID 12d1:1001
Bus 001 Device 001: ID 0000:0000
I continue by editing wvdial.conf; with sudo vi wvdial.conf
But after to have edited it with the command “wvdial /etc/wvdial.conf”,
the result is :
WvDial: Internet dialer version 1.56
WvDial: Warning: section [Dialer /etc/wvdial.conf] does not exist in vDial
: Cannot open /dev/modem: No such file or directory
WvDial: Cannot open /dev/modem: No such file or directory
WvDial: Cannot open /dev/modem: No such file or directory
It’s ok, i have advanced. You can erase my last comment.
Now, i have this problem.
Following the 6th comment, I wrote wvdial.conf
When I do : wvdial/etc/wvdial.conf, the result is :
rom@rom-laptop:~$ wvdial /etc/wvdial.conf
WvDial:
WvDial: Internet dialer version 1.56
WvDial:
Warning: section [Dialer /etc/wvdial.conf] does not exist in wvdial.conf.
WvModem: Cannot get information for serial port.
WvDial: Initializing modem.
WvDial: Sending: ATZ
WvDial Modem: ATZ
WvDial Modem: OK
WvDial:
Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
WvDial Modem: ATQ0 V1 E1 S0=0 &C1 &D2
+FCLASS=0
WvDial Modem: OK
WvDial: Modem initialized.
WvDial:
Sending: ATDT#777
WvDial: Waiting for carrier.
WvDial Modem:
ATDT#777
WvDial Modem: CONNECT 230400
WvDial: Carrier detected.
Waiting for prompt.
WvDial: Don’t know what to do!
Starting pppd and hoping for the best.
WvDial:
Starting pppd at Sat Nov 22 14:29:16 2008
WvDial: Warning:
Could not modify /etc/ppp/pap-secrets: Permission denied
WvDial: –>
PAP (Password Authentication Protocol) may be flaky.
WvDial: Warning:
Could not modify /etc/ppp/chap-secrets: Permission denied
WvDial: –>
CHAP (Challenge Handshake) may be flaky.
WvDial: Pid of pppd: 6937
WvDial:
Using interface ppp0
WvDial: pppd: ��[06][08]��[06][08]
WvDial:
pppd: ��[06][08]��[06][08]
WvDial: pppd: ��[06][08]��[06][08]
WvDial: pppd:
��[06][08]��[06][08]
WvDial: Disconnecting at Sat Nov 22 14:29:26 2008
WvDial:
The PPP daemon has died: Authentication error.
WvDial:
We failed to authenticate ourselves to the peer.
WvDial:
Maybe bad account or password? (exit code = 19)
WvDial:
man pppd explains pppd error codes in more detail.
WvDial:
I guess that’s it for now, exiting
WvDial:
The PPP daemon has died. (exit code = 19)
Is it a problem from my account registration ? or from anywhere else ?
————
WvDial: Warning:
Could not modify /etc/ppp/pap-secrets: Permission denied
WvDial: –>
PAP (Password Authentication Protocol) may be flaky.
WvDial: Warning:
Could not modify /etc/ppp/chap-secrets: Permission denied
WvDial: –>
——————-
/etc/ppp/chap-secrets and /etc/ppp/pap-secrets do not have permission to be written by anyone except root. you could verify it using ‘ls -l /etc/ppp ‘
what you need to do is to run wvdial with root permissions, preferably using sudo,
e.g.
sudo wvdial /etc/wvdial.conf
alternately, you could change permissions of these files using chmod and make it writable by other users, which is dangerous though. if you do this, you should revert back permissions once you dial wvdial for the first time.
115200 is alright. that is the connection speed used for negotiations, but you wont actually get that speed. the actual bandwidth that you’ll get with this connection will be much lower than 115Kbps. even if you change those parameters, you wont see much difference.
if you want to check your bandwidth, use this tool http://www.speakeasy.net/speedtest . It would give you an accurate information on download and upload speeds. You could ofcourse try bumping the connection speed to the above numbers, and let me know if that really boosts your speed 🙂 , chances of which are rare in my opinion.
Hi Gourav and Roman,
I got a very similar authentication problem that I cannot find a way out. There is no problem connecting to the provider using the same account from XP. Any ideas are welcome and appreciated.
The output follows:
root@ubuntu:/usr/sbin# 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
–> Waiting for carrier.
ATDT
CONNECT 64000/115200 PPP
–> Carrier detected. Waiting for prompt.
~[7f]}#@!}!m} }5}#}%B#}%}%}&o[19])A}”}&} } } } .)~
–> PPP negotiation detected.
–> Starting pppd at Tue Dec 9 11:46:46 2008
–> Pid of pppd: 12404
–> Using interface ppp0
–> pppd: ��� ��
–> pppd: ��� ��
–> pppd: ��� ��
–> pppd: ��� ��
–> pppd: ��� ��
–> Disconnecting at Tue Dec 9 11:46:55 2008
–> The PPP daemon has died: Authentication error.
–> We failed to authenticate ourselves to the peer.
–> Maybe bad account or password? (exit code = 19)
–> man pppd explains pppd error codes in more detail.
–> I guess that’s it for now, exiting
–> The PPP daemon has died. (exit code = 19)
Hi Gourav. Merry christmas and happy new year.
I have used Internet many hours, days; without problems. But now, I can not connect anymore.
PPP daemon has died = A modem hang up the phone (exit code = 16). Var/log/messages = warning: secret file /etc/ppp/papsecrets has world and/or group access. Please, can u help me to reconnect ?
Hi Gourav after 15 days, I have always the same problem. I have done what u tall me about permissions. sudo su, chmod a- …, u+ … ;
they’re rw for user only for pap-secrets. But I can not connect. A modem hang up the phone exit code = 16. plz, can u help me ?
I am on Ubuntu Meerkat edition. Simply plugged in my huwei stick, opened network connections. And used the tab ‘add new mobile broadband’. And Ubuntu took care of rest of details. (It gave me to choose my service provider from a list of indian mobile broadband operators). I just had to punch in my reliance HSD number.
i would like to inform your users, there is a gui tool in ubuntu for connecting.
goto synaptic and install gnome-ppp . you might have to put in the modem device manually.
Also once you have found the vendor id and device id, you can simply add the following to /etc/modules
usbserial vendor=0x19d2 product=0xfffd
the above is for the usb Zte MG880 modem from Reliance. Your vendor id and device id may differ. The usb modem should automatically be detected in subsequent boots
its vry helping thankx
thanx for info
hai tech geeks
Where can i get the huawei software for reliance data card pl guide me
regards
svsreddy
svsreddy,
there is no software available for huwai data card that comes with reliance connection. Thats the reason for this howto. If you are looking for windows drivers/softwares, go to this link
http://www.rcom.co.in/webapp/Communications/rcom/Netconnect/netconnect_carddownload.jsp
how to setup Reliance data card in Ubuntu/linux:
————————————————-
FIRST connect ur usb Reliance huwai data card to ur system(Laptop/Desktop)
Step1) make entry in /etc/wvdial.conf as below
cat /etc/wvdial.conf
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
ISDN = 0
New PPPD = yes
Phone = #777
Modem = /dev/ttyUSB0
Username = **********
Password = **********
Baud = 460800
stupid mode = 1
step2) now run “wvdial /etc/wvdial.conf” as root from command prompt
Your output should be like below:
–> WvDial: Internet dialer version 1.56
–> Warning: section [Dialer /etc/wvdial.conf] does not exist in wvdial.conf.
–> Cannot get information for serial port.
–> Initializing modem.
–> Sending: ATZ
ATZ
OK
–> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
–> Modem initialized.
–> Sending: ATDT#777
–> Waiting for carrier.
ATDT#777
CONNECT 230400
–> Carrier detected. Starting PPP immediately.
–> Starting pppd at Mon Jun 23 23:24:47 2008
–> Pid of pppd: 6799
–> Using interface ppp0
–> pppd: �[08][06][08]�[10][06][08]
–> pppd: �[08][06][08]�[10][06][08]
–> pppd: �[08][06][08]�[10][06][08]
–> pppd: �[08][06][08]�[10][06][08]
–> local IP address 220.226.59.180
–> pppd: �[08][06][08]�[10][06][08]
–> remote IP address 220.224.135.112
–> pppd: �[08][06][08]�[10][06][08]
–> primary DNS address 202.138.103.100
–> pppd: �[08][06][08]�[10][06][08]
–> secondary DNS address 202.138.96.2
–> pppd: �[08][06][08]�[10][06][08]
step4) now you should able to connect to web
Happy Browsing… 🙂
I am trying to use Reliance ZTE CDMA 1X Modem MG880 with Ubuntu 8.04.
I tried steps as given below. (I am new to Ubuntu) Please help me to make this work.
santo@santo-notebook:~$ cat/proc/bus/usb/devices
bash: cat/proc/bus/usb/devices: No such file or directory
So I tried sudo gedit /etc/init.d/mountdevsubfs.sh
and made changes like
# 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
santo@santo-notebook:~$ sudo /etc/init.d/mountdevsubfs.sh start
sudo: unable to resolve host santo-notebook
/etc/init.d/mountdevsubfs.sh: 67: -obusmode=0700,devmode=0600,listmode=0644: not found
ln:
creating symbolic link `/dev/bus/usb/devices’: File exists
After this I restarted my HP notebook.
santo@santo-notebook:~$ cat/proc/bus/usb/devices
bash: cat/proc/bus/usb/devices: No such file or directory
santo@santo-notebook:~$ sudo wvdialconf
sudo: unable to resolve host santo-notebook
Editing `/etc/wvdial.conf’.
Scanning your serial ports for a modem.
Modem Port Scan: S0 S1 S2 S3
Sorry, no modem was detected! Is it in use by another program?
Did you configure it properly with setserial?
Please read the FAQ at http://open.nit.ca/wiki/?WvDial
If you still have problems, send mail to…..
santo@santo-notebook:~$
When I tried lsusb command it is listed as Bus xxx Device 013: ID 19d2:fffd
I even checked in Administration > Network as given here http://ubuntuforums.org/showthread.php?p=4929133#post4929133
It looks like the USB modem is not even getting detected by Ubuntu 8.04. The same modem works in Vista.
Please help me to resolve this.
Thank you
Santosh
Santosh,
have you tried the following command already, if not please do so.
sudo modprobe usbserial vendor=0x19d2 product=0xfffd
Once done, run this to verify usbserial is been actually loaded
sudo lsmod | grep usbserial
Once you do that, positively drivers for your device would have been loaded. it would be great if you could run the following commands after you do above steps and paste the outpur here,
dmesg | tail
lsusb
thanks,
gourav
Hi,
Its great, it tooks only 10 minutes to go through your instructions and configure the same on my laptop. Its working without any error.
Thank you..
–vino
essentia
Hi there, When i type the cat … command the out put is “No such file or directory
Please help me to connect to the internet
Thanks in advance
If there is any detail you would like to know from my side please do so
Hi
I’m new to Ubuntu and I tried to use Reliance Data card Model:EC325 for my internet connection. I followed the steps above.
the thing is i got a message stating that i dont have the previlages to edit the wvdial.config but i dont have any other user in unix there is only one user to it. user name is naveen. it didnt work.
can u plz tel me how can i use internet on ubuntu using reliance data card.
I am using ubuntu7.10
I am unable to do cat cat /proc/bus/usb/devices
it gives no such file or derectory.
I even inserted pen drive to check any entry. but same error.
can anyone suggest me for this
Naveen,
refer to the following doc
https://help.ubuntu.com/community/RootSudo
you could type in the same command prefixed with sudo if it denies you permission otherwise.
e.g.
instead of vi wvdial.conf
use
sudo vi wvdial.conf
Reshma,
try running ‘lsusb’ instead of listing /proc/bus/usb/devices
Hi Gourav !
I try to install a Huawei modem EC325 on Ubuntu 7.1
I begin by : lsusb.
The Result is :
Bus 003 Device 001: ID 0000:0000
Bus 005 Device 004: ID eb1a:2761 eMPIA Technology,
Bus 005 Device 003: ID 0951:1606 Kingston
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 003: ID 12d1:1001
Bus 001 Device 001: ID 0000:0000
I continue by editing wvdial.conf; with sudo vi wvdial.conf
But after to have edited it with the command “wvdial /etc/wvdial.conf”,
the result is :
WvDial: Internet dialer version 1.56
WvDial: Warning: section [Dialer /etc/wvdial.conf] does not exist in vDial
: Cannot open /dev/modem: No such file or directory
WvDial: Cannot open /dev/modem: No such file or directory
WvDial: Cannot open /dev/modem: No such file or directory
Can you help me, please ?
It’s ok, i have advanced. You can erase my last comment.
Now, i have this problem.
Following the 6th comment, I wrote wvdial.conf
When I do : wvdial/etc/wvdial.conf, the result is :
rom@rom-laptop:~$ wvdial /etc/wvdial.conf
WvDial:
WvDial: Internet dialer version 1.56
WvDial:
Warning: section [Dialer /etc/wvdial.conf] does not exist in wvdial.conf.
WvModem: Cannot get information for serial port.
WvDial: Initializing modem.
WvDial: Sending: ATZ
WvDial Modem: ATZ
WvDial Modem: OK
WvDial:
Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
WvDial Modem: ATQ0 V1 E1 S0=0 &C1 &D2
+FCLASS=0
WvDial Modem: OK
WvDial: Modem initialized.
WvDial:
Sending: ATDT#777
WvDial: Waiting for carrier.
WvDial Modem:
ATDT#777
WvDial Modem: CONNECT 230400
WvDial: Carrier detected.
Waiting for prompt.
WvDial: Don’t know what to do!
Starting pppd and hoping for the best.
WvDial:
Starting pppd at Sat Nov 22 14:29:16 2008
WvDial: Warning:
Could not modify /etc/ppp/pap-secrets: Permission denied
WvDial: –>
PAP (Password Authentication Protocol) may be flaky.
WvDial: Warning:
Could not modify /etc/ppp/chap-secrets: Permission denied
WvDial: –>
CHAP (Challenge Handshake) may be flaky.
WvDial: Pid of pppd: 6937
WvDial:
Using interface ppp0
WvDial: pppd: ��[06][08]��[06][08]
WvDial:
pppd: ��[06][08]��[06][08]
WvDial: pppd: ��[06][08]��[06][08]
WvDial: pppd:
��[06][08]��[06][08]
WvDial: Disconnecting at Sat Nov 22 14:29:26 2008
WvDial:
The PPP daemon has died: Authentication error.
WvDial:
We failed to authenticate ourselves to the peer.
WvDial:
Maybe bad account or password? (exit code = 19)
WvDial:
man pppd explains pppd error codes in more detail.
WvDial:
I guess that’s it for now, exiting
WvDial:
The PPP daemon has died. (exit code = 19)
Is it a problem from my account registration ? or from anywhere else ?
her is the problem,
————
WvDial: Warning:
Could not modify /etc/ppp/pap-secrets: Permission denied
WvDial: –>
PAP (Password Authentication Protocol) may be flaky.
WvDial: Warning:
Could not modify /etc/ppp/chap-secrets: Permission denied
WvDial: –>
——————-
/etc/ppp/chap-secrets and /etc/ppp/pap-secrets do not have permission to be written by anyone except root. you could verify it using ‘ls -l /etc/ppp ‘
what you need to do is to run wvdial with root permissions, preferably using sudo,
e.g.
sudo wvdial /etc/wvdial.conf
alternately, you could change permissions of these files using chmod and make it writable by other users, which is dangerous though. if you do this, you should revert back permissions once you dial wvdial for the first time.
this can be done as,
1. sudo su
2. chmod a+rw /etc/ppp/pap-secrets
chmod a+rw /etc/ppp/chap-secrets
3. wvdial /etc/wvdial.conf
4.
chmod a-rw /etc/ppp/pap-secrets
chmod u+rw /etc/ppp/pap-secrets
Gourav, it’s allright ! Now, working without any problem.
Can I put the speed up ?
Bauds, are they link to the speed ?
I wrote Bauds : 115200
Can I write : 460800
230400, is it my real speed ?
Roman,
115200 is alright. that is the connection speed used for negotiations, but you wont actually get that speed. the actual bandwidth that you’ll get with this connection will be much lower than 115Kbps. even if you change those parameters, you wont see much difference.
if you want to check your bandwidth, use this tool http://www.speakeasy.net/speedtest . It would give you an accurate information on download and upload speeds. You could ofcourse try bumping the connection speed to the above numbers, and let me know if that really boosts your speed 🙂 , chances of which are rare in my opinion.
Hi Gourav and Roman,
I got a very similar authentication problem that I cannot find a way out. There is no problem connecting to the provider using the same account from XP. Any ideas are welcome and appreciated.
The output follows:
root@ubuntu:/usr/sbin# 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
–> Waiting for carrier.
ATDT
CONNECT 64000/115200 PPP
–> Carrier detected. Waiting for prompt.
~[7f]}#@!}!m} }5}#}%B#}%}%}&o[19])A}”}&} } } } .)~
–> PPP negotiation detected.
–> Starting pppd at Tue Dec 9 11:46:46 2008
–> Pid of pppd: 12404
–> Using interface ppp0
–> pppd: ��� ��
–> pppd: ��� ��
–> pppd: ��� ��
–> pppd: ��� ��
–> pppd: ��� ��
–> Disconnecting at Tue Dec 9 11:46:55 2008
–> The PPP daemon has died: Authentication error.
–> We failed to authenticate ourselves to the peer.
–> Maybe bad account or password? (exit code = 19)
–> man pppd explains pppd error codes in more detail.
–> I guess that’s it for now, exiting
–> The PPP daemon has died. (exit code = 19)
exit code = 19 indicates the issue with authentication.
check /etc/ppp/pap-secrets and /etc/ppp/chap-secrets files and make sure they are properly configured with your username, password etc.
Hi Gourav. Merry christmas and happy new year.
I have used Internet many hours, days; without problems. But now, I can not connect anymore.
PPP daemon has died = A modem hang up the phone (exit code = 16). Var/log/messages = warning: secret file /etc/ppp/papsecrets has world and/or group access. Please, can u help me to reconnect ?
Hi Gourav after 15 days, I have always the same problem. I have done what u tall me about permissions. sudo su, chmod a- …, u+ … ;
they’re rw for user only for pap-secrets. But I can not connect. A modem hang up the phone exit code = 16. plz, can u help me ?
Gourav,
Trying to get AnyData Adm-100c modem to work on Ubuntu 8.04 and getting :
“The PPP daemon has died: A modem hung up the phone (exit code = 16)”
Am stuck for past 3 days.. Has anyone got this working??
Tks,
I am on Ubuntu Meerkat edition. Simply plugged in my huwei stick, opened network connections. And used the tab ‘add new mobile broadband’. And Ubuntu took care of rest of details. (It gave me to choose my service provider from a list of indian mobile broadband operators). I just had to punch in my reliance HSD number.