Internet Connection in Linux via Mobile

Status
Not open for further replies.
OP
Manshahia

Manshahia

Resident Fanatic
Thnx guys i was able to connect to internet.
Thnx for ur help.
one needs to put sudo in front of every useful command in ubuntu.
 

desertwind

Cyborg Agent
Manshahia said:
one needs to put sudo in front of every useful command in ubuntu.

That's a wrong quote. One need to put sudo in front of every command which needs a super user (read root) access.

sudo can be used for running commands as users other than root also.
 

DDIF

Custom User Title
Okay i was able to use internet last night by all your help. But now there is another strange problem.
Now whenever i open internet and browse 2-3 pages ,it disconnect autometically. Its too much annoying. What should i do now?
 

hailgautam

Youngling
Manshahia said:
1.Connect the mobile via USB cable.

2. Open terminal and type su to become root.

3. It will ask for the root password, type in there.

4. Then Issue this command
Code:
wvdialconf /etc/wvdial.conf
Phone wud b detected as Modem

5. Then to Edit this file, open it in a Text Editor
Code is
Code:
kwrite  /etc/wvdial.conf
When we issued command in point 4, it showed the address of ur phone that in which USB port it has been connected. note it down from there.
"Modem = /dev/***"

6. When Text Editor opens the file, erase everything from there and Paste the following:
Code:
[Dialer Defaults]
Modem = /dev/ttyUSB0  # <-- Replace it with the reading you got 
Phone = *99#
Username = aa
Password = bbc
Baud = 230400
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem
Carrier Check = No
The mOdem has been configured successfully.

To dial the internet conenction type
Code:
wvdial
If eerything goes fine it wud say that connected successfully.
Press Ctrl+C to disconnect.
Firefox and Evolution Worked here :D But Giam not working:( any idea why is it?

But one question, can i not configure the KNetworkManager somehow and use it? I have never enjoyed the sight of Konsole (just remembering Ocean's 12 hehe :D).
 
Last edited:

anantkhaitan

Burning Bright
This setting is working fine for me..
i just wanna know if there is anyway to automatically redial when disconnected..
 

hailgautam

Youngling
I don't think there is any automatic way,even if the line is dropped you have to exit the wvdail and then reconnect. sometimes you might have to disconnect the cell phone as well...

But those are rare, and it works like a gem.
 

anantkhaitan

Burning Bright
Man I was asking for this automatic redial option bcoz I often get disconnected with absolutely no reason behind...
I m seriously in need of this..

Chk out content of my wvdial.conf for if there is any mistake

[Dialer usb-dial]
Modem = /dev/ttyUSB0
Phone = *99***1#
Username = aa
Password = bbc
Baud = 115200
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem
Carrier Check = No

I have changed the 'Baud' and 'Dailer' ..well i don't think this are creating any problem

I m using Airtel Gprs connection
 

loneowais

Right off the assembly line
Hi ,,,, MY Problem is much bigger and complicated.....


I have done this thing in other distros and works fine....

I had created a thread here:: *www.thinkdigit.com/forum/showthread.php?p=517593#post517593


And I was reffered here....I think this is a place to know to Connect GPRS,,but my problem is to get my phone detected by linux...

Here I go::
My n80 does not connect to computer..I tried two data cables..one which was shipped with it & other of nokia 7610(dku-2)..

(My fathers Nokia7610 works fine)

this is what happens::

The following message is shown::

Message from syslogd@localhost at Tue Jun 5 16:42:25 2007 ...
localhost kernel: ------------[ cut here ]------------
Message from syslogd@localhost at Tue Jun 5 16:42:25 2007 ...
localhost kernel: Kernel BUG at [verbose debug info unavailable]
Message from syslogd@localhost at Tue Jun 5 16:42:26 2007 ...
localhost kernel: invalid opcode: 0000 [#1]
Message from syslogd@localhost at Tue Jun 5 16:42:26 2007 ...
localhost kernel: SMP
Message from syslogd@localhost at Tue Jun 5 16:42:26 2007 ...
localhost kernel: CPU: 0
Message from syslogd@localhost at Tue Jun 5 16:42:26 2007 ...
localhost kernel: EIP is at kfree+0x79/0x80
Message from syslogd@localhost at Tue Jun 5 16:42:26 2007 ...
localhost kernel: eax: 80000060 ebx: ffffffe0 ecx: c9eb3800 edx: c113d5a0
Message from syslogd@localhost at Tue Jun 5 16:42:26 2007 ...
localhost kernel: esi: c9ead392 edi: 00000282 ebp: c9eb3ac0 esp: c8defda8
Message from syslogd@localhost at Tue Jun 5 16:42:26 2007 ...
localhost kernel: ds: 007b es: 007b ss: 0068
Message from syslogd@localhost at Tue Jun 5 16:42:26 2007 ...
localhost kernel: Process modprobe (pid: 3321, ti=c8dee000 task=c932e8d0 task.ti=c8dee000)
Message from syslogd@localhost at Tue Jun 5 16:42:26 2007 ...
localhost kernel: Stack: ffffffe0 e084dca5 c9eb3806 e084d119 c037a66c c037a668 00000000 00000001
Message from syslogd@localhost at Tue Jun 5 16:42:26 2007 ...
localhost kernel: c8defdec c011b8f8 00000000 00000000 00000003 00000282 c162ca00 00000000
Message from syslogd@localhost at Tue Jun 5 16:42:26 2007 ...
localhost kernel: d9e45e00 e085b7e0 c9eb3800 cd0d6b08 dfcaf400 dffc2c00 d9e59180 00000001
Message from syslogd@localhost at Tue Jun 5 16:42:26 2007 ...
localhost kernel: Call Trace:
Message from syslogd@localhost at Tue Jun 5 16:42:26 2007 ...
localhost kernel: Code: 74 83 14 83 c0 01 89 03 57 9d 8b 1c 24 8b 74 24 04 8b 7c 24 08 83 c4 0c c3 8b 52 0c eb c4 89 c8 89 da e8 bb fe ff ff 8b 03 eb d4 <0f> 0b eb b9 8d 76 00 56 89 c6 53 b8 a0 45 3f c0 e8 a2 31 08 00
Message from syslogd@localhost at Tue Jun 5 16:42:26 2007 ...
localhost kernel: EIP: [kfree+121/128] kfree+0x79/0x80 SS:ESP 0068:c8defda8
Message from syslogd@localhost at Tue Jun 5 16:42:26 2007 ...
localhost kernel: EIP: [<c016c469>] kfree+0x79/0x80 SS:ESP 0068:c8defda8



And then nothing works....OS does not hang,, but every program I open hangs on Splash Screen...
e.g, If I open OpenOffice Word...It hangs but the system runs OK....

If I type wvdial or lsusb or anything in terminal it just stops....

I'm stuck badly...please help...


Please help me...as GPRS is the only way for me to connect to internet...
rite now I am from Windows..

Did anyone try using GPRS on Linux Mint...

and if yes..please tell which phone & data cable...
 
Last edited:

Tech.Masti

Wise Old Owl
Yaahooooooooooooooooo!!!!!!!! OOphs unbelievable ........ i am able to do it on Ubuntu 6.10 live CD...........
just now all the commands works correctly and it connects, now i am posting from this connection ..................
Thanks everyone for such a good and useful thread !!!!!
 
Last edited:

Garbage

God of Mistakes...
Thank u guys....

I'm able to setup internet connection on Ubuntu 7.04 ......

Thanks a lot.....
 

DDIF

Custom User Title
pathiks said:
well r u using proxies???? as in NOP??? or u usin MO???
Is there anyway that we can get Adept manager to work with Proxies?
I connect to internet through mobile and proxies, so i can't update my packages without MO. Coz only MO works without proxies.
By the way i'm using Kubuntu 7.04
 

nik_for_you

In the zone
i am using kubuntu. i connected successfully and there are entries in resolv.conf ,but problem is i am not able to view any site with konquer browser..
is this problem with browser or what?
 

Hitboxx

Juke Box Hero
I did everything as mentioned but my output stays at
Code:
--> WvDial: Internet dialer version 1.56
--> 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*99***1#
--> Waiting for carrier.
ATDT*99***1#
CONNECT
--> Carrier detected.  Waiting for prompt.
--> Don't know what to do!  Starting pppd and hoping for the best.
--> Starting pppd at Sun Aug 19 07:27:29 2007
--> Pid of pppd: 7822
--> Using interface ppp0
--> pppd: �[10][06][08]H [06][08]
--> pppd: �[10][06][08]H [06][08]
--> pppd: �[10][06][08]H [06][08]
--> pppd: �[10][06][08]H [06][08]
--> pppd: �[10][06][08]H [06][08]
--> local  IP address 10.16.4.106
--> pppd: �[10][06][08]H [06][08]
--> remote IP address 192.168.100.101
--> pppd: �[10][06][08]H [06][08]
with a blinking cursor.

Using Hutch GPRS on Ubuntu 7
 

azzu

AJJU
iam unable to connect
whenever i typpe Su
password text appears and i cannot type anything Xcept enter
wich tells wrong pass
help me
iam on MINT
 

ray|raven

Think Zen.
Dude,
when u type su, it doesnt show the password u are entering.
Just type the password and press enter.It'll do.

Regards,
ray
 
Status
Not open for further replies.
Top Bottom