Re: ping: "Operation not permitted"
It sure does. What's the output of '/sbin/ifconfig eth0'?
Kevin Traas wrote:
> I'm doing this as root. Does that make a difference?
>
> Later,
> Kevin
>
> On Mon, 18 May 1998, Jens B. Jorgensen wrote:
>
> > Sounds like more setuid trouble. To send an ICMP packet (ping uses the ICMP
> > ECHO-REQUEST) you need a "raw" socket. Only root can create a raw socket. For
> > this reason ping must be setuid root. Make sure that it is.
> >
> > Kevin Traas wrote:
> >
> > > I've just installed a new box running Debian 2.0 (hamm) and I'm having a
> > > slight problem. I can't get it working properly on the network (this is
> > > my fourth hamm install and all others are fine...).
> > >
> > > For some reason, packets are not going out eth0.
> > >
> > > ifconfig reports interface as normal and expected.
> > >
> > > ping reports: (to a remote interface)
> > >
> > > nics# ping 192.168.1.1
> > > PING 192.168.1.1 (192.168.1.1): 56 data bytes
> > > ping: sendto: Operation not permitted
> > > ping: wrote 192.168.1.1 64 chars, ret=-1
> > > .....
> > >
> > > route -n reports:
> > >
> > > Destination Gateway Mask Flags Metric Ref Interface
> > > 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 eth0
> > > 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 lo
> > > 0.0.0.0 192.168.1.1 0.0.0.0 UG 1 0 eth0
> > >
> > > This looks normal too.
> > >
> > > I don't have any "strange" daemons running. It's a pretty basic
> > > box/config. No IP Masq, etc. `dmesg' doesn't show any problems.
> > > Neither do syslog, messages, etc.
> > >
> > > Any ideas?
> > >
> > > Regards,
> > > Kevin Traas
> > >
> > > --
> > > To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> > > with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> >
> >
> >
> > --
> > Jens B. Jorgensen
> > jjorgens@bdsinc.com
> >
> >
> >
> >
--
Jens B. Jorgensen
jjorgens@bdsinc.com
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: