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

installed new kernel, but lost internal network



Hi,

I am doing masquarading using my Debian machine running Sarge. Earlier I was running the default kernel that comes with Woody (2.4.18-bf14 or something). Today I upgraded to the new kernel: /var/log# apt-get -u install kernel-image-2.4.22-1-686 kernel-doc-2.4.22 kernel-headers-2.4.22-1 kernel-pcmcia-modules-2.4.22-1-686 pcmcia-cs hotplug usbutils fxload hotplug-utils


And after this, I lost one of the NICs. I have two NICs, one is 192.168.0.1 connected to the ADSL moden, and the other is 192.168.0.2 connected to the internal LAN. So when I booted into the new kernel, the second NIC RLT8139 was not detected. But when I did pppoeconf, it listed only 1 NIC and asked if I had more which were not detected. I said Yes, and it hen allowed me to install the module for the RLT NIC. And after that it reported 2 NICs fine.

So after configuring ppp0, I could browse the net, but my internal LAN machine can't. I can't even ping that machine. I am running the same iptables rules as before. Here is what I get:
/var/log# ping 192.168.0.10
PING 192.168.0.10 (192.168.0.10): 56 data bytes
ping: sendto: Operation not permitted
ping: wrote 192.168.0.10 64 chars, ret=-1
ping: sendto: Operation not permitted
ping: wrote 192.168.0.10 64 chars, ret=-1

--- 192.168.0.10 ping statistics ---
2 packets transmitted, 0 packets received, 100% packet loss


I get this evenif I do "/etc/initd/iptables clear".



Here is my interfaces file:
/etc/network# more interfaces
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
auto lo
iface lo inet loopback

# The first network card - this entry was created during the Debian installatio
n
# (network, broadcast and gateway are optional)
auto eth0
iface eth0 inet static
        address 192.168.0.1
        netmask 255.255.255.0
        network 192.168.0.0
        broadcast 192.168.0.255
        #gateway 192.168.0.0
auto eth1
iface eth1 inet static
        address 192.168.0.2
        netmask 255.255.255.0
        network 192.168.0.0
        broadcast 192.168.0.255
        #gateway 192.168.0.2


Any idea what could have gone wrong during installation of thsi new kernel? More information is below.

Thanks,
->HS


/var/log# route -n
Kernel IP routing table
Destination  Gateway    Genmask         Flags Metric Ref    Use Iface
65.94.50.1   0.0.0.0    255.255.255.255 UH    0      0        0 ppp0
192.168.0.0  0.0.0.0    255.255.255.0   U     0      0        0 eth0
192.168.0.0  0.0.0.0    255.255.255.0   U     0      0        0 eth1
0.0.0.0      65.94.50.1 0.0.0.0         UG    0      0        0 ppp0



/var/log# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:04:75:8A:D6:DF
          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5932 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2601 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:1995603 (1.9 MiB)  TX bytes:324216 (316.6 KiB)
          Interrupt:9 Base address:0xd800

eth1      Link encap:Ethernet  HWaddr 00:50:BA:50:03:87
          inet addr:192.168.0.2  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:272 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:19882 (19.4 KiB)  TX bytes:0 (0.0 b)
          Interrupt:9 Base address:0xd000

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:117 errors:0 dropped:0 overruns:0 frame:0
          TX packets:117 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:9793 (9.5 KiB)  TX bytes:9793 (9.5 KiB)

ppp0      Link encap:Point-to-Point Protocol
          inet addr:65.94.50.150  P-t-P:65.94.50.1  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:668 errors:0 dropped:0 overruns:0 frame:0
          TX packets:501 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:391058 (381.8 KiB)  TX bytes:57560 (56.2 KiB)



/var/log# lspci
00:00.0 Host bridge: Intel Corp. 82845 845 (Brookdale) Chipset Host Bridge (rev 03) 00:01.0 PCI bridge: Intel Corp. 82845 845 (Brookdale) Chipset AGP Bridge (rev 03)
00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB/EB PCI Bridge (rev 12)
00:1f.0 ISA bridge: Intel Corp. 82801BA ISA Bridge (LPC) (rev 12)
00:1f.1 IDE interface: Intel Corp. 82801BA IDE U100 (rev 12)
00:1f.2 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #1) (rev 12)
00:1f.4 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #2) (rev 12)
01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev b2) 02:0a.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78)
02:0b.0 Ethernet controller: D-Link System Inc RTL8139 Ethernet (rev 10)
02:0c.0 Multimedia audio controller: Ensoniq 5880 AudioPCI (rev 02)




--
(Remove all underscores,_if any_, from my email address to get the correct one. Apologies for the inconvenience, but this is to reduce spam.)




Reply to: