LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 01-04-2007, 10:42 AM   #1
sblantipodi
Member
 
Registered: May 2006
Distribution: Latest CentOS
Posts: 151

Rep: Reputation: 15
Internet UMTS, mobile phone, Linux speed connection vs Windows one


Hello,
I'm using Internet UMTS with my UMTS phone using bluetooth.

Under Windows XP I download content at 35/40 Kb/sec with no problem.
Under Linux using pppd call or KPPP there is no problem surfing the web but I'm limited at 10Kb/sec.

Why Linux is so slow with UMTS?
I controlled all my settings under Linux and it seems that there is no problem, but it is slow.
Why Windows is faster then linux? Where I'm wrong?
 
Old 01-05-2007, 01:26 PM   #2
sblantipodi
Member
 
Registered: May 2006
Distribution: Latest CentOS
Posts: 151

Original Poster
Rep: Reputation: 15
This is my UMTS file when I launch
pppd call UMTS

Code:
# File:
# gprs
#
# Description:
# Serial cable, IrDA, Bluetooth and USB pppd options for GPRS phones.

# Keep pppd attached to the terminal:
# Comment this to get daemon mode pppd
nodetach

# Debug info from pppd:
# Comment this off, if you don't need more info
debug

# Show password in debug messages
hide-password

# Connect script:
# scripts to initialize the GPRS modem and start the connection,
# wvdial command is for Orange SPV while other phones should work with chat
connect /etc/ppp/peers/gprs-connect-chat_V3x_vodafone
#connect "/usr/bin/wvdial --chat --config /etc/ppp/peers/gprs-wvdial.conf
#radiolinja_usb_orange_spv"

# Disconnect script:
# AT commands used to 'hangup' the GPRS connection.
disconnect /etc/ppp/peers/gprs-disconnect-chat_V3x

# Serial device to which the GPRS phone is connected:
# /dev/ttyS0 for serial port (COM1 in Windows),
# /dev/ircomm0 for IrDA,
#/dev/ttyUB0 #for Bluetooth (Bluez with rfcomm running) and
#/dev/ttyUSB0 for USB
#/dev/ttyS0     # serial port one
#/dev/ttyS1     # serial port two
#/dev/ircomm0   # IrDA serial port one
/dev/rfcomm0    # Bluetooth serial port one
#/dev/ttyUSB0   # USB serial device, for example Orange SPV

# Serial port line speed
460800  # fast enough
#57600  # perhaps usefull with IrDA

# Hardware flow control:
# Use hardware flow control with cable, Bluetooth and USB but not with IrDA.
crtscts  # serial cable, Bluetooth and USB
#nocrtscts # IrDA

# Ignore carrier detect signal from the modem:
local
lock
modem

# IP addresses:
# - accept peers idea of our local address and set address peer as 10.0.0.1
# (any address would do, since IPCP gives 0.0.0.0 to it)
# - if you use the 10. network at home or something and pppd rejects it,
# change the address to something else
#:10.0.0.1

# pppd must not propose any IP address to the peer!
noipdefault

# Accept peers idea of our local address
ipcp-accept-local

# Add the ppp interface as default route to the IP routing table
defaultroute

# DNS servers from the phone:
# some phones support this, some don't.
usepeerdns

# ppp compression:
# ppp compression may be used between the phone and the pppd, but the
# serial connection is usually not the bottleneck in GPRS, so the
# compression is useless (and with some phones need to disabled before
# the LCP negotiations succeed).
novj
nobsdcomp
novjccomp
nopcomp
noaccomp

# The phone is not required to authenticate:
noauth

# Username and password:
# If username and password are required by the APN, put here the username
# and put the username-password combination to the secrets file:
# /etc/ppp/pap-secrets for PAP and /etc/ppp/chap-secrets for CHAP
# authentication. See pppd man pages for details.
# Example, Radiolinja operator pap-secrets:
#user "rlnet"

# Asyncmap:
# some phones may require this option.
#asyncmap 0

# No magic:
# some phones may require this option.
#nomagic

# Require PAP authentication:
# some phones may require this option.
#require-pap
and this is my UMTS-connect-chat

Code:
#!/bin/sh
#
# File:
# gprs-connect-chat
#
# Description:
# chat script to open Radiolinjas GPRS service with GPRS phones. If ppp
# negotiation stalls, try restarting the phone. To try with other GPRS
# operator setting, change the PDP contex setting. The settings work with
# most Ericsson models, but Nokia 8310 and 30 do not support QoS parameters
# with AT commands, so just delete those lines and it'll work.
#
# Set PDP context CID=1, protocol=IP, APN=internet:
# AT+CGDCONT=1,"IP","web.omnitel.it","",0,0
#
# Set CID=1 QoS requirements from the network, not supported by Nokia:
# AT+CGQREQ=1,0,0,0,0,0
#
# Set CID=1 minimum acceptable QoS parameters, not supported by Nokia:
# AT+CGQMIN=1,0,0,0,0,0
#
# 'Call' CID=1 (activate PDP context one, perform GPRS attach):
# ATD*99#
#
# Some phones like the Orange SPV (yes, the Microsoft Smartphone) use this
# dial string to start GPRS connection:
# ATD*99#
#
# The actual chat script:
exec chat                                               \
        TIMEOUT         5                               \
        ECHO            ON                              \
        ABORT           '\nBUSY\r'                      \
        ABORT           '\nERROR\r'                     \
        ABORT           '\nNO ANSWER\r'                 \
        ABORT           '\nNO CARRIER\r'                \
        ABORT           '\nNO DIALTONE\r'               \
        ABORT           '\nRINGING\r\n\r\nRINGING\r'    \
        ''              \rAT                            \
        TIMEOUT         12                              \
        SAY             "Press CTRL-C to close the connection at any stage!"    \
        SAY             "\ndefining PDP context...\n"   \
        OK              AT                              \
        OK              ATE0                            \
        OK              AT+cgdcont=1,"IP","web.omnitel.it","",0,0      \
        OK              ATDT*99***1#                            \
        TIMEOUT         22                              \
        SAY             "\nwaiting for connect...\n"    \
        CONNECT         ""                              \
        SAY             "\nConnected." \
        SAY             "\nIf the following ppp negotiations fail,\n"   \
        SAY             "try restarting the phone.\n"
I think that all is well configured, I can surf the web without problem but I can't go faster then 10Kb/sec.
As I repeat this is very strange due to on Windows XP I can surf at 35/40 Kb/sec.

Please help me understanding where is the problem on my Fedora Core 6.
Please.
 
Old 01-05-2007, 01:56 PM   #3
harsszeg
LQ Newbie
 
Registered: Jan 2007
Posts: 4

Rep: Reputation: 0
Try to connect with gprsec . download it at www.easyconnect.linuxuser.hu. Maybe you will get more speed with that software,which is THE GREAT HUNGARIAN GPRSCONNECTION FOR LINUX AND BSD FREE SOFTWARE!!!!

Last edited by harsszeg; 01-05-2007 at 02:03 PM.
 
Old 01-05-2007, 06:16 PM   #4
sblantipodi
Member
 
Registered: May 2006
Distribution: Latest CentOS
Posts: 151

Original Poster
Rep: Reputation: 15
thanks for your reply. Unfortunantly I've tryed this program before posting here and I've got same problem. please help
 
Old 02-02-2007, 05:04 PM   #5
sblantipodi
Member
 
Registered: May 2006
Distribution: Latest CentOS
Posts: 151

Original Poster
Rep: Reputation: 15
no one could help me?
Why bluetooth internet connection is so slow under linux?
 
  


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
need mobile phone model to connect to internet deeepak Mandriva 6 08-17-2006 03:21 PM
Can I use my mobile phone to gain internet access? depam Linux - Software 5 08-17-2006 06:32 AM
UMTS internet connection slow Ptrs!OP Linux - Networking 0 02-16-2005 10:39 PM
Setting up internet connection with GPRS mobile phone Aasitus Linux - Networking 1 07-05-2004 06:54 PM
Internet connection via mobile phone? unholy Linux - Laptop and Netbook 3 01-28-2004 04:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration