Monday, 26 November 2007

A traceroute problem...

As part of my hobby Wireless Leiden I am developing Node factory, which is basicly a bunch of shell script files bundled together to provide a stripped down version of FreeBSD. This could be used as wireless router or proxy machine. But when working I tend be a bit to enthusiastic in stripped files which result in pretty weird error messages,like

root@CNodeZwet:~# traceroute zwet
traceroute: unknown protocol (null)

The solution however is very simple, take a look at the lines
505: cp = "icmp";
506: pe = getprotobyname(cp);

getprotobyname call requires /etc/protocols to be present which I forgot ;-)

No comments:

Post a Comment