Immagine
 Italian Betacrew... di Admin
Di seguito tutti gli interventi pubblicati sul sito, in ordine cronologico.
 
 
Di Admin (del 08/07/2008 @ 20:09:59, in Howto, linkato 2093 volte)

1/ Install openssl and libssl-dev packages
# aptitude install openssl libssl-dev

2/ Donwload squid sources on http://www.squid-cache.org/

3/ Configure it with the openssl option, compile it and install it
# ./configure –enable-ssl –with-openssl=/usr/include/openssl/
# make
# make install

4/ Create necessary certificates (source)
– Creating a private CA –

Go to the OpenSSL bin directory (/usr/local/ssl/misc by default).
There should be a script called CA.sh (and a CA.pl that does the same stuff). This hides all the gruesome details of how this works. Without the script this is a very annoying process.
su to root
Make sure that the OpenSSL bin directory is in your path.

# ./CA.sh -newca

When prompted for CA filename hit return.
Answer the rest of the questions intelligently. The common name would be how this certificate might be referred to. For example, the Equifax Secure CA uses the common name of Equifax Secure Certificate Authority.

– Creating certificates –

# ./CA.sh -newreq

This creates an unsigned certificate request.
The procedure is the same as creating a private CA except you’ll want to use the name of the host that will use the certificate as the common name (host.domain.com). If they don’t match, the client will not like it.
You probably don’t want to use the same passphrase for this as you did with the CA.

# ./CA.sh -sign

It will ask for a PEM pass phrase, that’s the passphrase you set for the private CA you created.
This signs the certificate that you just created with the CA you created just moments before. You can generate multiple certificates. You’ll probably need to. For example, mail.foo.com and www.foo.com each need their own certificate.
The signed certificate is now in the current directory as newcert.pem. If you are going to create more, you should rename this or it will be overwritten be subsequent signatures.

4/ Removing password from key.pem
# mv key.pem key.pem.withpass
# openssl rsa -in key.pem.withpass -out key.pem

5/ Edit /usr/local/squid/etc/squid.conf
http_port 3128 vhost defaultsite=yoursite.com

https_port 443 vhost cert=/path_to/cert.pem key=/path_to/key.pem cafile=/path_to/cacert.pem defaultsite=yoursite.com versi
on=2

cache_peer yoursite.com parent 80 0 no-query originserver

6/ Create squid cache directories and launch squid
# /usr/local/squid/sbin/squid -z
# /usr/local/squid/sbin/squid

 

Fonte http://www.brichet.be/how-to-setup-a-reverse-proxy-server-over-ssl-squid-debian/

Articolo (p)Link Commenti Commenti (0)  Storico Storico  Stampa Stampa
 
Di Admin (del 08/07/2008 @ 20:09:39, in Howto, linkato 2032 volte)

This was written using OpenSSL 0.9.5 as a reference.

To start with, you'll need OpenSSL. Compilation and installation follow the usual methods. It's worth while to note that the default installs everything in /usr/local/ssl. No need to change this (unless you want to).

After you have this installed, you may want to edit the OpenSSL configuration file with the information for your site so you have pleasant defaults when creating and signing certificates. You'll find this in /usr/local/ssl/openssl.cnf in the section req_distinguished_name Here you can set the defaults (denoted by the _default appended to the variable name). Any settings that do not have a default, such as localityName can have one set by appending _default. In this case you'd set localityName_default.

Now, we move on to creating a private Certificate Authority (CA). First, some explanation. The CA is used in SSL to verify the authenticity of a given certificate. The CA acts as a trusted third party who has authenticated the user of the signed certificate as being who they say. The certificate is signed by the CA, and if the client trusts the CA, it will trust your certificate. For use within your organization, a private CA will probably serve your needs. However, if you intend use your certificates for a public service, you should probably obtain a certificate from a known CA.

In addition to identification, your certificate is also used for encryption. If you're thinking a certificate sounds similar to a PGP key, you're right. They use many of the same methods. Something else PGP and SSL have in common is the RSA encryption algorithm, which is patented. This patent expires in September of 2000, so after that you'll be free to use tools with the RSA algorithm (like OpenSSL). Until that time, to legally use RSA you need a license. RSA Data Security usually allows non-commercial use of the RSA algorithm for academic purposes.

Creating a private CA

  • Go to the OpenSSL bin directory (/usr/local/ssl/misc by default).
  • There should be a script called CA.sh (and a CA.pl that does the same stuff). This hides all the gruesome details of how this works. Without the script this is a very annoying process.
  • su to root
    • Make sure that the OpenSSL bin directory is in your path.
  • ./CA.sh -newca
    • When prompted for CA filename hit return.
    • Answer the rest of the questions intelligently. The common name would be how this certificate might be referred to. For example, the Equifax Secure CA uses the common name of Equifax Secure Certificate Authority.

Creating certificates

  • ./CA.sh -newreq
    • This creates an unsigned certificate request.
    • The procedure is the same as creating a private CA except you'll want to use the name of the host that will use the certificate as the common name (host.domain.com). If they don't match, the client will not like it.
    • You probably don't want to use the same passphrase for this as you did with the CA.
  • ./CA.sh -sign
    • It will ask for a PEM pass phrase, that's the passphrase you set for the private CA you created.
    • This signs the certificate that you just created with the CA you created just moments before. You can generate multiple certificates. You'll probably need to. For example, mail.foo.com and www.foo.com each need their own certificate.
  • The signed certificate is now in the current directory as newcert.pem. If you are going to create more, you should rename this or it will be overwritten be subsequent signatures.

Creating client-side certificates

  • openssl pkcs12 -export -in certs.pem -inkey certs.key -out file.p12 -name "Client Certificate"
Articolo (p)Link Commenti Commenti (0)  Storico Storico  Stampa Stampa
 
Di Admin (del 06/07/2008 @ 00:56:26, in Howto, linkato 2462 volte)
##################################################################################
## INGALEX UBUNTU HARDY HERON 8.04 REPOSITORY SOURCES.LIST ## TOTAL:55 REPOSITORY#
##################################################################################

##HARDY SUPPORTED
deb http://it.archive.ubuntu.com/ubuntu/ hardy main restricted
deb-src http://it.archive.ubuntu.com/ubuntu/ hardy main restricted

##HARDY SUPPORTED - UPDATES
deb http://it.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
deb-src http://it.archive.ubuntu.com/ubuntu/ hardy-updates main restricted

##HARDY SUPPORTED - PROPOSED
deb http://it.archive.ubuntu.com/ubuntu/ hardy-proposed main restricted
deb-src http://it.archive.ubuntu.com/ubuntu/ hardy-proposed main restricted

##HARDY SUPPORTED - SECURITY
deb http://security.ubuntu.com/ubuntu/ hardy-security main restricted
deb-src http://security.ubuntu.com/ubuntu/ hardy-security main restricted

##HARDY COMMUNITY SUPPORTED
#deb http://it.archive.ubuntu.com/ubuntu/ hardy universe multiverse
#deb-src http://it.archive.ubuntu.com/ubuntu/ hardy universe multiverse

##HARDY COMMUNITY SUPPORTED - UPDATES
#deb http://it.archive.ubuntu.com/ubuntu/ hardy-updates universe multiverse
#deb-src http://it.archive.ubuntu.com/ubuntu/ hardy-updates universe multiverse

##HARDY COMMUNITY SUPPORTED - PROPOSED
#deb http://it.archive.ubuntu.com/ubuntu/ hardy-proposed universe multiverse
#deb-src http://it.archive.ubuntu.com/ubuntu/ hardy-proposed universe multiverse

##HARDY COMMUNITY SUPPORTED - SECURITY
#deb http://security.ubuntu.com/ubuntu/ hardy-security universe multiverse
#deb-src http://security.ubuntu.com/ubuntu/ hardy-security universe multiverse

##BACKPORTS
deb http://it.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
deb http://archive.canonical.com/ubuntu hardy partner

## Emesene
deb http://apt.emesene.org/ ./
# deb-src http://apt.emesene.org/ ./

## WICD
# deb http://wicd.longren.org hardy all


## Medibuntu - Ubuntu 8.04 "hardy heron"
## Please report any bug on https://bugs.launchpad.net/medibuntu/
#deb http://packages.medibuntu.org/ hardy free non-free
#deb-src http://packages.medibuntu.org/ hardy free non-free

## UBUNTU SATANIC
deb http://ubuntusatanic.org/hell hardy main

## REPOSITORY DI PACCHETTI INSTABILI LAUNCHPAD

deb http://ppa.launchpad.net/project-neon/ubuntu hardy main
deb http://ppa.launchpad.net/fta/ubuntu hardy main
deb http://ppa.launchpad.net/mvo/ubuntu hardy main
deb http://ppa.launchpad.net/googlegadgets/ubuntu hardy main
deb-src http://ppa.launchpad.net/googlegadgets/ubuntu hardy main
deb http://ppa.launchpad.net/festor90/ubuntu hardy main

##BLUEMAN

deb http://download.tuxfamily.org/blueman hardy blueman
deb-src http://download.tuxfamily.org/blueman hardy blueman

## Akirad-Hardy - Ubuntu 8.04 "Hardy Heron"
## Please report any bug on akir4d@gmail.com
deb http://akirad.cinelerra.org/ akirad-hardy main
#deb-src http://akirad.cinelerra.org/ akirad-hardy main

## Wine
# gpg --keyserver subkeys.pgp.net --recv 387EE263
# gpg --export --armor 387EE263 | sudo apt-key add -
deb http://wine.budgetdedicated.com/apt hardy main #WineHQ - Ubuntu 8.04 "Hardy Heron"
#deb-src http://wine.budgetdedicated.com/apt hardy main #WineHQ - Ubuntu 8.04 "Hardy Heron"

## Gnome-Do
# sudo apt-get install gnome-do
# For addons: http://do.davebsd.com/addins/
# Place addons in ~/.do/addins and restart Gnome-Do
#
deb http://ppa.launchpad.net/rharding/ubuntu hardy main
deb-src http://ppa.launchpad.net/rharding/ubuntu hardy main

## Swiftfox
deb http://getswiftfox.com/builds/debian unstable non-free

## aMule
# gpg --keyserver wwwkeys.eu.pgp.net --recv 50D0AE60
# gpg --armor --export 50D0AE60 | sudo apt-key add -
#
# deb http://www.vollstreckernet.de/debian/ testing amule

## Broadcom firmware, Google-earth, Secondlife, rTorrent, etc..
# wget http://debian.cafuego.net/cafuego.gpg -O- | sudo apt-key add -
#
deb http://au.ubuntu.cafuego.net hardy-cafuego all
deb-src http://au.ubuntu.cafuego.net hardy-cafuego all

## Miro
deb http://ftp.osuosl.org/pub/pculture.org/miro/linux/repositories/ubuntu hardy/

## Audacious
#deb http://backports.dereferenced.org/ hardy universe

## Elisa Media Center
# wget http://elisa.fluendo.com/packages/philn.asc -O- | sudo apt-key add -
#
#deb http://elisa.fluendo.com/packages hardy main

## Last.fm
# wget http://apt.last.fm/last.fm.repo.gpg -O- | sudo apt-key add -
#
deb http://apt.last.fm/ debian stable

## GShowTV
# gpg --keyserver hkp://wwwkeys.eu.pgp.net --recv-keys 585DECB0
# gpg --armor --export 585DECB0 | sudo apt-key add -
deb http://debian.vakevainen.fi unstable main

## GreenOS
# wget http://www.thinkgos.com/files/gos_repo_key.asc -O- | sudo apt-key add -
#
#deb http://packages.thinkgos.com/gos/ painful main
#deb-src http://packages.thinkgos.com/gos/ painful main

## Griffith (film collection manager)
# gpg --keyserver subkeys.pgp.net --recv-keys ED75F599
# gpg --armor --export ED75F599 | sudo apt-key add -
#
deb ftp://ftp.berlios.de/pub/griffith/ ./

## KDE4
# First uninstall:
# sudo apt-get remove kdelibs5 kde4base-data kde4libs-data
#
# Packages needed:
# sudo apt-get install kde4-core kde-l10n-it
#
# Optional packages:
# sudo aptitude install kdegraphics-kde4  kdemultimedia-kde4  kdenetwork-kde4 kdeutils-kde4 extragear-plasma
#
deb http://ppa.launchpad.net/kubuntu-members-kde4/ubuntu hardy main

## Mugshot
# wget -q http://www.nighton.net/nighton_key.asc -O- | sudo apt-key add - && sudo apt-get update
# sudo apt-get install mugshot
#
deb http://www.nighton.net/ hardy main
deb-src http://www.nighton.net/ hardy main

## Mundogeek Repository
# Packages list: http://mundogeek.net/repo/dists/ubuntu/all/
#
deb http://mundogeek.net/repo ubuntu all

## PyTube
deb http://www.bashterritory.com/pytube/releases /

## Ubuntu Tweak
deb http://ppa.launchpad.net/tualatrix/ubuntu hardy main
deb-src http://ppa.launchpad.net/tualatrix/ubuntu hardy main

## Me TV
deb http://ppa.launchpad.net/michael-lamothe/ubuntu hardy main
deb-src http://ppa.launchpad.net/michael-lamothe/ubuntu hardy main

## Jbbr Repository
# wget -q http://ubuntu.jbbr.net/jbbr_ubuntu.asc -O- | sudo apt-key add -
#
deb http://ubuntu.jbbr.net/packages hardy main
deb-src http://ubuntu.jbbr.net/packages hardy main

##Pollyrepo - www.pollycoke.net
#
deb http://download.tuxfamily.org/pollyrepo hardy/
deb-src http://download.tuxfamily.org/pollyrepo hardy/

##TOR
# gpg --export 94C09C7F | sudo apt-key add -
deb http://mirror.noreply.org/pub/tor hardy main
deb-src http://mirror.noreply.org/pub/tor hardy main

## Skype
#
deb http://download.skype.com/linux/repos/debian/ stable non-free

## Logubuntu
## Offre diversi pacchetti, tra cui le ultime versioni di amule e amule-adunanza (dichiarato ancora come unstable)
# gpg --keyserver subkeys.pgp.net --recv-keys 2674E3FC
# gpg --armor --export 2674E3FC| sudo apt-key add -
#
# deb http://www.logubuntu.it/M0rF3uS hardy-unstable/
# deb-src http://www.logubuntu.it/M0rF3uS hardy-unstable/
deb http://www.logubuntu.it/M0rF3uS/ hardy binary

## Google Linux software repository (GPG key: 7FAC5991)
## Offre pacchetti della suite Google.
deb http://dl.google.com/linux/deb/ stable non-free

## Enlightenment DR17 (GPG key: A7C6F0DF)
## Offre  i pacchetti per installare Enlightenment DR17 e per Elbuntu.
deb http://e17.dunnewind.net/ubuntu/ hardy e17 elbuntu
deb-src http://e17.dunnewind.net/ubuntu/ hardy e17 elbuntu


## Ubuntu hardy University Klagenfurt (GPG key: A2BF7BCB)
## Pacchetti forniti da University Klagenfurt.
deb http://ubuntu.uni-klu.ac.at/ubuntu/ hardy main universe multiverse restricted
deb-src http://ubuntu.uni-klu.ac.at/ubuntu/ hardy main universe multiverse restricted

## Ubuntu hardy University Klagenfurt updates (GPG key: A2BF7BCB)
## Pacchetti aggiornati forniti da University Klagenfurt.
deb http://ubuntu.uni-klu.ac.at/ubuntu/ hardy-updates main universe multiverse restricted
deb-src http://ubuntu.uni-klu.ac.at/ubuntu/ hardy-updates main universe multiverse restricted

## Ubuntu hardy University Klagenfurt backports (GPG key: A2BF7BCB)
## Pacchetti di backports forniti da University Klagenfurt.
deb http://ubuntu.uni-klu.ac.at/ubuntu/ hardy-backports main universe multiverse restricted
deb-src http://ubuntu.uni-klu.ac.at/ubuntu/ hardy-backports main universe multiverse restricted

## Ubuntu hardy University Klagenfurt security fixes (GPG key: A2BF7BCB)
## Pacchetti con aggiornameti di sicurezza forniti da University Klagenfurt.
deb http://ubuntu.uni-klu.ac.at/ubuntu/ hardy-security main universe multiverse restricted
deb-src http://ubuntu.uni-klu.ac.at/ubuntu/ hardy-security main universe multiverse restricted

## Morghot (GPG key: 7E2E4741)
## Offre pacchetti di packport non ufficiali
deb http://morgoth.free.fr/ubuntu hardy-backports main
deb-src http://morgoth.free.fr/ubuntu hardy-backports main

## Le dépomaniak (GPG key: 1D59E694)
## Offre i pacchetti per extract-xiso, qtpfsgui e radiocap.
##Attualmente non funzionanti
#deb http://ubuntu.davromaniak.eu hardy-depomaniak all
#deb-src http://ubuntu.davromaniak.eu hardy-depomaniak all

## Ryan Kavanagh's packages (GPG key: 02544D0E)
## Offre principalmente applicazioni per KDE.
#deb http://packages.ryanak.ca ryan-hardy all
#deb-src http://packages.ryanak.ca ryan-hardy all
Articolo (p)Link Commenti Commenti (0)  Storico Storico  Stampa Stampa
 
Di Admin (del 03/06/2008 @ 14:44:44, in Howto, linkato 3324 volte)

Ciao a tutti,

vi é mai capitato di aver installato tante di quelle cose che non sapete più come liberare il telefono?Oppure il telefono fa le bizze e non capite il perchè?

La soluzione in molti casi é un bel deep reset!

Il deep reset può essere fatto in questi tre modi a seconda del vostro smartphone:

- *#7370#
- *#7780#
- accendi il cel pigiando contemporaneamente *+tasto verde+3 e il tasto di accensione fino alla schermata delle mani nokia
 

Spero di esser stato d'aiuto.

A presto

Articolo (p)Link Commenti Commenti (0)  Storico Storico  Stampa Stampa
 
Di Admin (del 27/05/2008 @ 15:13:31, in Howto, linkato 3399 volte)

Avete notato che outlook é un pò troppo protettivo? Mi sono imbattuto nel dover aprire un file .mdb (Access) arrivatomi in allegato ad un email,

il fido outlook ha tentato di proteggermi anche da questo file access!!! Un pò troppo esagerato no?

Vediamo come risolvere il problema:

apriamo regedit e andiamo alla radice

HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\Security (12.0 dipende dalla vostra versione di office)

creiamo una nuova chiave di tipo stringa e chiamiamola "Level1Remove"

editiamo tale stringa inserendo le estensioni dei file separati da ; che volete far aprire ad outlook ( esempio -> mdb;zip;rar;exe )

Ora aprite outlook :)

Articolo (p)Link Commenti Commenti (0)  Storico Storico  Stampa Stampa
 
Di Admin (del 26/05/2008 @ 21:00:28, in Howto, linkato 4252 volte)

Per poter utilizzare il modem con la scheda Tim occorre modificare dei parametri di configurazione del modem integrato, per fare ciò dobbiamo :

opzioni modem avanzate vista
1- Aprire la gestione deli dispositivi
2- aprire la scheda delle opzioni di configurazione del modem
3- andate su avanzate e nel campo "comandi di inizializzazione addizionali" aggiungete +CGDCONT=1,"ip","ibox.tim.it",,0,0
(vedi la foto)
fatto questo cliccate ok fino a chiudere tutte le finestre.
Ora aprite la connessione e come numero telefonico inserite *99***1# oppure *99*#.

Buona navigazione!

Articolo (p)Link Commenti Commenti (1)  Storico Storico  Stampa Stampa
 
Di Admin (del 26/05/2008 @ 20:59:50, in Howto, linkato 4225 volte)

Ho un Laptop Asus serie L3, finché avevo su il Kernel 2.4.22 il Touchpad funzionava
decentemente, ora che ho messo su il Kernel 2.6 il touchpad ha cominciato a darmi delle grane,
funziona si, ma ha perso la funzione del tasto a pressione ed è divenuto anche meno preciso.....

Ho risolto utilizzando i driver Synaptics, questa è la procedura:

1) Selezionare come Built In nel Kernel:
in device drivers
in input device support
- event interface
select mice
- PS/2
- synaptics touchpad

Compilate e installate il vostro Kernel.

2) Installare i driver Synaptic, i binari dell'ultima release la trovate qui

http://w1.894.telia.com/~u89404340/touchpad/files/synaptics-0.12.2.tar.bz2

Dopo averli decompressi con tar xjvf nome file entrate nella cartella e date i soliti
# make
# make install

a questo punto vi avrà copiato il driver synaptics_drv.o nella cartella /
usr/X11R6/lib/modules/drivers/

3) a questo punto vi rimane solamente da modificare il vostro XF86Config seguendo le istruzioni
che trovate nel file INSTALL presente nella cartella synaptic. Per chiarimenti vi posto le sezioni
interessate del mio file di configurazione.


# **********************************************************************
# Module section -- this section is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"
# This loads the DBE extension module.
Load "dbe" # Double buffer extension
# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
# This loads the font modules

Load "type1"
Load "freetype"
Load "speedo"
# This loads the GLX module
Load "glx"
# This load the synaptics
Load "synaptics"
EndSection
# **********************************************************************
# Input devices
# **********************************************************************
# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************
Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
# For most OSs the protocol can be omitted (it defaults to "Standard").
# When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
# uncomment the following line.
# Option "Protocol" "Xqueue"
# Set the keyboard auto repeat parameters. Not all platforms implement
# this.
# Option "AutoRepeat" "500 5"
# Specifiy which keyboard LEDs can be user-controlled (eg, with xset(1)).
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a European
# keyboard, you will probably want to use one of:
#
# Option "XkbModel" "pc102"
# Option "XkbModel" "pc105"
#
# If you have a Microsoft Natural keyboard, you can use:
#
# Option "XkbModel" "microsoft"
#
# If you have a US "windows" keyboard you will want:
#
# Option "XkbModel" "pc104"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#
# Option "XkbLayout" "de"
#
# or:
#
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#
# Option "XkbOptions" "ctrl:swapcaps"
# These are the default XKB settings for XFree86
#
# Option "XkbRules" "xfree86"
# Option "XkbModel" "pc101"
# Option "XkbLayout" "us"
# Option "XkbVariant" ""
# Option "XkbOptions" ""
EndSection
# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************
Section "InputDevice"
Driver "synaptics"
Identifier "Mouse[1]"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "LeftEdge" "1900"
Option "RightEdge" "5400"
Option "TopEdge" "1900"
Option "BottomEdge" "4000"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "MinSpeed" "0.02"
Option "MaxSpeed" "0.18"
Option "AccelFactor" "0.0010"
Option "SHMConfig" "on"
# Option "Repeater" "/dev/ps2mouse"
EndSection
# **********************************************************************
# ServerLayout sections.
# **********************************************************************
# Any number of ServerLayout sections may be present. Each describes
# the way multiple screens are organised. A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option. In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.
Section "ServerLayout"
# The Identifier line must be present
Identifier "Simple Layout"
# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens. The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen. In this example, screen 2 is located to the
# right of screen 1.
Screen "Screen 1"
# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used. Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".
InputDevice "Mouse[1]" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
# InputDevice "Mouse" "CorePointer"
EndSection
Section "InputDevice"
Identifier "Keyboard"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
Driver "keyboard"
EndSection
Section "InputDevice"
Identifier "Mouse[1]"
Option "Protocol" ""
Option "Device" "/dev/psaux"
Driver "mouse"
Option "Emulate3Buttons"
EndSection
#*********************************************************************



P.S. io ho rimosso completamente la configurazione x il vecchio mouse lasciando solamente
quella riportata nel file INSTALL
Ricordatevi di aggiungere, nella sezione moduli, la linea

Load "synaptic"

Credo che, se selezionato come Builtin, vada anche senza questa linea, ma io ce l'ho messa lo
stesso.... si sa mai......

Inoltre dovrete rendere gli Identifier Uguali sia nella configurazione della sezione InputDevice che
in quella dei Server Layout. controllate il mio file x capire meglio ^_^


Divertitevi....

Questo che ho scritto è quello che mi avrebbe fatto piacere trovare come tutorial quindi, non
avendolo trovato, ve lo scrivo io, spero di poter essere utile a qualcuno ^_^

Articolo (p)Link Commenti Commenti (0)  Storico Storico  Stampa Stampa
 
Di Admin (del 26/05/2008 @ 20:59:06, in Howto, linkato 3382 volte)

Personalmente uso un cellulare Ericsson T68i e un cavo USB MA8910 C

Cominciamo:

1- Per coloro che sono nella mia situazione, ovvero hanno un cavo USB ricordo che devono
avere abilitati nel Kernel:

"Support for Hot-pluggable devices" nella sezione "General Setup"
"Support For USB" nella sezione "USB SUPPORT"
"USB serial converter support" e "USB Prolific 2303 Single Port Serial Driver" nella sezione "USB Serial Converter Support".
A questo punto quando avviate il PC lui vi riconosce il cavo collegato come un USB Profilic
2303 e vi dice il percorso in cui si trova, nel mio caso era, essendo l'unica periferica USB
collegata, /dev/ttyUSB0

2- I programmi che vi serviranno sono Script Generator 0.8.1 e la sua base, GPRS Easy
Connect 2.0.2. SG altro non fa che generare i file di configurazione a seconda delle vostre
esigenze, entrambi sono disponibili qui:

http://easyconnect.linuxuser.hu/modules.php?name=download

Attualmente supportano 85 telefoni cellulari quindi se non siete proprio sfortunati credo non
farete troppa fatica a trovare il vostro.

3- Una volta installati, andate nella cartella di Script Generator (lui si crea usr/src/bin) qui
troverete l'eseguibile, SG quindi da root date

# SG -e

(-e per la lingua inglese...sempre che non preferiate la lingua Magyara ehehe)
seguite quindi le istruzioni, fate attenzione alla scelta del Device di connessione, nel mio caso ad esempio, il caso USB non era contemplato, ma essendo un'emulazione di una seriale ho semplicemente scelto la porta USB /dev/ttyUSB0

Alla richiesta dell'APN dovete metterci quello del vostro provider, nel mio caso (flat gprs
Aruba) INTERNET.WIND.BIZ

Per username e pass, se ne avete bisogno mettete le vostre di connessione

pronti....

4- Ora andate ad editare il file di connessione che vi ha creato, nel mio caso

sonyericssont68i-connect

SG vi crea una linea relativa a un'immagine .gif commentatela altrimenti non andrà lo
script....... ci ho strippato x un giorno prima di accorgermene. Cambiate ora il numero di
telefono in quello fornitovi dal vostro provider, e la linea relativa all'APN con quella sempre fornitavi dal vostro provider (x chiarirsi, sarebbe la stringa che vi dicono di aggiungere in Windows
nelle proprietà del modem) nel mio caso +CGDCONT=1,"IP","INTERNET.WIND.BIZ"
Salvate e uscite

5- A questo punto avete praticamente finito, non vi rimane che andare ad editare il file /
etc/ppp/options
Lasciatelo completamente vuoto o ancora meglio tutto commentato, si sa mai che ne aveste
bisogno un giorno.

6- Ora lanciate la connessione, tornate dove c'era l'eseguibile SG (dove vi ha salvato i file di
configurazione) e lanciate da root:

# pppd file [file configurazione]
(nel mio caso #pppd file sonyericsson-t68i)

7- Vi rimane ora solo da aggiungere ppp0 nella vostra tabella di Routing

# route add default ppp0

se non vi va, come nel mio caso, lanciate invece

# route add default gw [remote address]
(il remote address lo trovate quando lanciate la connessione, una delle ultime righe. Il processo pppd vi terrà occupata la shell quindi questo comando lo dovrete lanciare da un'altra ^_^)

Articolo (p)Link Commenti Commenti (0)  Storico Storico  Stampa Stampa
 
Di Admin (del 26/05/2008 @ 20:55:40, in Howto, linkato 4320 volte)

Questa guida ti aiuterà nella configurazione di ipv6 sulla tua macchina linux,ricordo che per usare ipv6 su internet occorre registrarsi ad un tunnel broker,

ovvero un fornitore di servizio per connetività ipv6 in tunneling.Alcuni di questi sono: https://tb.ngnet.it http://www.loonan.it (qui trovate link ad altri tb)

Bene,una volta in possesso dell'account sul tb non resta che configurare la macchina. Partiamo dal passo fondamentale,ovvero,verificare che il protocollo ipv6

sia supportato dal kernel della nostra macchina linux (che da ora in avanti chiamerò linuxbox). Questa verifica la eseguiamo lanciando da root il comando

modprobe ipv6 poi con il comando ifconfig verifichiamo la presenza dell'inet6,se il protocollo é supportato dal kernel avrete una risposta del comando di questo tipo

eth0 Link encap:Ethernet

HWaddr 00:0A:CD:03:34:57

inet addr:192.168.157.1 Bcast:192.168.157.255 Mask:255.255.255.0

inet6 addr: fe80::20a:cdff:fe03:3457/64 Scope:Link bla bla bla

Se invece non avete inet6 dovete ricompilare il kernel con il modulo ipv6(consultate la sezione ricompilare il kernel). Ok siamo a metà dell'opera,a questo punto andate sulla vostra pagina del tb e attivate il tunnel. Segnatevi il vostro ipv6 e l'endpoint del server (il gateway). Ora aprite l'editor che più vi piace (es. emacs) e create un file così strutturato:

#!/bin/sh

#

ifconfig sit0 up >> /var/log/tb.log

ifconfig sit0 inet6 add tuoipv6 >> /var/log/tb.log

route -A inet6 add ::/0 gw ::ipv4endpoint sit0

salvatelo come tunnel.sh (anche nella vostra home directory va benissimo) e dategli i permessi di esecuzione con chmod +x tunnel.sh a questo punto lanciate lo script

che avete appena creato così ./tunnel.sh e poi fate un ifconfig e controllate se l'interfaccia "sit0" è stata creata

.Dovreste avere un out del genere

sit0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00

inet6 addr: ::127.0.0.1/96 Scope:Unknown inet6 addr: 2001:6b8:0:400::6d9e/0 Scope:Global

inet6 addr: ::192.168.157.1/96 Scope:Compat bla bla bla...

A questo punto è fatta siete collegati in ipv6!

Articolo (p)Link Commenti Commenti (0)  Storico Storico  Stampa Stampa
 
Di Admin (del 26/05/2008 @ 20:55:02, in Howto, linkato 3241 volte)

Se siete sommersi di spam nelle vostre caselle email spamassassin é la soluzione.

Requisiti:

-Compilatore perl

-Librerie perl

-HTML-Parser-3.34

-HTML-Tagset-3.03

-I sorgenti di Spamassassin (trovate tutto nella sezione download)

Ok,iniziamo con installare le librerie perl (come al solito spostatele in /usr/src/ poi tar xzvf nomefile,./configure,make e make install).

Installiamo spamassassin: -perl Makefile.PL -make -make install

A questo punto spamassassin è installato,non ci resta che configurarlo e configurare kmail per filtrare lo spam. Per configurare spamassassin vi consiglio di andare a questo link e creare il vostro file di configurazione(se avete dubbi lasciate il default) http://www.yrex.com/spam/spamconfig.php

Il file local.cf deve essere copiate (e sostituito all'originale) nella cartella /etc/mail/spamassassin/

Fatto questo aprite (da root) il file /etc/rc.d/rc.local (con l'editor che preferite) e aggiungete come ultima riga spamd -c -d

Così facendo spamassassin partirà all'avvio. Ok,ora aprite kmail,andate su "Impostazioni->Configura Filtri" e aggiungete un filtro con:

-Verifica almeno uno dei criteri seguenti

-Qualunque instestazione:Contiene:.(punto)

-Invia in pipe:spamc

Rimuovete l'opzione "Se questo filtro viene verificato non proseguire".

Ok ora create una cartella spam in kmail,riaprite "Impostazioni->Configura Filtri" e create una nuova regola "spam" con le seguenti opzioni:

-Verifica almeno uno dei criteri seguenti

-Qualunque instestazione:Contiene:X-Spam-Flag: YES

-Sposta nella cartella:Spam Rimuovete l'opzione "Se questo filtro viene verificato non proseguire".

Articolo (p)Link Commenti Commenti (0)  Storico Storico  Stampa Stampa
 
Pagine: 1 2
Al bar: "scusi, vorrei una basta alla martellata..."

Ir0nfl4m3

Articoli

Howto (13)

Catalogati per mese:
Maggio 2008
Giugno 2008
Luglio 2008
Agosto 2008
Settembre 2008
Ottobre 2008
Novembre 2008
Dicembre 2008

Gli interventi più cliccati

Ultimi commenti:
Grazie mille per que...
31/05/2008 @ 11:48:25
Di Clau4938

Calendario

< dicembre 2008 >
L
M
M
G
V
S
D
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
       
             

Fotografie

Howto (1)

Le fotografie più cliccate

Top 10 utenti del mese

Sondaggio

ti piace la nuova veste del sito?

 si molto carina
 si ma preferivo la vecchia
 no per niente

Stuff

Listening
Virgin Radio Italy

Reading
Poco :P

Watching
Surf's Up

Varie

Ci sono 29 persone collegate

04/12/2008 @ 4.28.12
script eseguito in 94 ms