*BSD News Article 63524


Return to BSD News archive

Newsgroups: comp.unix.bsd.netbsd.misc
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!news.eng.convex.com!newsrelay.netins.net!news.dacom.co.kr!usenet.seri.re.kr!news.cais.net!news.jsums.edu!gatech!news.mathworks.com!tank.news.pipex.net!pipex!peer-news.britain.eu.net!newsfeed.ed.ac.uk!dcs.ed.ac.uk!not-for-mail
From: st@epcc.ed.ac.uk (Scott Telford)
Subject: Re: Network Setup
X-Nntp-Posting-Host: amber.epcc.ed.ac.uk
Message-ID: <Do7LAt.BnD.0.staffin.dcs.ed.ac.uk@dcs.ed.ac.uk>
Sender: cnews@dcs.ed.ac.uk (UseNet News Admin)
Organization: Edinburgh Parallel Computing Centre, University of Edinburgh, UK.
X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]
References: <4i1i2u$4kd@roadkill.scms.rgu.ac.uk>
Date: Wed, 13 Mar 1996 13:54:28 GMT
Lines: 66

In article <4i1i2u$4kd@roadkill.scms.rgu.ac.uk>, John Eddie (cs4je@scms.rgu.ac.uk) wrote:
>  have just installed NetBSD 1.1 on my PC, the problem I have is that 
> although I appear to have installed it fine, I have little information
> on how to recompile the kernel for my machine connect it to the internet,
> configure the system genreally and do some stuff that I know I can but have
> no instructions on how to like set up a proxy server for my home network?
> 
> Casn anyone point me in the right direction for information on running the
> system.

Have a look at the "Installing and Operating 4.4BSD" paper in
/usr/share/doc/smm/01.setup/. Note that this deals with 4.4BSD, not
NetBSD, but it's broadly relevant. Some of the other stuff in
/usr/share/doc/smm may be useful too.

Recompiling the kernel:

- go into /sys/arch/<arch>/conf, copy one of the existing kernel
config files (usually with UPPERCASE filenames) to a new name and edit
it to taste.

- run "config <my-config-file>"

- do "cd  ../compile/<my-config-file>" and then "make depend"

- do "make"

- wait a while...

- copy "netbsd" to the root directory, saving the old kernel if desired.


Configuring for the Internet (or any full-time TCP/IP network):

- Setup your IP address and network interfaces: edit /etc/myname (like
/etc/hostname* on other systems),  /etc/hostname.<interface-name> (see
/etc/netstart comments for format).

- Setup general IP stuff: edit /etc/hosts, /etc/networks, /etc/mygate
(default router) if necessary.

- Setup DNS if desired: edit /etc/resolv.conf - see resolv.conf(5)
manpage.

- Setup network services: edit /etc/netstart - see comments therein.

- Setup mail: edit /etc/sendmail.cf if necessary.

- Setup NIS if desired: edit /etc/defaultdomain, turn on NIS in
/etc/netstart.

- Other thing that may need configuring: network printers
(/etc/printcap), amd-mounted NFS filesystems (/etc/amd/master),
incoming FTP access (/etc/ftpusers), enable/disable specific IP
services (/etc/inetd.conf) ...

> What are the X windows options I have Xfree on cartridge are there any 
> others? I m not gonna install till I get the main NetBSD going properly.

Well, there's XFree86, and there's a commercial package (XInside's
Accelerated-X?) and that's about it....

-- 
Scott Telford, Edinburgh Parallel Computing Centre,        <s.telford@ed.ac.uk>
University of Edinburgh, Mayfield Rd, Edinburgh, EH9 3JZ, UK.(+44 131 650 5978)
 "Is it a virus, a drug, or a religion?" "What's the difference?" (Snow Crash)