View previous topic :: View next topic |
Author |
Message |
mglauche Retired Dev
Joined: 25 Apr 2002 Posts: 564 Location: Germany
|
Posted: Thu Aug 01, 2002 12:39 pm Post subject: Can't PING !! (unknown protocol icmp) - SOLVED ! |
|
|
hi,
when i start ping (or tracerout, or any icmp protokol using program) i get:
# ping
ping: unknown protocol icmp.
??
But its getting worse, during compiling perl i now get during test:
lib/io_sock..........IO::Socket::INET: Bad protocol 'tcp' ...propagated at lib/io_sock.t line 37.
FAILED at test 1
But most programs still seem to work fine (like this mozilla 1.0, which i''m using to post), network seems to be ok, too. Any clues ?
Last edited by mglauche on Mon Aug 12, 2002 7:38 am; edited 1 time in total |
|
Back to top |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Thu Aug 01, 2002 12:53 pm Post subject: |
|
|
What does your /etc/protocols file look like? Sounds like it might be wacked out...
--kurt _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
|
mglauche Retired Dev
Joined: 25 Apr 2002 Posts: 564 Location: Germany
|
Posted: Thu Aug 01, 2002 12:55 pm Post subject: |
|
|
Code: |
ip 0 IP # internet protocol, pseudo protocol number
icmp 1 ICMP # internet control message protocol
igmp 2 IGMP # Internet Group Management
ggp 3 GGP # gateway-gateway protocol
ipencap 4 IP-ENCAP # IP encapsulated in IP (officially ``IP'')
st 5 ST # ST datagram mode
tcp 6 TCP # transmission control protocol
egp 8 EGP # exterior gateway protocol
pup 12 PUP # PARC universal packet protocol
udp 17 UDP # user datagram protocol
hmp 20 HMP # host monitoring protocol
xns-idp 22 XNS-IDP # Xerox NS IDP
rdp 27 RDP # "reliable datagram" protocol
iso-tp4 29 ISO-TP4 # ISO Transport Protocol class 4
xtp 36 XTP # Xpress Tranfer Protocol
ddp 37 DDP # Datagram Delivery Protocol
idpr-cmtp 38 IDPR-CMTP # IDPR Control Message Transport
ipv6 41 IPv6 # IPv6
ipv6-route 43 IPv6-Route # Routing Header for IPv6
ipv6-frag 44 IPv6-Frag # Fragment Header for IPv6
idrp 45 IDRP # Inter-Domain Routing Protocol
rsvp 46 RSVP # Reservation Protocol
gre 47 GRE # General Routing Encapsulation
esp 50 ESP # Encap Security Payload for IPv6
ah 51 AH # Authentication Header for IPv6
skip 57 SKIP # SKIP
ipv6-icmp 58 IPv6-ICMP # ICMP for IPv6
ipv6-nonxt 59 IPv6-NoNxt # No Next Header for IPv6
ipv6-opts 60 IPv6-Opts # Destination Options for IPv6
rspf 73 RSPF # Radio Shortest Path First.
vmtp 81 VMTP # Versatile Message Transport
ospf 89 OSPFIGP # Open Shortest Path First IGP
ipip 94 IPIP # IP-within-IP Encapsulation Protocol
encap 98 ENCAP # Yet Another IP encapsulation
pim 103 PIM # Protocol Independent Multicast
|
|
|
Back to top |
|
|
mglauche Retired Dev
Joined: 25 Apr 2002 Posts: 564 Location: Germany
|
Posted: Mon Aug 12, 2002 7:40 am Post subject: |
|
|
it was a wrongly configured nsswitch.conf after a "strace ping" i saw ldap requests for the protocol, which is obviously wrong
The reason was i did copy some nsswitch.conf for ldap auth from somewhere, and didn't look into it very deeply
but now i did remove the ldap settings from the network files, and everything works fine agian. even ldap auth |
|
Back to top |
|
|
|