Archivi Categorie: How-To

come fare – per ubuntu/kubuntu 6.10>7.10

Se avete problemi con l’immagine di avvio/chiusura(Usplash) del Vostro S.O. in Ubuntu/Kubuntu 7.10
——————————————————-

aprite il terminale e digitate

sudo vi /etc/usplash.conf

nel file troverete questi settaggi:

# Usplash configuration file
xres=1280
yres=1024

cambiate questi come meglio credete:

# Usplash configuration file
xres=1024
yres=768

salvare con comando :wq

a questo punto digitate:

sudo update-initramfs -u

così aggiorniamo l’immagine e tutto va a posto.

installare startupmanager per cambiare invece l’immagine d’avvio

sudo apt-get install startupmanager

1. installare i driver ati

2. installare compizconfig-settings-manager

3. installare xgl (*)
sudo aptitude update
sudo aptitude install linux-restricted-modules

sudo aptitude install compizconfig-settings-manager

Sistema->Preferenze->Advanced Desktop Effects Settings

(*)N.B. da usare se non funziona:

sudo aptitude install xserver-xgl

Usando la mia SourceList:

sudo apt-get update

sudo apt-get install w32codecs libdvdcss2

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

# Line commented out by installer because it failed to verify:
# deb http://it.archive.ubuntu.com/ubuntu/ gutsy main restricted
# Line commented out by installer because it failed to verify:
# deb-src http://it.archive.ubuntu.com/ubuntu/ gutsy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
# Line commented out by installer because it failed to verify:
# deb http://it.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted
# Line commented out by installer because it failed to verify:
# deb-src http://it.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
# Line commented out by installer because it failed to verify:
# deb http://it.archive.ubuntu.com/ubuntu/ gutsy universe
# Line commented out by installer because it failed to verify:
# deb-src http://it.archive.ubuntu.com/ubuntu/ gutsy universe
# Line commented out by installer because it failed to verify:
# deb http://it.archive.ubuntu.com/ubuntu/ gutsy-updates universe
# Line commented out by installer because it failed to verify:
# deb-src http://it.archive.ubuntu.com/ubuntu/ gutsy-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
# Line commented out by installer because it failed to verify:
# deb http://it.archive.ubuntu.com/ubuntu/ gutsy multiverse
# Line commented out by installer because it failed to verify:
# deb-src http://it.archive.ubuntu.com/ubuntu/ gutsy multiverse
# Line commented out by installer because it failed to verify:
# deb http://it.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse
# Line commented out by installer because it failed to verify:
# deb-src http://it.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse

## Uncomment the following two lines to add software from the ‘backports’
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://it.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse
# deb-src http://it.archive.ubuntu.com/ubuntu/ gutsy-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 gutsy partner
deb-src http://archive.canonical.com/ubuntu gutsy partner

# Line commented out by installer because it failed to verify:
# deb http://security.ubuntu.com/ubuntu gutsy-security main restricted
# Line commented out by installer because it failed to verify:
# deb-src http://security.ubuntu.com/ubuntu gutsy-security main restricted
# Line commented out by installer because it failed to verify:
# deb http://security.ubuntu.com/ubuntu gutsy-security universe
# Line commented out by installer because it failed to verify:
# deb-src http://security.ubuntu.com/ubuntu gutsy-security universe
# Line commented out by installer because it failed to verify:
# deb http://security.ubuntu.com/ubuntu gutsy-security multiverse
# Line commented out by installer because it failed to verify:
deb http://archive.ubuntu.com/ubuntu/ gutsy main universe restricted multiverse
deb-src http://archive.ubuntu.com/ubuntu/ gutsy main universe restricted multiverse #Added by software-properties
# deb-src http://security.ubuntu.com/ubuntu gutsy-security multiverse

# AGGIUNTO

# deb http://medibuntu.sos-sts.com/repo/ gutsy freedeb
# deb http://medibuntu.sos-sts.com/repo/ gutsy non-freedeb-src

# deb http://medibuntu.sos-sts.com/repo/ gutsy freedeb-src
# deb http://medibuntu.sos-sts.com/repo/ gutsy non-free

deb http://packages.medibuntu.org/ gutsy free non-free
deb-src http://packages.medibuntu.org/ gutsy free non-free

deb http://security.ubuntu.com/ubuntu/ gutsy-security universe main multiverse restricted
deb-src http://security.ubuntu.com/ubuntu/ gutsy-security universe main multiverse restricted
deb http://archive.ubuntu.com/ubuntu/ gutsy-updates universe main multiverse restricted
deb-src http://archive.ubuntu.com/ubuntu/ gutsy-updates universe main multiverse restricted
deb http://archive.ubuntu.com/ubuntu/ gutsy-proposed universe main multiverse restricted
deb-src http://archive.ubuntu.com/ubuntu/ gutsy-proposed universe main multiverse restricted
deb http://archive.ubuntu.com/ubuntu/ gutsy-backports universe main multiverse restricted
deb-src http://archive.ubuntu.com/ubuntu/ gutsy-backports universe main multiverse restricted
# deb http://repository.akirad.net akirad-gutsy main

deb http://apt.last.fm/ debian stable

mount -o loop -t iso9660 nameiso.iso /mnt/iso

moduli da caricare
——————

——>prima cercate il modulo da caricare con il comando: modprobe -l|grep nomemodulo

:~$ modprobe -l|grep dv1394
/lib/modules/2.6.20-15-lowlatency/kernel/drivers/ieee1394/dv1394.ko

——>poi caricate suddetto modulo col comando: modprobe nomemodulo

modprobe dv1394

——>se volete che il modulo venga caricato all’avvio del
sistema operativo senza dover rifare l’operazione editate il file /etc/modules
aggiungendo il modulo che vi occorre e inserite nomemodulo:

sudo vi /etc/modules
password:************

————————————————————————
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with “#” are ignored.

lp
sbp2
fuse

dv1394
————————————————————————

——>all’interno dell’editor usate il tasto “i” per inserire il testo
poi i “:” per dare i comandi “wq”. w= salvare, q=uscire

——>al riavvio del sistema i moduli saranno caricati

Ubuntu/Kubuntu 6.10 > 7.10

per la connessione Bluetooth
—————————–

——> inserire dispositivo bluetooth (penna o altro)
——> controllare presenza modulo (modprobe -l|grep bluetooth) e/o
——> caricare modulo bluetooth (modprobe bluetooth)
——> installare i componenti necessari da root

apt-get install bluez-utils <– (per gnome se necessario)

——solo gnome——

——> digitare il comando:

hcitool scan
kaihei@lapt:/etc/bluetooth$ hcitool scan
Scanning …
00:19:67:24:50:D4 nomedispositivo

——anche kubuntu—–

——> poi dopo…

sdptool browse

——> e scegliere il canale da utilizzare ed
——> editare successivamente il file /etc/rfcomm.conf:

#
# RFCOMM configuration file.
#

rfcomm0 {
# # Automatically bind the device at startup
bind yes;
#
# # Bluetooth address of the device
device 00:19:67:24:50:D4; <– ECCO L’INDIRIZZO DEVICE
#
# # RFCOMM channel for the connection
# # Il canale
channel 2; <– ED ECCO IL CANALE SCELTO (2 = Dial-Up)
#
# # Description of the connection
# comment “Example Bluetooth device”;
}

——> successivamente digitare il comando:

rfcomm bind /dev/rfcomm0 00:19:67:24:50:D4 2 <–device+indirizzo + canale scelto

——> editare il file /etc/hcid.conf (se diverso dal seguente)

#
# HCI daemon configuration file.
#

# HCId options
options {
# Automatically initialize new devices
autoinit yes;

# Security Manager mode
# none – Security manager disabled
# auto – Use local PIN for incoming connections
# user – Always ask user for a PIN
#
security user;

# Pairing mode
# none – Pairing disabled
# multi – Allow pairing with already paired devices
# once – Pair once and deny successive attempts
pairing multi;

# Default PIN code for incoming connections
passkey “1234″;
}

# Default settings for HCI devices
device {
# Local device name
# %d – device id
# %h – host name
name “%h-%d”;

# Local device class
class 0×3e0100;

# Default packet type
#pkt_type DH1,DM1,HV1;

# Inquiry and Page scan
iscan enable; pscan enable;
discovto 0;

# Default link mode
# none – no specific policy
# accept – always accept incoming connections
# master – become master on incoming connections,
# deny role switch on outgoing connections
lm accept;

# Default link policy
# none – no specific policy
# rswitch – allow role switch
# hold – allow hold mode
# sniff – allow sniff mode
# park – allow park mode
lp rswitch,hold,sniff,park;
}

——> configurare /etc/wvdial.conf con un qualsiasi editor (es. vi /etc/wvdial.conf)

[Dialer Bluetooth]
Init1 = ATZ
Init2 = AT+CGDCONT=1,”IP”,”ibox.tim.it”,,0,0 <– (VALIDO PER CELL. TIM)
<– PER ALTRI TIPI CERCARE IN RETE –>
Phone = *99# <– (CERCARE O CHIAMARE IL CENTRO ASSISTENZA DELL’OPERATORE CHE VI DA IL SERVIZIO TELEFONICO PERCHÈ IL NUMERO CAMBIA ANCHE IN BASE AL MODELLO DI CELLULARE CHE UTILIZZATE)

Username = guest
Password = guest
Modem = /dev/rfcomm0
Baud = 460800

——> digitare il comando:

wvdial Bluetooth

——> si può anche utilizzare pppconfig

sudo pppconfig <– (CONFIGURATE SEGUENDO I VARI PASSAGGI, SEGUIRE SOPRA PER NUMERO, UTENTE, PASSWORD ETC. LA STRINGA D’INIZIALIZZAZIONE (Init2) DEL WVDIAL.CONF SOPRA VA INSERITA NELL’ADVANCE OPTION DEL PPPCONFIG AL POSTO DI “d/c/” O COMUNQUE COME STRINGA Init2)

N.B.

In Kubuntu le operazioni sopra risultano più semplici perchè con kbluetooth basta cliccare e cercare i nuovi dispositivi per ottenerne gli indirizzi per poi comunque editare il file /etc/bluetooth/rfcomm.

Prima di editare i file controllare
con il comando “ls -la” i permessi dei suddetti

ex: ls -la /etc/rfcomm.conf
-rw-r–r– 1 root root 1341 2007-11-10 23:19 rfcomm.conf

il file sopra va cambiato da root (su+password oppure sudo+password)