Pues lo h eintentado pero no soy capaz, no se si va a ser mucha morralla pero esto es lo q me sale:
javi@javi-laptop ~ $ wget
http://snapshots.madwifi.org/special/madwifi-ng-r2756+ar5007.tar.gz--03:43:17--
http://snapshots.madwifi.org/special/madwifi-ng-r2756+ar5007.tar.gz => `madwifi-ng-r2756+ar5007.tar.gz'
Resolving snapshots.madwifi.org... failed: Name or service not known.
javi@javi-laptop ~ $ cd madwifi-ng-r2756+ar5007
javi@javi-laptop ~/madwifi-ng-r2756+ar5007 $ sudo apt-get update && sudo aptitude install build-essential
[sudo] password for javi:
Err
http://archive.ubuntu.com hardy Release.gpg
No pude resolver 'archive.ubuntu.com'
Err
http://archive.ubuntu.com hardy/main Translation-es
No pude resolver 'archive.ubuntu.com'
Err
http://archive.ubuntu.com hardy/restricted Translation-es
No pude resolver 'archive.ubuntu.com'
Err
http://archive.ubuntu.com hardy/universe Translation-es
No pude resolver 'archive.ubuntu.com'
Err
http://archive.ubuntu.com hardy/multiverse Translation-es
No pude resolver 'archive.ubuntu.com'
Err
http://archive.ubuntu.com hardy-updates Release.gpg
No pude resolver 'archive.ubuntu.com'
Err
http://archive.ubuntu.com hardy-updates/main Translation-es
No pude resolver 'archive.ubuntu.com'
Err
http://archive.ubuntu.com hardy-updates/restricted Translation-es
No pude resolver 'archive.ubuntu.com'
Err
http://archive.ubuntu.com hardy-updates/universe Translation-es
No pude resolver 'archive.ubuntu.com'
Err
http://archive.ubuntu.com hardy-updates/multiverse Translation-es
No pude resolver 'archive.ubuntu.com'
Err
http://archive.canonical.com hardy Release.gpg
No pude resolver 'archive.canonical.com'
Err
http://archive.canonical.com hardy/partner Translation-es
No pude resolver 'archive.canonical.com'
Err
http://packages.medibuntu.org hardy Release.gpg
No pude resolver 'packages.medibuntu.org'
Err
http://packages.medibuntu.org hardy/free Translation-es
No pude resolver 'packages.medibuntu.org'
Err
http://packages.medibuntu.org hardy/non-free Translation-es
No pude resolver 'packages.medibuntu.org'
Err
http://security.ubuntu.com hardy-security Release.gpg
No pude resolver 'security.ubuntu.com'
Err
http://security.ubuntu.com hardy-security/main Translation-es
No pude resolver 'security.ubuntu.com'
Err
http://security.ubuntu.com hardy-security/restricted Translation-es
No pude resolver 'security.ubuntu.com'
Err
http://security.ubuntu.com hardy-security/universe Translation-es
No pude resolver 'security.ubuntu.com'
Err
http://security.ubuntu.com hardy-security/multiverse Translation-es
No pude resolver 'security.ubuntu.com'
Err
http://packages.linuxmint.com elyssa Release.gpg
No pude resolver 'packages.linuxmint.com'
Err
http://packages.linuxmint.com elyssa/main Translation-es
No pude resolver 'packages.linuxmint.com'
Err
http://packages.linuxmint.com elyssa/upstream Translation-es
No pude resolver 'packages.linuxmint.com'
Err
http://packages.linuxmint.com elyssa/import Translation-es
No pude resolver 'packages.linuxmint.com'
Leyendo lista de paquetes... Hecho
W: Imposible obtener
http://packages.linuxmint.com/dists/elyssa/Release.gpg No pude resolver 'packages.linuxmint.com'
W: Imposible obtener
http://packages.linuxmint.com/dists/elyssa/main/i18n/Translation-es.bz2 No pude resolver 'packages.linuxmint.com'
W: Imposible obtener
http://packages.linuxmint.com/dists/elyssa/upstream/i18n/Translation-es.bz2 No pude resolver 'packages.linuxmint.com'
W: Imposible obtener
http://packages.linuxmint.com/dists/elyssa/import/i18n/Translation-es.bz2 No pude resolver 'packages.linuxmint.com'
W: Imposible obtener
http://archive.ubuntu.com/ubuntu/dists/hardy/Release.gpg No pude resolver 'archive.ubuntu.com'
W: Imposible obtener
http://archive.ubuntu.com/ubuntu/dists/hardy/main/i18n/Translation-es.bz2 No pude resolver 'archive.ubuntu.com'
W: Imposible obtener
http://archive.ubuntu.com/ubuntu/dists/hardy/restricted/i18n/Translation-es.bz2 No pude resolver 'archive.ubuntu.com'
W: Imposible obtener
http://archive.ubuntu.com/ubuntu/dists/hardy/universe/i18n/Translation-es.bz2 No pude resolver 'archive.ubuntu.com'
W: Imposible obtener
http://archive.ubuntu.com/ubuntu/dists/hardy/multiverse/i18n/Translation-es.bz2 No pude resolver 'archive.ubuntu.com'
W: Imposible obtener
http://archive.ubuntu.com/ubuntu/dists/hardy-updates/Release.gpg No pude resolver 'archive.ubuntu.com'
W: Imposible obtener
http://archive.ubuntu.com/ubuntu/dists/hardy-updates/main/i18n/Translation-es.bz2 No pude resolver 'archive.ubuntu.com'
W: Imposible obtener
http://archive.ubuntu.com/ubuntu/dists/hardy-updates/restricted/i18n/Translation-es.bz2 No pude resolver 'archive.ubuntu.com'
W: Imposible obtener
http://archive.ubuntu.com/ubuntu/dists/hardy-updates/universe/i18n/Translation-es.bz2 No pude resolver 'archive.ubuntu.com'
W: Imposible obtener
http://archive.ubuntu.com/ubuntu/dists/hardy-updates/multiverse/i18n/Translation-es.bz2 No pude resolver 'archive.ubuntu.com'
W: Imposible obtener
http://security.ubuntu.com/ubuntu/dists/hardy-security/Release.gpg No pude resolver 'security.ubuntu.com'
W: Imposible obtener
http://security.ubuntu.com/ubuntu/dists/hardy-security/main/i18n/Translation-es.bz2 No pude resolver 'security.ubuntu.com'
W: Imposible obtener
http://security.ubuntu.com/ubuntu/dists/hardy-security/restricted/i18n/Translation-es.bz2 No pude resolver 'security.ubuntu.com'
W: Imposible obtener
http://security.ubuntu.com/ubuntu/dists/hardy-security/universe/i18n/Translation-es.bz2 No pude resolver 'security.ubuntu.com'
W: Imposible obtener
http://security.ubuntu.com/ubuntu/dists/hardy-security/multiverse/i18n/Translation-es.bz2 No pude resolver 'security.ubuntu.com'
W: Imposible obtener
http://archive.canonical.com/ubuntu/dists/hardy/Release.gpg No pude resolver 'archive.canonical.com'
W: Imposible obtener
http://archive.canonical.com/ubuntu/dists/hardy/partner/i18n/Translation-es.bz2 No pude resolver 'archive.canonical.com'
W: Imposible obtener
http://packages.medibuntu.org/dists/hardy/Release.gpg No pude resolver 'packages.medibuntu.org'
W: Imposible obtener
http://packages.medibuntu.org/dists/hardy/free/i18n/Translation-es.bz2 No pude resolver 'packages.medibuntu.org'
W: Imposible obtener
http://packages.medibuntu.org/dists/hardy/non-free/i18n/Translation-es.bz2 No pude resolver 'packages.medibuntu.org'
W: Algunos archivos de índice no se han podido descargar, se han ignorado,
o se ha utilizado unos antiguos en su lugar.
W: Tal vez quiera ejecutar 'apt-get update' para corregir estos problemas
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
Reading extended state information
Initializing package states... Hecho
Writing extended state information... Hecho
Building tag database... Hecho
The following packages have been automatically kept back:
dbus-x11 envyng-core evolution-data-server-common gnome-settings-daemon
gvfs gvfs-backends libcamel1.2-11 libedataserver1.2-9 libegroupwise1.2-13
libgdata-google1.2-1 libgdata1.2-1 libgtkhtml3.14-19 libgvfscommon0
libldap-2.4-2 libmysqlclient15off libntfs-3g23 libtotem-plparser10
linux-image-generic linux-restricted-modules-common
linux-restricted-modules-generic mysql-common ntfs-3g pm-utils
python-apport python-launchpad-bugs xserver-xorg-video-intel
The following NEW packages will be automatically installed:
dpkg-dev g++ g++-4.2 libc6-dev libstdc++6-4.2-dev libtimedate-perl
linux-libc-dev patch
The following packages have been kept back:
apport apport-gtk bash bsdutils capplets-data dbus desktop-file-utils
dpkg eog evince evolution-data-server file-roller foomatic-filters
friendly-recovery gcalctool gcc-3.3-base gdb gdm gedit gedit-common gksu
gnome-about gnome-applets gnome-applets-data gnome-control-center
gnome-desktop-data gnome-keyring gnome-menus gnome-panel gnome-panel-data
gnome-system-monitor gstreamer0.10-esd gstreamer0.10-plugins-good
gtkhtml3.14 gvfs-fuse hal initramfs-tools libdbus-1-3 libebook1.2-9
libecal1.2-7 libedata-book1.2-2 libedata-cal1.2-6 libedataserverui1.2-8
libeel2-2 libeel2-data libgksu2-0 libgnome-desktop-2 libgnome-keyring0
libgnome-menu2 libgnome-window-settings1 libgnomeui-0 libgnomeui-common
libgphoto2-2 libgphoto2-port0 libgtk-vnc-1.0-0 libgtk2.0-bin
libhal-storage1 libhal1 liblircclient0 libnautilus-extension1
libpam-gnome-keyring libpam-modules libpam-smbpass libpanel-applet2-0
libparted1.7-1 libsmbclient libspeex1 libstdc++5 linux-generic
linux-headers-generic lshw mount nautilus nautilus-data parted pciutils
python-gmenu python-problem-report python-virtkey rhythmbox samba
samba-common seahorse smbclient sudo tzdata ufw util-linux
util-linux-locales xserver-xorg-video-cirrus
The following NEW packages will be installed:
build-essential dpkg-dev g++ g++-4.2 libc6-dev libstdc++6-4.2-dev
libtimedate-perl linux-libc-dev patch
The following packages will be upgraded:
cpp gcc
2 packages upgraded, 9 newly installed, 0 to remove and 116 not upgraded.
Need to get 8742kB of archives. After unpacking 34,3MB will be used.
Do you want to continue? [Y/n/?] y
Writing extended state information... Hecho
Err
http://archive.ubuntu.com hardy-updates/main cpp 4:4.2.3-1ubuntu6
No pude resolver 'archive.ubuntu.com'
Err
http://archive.ubuntu.com hardy-updates/main linux-libc-dev 2.6.24-18.32
No pude resolver 'archive.ubuntu.com'
Err
http://archive.ubuntu.com hardy/main libc6-dev 2.7-10ubuntu3
No pude resolver 'archive.ubuntu.com'
Err
http://archive.ubuntu.com hardy-updates/main gcc 4:4.2.3-1ubuntu6
No pude resolver 'archive.ubuntu.com'
Err
http://archive.ubuntu.com hardy/main libstdc++6-4.2-dev 4.2.3-2ubuntu7
No pude resolver 'archive.ubuntu.com'
Err
http://archive.ubuntu.com hardy/main g++-4.2 4.2.3-2ubuntu7
No pude resolver 'archive.ubuntu.com'
Err
http://archive.ubuntu.com hardy-updates/main g++ 4:4.2.3-1ubuntu6
No pude resolver 'archive.ubuntu.com'
Err
http://archive.ubuntu.com hardy/main libtimedate-perl 1.1600-9
No pude resolver 'archive.ubuntu.com'
Err
http://archive.ubuntu.com hardy/main patch 2.5.9-4
No pude resolver 'archive.ubuntu.com'
Err
http://archive.ubuntu.com hardy-updates/main dpkg-dev 1.14.16.6ubuntu4
No pude resolver 'archive.ubuntu.com'
Err
http://archive.ubuntu.com hardy/main build-essential 11.3ubuntu1
No pude resolver 'archive.ubuntu.com'
Err
http://security.ubuntu.com hardy-security/main linux-libc-dev 2.6.24-18.32
No pude resolver 'security.ubuntu.com'
E: Failed to fetch
http://archive.ubuntu.com/ubuntu/pool/main/g/gcc-defaults/cpp_4.2.3-1ubuntu6_i386.deb: No pude resolver 'archive.ubuntu.com'
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
Reading extended state information
Initializing package states... Hecho
Writing extended state information... Hecho
Building tag database... Hecho
javi@javi-laptop ~/madwifi-ng-r2756+ar5007 $ sudo make install
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.24-16-generic/build SUBDIRS=/home/javi/madwifi-ng-r2756+ar5007 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-16-generic'
CC [M] /home/javi/madwifi-ng-r2756+ar5007/ath/if_ath.o
CC [M] /home/javi/madwifi-ng-r2756+ar5007/ath/if_ath_pci.o
LD [M] /home/javi/madwifi-ng-r2756+ar5007/ath/ath_pci.o
CC [M] /home/javi/madwifi-ng-r2756+ar5007/ath_hal/ah_os.o
HOSTCC /home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:26:19: error: stdio.h: No such file or directory
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:27:19: error: errno.h: No such file or directory
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:28:20: error: getopt.h: No such file or directory
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:29:20: error: string.h: No such file or directory
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:30:20: error: stdlib.h: No such file or directory
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:32:23: error: sys/fcntl.h: No such file or directory
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:33:22: error: sys/stat.h: No such file or directory
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c: In function 'uudecode_usage':
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:37: warning: implicit declaration of function 'printf'
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:37: warning: incompatible implicit declaration of built-in function 'printf'
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c: At top level:
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:40: error: expected ')' before '*' token
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:70: error: expected ')' before '*' token
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c: In function 'main':
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:121: error: 'FILE' undeclared (first use in this function)
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:121: error: (Each undeclared identifier is reported only once
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:121: error: for each function it appears in.)
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:121: error: 'src_stream' undeclared (first use in this function)
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:122: error: 'dst_stream' undeclared (first use in this function)
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:122: error: 'NULL' undeclared (first use in this function)
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:130: warning: implicit declaration of function 'getopt'
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:134: error: 'optarg' undeclared (first use in this function)
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:138: warning: implicit declaration of function 'exit'
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:138: warning: incompatible implicit declaration of built-in function 'exit'
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:141: error: 'optind' undeclared (first use in this function)
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:142: error: 'stdin' undeclared (first use in this function)
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:144: warning: implicit declaration of function 'fopen'
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:146: warning: implicit declaration of function 'fprintf'
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:146: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:146: error: 'stderr' undeclared (first use in this function)
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:147: warning: implicit declaration of function 'strerror'
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:147: error: 'errno' undeclared (first use in this function)
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:147: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:148: warning: incompatible implicit declaration of built-in function 'exit'
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:152: warning: incompatible implicit declaration of built-in function 'exit'
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:156: warning: implicit declaration of function 'get_line_from_file'
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:156: warning: assignment makes pointer from integer without a cast
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:157: warning: implicit declaration of function 'strncmp'
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:164: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:165: warning: incompatible implicit declaration of built-in function 'exit'
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:168: warning: implicit declaration of function 'strtoul'
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:170: warning: implicit declaration of function 'strchr'
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:170: warning: incompatible implicit declaration of built-in function 'strchr'
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:172: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:173: warning: incompatible implicit declaration of built-in function 'exit'
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:178: warning: implicit declaration of function 'strcmp'
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:179: error: 'stdout' undeclared (first use in this function)
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:182: error: 'O_WRONLY' undeclared (first use in this function)
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:182: error: 'O_CREAT' undeclared (first use in this function)
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:182: error: 'O_TRUNC' undeclared (first use in this function)
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:186: error: 'O_EXCL' undeclared (first use in this function)
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:188: warning: implicit declaration of function 'open'
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:189: error: 'S_IRWXU' undeclared (first use in this function)
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:189: error: 'S_IRWXG' undeclared (first use in this function)
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:189: error: 'S_IRWXO' undeclared (first use in this function)
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:191: warning: implicit declaration of function 'fdopen'
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:193: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:194: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:195: warning: incompatible implicit declaration of built-in function 'exit'
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:199: warning: implicit declaration of function 'read_stduu'
/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:201: warning: implicit declaration of function 'fclose'
make[3]: *** [/home/javi/madwifi-ng-r2756+ar5007/ath_hal/uudecode] Error 1
make[2]: *** [/home/javi/madwifi-ng-r2756+ar5007/ath_hal] Error 2
make[1]: *** [_module_/home/javi/madwifi-ng-r2756+ar5007] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-16-generic'
make: *** [modules] Error 2
javi@javi-laptop ~/madwifi-ng-r2756+ar5007 $ sudo modprobe ath_pci
javi@javi-laptop ~/madwifi-ng-r2756+ar5007 $ sudo modprobe wlan_scan_sta
javi@javi-laptop ~/madwifi-ng-r2756+ar5007 $
Perdona si tubiste q leerlo y muchas garcias