[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: pppd gateway/software suspend

On Mon, 22 Mar 2004, Derek Broughton wrote:

> Surely that's plain wrong. isn't your gateway - either with 
> eth0 or ppp0.

....not my fault....I think

> If you have _any_ gateway set, pppd won't set a defaultroute, even if 
> the gateway is not on the ppp0 interface.  According to your 
> description, there isn't a default route set on "lo" either, when you 
> start pppd, but I don't know why not - taking down eth0 won't remove the 
> route entry for lo.

Now, in fact, it's even funnier than this. After I disconnected gprs 
connection, just a few minutes ago, I restarted net by running netenv to 
change all the settings again. Now my /etc/network/interfaces is 

# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
# automatically added when upgrading
auto lo
iface lo inet loopback
# automatically added when upgrading
auto eth0
iface eth0 inet static

so, I believe, I should have the lo on again, but when I do route -n I get 

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use 
Iface   U     0      0        0 eth0         UG    0      0        0 eth0

and I seem to get only to my domain, not outside. 
Ifconfig says

eth0      Link encap:Ethernet  HWaddr 00:08:02:02:AC:9F
          inet addr:  Bcast:  Mask:
          RX packets:1341 errors:0 dropped:0 overruns:0 frame:0
          TX packets:258 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:131282 (128.2 KiB)  TX bytes:31650 (30.9 KiB)
          Interrupt:11 Base address:0xc000
lo        Link encap:Local Loopback
          inet addr:  Mask:
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:75 errors:0 dropped:0 overruns:0 frame:0
          TX packets:75 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:16968 (16.5 KiB)  TX bytes:16968 (16.5 KiB)

so, both eth0 and lo are actually up, but lo has disappeared in the route 
table. And although the gateway and dns (resolv.conf is ok) are on the 
right values, I get just as far as my work group....I'm getting 
confused....what am I doing wrong?

Reply to: