NetBSD 3.0.1 mini HOWTO part1

I believe installing process is not that difficult. Same as installing other *bsd. Anyway you might notice that sometimes eventho using the network configuration menu after installation, ur network didn’t start. Here’s what u can do.
Basically netbsd will reads from /etc/ifconfig.xxx where xxx = ur nic., /etc/mygate for ur default gw (unless u like to use route command) and of cause the /etc/myname for ur hostname. All those files need to be created by ur own.
In /etc/ifconfig.xxx u shud put:
Inet (your IP) netmask (your netmask)
e.g : inet 10.1.2.29 netmask 255.255.0.0
for aliasing u just “alias” at the end of ur netmask.
e.g: inet 10.1.2.29 netmask 255.255.0.0
inet 192.168.1.29 netmask 255.255.255.0 alias
for IPv6:
inet6 fec0::1 prefixlen 64 alias
In your /etc/mygate, just put your gw address. As for /etc/myname, just put ur hostname la. Kamon la )
For those who’s too lazy to create those files, just write those configuration into /etc/rc.conf
Ifconfig_xx(ur nic)=”inet 10.1.2.29 netmask 255.255.0.0”
hostname=myhost.host.com
defaultroute=your gw ip here
sshd=YES (to start sshd)
anyway you can start any services u want at boot time by adding the services in /etc/rc.conf. you can refer to /etc/default/rc.conf
|