Mailing List Archive

Support open source code!


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

tlug: networking woes



Hi everyone

So, I insert my pc network card for the first time since I upgraded
my kernel (2.2.14) and various other parts of the OS, and lo and
behold, looks like my own network needs to be reconfigured. This is
kind of a stumper, though, since I don't recall having changed any
settings, and everything *used* to work.

Here's the situation:

1) John inserts pc card.  

2) John pings, telnets into and opens an ftp session to the other
machines (er, "machine." i don't plug my old laptop in very often...)
on my network with nary a problem.

3) John tries to connect to his local isp using ppp to send an email
message to tlug. Only, oops....John can't use ppp anymore. (Well,
actually, I can establish a connection just fine. It's just that
routing through my isp's nameserver no longer works) Removing the
card doesn't help at all.

4) John reboots out of laziness (faster than trying to diagnose the
problem, and besides, I want to send my email) and everything works
fine again.

----------------------------------------------------------------------------
/sbin/ifconfig and /sbin/route before inserting the card:

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:3924  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 

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface


----------------------------------------------------------------------------
/sbin/ifconfig and /sbin/route after inserting the card:

eth0      Link encap:Ethernet  HWaddr 00:90:99:0A:EA:DE  
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:98 errors:0 dropped:0 overruns:0 frame:0
          TX packets:100 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          Interrupt:9 Base address:0x300 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:3924  Metric:1
          RX packets:7538 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7538 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 


Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
localnet        *               255.255.255.0   U     0      0        0 eth0
default         localhost       0.0.0.0         UG    1      0        0 lo

----------------------------------------------------------------------------
...and again, after starting my ppp daemon


eth0      Link encap:Ethernet  HWaddr 00:90:99:0A:EA:DE  
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:98 errors:0 dropped:0 overruns:0 frame:0
          TX packets:100 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          Interrupt:9 Base address:0x300 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:3924  Metric:1
          RX packets:7540 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7540 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 

ppp0      Link encap:Point-to-Point Protocol  
          inet addr:210.175.27.69  P-t-P:210.175.27.15  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1524  Metric:1
          RX packets:11 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:10 


Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
210.175.27.15   *               255.255.255.255 UH    0      0        0 ppp0
localnet        *               255.255.255.0   U     0      0        0 eth0
default         localhost       0.0.0.0         UG    1      0        0 lo

----------------------------------------------------------------------------

I suspect that what's happening here is some script somewhere (likely
/etc/pcmcia/network.opts) is setting my defaultroute to be localhost
after I insert the card. There's a variable in the script

GATEWAY="127.0.0.1"

that appears to be responsible this behavior. If I comment it out, I
can use ppp, but I can't use my local network. But, if it's there,
when i establish a ppp connection, my isp's nameserver is not the
default route. Arrgh.

Can anybody tell me what I'm doing wrong?

john


-- 
jseebach@example.com
--
      Ah! Ancient forest!
Afternoon breeze shifts slightly:
       Idling tour buses
--------------------------------------------------------------------
Next Technical Meeting: March 11 (Sat) 13:00 Temple University Japan
* Topic: "What's new in Perl 5.6"
Guest speaker: Simon Cozens (TLUG Perl guru)
Next Nomikai Meeting:   April 21 (Fri) 19:00 Tengu TokyoEkiMae
--------------------------------------------------------------------
more info: http://www.tlug.gr.jp        Sponsor: Global Online Japan

Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links