Re: ping: Operation not permitted

1998-05-19 Thread Kevin Traas

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 MaskFlags   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 [EMAIL PROTECTED]
  with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 
 
 --
 Jens B. Jorgensen
 [EMAIL PROTECTED]
 
 
 
 


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: ping: Operation not permitted

1998-05-19 Thread Curtis' test dude
Is your ethernet 0's IP 192.168.1.1?  If so, you have a default gateway of
yourself... I don't thing that will work?

Curtis

***
Check out my virtual apache and sendmail setup / Anti Spam stuff too!
http://www.blkspider.com
[EMAIL PROTECTED] [EMAIL PROTECTED][EMAIL PROTECTED]
[EMAIL PROTECTED] [EMAIL PROTECTED]
***

On Mon, 18 May 1998, 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 MaskFlags   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 from this list: send the line unsubscribe linux-net in
 the body of a message to [EMAIL PROTECTED]
 


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: ping: Operation not permitted

1998-05-19 Thread Jens B. Jorgensen
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 MaskFlags   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 [EMAIL PROTECTED]
   with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 
 
  --
  Jens B. Jorgensen
  [EMAIL PROTECTED]
 
 
 
 



--
Jens B. Jorgensen
[EMAIL PROTECTED]



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: ping: Operation not permitted

1998-05-19 Thread Dave Wreski
  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...).

  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

Make sure you don't accidentally have firewall rules preventing ping's.

Dave


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: ping: Operation not permitted

1998-05-19 Thread Jason Gunthorpe

On Tue, 19 May 1998, Dave Wreski 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...).
 
   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
 
 Make sure you don't accidentally have firewall rules preventing ping's.

Ping is probably not setuid - it needs to be in order to open the raw
socket.

Jason


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: ping: Operation not permitted

1998-05-19 Thread Juergen Nickelsen
At 15:15 18.05.98 -0700, Kevin Traas wrote:

[ping: Operation not permitted]
I'm doing this as root.  Does that make a difference?

Your ping program is not by accident setuid to some other ID than root? I
had that with some other program just yesterday. Made me tear my hair out
-- and I haven't too much left to begin with.

Greetings, Juergen.

-- 
Juergen Nickelsen  [EMAIL PROTECTED]
Tellique Kommunikationstechnik GmbH
Gustav-Meyer-Allee 25, 13355 Berlin, Germany
Tel. +49 30 46307-552   Fax +49 30 46307-579


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: ping: Operation not permitted

1998-05-18 Thread Jens B. Jorgensen
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 MaskFlags   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 [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



--
Jens B. Jorgensen
[EMAIL PROTECTED]



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]