LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Mobile
User Name
Password
Linux - Mobile This forum is for the discussion of all topics relating to Mobile Linux. This includes Android, Tizen, LiMo, Maemo, MeeGo, Openmoko, Ubuntu Mobile, WebOS, Firefox OS, Open Mobile Alliance and other similar projects and products.
A reminder that LQ now has a dedicated Android sister site: AndroidQuestions.org

Notices

Reply
 
Search this Thread
Old 10-09-2010, 02:14 AM   #1
krisbadsg
LQ Newbie
 
Registered: Sep 2010
Posts: 1

Rep: Reputation: 0
how to connect to internet via mobile in rhel4


i am trying to connect to internet via mobile in rhel 4. i searched for the procedures in net and i found one which was given below. i did exactly how he explained and even scceeded to connect to the internet. the problem is in my mobile a symbol showing connection to internet is displayed but when i tried to connect from the browser of pc it is not connecting.even when i am disconnecting it is showing the amount of time it is connected to internet. any body please suggest the solution.

i just copied the text given below and paste in etc/wvdial.conf.
and run the command given.

For this you will have to copy the following as save it as /etc/wvdial.conf using the root account:
Code:

[Modem0]
Modem = /dev/rfcomm0
Baud = 230400
SetVolume = 0
DialCommand = ATDT
FlowControl = Hardware(CRTSCTS)

[Modem1]
Modem = /dev/ttyACM0
Baud = 230400
SetVolume = 0
DialCommand = ATDT
FlowControl = Hardware(CRTSCTS)

[Dialer GPRS]
Username = 1
Password = 1
Phone = *99***1#
Mode = 1
Inherits = Modem0

[Dialer DATA]
Username = <>
Password = <>
Phone = *99***1#
Mode = 1
Inherits = Modem1

[Dialer Defaults]
Modem = /dev/rfcomm0
Baud = 230400
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,"IP","airtelgprs.com"
ISDN = 0
Modem Type = Analog Modem
Area Code =
Phone = *99***1#
Username = <>
Password = <>
Ask Password = 0
Dial Command = ATDT
Stupid Mode = 1
Compuserve = 0
Force Address =
Idle Seconds = 3600
DialMessage1 =
DialMessage2 =
ISDN = 0
Auto DNS = 1




It will ask for the root password. Enter it and it should connect.

For dialing via data cable, you will have to pass the command:
Code:
sudo wvdial DATA
 
Old 10-10-2010, 07:52 PM   #2
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 2,521
Blog Entries: 3

Rep: Reputation: 208Reputation: 208Reputation: 208
in the linux world there are many programs that use the pppd program. Point To Point Protocol Daemon wvdial uses it gnome uses gpppd kde uses kpppd wvdial is a comand line program I find using kpppd works fine just plug the usb device in and type lusb and to find out what com port it is using like this /dev/ttyACM0 dype dmesg and look for it.
if you are not used to command line programs try the gui ones and configure your device.

when you do
Quote:
sudo wvdial DATA
make sure you have that part filled in.
Quote:
Dialer DATA]
Username = <> <--------------------
Password = <> <-----------------
Phone = *99***1# <-----------------------
Mode = 1
Inherits = Modem1
 
Old 12-08-2010, 03:56 PM   #3
charlsadam
LQ Newbie
 
Registered: Dec 2010
Posts: 5

Rep: Reputation: 1
The best option would be to connect your mobile via data cable and using the internet of the sim card services.

Last edited by archtoad6; 03-02-2011 at 11:19 AM. Reason: remove sig: link is OK, German isn't
 
Old 12-08-2010, 10:57 PM   #4
John VV
Guru
 
Registered: Aug 2005
Posts: 12,811

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
why do you want to connect the older rhel4 server to a mobil phone via a copper telephone line using 56k dial up ??
or is this using a usb cable ?
please give us a better discription of what it is you need to do and WHY you need to do it using the older rhel 4 operating system
( ps the older rhel4 might not have any support for new hardware -- to old)
the current red hat os is RHEL6

Last edited by John VV; 12-08-2010 at 10:59 PM.
 
Old 12-14-2010, 02:59 PM   #5
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 230Reputation: 230Reputation: 230
Welcome to LQ, krisbadsg

Interesting Q. I see you tried unsuccessfully to use "Code:" blocks, you can find more info about them at the BB code link near the bottom of this page.

John VV's points about RHEL4 being old & giving us an overview of your goals are good.
 
Old 01-16-2011, 03:39 AM   #6
DJ Shaji
Member
 
Registered: Dec 2004
Location: India
Distribution: Debian Squeeze, Fedora 17
Posts: 431
Blog Entries: 15

Rep: Reputation: 75
If you CAN connect to the internet (wvdial shows connected or whatever) try putting the following in /etc/resolv.conf

nameserver 8.8.8.8
nameserver 8.8.4.4

by the way, if your phone company routes all traffic through a wap proxy, you might need to set the proxy in your browser to the one your service provider uses.

by the way, i think username and password should be left blank. do you have balance in your phone? can you surf the net from your phone? gprs is slow (!) try opening a lightweight site (google.com)
 
Old 01-18-2011, 11:52 AM   #7
rizzy
Member
 
Registered: Mar 2004
Distribution: Debian
Posts: 283

Rep: Reputation: 65
I'm using two ways to connect my Crunchbang (debian squeeze) laptop to internet using android phone:

1) laptop > USB > android > mobile data
Using EasyTether app http://www.mobile-stream.com/easytether/android.html
Pros: No need for root
Cons: Free version of EasyTether doesn't support https, only http. Full version supports https.

2) laptop > WiFi > android > mobile data

Using WiFi Barnacle Tether app: http://www.appbrain.com/app/barnacle....szym.barnacle
Pros: No additional software for laptop needed - using existing WiFi drivers, supports https, the app is free on the market
Cons: Needs android rooting
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
connect to internet via mobile in red hat rock.arpit Linux - Newbie 4 09-05-2010 09:08 AM
How can I connect my NOKIA N72 mobile via Bluetooth for internet ? arpanroy1987 Mandriva 0 03-23-2009 02:06 PM
How to connect to internet using mobile? hemcrop Linux - Newbie 1 08-26-2008 09:36 AM
Use Mobile phones to connect to the Internet karthickannamalai Linux - Software 3 06-24-2008 09:33 AM
need mobile phone model to connect to internet deeepak Mandriva 6 08-17-2006 02:21 PM


All times are GMT -5. The time now is 04:48 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration