Re: dhcpcd error "sendto (init): Operation not permitted"
Chris -- try giving eth0 an IP address. I *think* that *may* have helped me.
Also, replace dhcpcd with dhcp-client-beta. See what that does. :) Try that
one first. :)
On Mon, Sep 27, 1999 at 12:33:06PM -0400, Chris Ruvolo wrote:
> 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
>
> root@thebox:~# uname -r
>
> 2.0.38
>
> root@thebox:~# 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
>
> root@thebox:~# 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
>
> root@thebox:~# 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
>
> root@thebox:~# 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
>
> root@thebox:~# which dhcpcd
>
> /usr/sbin/dhcpcd
>
> root@thebox:~# dpkg -s dhcpcd
>
> Package: dhcpcd
> Status: install ok installed
> Priority: optional
> Section: net
> Installed-Size: 92
> Maintainer: Steve Dunham <dunham@debian.org>
> 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.
>
> root@thebox:~# 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*
>
> root@thebox:~# md5sum /usr/sbin/dhcpcd
>
> b951619d123e5bf8286f77812e2318e1 /usr/sbin/dhcpcd
>
> root@thebox:~# dhcpcd -d eth0
>
> sendto (init): Operation not permitted
>
> root@thebox:~# 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
>
> root@thebox:~# 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
>
> root@thebox:~# 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.
>
> root@thebox:~# exit
>
> exit
> Script done on Mon Sep 27 12:00:40 1999
>
>
> --
> Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
--
Seth Arnold | http://www.willamette.edu/~sarnold/
Hate spam? See http://maps.vix.com/rbl/ for help
Hi! I'm a .signature virus! Copy me into
your ~/.signature to help me spread!
Reply to: