Networking Forums

Networking Forums > Computer Networking > Linux Networking > GPRS connection

Reply
Thread Tools Display Modes

GPRS connection

 
 
Matteo
Guest
Posts: n/a

 
      02-28-2004, 09:45 PM
Hi, I have a problem when trying to connect me by GPRS with my laptop.
I run Mandrake cooker. All seems work, as you can see by the snapshots
below, but I cannot ping anything (neither dns, correctly setup in
resolv.conf) but my local address.
I have googled a lot, I found similar posts but nothing really useful for
solving my problem. Any idea?

Regards
Matteo


My kernel routing...

route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
10.6.6.6 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
0.0.0.0 10.6.6.6 0.0.0.0 UG 0 0 0 ppp0


When I run gprs...all seems work, right?

gprs
Chiusura di Bluetooth: [ OK ]
Avvio Bluetooth: [ OK ]
Press CTRL-C to close the connection at any stage!
defining PDP context...
rAT
OK
ATH
OK
ATE1
OK
AT+CGDCONT=1,"IP","internet.wind","",0,0
OK
Serial connection established.
using channel 75
Using interface ppp0
Connect: ppp0 <--> /dev/rfcomm0
rcvd [LCP ConfReq id=0x0 <auth pap> <mru 1500> <asyncmap 0xa0000>]
Looking for secret in /etc/ppp/pap-secrets for client wind server (null)
Looking for secret in /etc/ppp/chap-secrets for client wind server (null)
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xa205e9cf>]
sent [LCP ConfRej id=0x0 <auth pap>]
rcvd [LCP ConfRej id=0x1 <magic 0xa205e9cf>]
sent [LCP ConfReq id=0x2 <asyncmap 0x0>]
rcvd [LCP ConfReq id=0x1 <mru 1500> <asyncmap 0xa0000>]
sent [LCP ConfAck id=0x1 <mru 1500> <asyncmap 0xa0000>]
rcvd [LCP ConfAck id=0x2 <asyncmap 0x0>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3
0.0.0.0>]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15>]
rcvd [IPCP ConfReq id=0x0 <addr 10.6.6.6>]
sent [IPCP ConfAck id=0x0 <addr 10.6.6.6>]
rcvd [LCP ProtRej id=0x0 80 fd 01 01 00 0c 1a 04 78 00 18 04 78 00]
rcvd [IPCP ConfNak id=0x1 <addr 212.141.118.120> <ms-dns1 212.245.255.2>
<ms-dns3 212.141.84.12>]
sent [IPCP ConfReq id=0x2 <addr 212.141.118.120> <ms-dns1 212.245.255.2>
<ms-dns3 212.141.84.12>]
rcvd [IPCP ConfAck id=0x2 <addr 212.141.118.120> <ms-dns1 212.245.255.2>
<ms-dns3 212.141.84.12>]
local IP address 212.141.118.120
remote IP address 10.6.6.6
primary DNS address 212.245.255.2
secondary DNS address 212.141.84.12
Script /etc/ppp/ip-up started (pid 11904)
Script /etc/ppp/ip-up finished (pid 11904), status = 0x0

my network interfaces

ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:722 errors:0 dropped:0 overruns:0 frame:0
TX packets:722 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
RX bytes:67227 (65.6 Kb) TX bytes:67227 (65.6 Kb)

ppp0 Link encap:Point-to-Point Protocol
inet addr:212.141.118.120 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:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
RX bytes:102 (102.0 b) TX bytes:66 (66.0 b)

My gprs file, the situation does not change even uncommenting noipdefault
and ipcp-accept-local


cat gprs
# 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
show-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
#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

# 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
115200 # 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

# 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
#
#Non era commentata
#
#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:
# "rlnet" * "internet" *
user "wind"

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

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

# Require PAP authentication:
# some phones may require this option.
#require-pap


 
Reply With Quote
 
 
 
 
Clifford Kite
Guest
Posts: n/a

 
      03-01-2004, 10:15 PM
Matteo <(E-Mail Removed)> wrote:
> Hi, I have a problem when trying to connect me by GPRS with my laptop.
> I run Mandrake cooker. All seems work, as you can see by the snapshots
> below, but I cannot ping anything (neither dns, correctly setup in
> resolv.conf) but my local address.
> I have googled a lot, I found similar posts but nothing really useful for
> solving my problem. Any idea?


If it's only ping that won't work then the ISP is very likely blocking
ping requests. One of the Microsoft maggot distributors used ping to
find hosts to try attacking, so a number of ISPs now block it.

-- Clifford Kite Email: "echo xvgr_yvahk-(E-Mail Removed)|rot13"
PPP-Q&A links, downloads: http://ckite.no-ip.net/
/* The signal-to-noise ratio is too low in many [news] groups to make
* them good candidates for archiving.
* --- Mike Moraes, Answers to FAQs about Usenet */
 
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Netmotion VPN having loss of connection over GPRS Network Dododawa Wireless Internet 1 04-19-2006 02:33 PM
GPRS card connected to the GPRS network in Linux 2.6.15, can send SMS messages, but still no internet? D2army Linux Networking 10 02-19-2006 03:09 AM
GPRS card connected to the GPRS network in Linux 2.6.15, can send SMS messages, but still no internet? D2army Wireless Internet 8 02-19-2006 03:09 AM
GPRS connection established, but no ping possible Ekkard Gerlach Linux Networking 2 10-23-2004 09:02 PM
GPRS connection problems Eduardo Linux Networking 7 07-16-2004 02:01 PM



1 2 3 4 5 6 7 8 9 10 11