Hello all..
I have a slink box up and running pretty well with the exception of
dhcp. The purpose of this box is to act as a masquerader / gateway between
our lan and our cable modem.
I originally thought it might be a hardware problem, but I was able to
switch which NIC was configured for our lan without any problem. In the
process I found that I could make the error appear with eth0 or eth1. I
also upgraded to the potato version of dhcpcd, but that didn't help either.
I was able to find a bug listed with the Debian bug tracking system that
mentions this error. The author claims it is a problem with pcmcia and
ipmasq. However, this machine has no pcmcia devices or controller (not a
laptop). The solution given is to "recompile kernel without IP masq,"
which is not really an option for this machine. That bug can be found at:
http://www.debian.org/Bugs/db/36/36746.html
The only other thing I can think of is try to upgrade my kernel to 2.2.x,
but that brings in some other problems, and I am totally unsure if it will
work.
I really need some advice here. Any comments are welcome. Thanks.
Perhaps these logs can explain more:
Script started on Mon Sep 27 11:55:49 1999
[EMAIL PROTECTED]:~# uname -r
2.0.38
[EMAIL PROTECTED]:~# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1
RX packets:6 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
Collisions:0
eth1 Link encap:Ethernet HWaddr 00:A0:24:0C:E1:4F
inet addr:192.168.0.103 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:18 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
Collisions:0
Interrupt:11 Base address:0x210
[EMAIL PROTECTED]:~# ifconfig -a
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1
RX packets:6 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
Collisions:0
eth0 Link encap:Ethernet HWaddr 00:40:05:1E:93:93
inet addr:0.0.0.0 Bcast:0.0.0.0 Mask:0.0.0.0
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
Collisions:0
Interrupt:9 Base address:0x240
eth1 Link encap:Ethernet HWaddr 00:A0:24:0C:E1:4F
inet addr:192.168.0.103 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:18 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
Collisions:0
Interrupt:11 Base address:0x210
[EMAIL PROTECTED]:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 1 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 1 lo
0.0.0.0 192.168.0.3 0.0.0.0 UG 1 0 4 eth1
[EMAIL PROTECTED]:~# cat /etc/dhcpc/config
# List here the interface that the dhcpcd daemon should use.
# The default is to assign an IP address to eth0.
# If you want to disable the daemon, enter "none" here.
#IFACE=eth1
IFACE=none
#IFACE=eth0
[EMAIL PROTECTED]:~# which dhcpcd
/usr/sbin/dhcpcd
[EMAIL PROTECTED]:~# dpkg -s dhcpcd
Package: dhcpcd
Status: install ok installed
Priority: optional
Section: net
Installed-Size: 92
Maintainer: Steve Dunham <[EMAIL PROTECTED]>
Version: 1:1.3.17pl2-1
Replaces: dhcpcd-sv
Depends: libc6
Conflicts: dhcpcd-sv
Conffiles:
/etc/init.d/dhcpcd 104011682dfe1f96c6dba2023919c5c5
Description: DHCP client for automatically configuring IPv4 networking
This package contains both the 0.70 and 1.3.x version of dhcpcd and
should work with any Linux kernel.
[EMAIL PROTECTED]:~# ls -l /usr/sbin/dh*
-rwxr-xr-x 1 root root 25204 Jan 23 1999 /usr/sbin/dhcpcd*
-rwxr-xr-x 1 root root 21124 Jan 23 1999 /usr/sbin/dhcpcd-sv*
[EMAIL PROTECTED]:~# md5sum /usr/sbin/dhcpcd
b951619d123e5bf8286f77812e2318e1 /usr/sbin/dhcpcd
[EMAIL PROTECTED]:~# dhcpcd -d eth0
sendto (init): Operation not permitted
[EMAIL PROTECTED]:~# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1
RX packets:6 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
Collisions:0
eth0 Link encap:Ethernet HWaddr 00:40:05:1E:93:93
inet addr:0.0.0.0 Bcast:255.255.255.255 Mask:0.0.0.0
UP BROADCAST NOTRAILERS RUNNING MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
Collisions:0
Interrupt:9 Base address:0x240
eth1 Link encap:Ethernet HWaddr 00:A0:24:0C:E1:4F
inet addr:192.168.0.103 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:34 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
Collisions:0
Interrupt:11 Base address:0x210
[EMAIL PROTECTED]:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
255.255.255.255 0.0.0.0 255.255.255.255 U 0 0 1 eth0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 1 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 1 lo
0.0.0.0 192.168.0.3 0.0.0.0 UG 1 0 4 eth1
[EMAIL PROTECTED]:~# dmesg | grep eth
NE*000 ethercard probe at 0x240: 00 40 05 1e 93 93
eth0: NE2000 found at 0x240, using IRQ 9.
eth1: 3c509 at 0x210 tag 1, 10baseT port, address 00 a0 24 0c e1 4f, IRQ 11.
[EMAIL PROTECTED]:~# exit
exit
Script done on Mon Sep 27 12:00:40 1999