sabato 26 aprile 2008

Knoppix si blocca durante il boot?

Il boot di Knoppix non ha avuto problemi con un HP e un Acer, si e' invece bloccato sul mio fido Toshiba.

Ho rieseguito il boot inserendo questa stringa al prompt di lilo:
knoppix acpi=off noapic

Il boot viene completato con successo.

venerdì 25 aprile 2008

Che fosse una premonizione???


Dal Resto del Carlino del 22 aprile 2008

RICCIONE

Al parco Oltremare nascono piccoli aironi cenerini

Usare Linux per disinfestare un Windows infetto...

nota del 26/04/2008: aggiornato script myantivirus.sh

Difficile applicare le misure indicate nell'immagine qui sopra, quindi qualche virus (sui sistemi Windows) potrebbe anche passare.

E gli antivirus per windows non riescono mai a pulire tutto per via dei file bloccati dai virus stessi in esecuzione.

La soluzione ideale e' scaricarsi una immagine ISO del Linux Knoppix (io sto usando la release 5.1.1), masterizzarla, reboot e partire con questa distribuzione live alla sconfitta dei virus.

Una volta partito il sistema apriamo un terminale e trasformiamoci nell'utente root con il comando:
su

Non viene richiesta password.
Ora dobbiamo aggiornare l'antivirus e le definizioni dei virus mediante questi comandi:
echo "deb http://volatile.debian.org/debian-volatile etch/volatile main contrib non-free" > /etc/apt/sources.list
apt-get update; apt-get install clamav
freshclam

Montiamo la partizione contenente il sistema windows da ripulire (es.: /dev/sda2):
mkdir /mnt/antivir
mount /dev/sda2 /mnt/antivir
E finalmente lanciamo la scansione:
clamscan -r -i /mnt/antivir

il -r forza la scansione ricorsiva a tutte le sottodirectory
il -i permette di visualizzare solo i file infetti

(potete anche scaricare questo script invece di lanciare i singoli comandi a mano)

Esiste anche un parametro per cancellare automaticamente i file infetti, ma e' preferibile farlo a mano assicurandosi di non eliminare file necessari al sistema.

Nel mio esempio viene rilevato un Trojan.KillCMOS nel file hiberfil.sys.
Questo file viene utilizzato da windows per le funzioni di ibernazione e sospensione del sistema.
Piuttosto che cancellarlo da Linux (a meno che da windows non sia impossibile) conviene farlo disabilitando le funzioni suddette seguendo la seguente procedura:

Windows Vista

Aprire il prompt dei comandi come amministratore
Eseguire il comando powercfg -h off

N.B.: per aprire il prompt dei comandi come amministratore dovete andare su: Start -> Tutti i programmi -> Accessori -> Prompt dei comandi -> Accedi come amministratore

Altre versioni di Windows
  • Aprire il pannello di controllo di Windows
  • Doppio click su Power Options
  • Cliccare su Hibernate, deselezionare il check su "Enable hibernate support" e cliccare su Applica.
  • Al successivo reboot del computer il file hiberfil.sys sara' cancellato automaticamente.

giovedì 24 aprile 2008

sudo: timestamp too far in the future: Apr 25 00:20:48 2008

Se lanciando un qualunque comando preceduto da sudo ottenete questo messaggio di errore:
sudo: timestamp too far in the future: Apr 25 00:20:48 2008

non dovete far altro che aprire una nuova sessione (es.: CTRL+ALT+F1) e lanciare uno dei seguenti comandi:
sudo -k
sudo -K

Il primo (kill) azzera il timestamp di sudo (quello che vi consente di non digitare la password se ripetete sudo entro tot tempo)
il secondo (kill sicuro) cancella completamente il timestamp

Ora potete tornare nella sessione in cui avete ricevuto il messaggio di errore e continuare il vostro lavoro senza intoppi.

L'airone e' atterrato!!!


Lo potete trovare qui

Io vi consiglio di scaricarlo tramite Torrent... qui (arrivera' piu' velocemente e aiuterete la comunita')

Come trovare MAC Address, indirizzo IP e nome del mio computer

Vedremo come farlo per sistemi:

  • Windows XP/2000
  • Mac
  • Linux
  • Windows Vista

Windows XP/2000
  • From the Start button select Run
  • In the box which appears type cmd and click OK
  • A new windows will appear - at the prompt type ipconfig /all
  • The MAC address will be referred to as the Physical Address and is made up of 12 characters e.g. 00-D1-AB-F2-G3-89
    You will have a separate MAC address for your wireless card and your Ethernet card. Make sure you use the correct one.
  • The IP address will be listed - if you are connected to the UWA network it should begin with 144.124.
  • The host name is your computer's name
Mac
  • From the Apple in the upper left hand corner choose System Preferences
  • Click on the Network icon
  • From the Show menu Select Airport (for Wireless) or Built in Ethernet (for Wired)
    • For the Built in Ethernet (for Wired) the MAC address will be at the top of the Ethernet tab as the Ethernet ID.
      The MAC address is the 12 character address e.g. 00:14:67:F0:56:A4
    • For the Airport (for Wireless) the MAC address will be at the top of the AirPort tab as the AirPort ID (or on the TCP/IP tab, again as the AirPort ID ). The MAC address is the 12 character address e.g. 00:14:67:F0:56:A4
  • The Current IP address (If there is one) will be under the TCP/IP tab for the AirPort and the Ethernet connections
  • To find your Computer Name go back to System Preferences and click on Sharing , your computer's name should be in the computer name box at the top of this window.

Linux
  • In a privileged terminal session type: ifconfig
  • This will show you a list of the network adapters installed. The MAC address is referred to here as the HWaddr
  • If you have a wireless card you will see more then one MAC Address, make sure you register the right MAC address.
  • To pick out your wireless MAC address type: iwconfig - your Wired one will be the other one

Windows Vista
  • Click the Start icon
  • Click All Programs
  • Click Accessories
  • Click Command Prompt
  • A new window will appear - at the prompt type ipconfig /all
  • The MAC address will be referred to as the Physical Address and is made up of 12 characters e.g. 00-D1-AB-F2-G3-89
    You will have a separate MAC address for your wireless card and your Ethernet card. Make sure you use the correct one.
  • The IP address will be listed - if you are connected to the UWA network it should begin with 144.124.
  • The host name is your computer's name

Questo compleanno pero' non me lo sono dimenticato


Oggi Anakin compie 3 anni!!!! AUGURIIIIIIIIIIIIIIIIII!!!