i'm not quite sure what your problem is. but it looks like myipaddr() is bombing out. you don't even seem to have a loopback address configured.
what does "ns | grep /net" give you? you should have at least this: bind /net /net bind -a '#l' /net bind -a '#I' /net mount -a '#s/cs' /net (assuming you have an ethernet card. ;-)) - erik
