FreeBSD: Atheros AR8131 / AR8132 Gigabit Fast Ethernet Driver Configuration

The Atheros AR8131 and AR8132 Gigabit Fast Ethernet controllers are supported in FreeBSD by the “alc” driver. The driver is included in the base system and should be automatically loaded when the device is detected.

To configure the network interface, you will need to create a network configuration file in “/etc/rc.conf” or in a separate file in “/etc/rc.d”. The file should contain the following lines, replacing “em0” with the actual name of your network interface:

ifconfig_em0="inet [IP address] netmask [netmask]"
defaultrouter="[default gateway IP]"

If you want to use DHCP to automatically configure the network interface, use the following line instead:

ifconfig_em0="DHCP"

After you have made the necessary changes to the network configuration file, restart the network service with the following command:

# service netif restart

You can verify that the network interface has been configured correctly by using the “ifconfig” command:

# ifconfig em0

This should show the details of the network interface, including its IP address, netmask, and other information.

(https://www.kbic.com)

Leave a Comment