[Linux-Biella] Ubuntu - Rimuovere completamente un pacchetto
Simone Linux
mantakbilug a gmail.com
Lun 14 Dic 2009 14:49:37 CET
> dopo breve ricerca mi pare di aver capito che gnomeppp faccia da
> front-end a wvdial...
>
> se è così le impostazioni di connessione sono in questo file nella tua home:
> .wvdial.conf
>
> prova a rinominarlo in .wvdial.conf.bak
>
> e avvia di nuovo gnome-ppp
L'unico file che assomiglia a quello è WvDial: ma è vuoto, non penso
sia responsabile di sta cosa.
Ho cercato con il "trova" quel nome che dici tu, e ne ho trovato uno
in /etc che all'interno riporta:
[Dialer Defaults]
Phone =
Username =
Password =
New PPPD = yes
E' questo?
Se no in /var/lib/dpkg/Info c'è un file che si chiama wvdial.config e
all'interno riporta:
#!/bin/sh
set -e
# Source debconf library
. /usr/share/debconf/confmodule
db_capb backup
# Update the Debconf database with information from /etc/wvdial.conf
if [ -e /etc/wvdial.conf ] && type uni >/dev/null 2>/dev/null; then
export UNICONF='ini:/etc/wvdial.conf'
update_db()
{
set +e
RET=`uni get "$1"`
if [ $? ]; then
set -e
db_set "$2" "$RET"
else
set -e
fi
}
else
# We can't do anything
update_db()
{
true
}
fi
STATE=1
LASTSTATE=5
while [ "$STATE" != 0 ] && [ "$STATE" -le "$LASTSTATE" ]; do
case "$STATE" in
1)
db_input low wvdial/wvdialconf || true
;;
2)
db_get wvdial/wvdialconf
if [ "$RET" = "true" ]; then
update_db 'Dialer Defaults/Phone' wvdial/phone
db_input medium wvdial/phone || true
fi
;;
3)
db_get wvdial/wvdialconf
if [ "$RET" = "true" ]; then
update_db 'Dialer Defaults/Username' wvdial/login
db_input medium wvdial/login || true
fi
;;
4)
db_get wvdial/wvdialconf
if [ "$RET" = "true" ]; then
update_db 'Dialer Defaults/Password' wvdial/passphrase
update_db 'Dialer Defaults/Password' wvdial/passphrase2
db_input medium wvdial/passphrase || true
db_input medium wvdial/passphrase2 || true
fi
;;
5)
db_get wvdial/wvdialconf
if [ "$RET" = "true" ]; then
db_get wvdial/passphrase
PASSPHRASE="$RET"
db_get wvdial/passphrase2
if [ "$RET" != "$PASSPHRASE" ]; then
db_input medium wvdial/passphrases_mismatch || true
db_reset wvdial/passphrase
db_reset wvdial/passphrase2
db_fset wvdial/passphrase seen false
db_fset wvdial/passphrase2 seen false
STATE=3
fi
fi
;;
esac
if db_go; then
STATE=$(($STATE + 1))
else
STATE=$(($STATE - 1))
fi
done
Però anche questo non mi sembra riporti i dati di gnomePPP
--
Simone
Toshiba Satellite A100 + Ubuntu 9.10
Maggiori informazioni sulla lista
Linux