DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

Cover image for NetBSD basic internet configuration
Efe Ertugrul
Efe Ertugrul

Posted on • Originally published at efeertugrul.com

NetBSD basic internet configuration

Summary

In this part i'll show you how to enable NetBSD dhcp daemon for internet connection. Most of the time there is already a dhcp service in your network (your router, virtualbox). So there is no need for manual ip configuration.

If you need to set manual ip configuration for your network or enabling dhcp daemon did not work for you, please visit this website for more information: Setting up TCP/IP on NetBSD in practice


Instructions

1- Start and login to your system.

netbsd-dhcp-001

2- Switch to root user with su command.

netbsd-dhcp-002

3-Open /etc/rc.conf configuration file with vi program.

netbsd-dhcp-003

4- At the end of the file, add dhcpcd=YES configuration and save the file.

netbsd-dhcp-004

5- Restart your system with shutdown -r now command.

netbsd-dhcp-005

netbsd-dhcp-006

6- When your system starts again login and try to ping google with command ping google.com . If you are getting any response, you're connected to internet.

netbsd-dhcp-007

Top comments (0)

🌱 DEV runs on 100% open source code known as Forem.

Β 
Contribute to the codebase or learn how to host your own.