From: cshorter@st.nepean.uws.edu.au (Colin Shorter) Subject: Re: Net-2 set up Date: Wed, 16 Jun 1993 00:59:40 GMT
Brian Olsen (bolsen@cs.umr.edu) wrote:
: Well, I finally decided to take the plunge and set up pl10 and net-2
: with net-010 pacakge on my linux box at work. I took a lot of the
: advice on here that was posted but I still have some very key problems
: and at the moment I can't even get through a boot.
: Ok...here comes the questions:
: 1. I edited the file /etc/HOSTNAME and put my machine name in there
: /etc/HOSNAME:
: dowland
: I put the hostname -vS comman at the top of my /etc/rc.local and it
: continally gives me an error "unknown host dowland" or something along
: those lines. Also when I type:
: /bin/hostname -vS dowland
: on the command line I get the same error.
I too get this same error. I did find that I could set the hostname to a
numeric. e.g. the following work: /bin/hostname -vS 0
/bin/hostname -vs 192.0.2.128
with all the conf-files put together from my old /etc/inet set-up, nslookup
recognises the hostname (burrow) correctly from the config files. I can
telnet/ftp (or at least get a connection which appears to be working) to the
numeric address only.
I do not know if it is relevant, but when I tried to recompile /bin/hostname
gcc gave errors to the effect of sethostname and gethostname were implicitly
declared or some such. Why isnt /bin/hostname taking a character-string
hostname? The other config files aren't to blame because /bin/hostname is
invoked before any daemons.
Help!
Col
/* ,.,. .........................................................
** / / \ : Colin Shorter (Colin on IRC) | :
** / / /\ \ : Student, IRC Administrator | Dept. of Computing :
** / / /\ \ \ :-------------------------------| Uni of Western Sydney :
** / / /__\ \ \ :{cshorter@st.nepean.uws.edu.au}| Nepean :
** / '------` \ \ : finger for PGP public key | :
** `-----------`' `-------------------------------^----------------------*/