TechTalkz.com Logo Ask the Expert

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Operating Systems > Open Source & Linux

How to setup & Configure Reliance Datacard USB Internet in UBUNTU Linux?

Open Source & Linux


Reply
 
LinkBack Thread Tools Display Modes
Old 10-12-2008, 07:21 AM   #1
Newbie
 
Join Date: Oct 2006
Age: 23
Posts: 22
Thanks: 10
Thanked 1 Time in 1 Post
Rep Power: 0 kthurst is an unknown quantity at this point
How to setup & Configure Reliance Datacard USB Internet in UBUNTU Linux?

Hello,
I got reliance USB datacard (144 kbps).
I googled in the net and I came to know that reliance datacard can be configured in UBUNTU (or any other linux). There are set of commands.
The 1st command is to check whether the kernel has detected the card or not.

Code:
cat /proc/bus/usb/devices
But in my Lappy ther is no file called 'devices' in the above path.
Has anyone tried this?
Know any other method?
Is anyone using Reliance datacard?
Please help me.
Thank you.

Last edited by Strider; 10-12-2008 at 11:59 AM..
kthurst is offline   Reply With Quote
Old 10-12-2008, 12:02 PM   #2
Webmaster
 
Strider's Avatar
 
Join Date: Nov 2005
Location: The Last City!
Posts: 4,218
Thanks: 441
Thanked 469 Times in 410 Posts
Rep Power: 2748 Strider is just GreatStrider is just GreatStrider is just GreatStrider is just GreatStrider is just GreatStrider is just GreatStrider is just GreatStrider is just GreatStrider is just GreatStrider is just GreatStrider is just Great


OS: Windows XP Windows Server 2003 / Windows Server 2008 Windows 7 Linux


Re: How to setup & Configure Reliance Datacard USB Internet in UBUNTU Linux?

You might want to checkout this updated tutorial for Ubuntu 8.4 LTS “Hardy Heron”.

The author even got a script to perform the installation, let's see if it works in your version of Ubuntu.

Code:
#!/bin/bash

#This program automates task of setting up connection for Reliance USB Card on Ubuntu Hardy Heron. This program does not come with any warranty whatsoever. Please use it at your own risk.

# Detect Modem
  echo "Modem Detected: $(lsusb | grep -i huawei | cut -d" " -f7-)"

# Get Connection Number from User
  echo "Enter Your Reliance Data Card Connection Number : "
  read  connection
  echo "Setting up connection with $connection" 

#Install Gnome PPP Package
  echo "Installing Required Packages.."
  sudo apt-get install -y -q gnome-ppp wvdial

#Add entries to /etc/ppp/ppp-secrets and /etc/ppp/chap-secrets
  echo "I:Modifying necessary system files  to allow dialing with Gnome PPP..."
  sudo chmod 666  /etc/ppp/pap-secrets  /etc/ppp/chap-secrets
  echo "$connection        *        $connection" >> /etc/ppp/pap-secrets
  echo "$connection        *        $connection" >> /etc/ppp/chap-secrets
  sudo chmod 600  /etc/ppp/pap-secrets/etc/ppp/chap-secrets

#Start Gnome PPP
  echo "We are all set.... "
  echo "Starting Dialer..." 
  gnome-ppp &
  exit 0
Attached Files
File Type: zip reliance_setup.sh.zip (639 Bytes, 29 views)
Strider is offline   Reply With Quote
Old 10-12-2008, 05:22 PM   #3
Newbie
 
Join Date: Oct 2006
Age: 23
Posts: 22
Thanks: 10
Thanked 1 Time in 1 Post
Rep Power: 0 kthurst is an unknown quantity at this point
Re: How to setup & Configure Reliance Datacard USB Internet in UBUNTU Linux?

I tried that code. It's saying Gnome PPP is not found.
What to do?
Even tried to download the package gnome-ppp but it has in turn lots of dependent packages. :-(


Last edited by kthurst; 10-12-2008 at 05:33 PM..
kthurst is offline   Reply With Quote
Old 10-12-2008, 05:48 PM   #4
Webmaster
 
Strider's Avatar
 
Join Date: Nov 2005
Location: The Last City!
Posts: 4,218
Thanks: 441
Thanked 469 Times in 410 Posts
Rep Power: 2748 Strider is just GreatStrider is just GreatStrider is just GreatStrider is just GreatStrider is just GreatStrider is just GreatStrider is just GreatStrider is just GreatStrider is just GreatStrider is just GreatStrider is just Great


OS: Windows XP Windows Server 2003 / Windows Server 2008 Windows 7 Linux


Re: How to setup & Configure Reliance Datacard USB Internet in UBUNTU Linux?

Quote:
Even tried to download the package gnome-ppp but it has in turn lots of dependent packages. :-(
Without the dialer you won't be able to setup a connection. I think Ubuntu have a built in dialer. Check it out.
Strider is offline   Reply With Quote
Old 10-12-2008, 05:57 PM   #5
Newbie
 
Join Date: Oct 2006
Age: 23
Posts: 22
Thanks: 10
Thanked 1 Time in 1 Post
Rep Power: 0 kthurst is an unknown quantity at this point
Re: How to setup & Configure Reliance Datacard USB Internet in UBUNTU Linux?

I think it has 'wvdial', but for that I have to edit wvdial.conf
Don't know what entries have to be made in that. Once wvdial.conf is ready, I can run 'wvdial cdma' to get connected.
I don't know how to proceed...
kthurst is offline   Reply With Quote
Old 10-12-2008, 09:54 PM   #6
Video Team
 
Join Date: Sep 2007
Location: India
Age: 22
Posts: 48
Thanks: 10
Thanked 3 Times in 3 Posts
Rep Power: 0 MEtal247 is an unknown quantity at this point


OS: Windows XP Windows Vista Linux


Re: How to setup & Configure Reliance Datacard USB Internet in UBUNTU Linux?

This should work.

Reliance USB Data Card (Huawei) on Ubuntu HowTo « FreedomYug
__________________
\m/
MEtal247 is offline   Reply With Quote
Old 10-12-2008, 09:55 PM   #7
Newbie
 
Join Date: Oct 2006
Age: 23
Posts: 22
Thanks: 10
Thanked 1 Time in 1 Post
Rep Power: 0 kthurst is an unknown quantity at this point
Re: How to setup & Configure Reliance Datacard USB Internet in UBUNTU Linux?

Finally getting internet on my Ubuntu.
Thank U. :-)
kthurst is offline   Reply With Quote
Old 10-12-2008, 10:59 PM   #8
Webmaster
 
Strider's Avatar
 
Join Date: Nov 2005
Location: The Last City!
Posts: 4,218
Thanks: 441
Thanked 469 Times in 410 Posts
Rep Power: 2748 Strider is just GreatStrider is just GreatStrider is just GreatStrider is just GreatStrider is just GreatStrider is just GreatStrider is just GreatStrider is just GreatStrider is just GreatStrider is just GreatStrider is just Great


OS: Windows XP Windows Server 2003 / Windows Server 2008 Windows 7 Linux


Re: How to setup & Configure Reliance Datacard USB Internet in UBUNTU Linux?

Quote:
Finally getting internet on my Ubuntu.
That's great. Did you manged to configure wvdial ?

If possible please post the procedure in brief so that any other users can benefit from it.

Thank you.
Strider is offline   Reply With Quote
Old 11-12-2008, 09:55 PM   #9
Newbie
 
Join Date: Oct 2006
Age: 23
Posts: 22
Thanks: 10
Thanked 1 Time in 1 Post
Rep Power: 0 kthurst is an unknown quantity at this point
Re: How to setup & Configure Reliance Datacard USB Internet in UBUNTU Linux?

From the link given by MEtal247 I copied these lines into /etc/wvdial.conf.
Quote:
[Modem0]
Modem = /dev/ttyUSB0
Baud = 115200
SetVolume = 0
Dial Command = ATDT
Init1 = ATZ
FlowControl = Hardware (CRTSCTS) [Dialer cdma]
Username = <replace this with your number>
Password =<replace this with your number>
Phone = #777
Stupid Mode = 1
Inherits = Modem0
I had connected datacard before booting my system.
(I have enabled root login):
I executed following commands.

Quote:
#lsusb
It listed many things along with my new reliance usb datacrd.
(
Quote:
Bus 006 Device 019: ID 12d1:1411 Huawei Technologies Co., Ltd. )
then,
Quote:
#wvdial cdma
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Modem initialized.
--> Sending: ATDT#777
--> Waiting for carrier.
ATDT#777
CONNECT 153600
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Sat Dec 13 09:04:51 2008
--> Pid of pppd: 6410
--> Using interface ppp0
--> pppd: `�[13] `�[13] ��[13]
--> pppd: `�[13] `�[13] ��[13]
--> pppd: `�[13] `�[13] ��[13]
--> pppd: `�[13] `�[13] ��[13]
--> pppd: `�[13] `�[13] ��[13]
--> pppd: `�[13] `�[13] ��[13]
--> local IP address 220.226.118.181
--> pppd: `�[13] `�[13] ��[13]
--> remote IP address 220.224.135.79
--> pppd: `�[13] `�[13] ��[13]
--> primary DNS address 202.138.103.100
--> pppd: `�[13] `�[13] ��[13]
--> secondary DNS address 202.138.96.2
--> pppd: `�[13] `�[13] ��[13]
Now minimized the terminal and started firefox (work offline has to be disabled). It worked.
(For disconnecting I use ctrl+c in the terminal. can anyone suggest the correct method?)
.
.
If datacard inserted after booting of Ubuntu, command #lsusb didn't show the datacard.
I executed

Quote:
#modprobe usbserial
after sometime,

Quote:
#lsusb
it worked. (I am not sure ubuntu automatically deteced it or 'modprobe' command did it).
Then as usual
Quote:
#wvdial cdma
....

Still trying to understand what are all these commands and wvdial.conf entries mean.
Thank you all.

Last edited by Strider; 11-12-2008 at 10:09 PM..
kthurst is offline   Reply With Quote
Thanked Users:
Strider (11-12-2008)
Old 11-12-2008, 10:24 PM   #10
Webmaster
 
Strider's Avatar
 
Join Date: Nov 2005
Location: The Last City!
Posts: 4,218
Thanks: 441
Thanked 469 Times in 410 Posts
Rep Power: 2748 Strider is just GreatStrider is just GreatStrider is just GreatStrider is just GreatStrider is just GreatStrider is just GreatStrider is just GreatStrider is just GreatStrider is just GreatStrider is just GreatStrider is just Great


OS: Windows XP Windows Server 2003 / Windows Server 2008 Windows 7 Linux


Re: How to setup & Configure Reliance Datacard USB Internet in UBUNTU Linux?

Thanks very much for the explanation, much appreciated.

You need to install some graphical interfaces like Gnome-PPP to get an easy to use wvdial interface.

Check out this guide:
UbuntuHelp DialupModemHowto/SetUpDialer - Ubuntu中文

You should be able to install the required packages once you have an internet connection using the shell commands.
Strider is offline   Reply With Quote
Reply

Thread Tools
Display Modes



< Home - Windows Help - MS Office Help - Hardware Support >


New To Site? Need Help?

All times are GMT +5.5. The time now is 12:37 PM.


vBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2010, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional