if you want to know what kernel module your network interfaces use, you can use “getdriver.ksh”:
#!/bin/bash
ifconfig -a | egrep -i 'wlan|eth' | egrep -v 'vbox|mon'| awk '{ print $1 }'|while read i;do
echo -n "$i : "
readlink /sys/class/net/$i/device/driver| awk -F'/' '{ print $NF }'
done
the output is something like this:
root@kraftek:~# /scripts/getdriver
eth0 : atl1c
wlan0 : carl9170
wlan1 : brcmsmac