Networking Forums  

Go Back   Networking Forums > Networking Newsgroups > Linux Networking

gprs: no route

Reply
 
Thread Tools Display Modes
  #1  
Old 11-08-2003, 03:09 PM
Default gprs: no route



Hi,

I'm trying to connect to the net via gprs. I followed the instructions
given to me by my gprs provider (Omnitel - Italy)
I have Debian stable installation on a laptop and a Siemens S45 mobile
phone connected through irda.
I can connect to internet apparently without errors and can resolve ip
addresses but i have no route.
I report below the relavant data to solve the puzzle.

The relevant part of "ifconfig" output:

irda0 Link encap:IrLAP HWaddr 76:f7:fa:2c
UP RUNNING NOARP MTU:2048 Metric:1
RX packets:577 errors:0 dropped:0 overruns:0 frame:0
TX packets:759 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:8
RX bytes:4066 (3.9 KiB) TX bytes:23961 (23.3 KiB)

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:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:560 (560.0 b) TX bytes:560 (560.0 b)

ppp0 Link encap:Point-to-Point Protocol
inet addr:10.225.255.107 P-t-P:192.168.254.254
Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:2000 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:64 (64.0 b) TX bytes:181 (181.0 b)

The "route -n" output:

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.254.2540.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 192.168.254.2540.0.0.0 UG 0 0 0 ppp0

Part of a debug of pon:

Serial connection established.
using channel 1
Using interface ppp0
Connect: ppp0 <--> /dev/ircomm0
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x44d31e1f> <pcomp> <accomp>]
rcvd [LCP ConfNak id=0x1 <asyncmap 0xa0000>]
sent [LCP ConfReq id=0x2 <asyncmap 0xa0000> <magic 0x44d31e1f> <pcomp>
<accomp>]
rcvd [LCP ConfAck id=0x2 <asyncmap 0xa0000> <magic 0x44d31e1f> <pcomp>
<accomp>]
rcvd [LCP ConfReq id=0x3 <mru 2000> <asyncmap 0xa0000> <pcomp> <accomp>
<magic 0x85c5ee8c> <auth chap MD5>]
sent [LCP ConfNak id=0x3 <auth pap>]
rcvd [LCP ConfReq id=0x5 <mru 2000> <asyncmap 0xa0000> <pcomp> <accomp>
<magic 0x85c5ee8c> <auth pap>]
sent [LCP ConfAck id=0x5 <mru 2000> <asyncmap 0xa0000> <pcomp> <accomp>
<magic 0x85c5ee8c> <auth pap>]
sent [LCP EchoReq id=0x0 magic=0x44d31e1f]
sent [PAP AuthReq id=0x1 user="clizia" password=<hidden>]
rcvd [LCP EchoRep id=0x0 magic=0x85c5ee8c]
rcvd [PAP AuthAck id=0x1 ""]
kernel does not support PPP filtering
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <compress VJ 0f 01> <ms-dns1
0.0.0.0> <ms-dns3 0.0.0.0>]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
rcvd [LCP ProtRej id=0x6 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <compress VJ 0f 01> <ms-dns1
0.0.0.0> <ms-dns3 0.0.0.0>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <compress VJ 0f 01> <ms-dns1
0.0.0.0> <ms-dns3 0.0.0.0>]
rcvd [IPCP ConfReq id=0x1 <addr 192.168.254.254>]
sent [IPCP ConfAck id=0x1 <addr 192.168.254.254>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <compress VJ 0f 01> <ms-dns1
0.0.0.0> <ms-dns3 0.0.0.0>]
rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 01>]
sent [IPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3
0.0.0.0>]
rcvd [IPCP ConfNak id=0x2 <addr 10.225.255.107> <ms-dns1 194.185.97.134>
<ms-dns3 194.185.97.134>]
sent [IPCP ConfReq id=0x3 <addr 10.225.255.107> <ms-dns1 194.185.97.134>
<ms-dns3 194.185.97.134>]
rcvd [IPCP ConfAck id=0x3 <addr 10.225.255.107> <ms-dns1 194.185.97.134>
<ms-dns3 194.185.97.134>]
Cannot determine ethernet address for proxy ARP
local IP address 10.225.255.107
remote IP address 192.168.254.254
primary DNS address 194.185.97.134
secondary DNS address 194.185.97.134
Script /etc/ppp/ip-up started (pid 389)
Script /etc/ppp/ip-up finished (pid 389), status = 0x0
sent [LCP EchoReq id=0x1 magic=0x44d31e1f]
rcvd [LCP EchoRep id=0x1 magic=0x85c5ee8c]

The irda part of "dmesg", even though probably it is not relevant for
the problem at hand:

irda_init()
Assertion failed! irtty.c:irtty_write_wakeup:705 self->magic ==
IRTTY_MAGIC
IrDA: Registered device irda0
irtty_net_open()
irlap_change_speed(), setting speed to 9600

The configuration files I use for the connection are available at this url:
http://www.nodewarrior.org/~falco/ac.../gprs.omni.tgz

Other users of the same provider told me that the remote ip address
should be in the 10.x.x.x family as the local one, when the connection
is healthy.
Why the remote ip 192.168.254.254 is assigned instead? Any suggestions?

Thanks a lot!
simone



Simone Brodi
Reply With Quote
Reply

Tags
gprs, route

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
Forum Jump


All times are GMT. The time now is 07:16 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.