viernes, 18 de septiembre de 2009

Jaunty + NIC BCM4328 a/b/g/n

1.- Desinstalar controlador inalambrico Broadcom STA: Sistema-Administracion-Controladores de hardware-desactivar

2.- Instalar wicd: sudo apt-get install wicd

3.- Quitar algunos módulos:
sudo /sbin/modprobe -r b43 b44 ssb wl

sudo rmmod ssb

4.- Instalar cabextract: sudo apt-get install cabextract

5.- Descargar controlador: link

6.- Extraer archivos: sudo cabextract sp36684.exe

7.- Empieza ndiswrapper:

sudo ndiswrapper -i bcmwl5.inf
ndiswrapper -l
sudo depmod -a
sudo modprobe ndiswrapper
sudo cp /etc/network/interfaces /etc/network/interfaces.orig
echo -e 'auto lo\niface lo inet loopback\n' | sudo tee /etc/network/interfaces
sudo ndiswrapper -m
echo 'ndiswrapper' | sudo tee -a /etc/modules
echo 'ENABLED=0' | sudo tee -a /etc/default/wpasupplicant

8.- Reiniciar: sudo reboot

9.- Editar /etc/network/interfaces y agregar: auto wlan0

10.-Abrir wicd y agregar la interface: Preferencias-Interfaz inalambrica(escribir wlan0)-Aceptar

miércoles, 2 de septiembre de 2009

Servidor tftp en Debian

1.- Instalar: apt-get install inetutils-inetd tftpd tftp

2.- Editar a sus necesidades /etc/inetd.conf

3.- Crear directorio /srv/tftp y dar permisos acorde a necesidades

4.- Editar a sus necesidades /etc/hosts.allow

5.- Reiniciar servicio /etc/init.d/inetutils-inetd restart


6.- Test:

$ tftp ip address
tftp> binary
tftp> get music.mp3
Received 2784015 bytes in 1.1 seconds
tftp> put otracosa.ogg
Sent 2784015 bytes in 0.4 seconds
tftp> quit


7.- Si falla revisar los logs del sistema : tail -f /var/log/syslog

Si la falla es la siguiente:
tftpd: read: Connection refuse

ejecutar el paso 8.

8.-
echo "blacklist ipv6" >>/etc/modprobe.d/blacklist
y reiniciar el equipo.