Subject: Re: semi-newbie question-nic,cdrom
To: c f ainsworth III <netbsd@optonline.net>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-i386
Date: 01/15/2003 22:00:02
On Mon, Jan 13, 2003 at 08:57:58PM -0500, c f ainsworth III wrote:
> Its been a while since I have the any of the bsd's so go easy :) I have a 
> lot of seti machines and although its ending soon I want to convert all of 
> my machines over to NetBSD...............
> 
> I recently purchased the Wasabi 6cd set and the install went ok. Config'd X 
> OK.
> 
> Here's the problem. I've done netbsd ftp installs and everything went well. 
> I never gave the nic another thought. So I have no idea how to config one. 
> In freebsd I used sysinst....and it config'd  easy enough. I tried sushi 
> and I really have no idea what I am looking to do under networking. 
> Although changing the hostname went fine. I cannot ping anything on my 
> network here so I am assuming I am missing something fairly obvious.

First clean up thinks that may be in /etc/rc.conf (sysinst usually puts
IP address and default route here).
Look at the output of 'ifconfig -a' and 'dmesg' to find the name of your
ethernet adapter. Assume it's ne0, for example.
Then create a /etc/ifconfig.ne0 file, with the IP and netmask for your
machine, for example:
rochebonne# cat /etc/ifconfig.ne0 
inet 10.0.0.1 netmask 255.255.255.0

If you have a default gateway, put its address in /etc/mygate
Then:
/etc/rc.d/network restart
should give you a working network.

> 
> Also after my install I tried mounting my cdrom.....
> 
> # mount -r -t cd9660 /dev/cd0a /mnt
> 
> I get "no disk label", in fact I got it on 3cds..... so again I am missing 
> something obvious. I can hear it spin up, unmount it and eject it with no 
> problems.

Ignore this message, I think it shouldn't be there for CDs.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 23 ans d'experience feront toujours la difference
--