Chapter 11. Managing Network Connections
Connecting to a network from a BSD system is often as easy as attaching your computer's network interface card to your ISP's hardware (such as a DSL or cable modem) and rebooting. However, if your network interface doesn't come up or requires some manual intervention, there are many commands available for configuring network interfaces, checking network connections, and setting up special routing.
This chapter covers many useful commands for configuring and working with your network interface cards (NICs), such as sysinstall
and ifconfig
. In particular, it covers ways of configuring wired Ethernet, wireless Ethernet, and modem network hardware. The chapter describes commands such as netstat
, dig
, and ping
for getting information about your network when your hardware is connected and network interfaces are in place.
Configuring Network Interfaces Using sysinstall
When you first install your FreeBSD system, the installer lets you configure any wired Ethernet cards attached to your computer, with the use of a DHCP server detected on your network. Alternatively, you can set a static IP address, along with your hostname and IP addresses for your gateway machine and ...
Get BSD Unix® Toolbox: 1000+ Commands for FreeBSD®, OpenBSD, and NetBSD® now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.