I'm not sure if I should post this here or to madwifi. I post it here because it works under my other linux distro (ubuntu). I have an SMC pci wireless card smcwpci-g. It has an atheros chip, so I have installed madwifi-ng and madwifi-ng-tools. The device is not recogniced. There is no athx device, when I use ifconfig or iwconfig. Could it be a problem with kernel options? I have read carefully the requisites (80211, net_radio, etc.), so I don't think so.
I had forgotten the emerge --info: Portage 2.1 (default-linux/amd64/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16-gentoo-r9 x86_64) ================================================================= System uname: 2.6.16-gentoo-r9 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.6.14 dev-lang/python: 2.4.2 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r2 sys-devel/gcc-config: 1.3.13-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="es_ES.UTF-8" LC_ALL="es_ES.UTF-8" LINGUAS="es" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X aac aalib alsa arts avi berkdb bitmap-fonts cdparanoia cli crypt cups dbus dga divx4linux doc dri dts dvb dvd dvdread eds emboss encode esd fbcon foomaticdb fortran ggi gif gnome gpm gstreamer gtk gtk2 hal how imlib ipv6 isdnlog jack jpeg libcaca live lzo lzw lzw-tiff mad matroska mono mp3 mpeg nas ncurses nls nptl nvidia opengl oss pam pcre pdflib perl png pppd python quicktime readline reflection rtc samba sdl session spell spl ssl tcpd theora tiff truetype truetype-fonts type1-fonts usb v4l v4l2 xanim xinerama xmms xorg xpm xv xvid xvmc zlib elibc_glibc kernel_linux linguas_es userland_GNU" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
After examining the hardware with lspci, and to my suprise, the card has not a atheros chipset (I have bought it because on madwifi page was listed as having that chipset). It is realtek ( RTL-8185).