that's what I like

IrDa dongle

Come fare funzionare una vecchia chiavetta IrDa su un pc con distro Lubuntu
# sudo apt-get install irda-utils

modificare il file /etc/default/irda-utils in modo che sia configurato così:

# grep -v -e ^# -e ^$ /etc/default/irda-utils

ENABLE="true"

AUTOMATIC="true"

DISCOVERY="true"

DEVICE="irda0"

DONGLE="none"

SETSERIAL=""

USE_SMCINIT="no"

MAX_BAUD_RATE="9600"

aggiungere l’alias irda0 nel file /etc/modprobe.d/irda-utils.conf

# grep -v -e ^# -e ^$ /etc/modprobe.d/irda-utils.conf

alias irda0 mcs7780

collegare la chiavetta

# sudo ifconfig irda0 up

# sudo /etc/init.d/irda-utils start

PureFTPd

Un ottimo ftp server linux

Qualche appunto per  la gestione degli utenti abilitati ad utilizzare il server FTP

Aggiunta di un nuovo utente

  • creo il nuovo utente
pure-pw useradd nomeutente -u ftpuser -d /opt/dirxxx/nomeutente/ -f /etc/pureftpd.passwd Password: Enter it again:
  • rendo attivo il nuovo utente
pure-pw mkdb /etc/pureftpd.pdb -f /etc/pureftpd.passwd
  • controllo owner e group dell’home directory del nuovo utente e se necessario li cambio in ftpuser:ftpgroup
chown -R ftpuser:ftpgroup /opt/dirxxx/nomeutente/

Cambio password di un utente

  • cambio la password
pure-pw passwd nomeutente -f /etc/pureftpd.passwd -m
  • rendo attive le modifiche
pure-pw mkdb /etc/pureftpd.pdb -f /etc/pureftpd.passwd

Verifica impostazione di un utente

pure-pw show nomeutente -f /etc/pureftpd.passwd

Eliminazione di un utente

pure-pw userdel nomeutente  -f /etc/pureftpd.passwd pure-pw mkdb /etc/pureftpd.pdb -f /etc/pureftpd.passwd