NIS no longer

I recentely aquired an old B1000 workstation running HP-UX 11(I think) that was a member of a NIS domain. As such it now fails to find it's domain, that lab has been dismantled, this is however not a huge problem by it's self but what is a problem is that all of the libs and bins were stored in a central location which I don't have access to. I this point I can only boot into single user mode and use the binarys in /sbin as this and /etc were the only directories stored locally. Is there any place I can get the files needed to run a text editor so I can edit config files and get this system back in order. I have asked arround here at the university and no one seems to be able to help and I'd rather keep HP-UX on this box rather than installing Debian or some other flavor of Linux.

::EDIT::
This is not for personal use, it is for the lab I currently work in. The system is still owned by the university so I'm not asking to do anything illegal, I just don't want to pay $600+ for media to reinstall.
::/EDIT::

Thanks in advance.

-T

Go to single user mode and try:
mount /usr
mount /var
mount /tmp
and see what happens. Once they are mounted you should be able to run vi.

Ok, so I can get everything mounted but what exactly do I need to change to stop the system from trying to contact this non-existant domain?

This is what I'm getting when I try to boot the system normally...

   Start NIS+ server subsystem ......................................... OK
     Start NIS+ client subsystem ......................................... OK
     Start NIS server subsystem .......................................... OK
     Start NIS client subsystem .......................................... 06.07 17:06:54  hp10.ecn  pid=503    /usr/lib/netsvc/yp/ypbind
     ypbind will not use the servers list available in the file /var/yp/binding/<domain_name>/ypservers for binding purpose. 
Also if ypbind is invoked with -broadcast option, then -broadcast option is ignored.
06.07 17:06:54  hp10.ecn  pid=504    /usr/lib/netsvc/yp/ypbind
     ypbind -ypset: allowing ypset! (this is insecure)
06.07 17:09:39  hp10.ecn  pid=506    /usr/lib/netsvc/yp/ypbind
     NIS: server not responding for domain "hplab"; still trying

Sorry if these are stupid questions but I'm new to HP-UX and want to learn but at this point this box is worse than useless as a learning tool.

Thanks

-T

Here is something to try. Go back to single user mode and mount everything. Then run:
/etc/set_parms initial

This is the interactive script that is run immediately after an os install. It will ask you for all of the networking parameters. Hostname, ip address, netmask, default gateway, dns nameserver addresses, default domain. It will set up all of the network stuff for you. This should fix all of your network problems in one fell swope.

Well that gets me part way there. I was able to set host name, IP address etc but that script only allows changing parameters for NIS not removing the system as a client. I think this wouldn't be so dificult if I wasn't having to use the serial port and terminal emulation, I don't have a usb keyboard yet. Any way any other suggestions are welcome but I'm going to keep wading through these config files untill I find the right one.

Thanks

-T

I rather expected that to work, but I have never used NIS. If the standard HP startup scripts are in use, the file to edit is
/etc/rc.config.d/namesvrs
This file controls both NIS and NIS+. Don't let the name of the file mislead you. Not used by DNS. Look for both of these lines:
NISPLUS_CLIENT=
NIS_CLIENT=

Make sure that both are set to zero. That should do it. There should be no need to change anything else.

Check resolv.conf and nsswitch as well... make sure they are pointed at DNS.

Aaron

Ok, so I've been really swamped with shcoolwork so I'm just now getting back to this. I've resolved the NIS problem by renaming namesvrs to namesvrs.old and re-running set_parms initial. I did this because every time I start vi I get a message saying...

I don't know what kind of terminal you are on, assuming "unknown"

then it displays the file line by line as I press enter to scroll down, and when I try to change something it just won't. I'm in single user mode at this point if it makes a difference.

I'm also having several other problems preventing me from booting normally. there is a problem with SNMP and some sort of Software Distrobution Manager. I have no idea what this is.

-T

try one of:

stty vt05
or 
stty sane

usually in the .profile script there is an attempt to define a tty. Try editing that.