Re: pppd gateway/software suspend
Hi there
On Mon, 22 Mar 2004, Daniel Pittman wrote:
>
> Two other things that may be helpful: if you post the routing table
> *before* you dial out with ppp,
all right, that's the whole story:
I start from
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
127.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 127.0.0.1 0.0.0.0 UG 0 0 0 lo
then I bring down eth0 by doing "ifconfig eth0 down"
and that's what I get with route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
then I dial out, using wvdial and when pppd connection comes up I get:
--> Carrier detected. Waiting for prompt.
--> Don't know what to do! Starting pppd and hoping for the best.
--> Starting pppd at Mon Mar 22 15:13:25 2004
--> pid of pppd: 845
--> Using interface ppp0
--> local IP address 10.216.196.92
--> remote IP address 192.168.100.101
--> primary DNS address 194.185.97.134
--> secondary DNS address 194.185.97.134
and the route table is
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.100.101 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
0.0.0.0 127.0.0.1 0.0.0.0 UG 0 0 0 lo
I can't ping anybody but myself and the gateway.
The I add the default gateway by hand and get
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.100.101 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
0.0.0.0 192.168.100.101 0.0.0.0 UG 0 0 0 ppp0
0.0.0.0 127.0.0.1 0.0.0.0 UG 0 0 0 lo
now I'm up and running, like now.
In fact, it might be useful to say, that I think I started getting these
sort of problems after I installed and configured netenv, which I did
because I move around in different network situations. This particular
problem is now on my gprs connection, but I have it also on a normal ppp
session with a normal isp through thelephone (I think). I don't know if
there maybe any problem with netenv.
When I'm not in the office, or in any network environment, I usually run
netenv in such a way that my /etc/network/interfaces is just
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
# automatically added when upgrading
auto lo
iface lo inet loopback
so I configure pretty nothing but myself, I think, so I shouldn't have any
default gateway conflicting with the new one anyway, and my route table
says so. Anyway, that's the whole story....puzzleing?
> and the output of running the same pppd
> command, but with 'nodetatch' and 'debug' turned on.
Hmmm...that I don't know how to do....I bring pppd up with wvdial, and my
/etc/ppp/peers/wvdial file is just
noauth
name wvdial
usepeerdns
defaultroute
I added the defaultroute by hand, but I don't know if that's any
use....I'm really not a ppp expert and every time I try to bring up pppd
with pon or with pppd call ... I seem to get nothing. That's why I like
wvdial....bad?
If anybody has any idea....
thanks a lot
Alessandro
Reply to: