Unable to use GPRS dial up connection

I want to configure a Gprs dial up connection through my Nokia N91 to surf internet in openSUSE. I am using openSUSE 11.2 installed as a guest OS in ORACLE VIRTUALBOX (virtual pc) in windows host. I connected my mobile to openSUSE using a data cable and the phone modem is detected. I configured Wvdial.conf file and used Wvdial to connect to the internet. After performing many changes I finally managed to get a successful connection, when still I cannot surf any webpage in the browser.

The only error that I get during wvdial connection is about Namespace (DNS) failed.

Can any one help me? I am using a AIRTEL (India) gprs internet connection. Please tell me the solution and is there any other method to do the same…

Thanks in advance…

Hi there,

could you try to post the error message?
When DNS fails than you cant connect to any internet side (except you know the ip adress)

So first you could try to open 130.57.4.15 in your browser (which is this forum), so we know if the connection does really work.
Than i would need to know the error message. If you can open the ip adress you could set an nameserver in /etc/resolv.conf for testing you could use 8.8.8.8 which is the google nameserver.

Far from that, most smartphones can set the datamanegement to an shared internet connection. So you use the phone not as an modem, you use it like an router. Which works better in most cases, cause you get an ethX in opensuse.

But like anytime, just an idea :slight_smile:

Thanks for giving your time.

I dumped the idea to use wvdial. I installed kppp in my system and configured it according to my Carrier and Phone Modem. I also provided the DNS address and connected to Internet but this time I succeeded a little more from wvdial.
After having successfully connected through Kppp, my mobile and the kppp shows the receiving of data packets but still I can’t open webpages. Even I cannot open Google.com which I believe is the fastest and smallest site.
I also tried wvdial in different linux distros like UBUNTU and FEDORA 10 but I cannot access the ROOT account because they are not accepting the root password. So my obvious choice is openSUSE which is working fine for me execpt this dial up problem.

Any Suggestions…

Make sure that Network Manager is not enabled when using these dialling tools (YaST > Network Devices > Network Settings > Global Options)

Its a prime cause of this behaviour.

As you suggested I disabled the Network Manager, but still the same problem persists.
I also disabled the FIREWALL but is of no use. Connection Manager in my Mobile and the KPPP shows the sending/receiving of data but I am not able to surf in any browser.

To assist with the diagnosis here, try connecting again, and type these commands

cat /etc/resolv.conf

The last lines of output should contain the name servers. If not, thats the problem.

This will tell us about your configured gateway

/sbin/route -n

I checked the resolv.conf file, the last two lines in this files are the nameserver with address. I also used the command /sbin/route -n , there are 5-6 address are given . the gateway column next to the address are all having nil address [0.0.0.0].

Sometimes I feel that my problem doesn’t have any solution or the Linux is Buggy.
Some of these problems are the basic reasons why people always stick to Windows and do not opt for LINUX Os.

Sometimes I feel that my problem doesn’t have any solution or the Linux is Buggy.

You might feel that way, but I can assure you that most Linux users (with moderate experience) could solve this, especially if the machine was in front of them.

I checked the resolv.conf file, the last two lines in this files are the nameserver with address. I also used the command /sbin/route -n , there are 5-6 address are given . the gateway column next to the address are all having nil address [0.0.0.0].

A good way to get the reported info here is to cut and paste into a text file. Transfer it to an internet-connected computer via a memory stick. Sometimes, vital clues in the ouput may be missed when just describing it this way. Remember, you’re our eyes to the problem. This could be a gateway issue.

Some of these problems are the basic reasons why people always stick to Windows and do not opt for LINUX Os.

For some that may be true, but I’ve had similar issues in Windows, and its the reason I stick with the OS I know ie Linux. It has far supperior community support IMHO.

I am attaching the screenshots of those commands

  1. This is KPPP statistics screen showing sending/receiving of data.
    http://i924.photobucket.com/albums/ad84/gauravsinghfzd/Linux%20Problem/untitled2.jpg

  2. This is /sbin/route -n

http://i924.photobucket.com/albums/ad84/gauravsinghfzd/Linux%20Problem/untitled1.jpg

  1. resolv.config
    http://i924.photobucket.com/albums/ad84/gauravsinghfzd/Linux%20Problem/untitled.jpg

The route and nameserver info looks ok to me.

  1. Check that you have a valid IP address via dhcp:
/sbin/ifconfig

or

/sbin/ip addr
  1. Make sure (if using Firefox) that File > Work Offline is not enabled.

the output that I obtained is:

eth0 Link encap:Ethernet HWaddr 08:00:27:79:63:91
inet addr:192.168.56.101 Bcast:192.168.56.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fe79:6391/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:48 errors:0 dropped:0 overruns:0 frame:0
TX packets:124 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5638 (5.5 Kb) TX bytes:20892 (20.4 Kb)
Interrupt:10 Base address:0xd020

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:172 errors:0 dropped:0 overruns:0 frame:0
TX packets:172 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:11336 (11.0 Kb) TX bytes:11336 (11.0 Kb)

ppp0 Link encap:Point-to-Point Protocol
inet addr:110.224.117.230 P-t-P:10.6.6.6 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:40 (40.0 b) TX bytes:61 (61.0 b)

The offline mode in firefox is disabled i.e. it is in online mode…

This might be more an issue with your phone configuration. I’m not familiar with GRPS connections, but it reads a bit like this thread:

[SOLVED] GPRS connected but no data transfer [Archive] - Ubuntu Forums](http://ubuntuforums.org/archive/index.php/t-1270850.html)

The last post suggests making some sort of usb configuration on the phone. You might have to search via google for more info on GRPS connections eg keywords like “gprs connected no internet”

Edit: Unintended double-post.

The problem is Solved now…Thanks to all who helped me

The problem is Solved now…Thanks to all who helped me

Great. The thanks is appreciated, but we’d like to know the solution too…thats how these forums work. :slight_smile: