Monday 16 September 2013

gentoo: install ethernet card driver

after installing gentoo, i found it automatically recognize my ethernet card, but the driver is not properly installed (the module is loaded in default)
mybox Desktop # lspci -k
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter (rev 01)
        Subsystem: Realtek Semiconductor Co., Ltd. Device 8182
        Kernel driver in use: rtl8192ce
        Kernel modules: rtl8192ce
06:00.0 Ethernet controller: Qualcomm Atheros AR8152 v2.0 Fast Ethernet (rev c1)
        Subsystem: Toshiba America Info Systems Device ff1e
note there is no modules list on the AR8152.
apparently the kernel should provide the driver for Ethernet card, so I should not try to look for drivers. from ubuntu, i found the module is called atl1c. then I tried to find it in the kernel menuconfig:
# cd /etc/usr/linux
# make menuconfig

then i found it at Device Drivers -> Network device support -> Ethernet driver support -> Atheros device (simplely choose all of them)
now remake the kernel module , install and load the module:
# make modules_install
# modeprobe atl1c

enjoy!

No comments:

Post a Comment