I have installed FreeBSD 8.x on my Laptop with Windows 7 in dual boot mode. But I’m unable to connect to the LAN or Internet using Atheros AR8132 card. How do I configure this card under FreeBSD?

The alc device driver comes with FreeBSD 8.x and above provides support for Atheros AR8131 PCI Express Gigabit Ethernet controllers and Atheros AR8132 PCI Express Fast Ethernet LAN cards. To configure the card edit /boot/loader.conf, enter:
# vi /boot/loader.conf
Append the following entry to load driver:


Save and close the file. You can now reboot the system or type the following command to load it for the current session:
# kldload alc
Run ifconfig to verify that you can see alc0 interface. If not than you need to compile this driver into the kernel, place the following lines in your kernel configuration file:

	   device miibus
	   device alc

See how to compile FreeBSD kernel for more info.

Network Configuration

Now, you can use your GUI tools or ifconfig command to assign IP address:

# ifconfig
# ifconfig alc0 inet YOUR-IP-HERE netmask YOUR-NETMASK-HERE
# ifconfig alc0 inet netmask
# route add default
# ifconfig
# ping

You need to add config to /etc/rc.conf:
ifconfig_alc0="inet netmask"

Finally, edit /etc/resolv.conf and add your DNS name servers:
# vi /etc/resolv.conf
Edit as follows:

Save and close the file. Reboot to make sure that everything is working for you.

🐧 Get the latest tutorials on Linux, Open Source & DevOps via RSS feed or Weekly email newsletter.

🐧 0 comments... add one

CategoryList of Unix and Linux commands
Disk space analyzersdf ncdu pydf
File Managementcat cp mkdir tree
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network UtilitiesNetHogs dig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04
0 comments… add one

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre> for code samples. Still have questions? Post it on our forum