I can dial-up to UMTS but cannot browse

Asked by Kheng Siong

I managed to create a connection to my phone by using bluetooth. I can see that on my phone the GPRS is connected. But why i cannot browse to internet from my browser? Basically i cannot even ping to www.google.com.

Thank you and appreciate the time spend to help me.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Kheng Siong
Solved:
Last query:
Last reply:
Revision history for this message
Xepra (xepra) said :
#1

There are a number of factors here... How are you connecting via UMTS? Bluetooth? USB? Serial? What application are you using to create the connection? wvdial?

If you are actually seeing that you are connected then the problem is most likely that you are not sending the correct UMTS specific options such as the WAP, username, and password. You should be able to google fairly easily to get the correct settings and how to use them with your application.

Here is a list of carrier specific settings:

http://www.taniwha.org.uk/gprs.html

And here are some typical GPRS wvdial.conf settings:

[Modem0]
Modem = /dev/rfcomm0
Baud = 115200
SetVolume = 0
Dial Command = ATDT
Init1 = ATZ
Init3 = ATM0
FlowControl = CRTSCTS
[Dialer Cingular]
Username = <email address hidden>
Password = CINGULAR1
Phone = *99***1#
Stupid Mode = 1
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,"IP","WAP.CINGULAR"
Inherits = Modem0

The /dev/rfcomm0 indicates a bluetooth modem; you would have to replace this with your modem. After editing the the wvdial.conf config appropriately then you should be able to dial from a terminal via "wvdial Cingular" or something like that.

I would recommend you google your question before posting here, as you might find quicker results. I would also advise you to provide more detailed information when asking a question.

Revision history for this message
Kheng Siong (khengsiong) said :
#2

I'm creating the GPRS connection from this link. http://www.lynchconsulting.com.au/blog/index.cfm/2006/12/11/Nokia-N73-Bluetooth-modem-with-Ubuntu-Linux-Howto#address

I created a dial-profile of my own using the link above, all i changed was the APN to my3g, which is my operator APN.

# from www.hingston.demon.co.uk/mike/nokia6680.html
 noauth
#change this if you move the path to your connect script
  connect "/usr/sbin/chat -v -f /etc/chatscripts/UMobile-connect"
#change this if you move the path to your disconnect script
  disconnect "/usr/sbin/chat -v -f /etc/chatscripts/UMobile-disconnect"
#I found that I needed this to remove problems with loopback on connecting
  silent
#remove this if you don't want lots of information going to /var/log/message
s
  debug
#this is the device specified in your rfcomm.conf file
  /dev/rfcomm2
#speed at which to connect - might be worth trying higher...
  115200
#this is needed so that a default route is added to your routing table
  defaultroute
#this is needed so that you pick up Orange's DNS settings
  usepeerdns

I noticed that the DNS is correct, somehow the ifconfig look funny.

ppp0 Link encap:Point-to-Point Protocol
          inet addr:10.21.0.162 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:1 dropped:0 overruns:0 frame:0
          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:64 (64.0 B) TX bytes:97 (97.0 B)

It looked as though my ppp0 is already fixed with an IP, instead of DHCP.

Revision history for this message
Kheng Siong (khengsiong) said :
#3

Strange, it is ok now.