Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Ubuntu Mate 16.04 e driver Huawei K4 305 Vodafone

133 views
Skip to first unread message

wollammudeg

unread,
Nov 26, 2017, 1:47:18 PM11/26/17
to
Ho provato a caricare il driver per la pendrive Huawei K4 305 Vodafone
ma il sistema non riconosce la libreria libusb-0.1.4
L'errore è: error while loading shared libraries: libusb-0.1.so.4 cannot
open shared object file: No such file or directory
Infatti non viene riconosciuta.
Suggerimenti?

sacarde

unread,
Nov 26, 2017, 3:06:39 PM11/26/17
to
nel pacchetto: libusb-0.1-4

il file ci dovrebbe essere


https://packages.ubuntu.com/xenial/amd64/libusb-0.1-4/filelist

wollammudeg

unread,
Dec 1, 2017, 3:58:35 AM12/1/17
to
On Sun, 26 Nov 2017 12:06:38 -0800 (PST), sacarde <sac...@gmail.com>
wrote:

>nel pacchetto: libusb-0.1-4
>
>il file ci dovrebbe essere
>
>
>https://packages.ubuntu.com/xenial/amd64/libusb-0.1-4/filelist

In allegato.

http://tinypic.com/r/wvd1ud/9
http://tinypic.com/r/ezfxi1/9

A presto.

sacarde

unread,
Dec 1, 2017, 4:07:18 AM12/1/17
to
non ho capito...

per vedere se hai il pacchetto, da terminale:

dpkg -l | grep libusb-0.1-4


altrimenti installalo:

sudo apt-get install libusb-0.1-4

Joe

unread,
Dec 1, 2017, 8:59:07 AM12/1/17
to
Ma non potrebbe essere che il driver cerca una
libreria in versione più vecchia o più nuova di
quella di sistema?
La butto lì senza sapere di cosa si tratta...

In ogni caso a cosa ti serve il driver?
Qulla chiavetta dovrebbe essere supportata
tranquillamente da linux.

Più che sul driver in se, concentrati sullo scopo:
far finzionare il driver?
O far funzionare la chiavetta?
E per cosa?
Se è per connetterti ad internet il driver
probabilmente non ti serve.

Vedo che qui la conoscono da anni:
http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?f=2&t=1592&start=15

lsusb
usb-devices

Possono aiutare.

Saluti.

wollammudeg

unread,
Dec 2, 2017, 2:36:09 AM12/2/17
to
lsusb | grep Hua
Bus 003 Device 010: ID 12d1:1f15 Huawei Technologies Co., Ltd.

Ma nella selezione del dispositivo non risulta in lista.
Ho dato un occhio all'articolo ma non trovo spunti, suggerimenti?
Non saprei, saluti.

wollammudeg

unread,
Dec 2, 2017, 2:58:43 AM12/2/17
to
On Fri, 1 Dec 2017 01:07:16 -0800 (PST), sacarde <sac...@gmail.com>
wrote:
eccolo:
dpkg -l | grep libusb-0.1-4
ii libusb-0.1-4:amd64 2:0.1.12-28
amd64 userspace USB programming library

Ma non funziona. Se voglio creare una connessione a banda larga il
dispositivo non risulta in quelli disponibili. Ho provato con un
vecchio cell e viene riconosciuto.

wollammudeg

unread,
Dec 2, 2017, 3:24:34 AM12/2/17
to
On Fri, 1 Dec 2017 01:07:16 -0800 (PST), sacarde <sac...@gmail.com>
wrote:

>non ho capito...
>
>per vedere se hai il pacchetto, da terminale:
>
>dpkg -l | grep libusb-0.1-4
>

Ho provato su una debian la pendrive e viene riconosciuta come
cdc-wdm2 tra i dispositivi a banda larga.

sacarde

unread,
Dec 2, 2017, 3:46:58 AM12/2/17
to
ok, il pacchetto risulta installato...

ma questi file li hai?

https://packages.ubuntu.com/xenial/amd64/libusb-0.1-4/filelist




p.s.
con: ip a
ti mostra i dispositivi di rete

wollammudeg

unread,
Dec 2, 2017, 5:10:00 AM12/2/17
to
On Sat, 2 Dec 2017 00:46:55 -0800 (PST), sacarde <sac...@gmail.com>
wrote:

>ok, il pacchetto risulta installato...
>
>ma questi file li hai?
>
>https://packages.ubuntu.com/xenial/amd64/libusb-0.1-4/filelist
>
Si, hanno permesso di lettura e scrittura di root, gruppo root lettura
soltanto e altri lettura soltanto
>
>p.s.
>con: ip a
>ti mostra i dispositivi di rete

ubuntu
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
omiss
2: enp4s0f2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc
pfifo_fast state UP group default qlen 1000
omiss
3: wlp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue
state DOWN group default qlen 1000
omiss

Debian
Debian
ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
omiss
2: enp4s0f2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc
pfifo_fast state UP group default qlen 1000
omiss
3: wlp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue
state DOWN group default qlen 1000
omiss
4: wwan0: <BROADCAST,MULTICAST,NOARP> mtu 1500 qdisc noop state DOWN
group default qlen 1000

Ciao.

Joe

unread,
Dec 2, 2017, 6:43:57 AM12/2/17
to
wollammudeg <wollammu...@yopmail.com> wrote:
>>
>>lsusb
>>usb-devices

> lsusb | grep Hua
> Bus 003 Device 010: ID 12d1:1f15 Huawei Technologies Co., Ltd.
>
> Ho dato un occhio all'articolo ma non trovo spunti, suggerimenti?

Il secondo comando che ti ho scritto... usb-devices

Comunque dagli altri post vedo che te la rileva tranquillamente come
wwan0, quindi lato riconoscimento, non ci sono problemi.
Devi solo configurare l'interfaccia in modo che si colleghi alla rete
mobile quando la tiri su e impostarla com e instradamento predefinito
verso internet "default route"..

Ci sono almeno due modi... Lasciando perdere la vecchia ppp dialup.
Allora lascia perdere un attimo interfacce grafiche applet e altra
roba del genere. Apriti un terminale e loggati come root (sudo su).

Sia in debian che in ubuntu dovrebbe esserci la directory seguente,
ci entri dentro con cd:

cd /etc/network/interfaces.d/

poi fai un file di testo con l'editor che preferisci, vim, nano o
quello che vuoi, il file lo chiami "wwan0" e dentro ci scrivi:
---------------------
iface wwan0 inet dhcp
pre-up /bin/echo -ne 'AT^NDISDUP=1,1,"ibox.tim.it"\r\n' > /dev/ttyUSB0
post-down /bin/echo -ne 'AT^NDISDUP=1,0\r\n' > /dev/ttyUSB0
----------------------------------------------------------------

Ci sono due cose che potrebbero essere da adattare al tuo caso:

ibox.tim.it è l'APN di Tim. Se tu usi Vodafone dovrai metterci
quello, cercalo in rete...

/dev/ttyUSB0

è il file speciale che viene associato alla chiavetta.
Dovrebbe essere quello anche nel tuo caso, ma dovresti
verificare.
Per farlo puoi staccare la chiavetta.
lanciare:

tailf /var/log/messages

attaccare la chiavetta e guardare le righe che si aggiungono
al terminale: lì vedi quali files vengono assciati.

Editato quel file hai finito:


quando lanci "ifup" ti connetti e quando lanci "ifdown" ti disconnetti,
forse serve mettere anche il nome dell'interfaccia:

ifup wwan0

Ma non usando debian o derivate non ricordo...

Poi c'è un'altro metodo che se mai ti scrivo dopo...

Joe

unread,
Dec 2, 2017, 8:54:37 AM12/2/17
to
E funziona così?
Ti connetti alla fine?

wollammudeg

unread,
Dec 2, 2017, 9:33:20 AM12/2/17
to
>E funziona cosě?
>Ti connetti alla fine?

Si, ma dovrei reinstallare tutto su debian e risolvere gli altri
eventuali problemi dell'altra distro... oggettivamente poco
efficiente. Spero ancora di risolvere, anche se non so come, su
ubuntu. Strano sull'articolo che hai postato, se non ho capito male,
il problema era proprio su debian. Ciao.

Joe

unread,
Dec 2, 2017, 10:55:17 AM12/2/17
to
wollammudeg <wollammu...@yopmail.com> wrote:
> On Sat, 02 Dec 2017 14:54:36 +0100, Joe <J...@e.invalid> wrote:
>
>>wollammudeg <wollammu...@yopmail.com> wrote:
>>> On Fri, 1 Dec 2017 01:07:16 -0800 (PST), sacarde <sac...@gmail.com>
>>> wrote:
>>>
>>>>non ho capito...
>>>>
>>>>per vedere se hai il pacchetto, da terminale:
>>>>
>>>>dpkg -l | grep libusb-0.1-4
>>>>
>>>
>>> Ho provato su una debian la pendrive e viene riconosciuta come
>>> cdc-wdm2 tra i dispositivi a banda larga.
>>
>>E funziona così?
>>Ti connetti alla fine?
>
> Si, ma dovrei reinstallare tutto su debian e risolvere gli altri
> eventuali problemi dell'altra distro... oggettivamente poco
> efficiente. Spero ancora di risolvere, anche se non so come, su
> ubuntu. Strano sull'articolo che hai postato, se non ho capito male,
> il problema era proprio su debian. Ciao.

Non c'entra, quel forum è degli sviluppatori di usb mode-switch:
si occupano di gestire queste chiavette correttamente come modem
perchè altrimenti hanno anche la funzione di storage.
Quel programma serviva proprio per fare "lo switch" automaticamente
alla funzione di modem. Ma a te non serve, cioè la tua chiavetta è già
gestita. Il topic era vecchiotto... ma testimoniava appunto che la
tua chiavetta con linux dialoga bene. Indipendentemente dalla
distribuzione che usi.

cdc-wdm*

è il nome dell'interfaccia corrispondente alla funzionalità
di modem gestibile attraverso le libererie qmi-lib.
Grazie a questo ti gestisci la connessione sempre attraverso
l'interfaccia di rete "wwan" (wwan0).

È il secondo metodo che ti avevo accennato e lasciato in sospeso.

/etc/qmi-network.conf
----------------
APN="ibox.tim.it"
----------------

Poi controlla che sia presente /dev/cdc-wdm_qualcosa...
A me per esempio prendeva /dev/cdc-wdm0

lo vedi facilmente:
find /dev -name "*cdc-wdm*"

Poi semplicemente lanci il comando:

qmi-network /dev/cdc-wdm0 start && dhclient wwan0

il dhclient chiede al server di assegnarti un IP.
Io avevo avuto qualche difficoltà ad ottenerlo
però dovrebbe funzionare.

Poi puoi controllare l'instradamento con

ip r s

Vedi se sei connessi con un

ping 8.8.8.8


In ogni caso sia in caso che funzioni sia che no, poi potrai
impostare la configurazione dell'interfaccia wwan0 nel file

/etc/interfaces.d/wwan0

Potrebbe anche risolvere l'eventuale problema col DHCP
e lassegnazione dell'IP non effettuata...

Per tutta sta roba ti serve il pacchetto qmi o libqmi o come
si chiama su ubuntu...
Controlla se l'ahi installato se no provvedi..

wollammudeg

unread,
Dec 2, 2017, 12:02:55 PM12/2/17
to
Allora premetto ancora niente... :(
Inserita la pendrive.
lsusb | grep Hua
Bus 003 Device 006: ID 12d1:1f15 Huawei Technologies Co., Ltd

/dev$ ls | grep cdc
<nul>

sudo apt install libqmi-utils
<OK>

qmi-network /dev/cdc-wdm0 start && dhclient wwan0
Starting network with 'qmicli -d /dev/cdc-wdm0 --wds-start-network=
--client-no-release-cid'...
error: couldn't create QmiDevice: Couldn't query file info: Errore nel
recuperare informazioni per il file «/dev/cdc-wdm0»: File o directory
non esistente
error: network start failed, client not allocated

Non saprei proprio perché sta cavola non va... :(

Joe

unread,
Dec 2, 2017, 12:35:37 PM12/2/17
to
wollammudeg <wollammu...@yopmail.com> wrote:
>
> sudo apt install libqmi-utils
> <OK>
>
> qmi-network /dev/cdc-wdm0 start && dhclient wwan0
> Starting network with 'qmicli -d /dev/cdc-wdm0 --wds-start-network=
> --client-no-release-cid'...
> error: couldn't create QmiDevice: Couldn't query file info: Errore nel
> recuperare informazioni per il file «/dev/cdc-wdm0»: File o directory
> non esistente
> error: network start failed, client not allocated
>
> Non saprei proprio perché sta cavola non va... :(

Il messaggio di errore ti dà qualche suggerimento.
Dammi l'ouput dei seguenti due comandi

1) ls /dev/cdc-wdm0

2) cat cat /etc/qmi-network.conf

3) usb-devices


PS.
Quanto detto nel tuo messaggio che ho quotato qui, si riferisce
a ubuntu no?
In debian invece hai risolto, ho capito bene?

sacarde

unread,
Dec 2, 2017, 3:05:50 PM12/2/17
to

wollammudeg

unread,
Dec 4, 2017, 2:50:02 AM12/4/17
to
Joe <J...@e.invalid> ha scritto:

> wollammudeg <wollammu...@yopmail.com> wrote:
> > ---
>
> PS.
> Quanto detto nel tuo messaggio che ho quotato qui, si riferisce
> a ubuntu no?
> In debian invece hai risolto, ho capito bene?

Si, su Debian Jessie non ci sono problemi. Ci abbiamo navigato senza problemi
appena installata. Viene riconosciuta come modem per la banda larga, due click e
siamo su internet. Che manca a Ubuntu per farla funzionare allo stesso modo? :(

wollammudeg

unread,
Dec 4, 2017, 2:50:18 AM12/4/17
to
sacarde <sac...@gmail.com> ha scritto:
Ma su Debian Jessie non ci sono problemi. Ci abbiamo navigato senza problemi

sacarde

unread,
Dec 4, 2017, 3:43:41 AM12/4/17
to
quel link si riferisce a ubuntu...



p.s.
in debian hai anche le librerie a 32bit ?

wollammudeg

unread,
Dec 4, 2017, 4:11:14 AM12/4/17
to
sacarde <sac...@gmail.com> ha scritto:

> quel link si riferisce a ubuntu...

Si ovviamente.

> p.s.
> in debian hai anche le librerie a 32bit ?

Come facciamo a verificare? Come le installo in ubuntu, se questa è una
possibile soluzione? Grazie!

Joe

unread,
Dec 4, 2017, 4:18:46 AM12/4/17
to
wollammudeg <wollammu...@yopmail.com> wrote:
> Joe <J...@e.invalid> ha scritto:
>>
>> PS.
>> Quanto detto nel tuo messaggio che ho quotato qui, si riferisce
>> a ubuntu no?
>> In debian invece hai risolto, ho capito bene?
>
> Si, su Debian Jessie non ci sono problemi. Ci abbiamo navigato senza problemi
> appena installata. Viene riconosciuta come modem per la banda larga, due click e
> siamo su internet. Che manca a Ubuntu per farla funzionare allo stesso modo? :(

Mancano gli output dei comandi che ti ho chiesto! ;)

Non siamo davanti al tuo PC, l'unico modo per capire
la situazione è che tu ci dia le informazioni indicate.

Invece di limitarti a quotare il mio PS e rispondere
solo a quello, avresti dovuto quotare tutto il mio
messaggio con l'output che ti restituiscono i comandi
indicati... Capisco se stai scrivendo da altro PC, ma
altrimenti ci voleva davvero poco impegno in più.

Così a naso, mi sembra che non venga eseguito lo switch da
mass-storage a modem. Ma ripeto, senza gli output richiesti
non sono in grado di aiutarti.

e già che ci sei mostra anche l'out di questo comando
insieme con gli altri già richiesti:

usb_modeswitch --version


Ciao

sacarde

unread,
Dec 4, 2017, 5:25:50 AM12/4/17
to
cel'hai questo file nei 2 sistemi?

/lib/i386-linux-gnu/libusb-0.1.so.4


wollammudeg

unread,
Dec 4, 2017, 6:41:21 AM12/4/17
to
sacarde <sac...@gmail.com> ha scritto:

> cel'hai questo file nei 2 sistemi?
>
> /lib/i386-linux-gnu/libusb-0.1.so.4

In nessuno dei due c'è il file che mi hai indicato.

wollammudeg

unread,
Dec 4, 2017, 7:06:52 AM12/4/17
to
Joe <J...@e.invalid> ha scritto:
Eccoli:

ls /dev/cdc-wdm0
ls: impossibile accedere a '/dev/cdc-wdm0': File o directory non esistente

cat cat /etc/qmi-network.conf
cat: cat: File o directory non esistente
cat: /etc/qmi-network.conf: File o directory non esistente

usb-devices

..
T: Bus=09 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=ff MxPS=64 #Cfgs= 2
P: Vendor=12d1 ProdID=1f15 Rev=01.02
S: Manufacturer=Vodafone (Huawei)
S: Product=K4305
S: SerialNumber=FFFFFFFFFFFFFFFF
C: #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=(none)

usb_modeswitch --version

* usb_modeswitch: handle USB devices with multiple modes
* Version 2.2.5 (C) Josua Dietze 2015
* Based on libusb1/libusbx

! PLEASE REPORT NEW CONFIGURATIONS !

Ciao!

sacarde

unread,
Dec 4, 2017, 7:36:33 AM12/4/17
to

quindi non sembra un problema di librerie 32bit

segui i comandi che ha suggerito joe

Joe

unread,
Dec 4, 2017, 8:06:32 AM12/4/17
to
wollammudeg <wollammu...@yopmail.com> wrote:
>
> usb-devices
>
> ..
> T: Bus=09 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=480 MxCh= 0
> D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=ff MxPS=64 #Cfgs= 2
> P: Vendor=12d1 ProdID=1f15 Rev=01.02
> S: Manufacturer=Vodafone (Huawei)
> S: Product=K4305
> S: SerialNumber=FFFFFFFFFFFFFFFF
> C: #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=500mA
> I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=(none)
>
> usb_modeswitch --version
>
> * usb_modeswitch: handle USB devices with multiple modes
> * Version 2.2.5 (C) Josua Dietze 2015
> * Based on libusb1/libusbx

Ok, il problema è che per qualche santo, usb_modeswitch non
converte la chiavetta da storage a modem quando la colleghi.

Eppure la chiavetta dovrebbe essere gestita da usb_modeswitch,
perchè anche sul mio sistema vedo che c'è il corrispondente
file di configurazione:

# cat /usr/share/usb_modeswitch/12d1\:1f15
----------------
# Vodafone K4305
TargetVendor=0x12d1
TargetProductList="1400,14f7"
HuaweiNewMode=1
---------------

Questo vuol dire che quando il sistema rileva il collegamento
di un dispositivo avente vendor:prodotto "12d1:1f15", allora
lo converte in "12d1:1400" oppure "1400:14f7", penso a seconda
del modello specifico.

Fatta quella conversione dovrebbe apparirti tra le interfaccie
di rete una nuova chiamata wwan0 o qualcosa del genere, potrebbe
anche essere eth_qualcosa_.

I passaggi che seguirei io sono i seguenti:

1.
Capire perchè usb_modeswitch non esegue lo switch...

2.
Capito il punto (1), cioè riusciti a convertire la chiavetta da
storage a modem, vedere quali protocolli di comunicazione supporta.
Prima ti avevo parlato di QMI, ma leggendo in giro vedo che potrebbe
invece necessitare di MBIM.
Non preoccuparti adesso di sta roba, prima risolvi il punto 1.


-------------------------------------------------------

Procediamo:

1a.
Per capire cosa succede effettivamente quando colleghi
la chiavetta:

- rimuovi la chiavetta se collegata
- apri il solito terminale di root
- lancia

tailf /var/log/messages

in questo modo tieni d'occhio i messaggi del sistema
"in diretta". Fai caso all'ultima riga: ogni riga inizia
con data e ora...
se non hai "tailf" usa "tail -f".

- collega la chiavetta
- sul terminale vedrai che appariranno tante nuove righe
- aspetta 20 secondi, in modo da assicurarti che il sistema
abbia finito di "digerire" la chiavetta e non compaiano più
righe relative a quell'evento.
- copia qua tutte le nuove righe aggiunte. Tutte. Non lasciarne
indietro se no non ci si capisce più niente.


1.b
Crea un file chiamato "pippo" e col seguente contenuto:
------------
CheckMBIM=1
# Enable logging (results in a extensive report file in /var/log, named
# "usb_modeswitch_<interface-name>" and probably others
EnableLogging=1
DefaultVendor= 0x12d1
DefaultProduct= 0x1f15
TargetVendor= 0x12d1
TargetProductList="1400,14f7"
HuaweiNewMode=1
MessageContent="55534243123456780000000000000011062000000000000100000000000000"
----------------

Poi, apri un terminale e lancia il solito "tailf /var/log/messages".
Quindi aprine un secondo e lancia il comando seguente:

usb_modeswitch -c /etc/usb_modeswitch.conf

Copiane qui l'output.

E allo stesso tempo fai caso alle nuove righe che si aggiungeranno
sull'altro terminale, e copia qui anche quelle. Il tutto in modo
ordinato, in modo che ci si possa capire.

Per il momento è tutto.
Ciao

Joe

unread,
Dec 4, 2017, 8:10:50 AM12/4/17
to
Joe <J...@e.invalid> wrote:
>
> Poi, apri un terminale e lancia il solito "tailf /var/log/messages".
> Quindi aprine un secondo e lancia il comando seguente:
>
> usb_modeswitch -c /etc/usb_modeswitch.conf

Errata... Correggo:

usb_modeswitch -c pippo


E per sicurezza copiami qui anche l'output di:

cat pippo

wollammudeg

unread,
Dec 4, 2017, 12:30:14 PM12/4/17
to
Joe <J...@e.invalid> ha scritto:

> wollammudeg <wollammu...@yopmail.com> wrote:
> >
Ecco:

La dir non era esistente:
/var/log$ sudo mkdir messages

sudo apt-get install tailf
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
E: Impossibile trovare il pacchetto tailf

tail -f /var/log/messages
tail: errore leggendo '/var/log/messages': È una directory
tail: /var/log/messages: non si può continuare fino alla fine di questo tipo di
file; elaborazione terminata per questo nome
tail: nessun file rimasto

Cancellata la dir messages:

tail -f /var/log/messages
tail: impossibile aprire '/var/log/messages' per la lettura: File o directory
non esistente
tail: nessun file rimasto

Ciao.

Joe

unread,
Dec 4, 2017, 12:57:25 PM12/4/17
to
wollammudeg <wollammu...@yopmail.com> wrote:
> Joe <J...@e.invalid> ha scritto:
>
>> wollammudeg <wollammu...@yopmail.com> wrote:
>> >
> Ecco:
>
> La dir non era esistente:
> /var/log$ sudo mkdir messages

Ma non era una dir...
Era un file di log, che ci doveva essere secondo
le mie abitudini di utente non-ubuntu.

Invece a quanto pare su ubuntu il log di sistema
non viene scritto su /var/log/messages, bensì su

/var/log/syslog

Lo dice anche qui
https://help.ubuntu.com/community/LinuxLogFiles
> System Log
>
> The system log typically contains the greatest deal of information by
> default about your Ubuntu system. It is located at /var/log/syslog, and
> may contain information other logs do not. Consult the System Log when
> you can't locate the desired log information in another log. It also
> contains everything that used to be in /var/log/messages.

Quindi cancella pure quella directory:

rm -rf /var/log/messages


E segui la procedura sostituendo a /var/log/messages il file:

/var/log/syslog

Ti è chiaro?
È quello il file di log da monitorare con "tail -f".

Ciao

sacarde

unread,
Dec 4, 2017, 3:04:55 PM12/4/17
to

wollammudeg

unread,
Dec 6, 2017, 7:17:22 AM12/6/17
to
On Mon, 4 Dec 2017 12:04:52 -0800 (PST), sacarde <sac...@gmail.com>
wrote:

>
Funziona con la scheda vodafone, con gli altri provider risulta sempre
non connesso e non è possibile settare manualmente una connessione per
usare un'altra scheda. :(

wollammudeg

unread,
Dec 6, 2017, 9:03:43 AM12/6/17
to
Joe <J...@e.invalid> ha scritto:

> wollammudeg <wollammu...@yopmail.com> wrote:
Completo anche con il comando suggerito da sacarde con scheda non vodafone:
(ho usato una disto live non avendo a portata di mano il computer in oggetto)

lsusb
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 005: ID 03eb:8819 Atmel Corp.
Bus 001 Device 004: ID 13d3:5195 IMC Networks
Bus 001 Device 003: ID 13d3:3362 IMC Networks Atheros AR3012 Bluetooth 4.0 Adapter
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 05e3:0612 Genesys Logic, Inc.
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 007: ID 12d1:1f15 Huawei Technologies Co., Ltd.
Bus 003 Device 004: ID 05e3:0738 Genesys Logic, Inc.
Bus 003 Device 003: ID 046d:c05a Logitech, Inc. M90/M100 Optical Mouse
Bus 003 Device 002: ID 05e3:0612 Genesys Logic, Inc.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

usb_modeswitch -c /etc/usb_modeswitch.conf
No default vendor/product ID given. Abort

usb_modeswitch -c pippo
Look for default devices ...
product ID matched
Found devices in default mode (1)
Access device 007 on bus 003
Error opening the device. Abort

usb_modeswitch -J -v 0x12d1 -p 0x1f15
Look for default devices ...
product ID matched
Found devices in default mode (1)
Access device 007 on bus 003
Error opening the device. Abort


ubuntu-mate@ubuntu-mate:~$ tail -f /var/log/syslog
Dec 6 13:46:25 ubuntu-mate kernel: [ 338.059535] nouveau 0000:01:00.0: DRM:
suspending client object trees...
Dec 6 13:46:25 ubuntu-mate kernel: [ 338.065244] nouveau 0000:01:00.0: DRM:
suspending kernel object tree...
Dec 6 13:46:29 ubuntu-mate bluetoothd[1596]: Failed to set mode: Failed (0x03)
Dec 6 13:46:32 ubuntu-mate ntfs-3g[5420]: Version 2015.3.14AR.1 integrated FUSE 28
Dec 6 13:46:32 ubuntu-mate ntfs-3g[5420]: Mounted /dev/sda8 (Read-Write, label
"Data-Win", NTFS 3.1)
Dec 6 13:46:32 ubuntu-mate ntfs-3g[5420]: Cmdline options:
rw,nodev,nosuid,uid=999,gid=999,uhelper=udisks2
Dec 6 13:46:32 ubuntu-mate ntfs-3g[5420]: Mount options:
rw,nodev,nosuid,uhelper=udisks2,allow_other,nonempty,relatime,default_permissions,fsname=/dev/sda8,blkdev,blksize=4096
Dec 6 13:46:32 ubuntu-mate ntfs-3g[5420]: Global ownership and permissions
enforced, configuration type 7
Dec 6 13:46:32 ubuntu-mate udisksd[2998]: Mounted /dev/sda8 at
/media/ubuntu-mate/Data-Win on behalf of uid 999
Dec 6 13:46:40 ubuntu-mate blueman-mechanism: Exiting
Dec 6 13:48:10 ubuntu-mate kernel: [ 443.083152] usb 3-2: new high-speed USB
device number 5 using xhci_hcd
Dec 6 13:48:11 ubuntu-mate kernel: [ 443.224761] usb 3-2: New USB device
found, idVendor=12d1, idProduct=1f15
Dec 6 13:48:11 ubuntu-mate kernel: [ 443.224768] usb 3-2: New USB device
strings: Mfr=5, Product=4, SerialNumber=6
Dec 6 13:48:11 ubuntu-mate kernel: [ 443.224771] usb 3-2: Product: K4305
Dec 6 13:48:11 ubuntu-mate kernel: [ 443.224774] usb 3-2: Manufacturer:
Vodafone (Huawei)
Dec 6 13:48:11 ubuntu-mate kernel: [ 443.224777] usb 3-2: SerialNumber:
FFFFFFFFFFFFFFFF
Dec 6 13:48:11 ubuntu-mate kernel: [ 443.226613] usb-storage 3-2:1.0: USB Mass
Storage device detected
Dec 6 13:48:11 ubuntu-mate kernel: [ 443.226939] scsi host7: usb-storage 3-2:1.0
Dec 6 13:48:11 ubuntu-mate mtp-probe: checking bus 3, device 5:
"/sys/devices/pci0000:00/0000:00:14.0/usb3/3-2"
Dec 6 13:48:11 ubuntu-mate mtp-probe: bus: 3, device: 5 was not an MTP device
Dec 6 13:48:11 ubuntu-mate systemd[1]: Created slice system-usb_modeswitch.slice.
Dec 6 13:48:11 ubuntu-mate systemd[1]: Starting USB_ModeSwitch_3-2:1.0...
Dec 6 13:48:11 ubuntu-mate usb_modeswitch_dispatcher[5655]: Could not read
attribute: No such file or directory
Dec 6 13:48:12 ubuntu-mate kernel: [ 444.231992] scsi 7:0:0:0: CD-ROM
Vodafone Storage(Huawei) 2.31 PQ: 0 ANSI: 2
Dec 6 13:48:12 ubuntu-mate kernel: [ 444.233491] sr 7:0:0:0: [sr1] scsi-1 drive
Dec 6 13:48:12 ubuntu-mate kernel: [ 444.234003] sr 7:0:0:0: Attached scsi
CD-ROM sr1
Dec 6 13:48:12 ubuntu-mate kernel: [ 444.234247] sr 7:0:0:0: Attached scsi
generic sg5 type 5
Dec 6 13:48:12 ubuntu-mate kernel: [ 444.750233] ISO 9660 Extensions: RRIP_1991A
Dec 6 13:48:11 ubuntu-mate usb_modeswitch_dispatcher[5655]: message repeated 2
times: [ Could not read attribute: No such file or directory]
Dec 6 13:48:12 ubuntu-mate udisksd[2998]: Mounted /dev/sr1 at
/media/ubuntu-mate/Vodafone Mobile Broadband on behalf of uid 999
Dec 6 13:48:13 ubuntu-mate usb_modeswitch: switch device 12d1:1f15 on 003/005
Dec 6 13:48:13 ubuntu-mate udisksd[2998]: Cleaning up mount point
/media/ubuntu-mate/Vodafone Mobile Broadband (device 11:1 no longer exist)
Dec 6 13:48:13 ubuntu-mate kernel: [ 446.033671] usb 3-2: USB disconnect,
device number 5
Dec 6 13:48:15 ubuntu-mate kernel: [ 448.078989] usb 3-2: new high-speed USB
device number 6 using xhci_hcd
Dec 6 13:48:16 ubuntu-mate kernel: [ 448.220724] usb 3-2: New USB device
found, idVendor=12d1, idProduct=1400
Dec 6 13:48:16 ubuntu-mate kernel: [ 448.220730] usb 3-2: New USB device
strings: Mfr=5, Product=4, SerialNumber=6
Dec 6 13:48:16 ubuntu-mate kernel: [ 448.220733] usb 3-2: Product: K4305
Dec 6 13:48:16 ubuntu-mate kernel: [ 448.220737] usb 3-2: Manufacturer:
Vodafone (Huawei)
Dec 6 13:48:16 ubuntu-mate kernel: [ 448.220739] usb 3-2: SerialNumber:
FFFFFFFFFFFFFFFF
Dec 6 13:48:16 ubuntu-mate mtp-probe: checking bus 3, device 6:
"/sys/devices/pci0000:00/0000:00:14.0/usb3/3-2"
Dec 6 13:48:16 ubuntu-mate mtp-probe: bus: 3, device: 6 was not an MTP device
Dec 6 13:48:16 ubuntu-mate usb_modeswitch[5655]: usb_modeswitch: switched to
12d1:1400 on 3/6
Dec 6 13:48:17 ubuntu-mate kernel: [ 449.265778] cdc_ether 3-2:1.0 eth0:
register 'cdc_ether' at usb-0000:00:14.0-2, CDC Ethernet Device, 58:2c:80:13:92:63
Dec 6 13:48:17 ubuntu-mate kernel: [ 449.265809] usbcore: registered new
interface driver cdc_ether
Dec 6 13:48:17 ubuntu-mate NetworkManager[1593]: <warn> [1512568097.0494]
device (eth0): failed to find device 4 'eth0' with udev
Dec 6 13:48:17 ubuntu-mate NetworkManager[1593]: <info> [1512568097.0507]
manager: (eth0): new Ethernet device (/org/freedesktop/NetworkManager/Devices/3)
Dec 6 13:48:17 ubuntu-mate kernel: [ 449.268656] cdc_ether 3-2:1.0
enx582c80139263: renamed from eth0
Dec 6 13:48:17 ubuntu-mate NetworkManager[1593]: <info> [1512568097.0664]
device (eth0): interface index 4 renamed iface from 'eth0' to 'enx582c80139263'
Dec 6 13:48:17 ubuntu-mate kernel: [ 449.289649] IPv6: ADDRCONF(NETDEV_UP):
enx582c80139263: link is not ready
Dec 6 13:48:17 ubuntu-mate kernel: [ 449.289899] cdc_ether 3-2:1.0
enx582c80139263: kevent 12 may have been dropped
Dec 6 13:48:17 ubuntu-mate NetworkManager[1593]: <info> [1512568097.0715]
devices added (path:
/sys/devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/net/enx582c80139263,
iface: enx582c80139263)
Dec 6 13:48:17 ubuntu-mate NetworkManager[1593]: <info> [1512568097.0718]
device added (path:
/sys/devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/net/enx582c80139263,
iface: enx582c80139263): no ifupdown configuration found.
Dec 6 13:48:17 ubuntu-mate NetworkManager[1593]: <info> [1512568097.0724]
device (enx582c80139263): state change: unmanaged -> unavailable (reason
'managed') [10 20 2]
Dec 6 13:48:17 ubuntu-mate NetworkManager[1593]: <info> [1512568097.0735]
device (enx582c80139263): link connected
Dec 6 13:48:17 ubuntu-mate NetworkManager[1593]: <info> [1512568097.0760]
keyfile: add connection in-memory (77e777fe-190d-3dc9-86fa-df53c73fe18e,"Wired
connection 2")
Dec 6 13:48:17 ubuntu-mate NetworkManager[1593]: <info> [1512568097.0774]
settings: (enx582c80139263): created default wired connection 'Wired connection 2'
Dec 6 13:48:17 ubuntu-mate NetworkManager[1593]: <info> [1512568097.0804]
device (enx582c80139263): state change: unavailable -> disconnected (reason
'none') [20 30 0]
Dec 6 13:48:17 ubuntu-mate NetworkManager[1593]: <info> [1512568097.0818]
policy: auto-activating connection 'Wired connection 2'
Dec 6 13:48:17 ubuntu-mate NetworkManager[1593]: <info> [1512568097.0834]
device (enx582c80139263): Activation: starting connection 'Wired connection 2'
(77e777fe-190d-3dc9-86fa-df53c73fe18e)
Dec 6 13:48:17 ubuntu-mate NetworkManager[1593]: <info> [1512568097.0840]
device (enx582c80139263): state change: disconnected -> prepare (reason 'none')
[30 40 0]
Dec 6 13:48:17 ubuntu-mate NetworkManager[1593]: <info> [1512568097.0848]
device (enx582c80139263): state change: prepare -> config (reason 'none') [40 50 0]
Dec 6 13:48:17 ubuntu-mate NetworkManager[1593]: <info> [1512568097.0855]
device (enx582c80139263): state change: config -> ip-config (reason 'none') [50
70 0]
Dec 6 13:48:17 ubuntu-mate NetworkManager[1593]: <info> [1512568097.0863]
dhcp4 (enx582c80139263): activation: beginning transaction (timeout in 45 seconds)
Dec 6 13:48:17 ubuntu-mate NetworkManager[1593]: <info> [1512568097.0902]
dhcp4 (enx582c80139263): dhclient started with pid 5738
Dec 6 13:48:17 ubuntu-mate kernel: [ 449.307402] cdc_ether 3-2:1.0
enx582c80139263: kevent 12 may have been dropped
Dec 6 13:48:17 ubuntu-mate dhclient[5738]: DHCPDISCOVER on enx582c80139263 to
255.255.255.255 port 67 interval 3 (xid=0xf336964b)
Dec 6 13:48:17 ubuntu-mate dhclient[5738]: DHCPREQUEST of 192.168.9.100 on
enx582c80139263 to 255.255.255.255 port 67 (xid=0x4b9636f3)
Dec 6 13:48:17 ubuntu-mate dhclient[5738]: DHCPOFFER of 192.168.9.100 from
192.168.9.1
Dec 6 13:48:17 ubuntu-mate dhclient[5738]: DHCPACK of 192.168.9.100 from
192.168.9.1
Dec 6 13:48:17 ubuntu-mate NetworkManager[1593]: <info> [1512568097.6209]
address 192.168.9.100
Dec 6 13:48:17 ubuntu-mate NetworkManager[1593]: <info> [1512568097.6209]
plen 24 (255.255.255.0)
Dec 6 13:48:17 ubuntu-mate dhclient[5738]: bound to 192.168.9.100 -- renewal in
36704 seconds.
Dec 6 13:48:17 ubuntu-mate NetworkManager[1593]: <info> [1512568097.6210]
gateway 192.168.9.1
Dec 6 13:48:17 ubuntu-mate NetworkManager[1593]: <info> [1512568097.6210]
server identifier 192.168.9.1
Dec 6 13:48:17 ubuntu-mate NetworkManager[1593]: <info> [1512568097.6210]
lease time 86400
Dec 6 13:48:17 ubuntu-mate NetworkManager[1593]: <info> [1512568097.6210]
nameserver '192.168.9.1'
Dec 6 13:48:17 ubuntu-mate avahi-daemon[1597]: Joining mDNS multicast group on
interface enx582c80139263.IPv4 with address 192.168.9.100.
Dec 6 13:48:17 ubuntu-mate NetworkManager[1593]: <info> [1512568097.6211]
nameserver '192.168.9.1'
Dec 6 13:48:17 ubuntu-mate avahi-daemon[1597]: New relevant interface
enx582c80139263.IPv4 for mDNS.
Dec 6 13:48:17 ubuntu-mate NetworkManager[1593]: <info> [1512568097.6211]
dhcp4 (enx582c80139263): state changed unknown -> bound
Dec 6 13:48:17 ubuntu-mate avahi-daemon[1597]: Registering new address record
for 192.168.9.100 on enx582c80139263.IPv4.
Dec 6 13:48:17 ubuntu-mate NetworkManager[1593]: <info> [1512568097.6235]
device (enx582c80139263): state change: ip-config -> ip-check (reason 'none')
[70 80 0]
Dec 6 13:48:17 ubuntu-mate NetworkManager[1593]: <info> [1512568097.6244]
device (enx582c80139263): state change: ip-check -> secondaries (reason 'none')
[80 90 0]
Dec 6 13:48:17 ubuntu-mate NetworkManager[1593]: <info> [1512568097.6249]
device (enx582c80139263): state change: secondaries -> activated (reason 'none')
[90 100 0]
Dec 6 13:48:17 ubuntu-mate NetworkManager[1593]: <info> [1512568097.6257]
dns-mgr: Writing DNS information to /sbin/resolvconf
Dec 6 13:48:17 ubuntu-mate dnsmasq[2028]: setting upstream servers from DBus
Dec 6 13:48:17 ubuntu-mate dnsmasq[2028]: using nameserver 192.168.16.1#53(via
enp4s0f2)
Dec 6 13:48:17 ubuntu-mate dnsmasq[2028]: using nameserver 192.168.9.1#53(via
enx582c80139263)
Dec 6 13:48:17 ubuntu-mate NetworkManager[1593]: <info> [1512568097.6344]
device (enx582c80139263): Activation: successful, device activated.
Dec 6 13:48:17 ubuntu-mate dbus[1356]: [system] Activating via systemd: service
name='org.freedesktop.nm_dispatcher'
unit='dbus-org.freedesktop.nm-dispatcher.service'
Dec 6 13:48:17 ubuntu-mate systemd[1]: Starting Network Manager Script
Dispatcher Service...
Dec 6 13:48:17 ubuntu-mate dbus[1356]: [system] Successfully activated service
'org.freedesktop.nm_dispatcher'
Dec 6 13:48:17 ubuntu-mate systemd[1]: Started Network Manager Script
Dispatcher Service.
Dec 6 13:48:17 ubuntu-mate nm-dispatcher: req:1 'up' [enx582c80139263]: new
request (2 scripts)
Dec 6 13:48:17 ubuntu-mate nm-dispatcher: req:1 'up' [enx582c80139263]: start
running ordered scripts...
Dec 6 13:48:17 ubuntu-mate usb_modeswitch_dispatcher[5655]: Unable to open bind
list file: No such file or directory
Dec 6 13:48:18 ubuntu-mate avahi-daemon[1597]: Joining mDNS multicast group on
interface enx582c80139263.IPv6 with address fe80::f96b:4e2c:f0ab:9a6.
Dec 6 13:48:18 ubuntu-mate avahi-daemon[1597]: New relevant interface
enx582c80139263.IPv6 for mDNS.
Dec 6 13:48:18 ubuntu-mate avahi-daemon[1597]: Registering new address record
for fe80::f96b:4e2c:f0ab:9a6 on enx582c80139263.*.
Dec 6 13:48:18 ubuntu-mate ModemManager[1594]: <info> Couldn't find support
for device at '/sys/devices/pci0000:00/0000:00:14.0/usb3/3-2': not supported by
any plugin
Dec 6 13:48:19 ubuntu-mate ntpd[2093]: Listen normally on 6 enx582c80139263
192.168.9.100:123
Dec 6 13:48:19 ubuntu-mate ntpd[2093]: Listen normally on 7 enx582c80139263
[fe80::f96b:4e2c:f0ab:9a6%4]:123
Dec 6 13:48:19 ubuntu-mate ntpd[2093]: new interface(s) found: waking up resolver
Dec 6 13:48:21 ubuntu-mate kernel: [ 453.699435] usbcore: registered new
interface driver usbserial
Dec 6 13:48:21 ubuntu-mate kernel: [ 453.699485] usbcore: registered new
interface driver usbserial_generic
Dec 6 13:48:21 ubuntu-mate kernel: [ 453.699530] usbserial: USB Serial support
registered for generic
Dec 6 13:48:24 ubuntu-mate usb_modeswitch[5655]: usb_modeswitch: add device ID
12d1:1400 to driver option
Dec 6 13:48:24 ubuntu-mate usb_modeswitch[5655]: usb_modeswitch: please report
the device ID to the Linux USB developers!
Dec 6 13:48:24 ubuntu-mate kernel: [ 456.843915] usbcore: registered new
interface driver option
Dec 6 13:48:24 ubuntu-mate kernel: [ 456.843937] usbserial: USB Serial support
registered for GSM modem (1-port)
Dec 6 13:48:29 ubuntu-mate /usr/lib/snapd/snapd[1599]: snapmgr.go:496: DEBUG:
Next refresh scheduled for 2017-12-06 13:48:29.758352856 +0000 UTC.
Dec 6 13:48:30 ubuntu-mate /usr/lib/snapd/snapd[1599]: snapmgr.go:422: No snaps
to auto-refresh found
Dec 6 13:48:30 ubuntu-mate snapd[1599]: 2017/12/06 13:48:30.187129
snapmgr.go:422: No snaps to auto-refresh found
Dec 6 13:48:31 ubuntu-mate systemd[1]: Started USB_ModeSwitch_3-2:1.0.
Dec 6 13:48:49 ubuntu-mate ntpd[2093]: kernel reports TIME_ERROR: 0x41: Clock
Unsynchronized
Dec 6 13:49:21 ubuntu-mate NetworkManager[1593]: <info> [1512568161.8714]
device (enp4s0f2): state change: activated -> deactivating (reason
'user-requested') [100 110 39]
Dec 6 13:49:21 ubuntu-mate NetworkManager[1593]: <info> [1512568161.8716]
manager: NetworkManager state is now CONNECTED_LOCAL
Dec 6 13:49:21 ubuntu-mate NetworkManager[1593]: <info> [1512568161.8721]
audit: op="device-disconnect" interface="enp4s0f2" ifindex=2 pid=5165 uid=999
result="success"
Dec 6 13:49:21 ubuntu-mate whoopsie[2072]: [13:49:21] offline
Dec 6 13:49:21 ubuntu-mate NetworkManager[1593]: <info> [1512568161.8727]
device (enp4s0f2): state change: deactivating -> disconnected (reason
'user-requested') [110 30 39]
Dec 6 13:49:21 ubuntu-mate avahi-daemon[1597]: Withdrawing address record for
fe80::f7f1:4dd9:234b:3b1b on enp4s0f2.
Dec 6 13:49:21 ubuntu-mate avahi-daemon[1597]: Leaving mDNS multicast group on
interface enp4s0f2.IPv6 with address fe80::f7f1:4dd9:234b:3b1b.
Dec 6 13:49:21 ubuntu-mate avahi-daemon[1597]: Interface enp4s0f2.IPv6 no
longer relevant for mDNS.
Dec 6 13:49:21 ubuntu-mate NetworkManager[1593]: <info> [1512568161.9055]
dhcp4 (enp4s0f2): canceled DHCP transaction, DHCP client pid 2012
Dec 6 13:49:21 ubuntu-mate NetworkManager[1593]: <info> [1512568161.9056]
dhcp4 (enp4s0f2): state changed bound -> done
Dec 6 13:49:21 ubuntu-mate avahi-daemon[1597]: Withdrawing address record for
192.168.16.3 on enp4s0f2.
Dec 6 13:49:21 ubuntu-mate avahi-daemon[1597]: Leaving mDNS multicast group on
interface enp4s0f2.IPv4 with address 192.168.16.3.
Dec 6 13:49:21 ubuntu-mate NetworkManager[1593]: <info> [1512568161.9065]
manager: NetworkManager state is now CONNECTED_GLOBAL
Dec 6 13:49:21 ubuntu-mate avahi-daemon[1597]: Interface enp4s0f2.IPv4 no
longer relevant for mDNS.
Dec 6 13:49:21 ubuntu-mate NetworkManager[1593]: <info> [1512568161.9067]
policy: set 'Wired connection 2' (enx582c80139263) as default for IPv4 routing
and DNS
Dec 6 13:49:21 ubuntu-mate NetworkManager[1593]: <info> [1512568161.9069]
dns-mgr: Writing DNS information to /sbin/resolvconf
Dec 6 13:49:21 ubuntu-mate dnsmasq[2028]: setting upstream servers from DBus
Dec 6 13:49:21 ubuntu-mate dnsmasq[2028]: using nameserver 192.168.9.1#53(via
enx582c80139263)
Dec 6 13:49:21 ubuntu-mate dbus[1356]: [system] Activating via systemd: service
name='org.freedesktop.nm_dispatcher'
unit='dbus-org.freedesktop.nm-dispatcher.service'
Dec 6 13:49:21 ubuntu-mate systemd[1]: Starting Network Manager Script
Dispatcher Service...
Dec 6 13:49:21 ubuntu-mate dbus[1356]: [system] Successfully activated service
'org.freedesktop.nm_dispatcher'
Dec 6 13:49:21 ubuntu-mate systemd[1]: Started Network Manager Script
Dispatcher Service.
Dec 6 13:49:21 ubuntu-mate nm-dispatcher: req:1 'down' [enp4s0f2]: new request
(2 scripts)
Dec 6 13:49:21 ubuntu-mate nm-dispatcher: req:1 'down' [enp4s0f2]: start
running ordered scripts...
Dec 6 13:49:23 ubuntu-mate ntpd[2093]: Deleting interface #3 enp4s0f2,
192.168.16.3#123, interface stats: received=195, sent=195, dropped=1,
active_time=347 secs
Dec 6 13:49:23 ubuntu-mate ntpd[2093]: 91.189.89.199 local addr 192.168.16.3 ->
<null>
Dec 6 13:49:23 ubuntu-mate ntpd[2093]: 91.189.89.198 local addr 192.168.16.3 ->
<null>
Dec 6 13:49:23 ubuntu-mate ntpd[2093]: 193.183.98.38 local addr 192.168.16.3 ->
<null>
Dec 6 13:49:23 ubuntu-mate ntpd[2093]: 192.99.16.167 local addr 192.168.16.3 ->
<null>
Dec 6 13:49:23 ubuntu-mate ntpd[2093]: 91.189.94.4 local addr 192.168.16.3 ->
<null>
Dec 6 13:49:23 ubuntu-mate ntpd[2093]: 213.251.52.250 local addr 192.168.16.3
-> <null>
Dec 6 13:49:23 ubuntu-mate ntpd[2093]: 212.45.144.88 local addr 192.168.16.3 ->
<null>
Dec 6 13:49:23 ubuntu-mate ntpd[2093]: 212.45.144.3 local addr 192.168.16.3 ->
<null>
Dec 6 13:49:23 ubuntu-mate ntpd[2093]: 5.196.160.139 local addr 192.168.16.3 ->
<null>
Dec 6 13:49:23 ubuntu-mate ntpd[2093]: 185.19.184.35 local addr 192.168.16.3 ->
<null>
Dec 6 13:49:23 ubuntu-mate ntpd[2093]: 162.210.111.4 local addr 192.168.16.3 ->
<null>
Dec 6 13:49:23 ubuntu-mate ntpd[2093]: 94.177.187.22 local addr 192.168.16.3 ->
<null>
Dec 6 13:49:23 ubuntu-mate ntpd[2093]: 37.247.53.178 local addr 192.168.16.3 ->
<null>
Dec 6 13:49:23 ubuntu-mate ntpd[2093]: 87.118.124.35 local addr 192.168.16.3 ->
<null>
Dec 6 13:49:23 ubuntu-mate ntpd[2093]: 94.177.198.160 local addr 192.168.16.3
-> <null>
Dec 6 13:49:23 ubuntu-mate ntpd[2093]: 193.204.114.233 local addr 192.168.16.3
-> <null>
Dec 6 13:49:23 ubuntu-mate ntpd[2093]: Deleting interface #5 enp4s0f2,
fe80::f7f1:4dd9:234b:3b1b%2#123, interface stats: received=0, sent=0, dropped=0,
active_time=347 secs
Dec 6 13:49:27 ubuntu-mate whoopsie[2072]: [13:49:27] The default IPv4 route
is: /org/freedesktop/NetworkManager/ActiveConnection/1
Dec 6 13:49:27 ubuntu-mate whoopsie[2072]: [13:49:27] Not a paid data plan:
/org/freedesktop/NetworkManager/ActiveConnection/1
Dec 6 13:49:27 ubuntu-mate whoopsie[2072]: [13:49:27] Found usable connection:
/org/freedesktop/NetworkManager/ActiveConnection/1
Dec 6 13:49:27 ubuntu-mate whoopsie[2072]: [13:49:27] online
Dec 6 13:49:35 ubuntu-mate kernel: [ 527.355414] r8169 0000:04:00.2 enp4s0f2:
link down
Dec 6 13:49:35 ubuntu-mate NetworkManager[1593]: <info> [1512568175.1381]
device (enp4s0f2): link disconnected
Dec 6 13:49:35 ubuntu-mate NetworkManager[1593]: <info> [1512568175.1390]
device (enp4s0f2): state change: disconnected -> unavailable (reason
'carrier-changed') [30 20 40]
Dec 6 13:49:54 ubuntu-mate NetworkManager[1593]: <info> [1512568194.3108]
device (enx582c80139263): state change: activated -> deactivating (reason
'user-requested') [100 110 39]
Dec 6 13:49:54 ubuntu-mate NetworkManager[1593]: <info> [1512568194.3110]
manager: NetworkManager state is now DISCONNECTING
Dec 6 13:49:54 ubuntu-mate NetworkManager[1593]: <info> [1512568194.3115]
audit: op="device-disconnect" interface="enx582c80139263" ifindex=4 pid=5165
uid=999 result="success"
Dec 6 13:49:54 ubuntu-mate whoopsie[2072]: [13:49:54] offline
Dec 6 13:49:54 ubuntu-mate NetworkManager[1593]: <info> [1512568194.3120]
device (enx582c80139263): state change: deactivating -> disconnected (reason
'user-requested') [110 30 39]
Dec 6 13:49:54 ubuntu-mate avahi-daemon[1597]: Withdrawing address record for
fe80::f96b:4e2c:f0ab:9a6 on enx582c80139263.
Dec 6 13:49:54 ubuntu-mate avahi-daemon[1597]: Leaving mDNS multicast group on
interface enx582c80139263.IPv6 with address fe80::f96b:4e2c:f0ab:9a6.
Dec 6 13:49:54 ubuntu-mate avahi-daemon[1597]: Interface enx582c80139263.IPv6
no longer relevant for mDNS.
Dec 6 13:49:54 ubuntu-mate kernel: [ 546.530585] cdc_ether 3-2:1.0
enx582c80139263: kevent 12 may have been dropped
Dec 6 13:49:54 ubuntu-mate kernel: [ 546.530591] cdc_ether 3-2:1.0
enx582c80139263: kevent 12 may have been dropped
Dec 6 13:49:54 ubuntu-mate kernel: [ 546.530616] cdc_ether 3-2:1.0
enx582c80139263: kevent 12 may have been dropped
Dec 6 13:49:54 ubuntu-mate kernel: [ 546.530620] cdc_ether 3-2:1.0
enx582c80139263: kevent 12 may have been dropped
Dec 6 13:49:54 ubuntu-mate kernel: [ 546.531182] cdc_ether 3-2:1.0
enx582c80139263: kevent 12 may have been dropped
Dec 6 13:49:54 ubuntu-mate NetworkManager[1593]: <info> [1512568194.3451]
dhcp4 (enx582c80139263): canceled DHCP transaction, DHCP client pid 5738
Dec 6 13:49:54 ubuntu-mate NetworkManager[1593]: <info> [1512568194.3451]
dhcp4 (enx582c80139263): state changed bound -> done
Dec 6 13:49:54 ubuntu-mate avahi-daemon[1597]: Withdrawing address record for
192.168.9.100 on enx582c80139263.
Dec 6 13:49:54 ubuntu-mate NetworkManager[1593]: <info> [1512568194.3464]
dns-mgr: Writing DNS information to /sbin/resolvconf
Dec 6 13:49:54 ubuntu-mate avahi-daemon[1597]: Leaving mDNS multicast group on
interface enx582c80139263.IPv4 with address 192.168.9.100.
Dec 6 13:49:54 ubuntu-mate avahi-daemon[1597]: Interface enx582c80139263.IPv4
no longer relevant for mDNS.
Dec 6 13:49:54 ubuntu-mate dnsmasq[2028]: setting upstream servers from DBus
Dec 6 13:49:54 ubuntu-mate NetworkManager[1593]: <info> [1512568194.3557]
manager: NetworkManager state is now DISCONNECTED
Dec 6 13:49:54 ubuntu-mate dbus[1356]: [system] Activating via systemd: service
name='org.freedesktop.nm_dispatcher'
unit='dbus-org.freedesktop.nm-dispatcher.service'
Dec 6 13:49:54 ubuntu-mate systemd[1]: Starting Network Manager Script
Dispatcher Service...
Dec 6 13:49:54 ubuntu-mate dbus[1356]: [system] Successfully activated service
'org.freedesktop.nm_dispatcher'
Dec 6 13:49:54 ubuntu-mate systemd[1]: Started Network Manager Script
Dispatcher Service.
Dec 6 13:49:54 ubuntu-mate nm-dispatcher: req:1 'down' [enx582c80139263]: new
request (2 scripts)
Dec 6 13:49:54 ubuntu-mate nm-dispatcher: req:1 'down' [enx582c80139263]: start
running ordered scripts...
Dec 6 13:49:55 ubuntu-mate kernel: [ 547.559581] usb 3-2: USB disconnect,
device number 6
Dec 6 13:49:55 ubuntu-mate kernel: [ 547.559781] cdc_ether 3-2:1.0
enx582c80139263: unregister 'cdc_ether' usb-0000:00:14.0-2, CDC Ethernet Device
Dec 6 13:49:55 ubuntu-mate NetworkManager[1593]: <info> [1512568195.3443]
device (enx582c80139263): state change: disconnected -> unmanaged (reason
'removed') [30 10 36]
Dec 6 13:49:55 ubuntu-mate NetworkManager[1593]: <error> [1512568195.3515]
platform-linux: do-change-link[4]: failure changing link: failure 19 (No such
device)
Dec 6 13:49:55 ubuntu-mate NetworkManager[1593]: <warn> [1512568195.3517]
device (enx582c80139263): failed to disable userspace IPv6LL address handling
Dec 6 13:49:55 ubuntu-mate NetworkManager[1593]: <info> [1512568195.3583]
devices removed (path:
/sys/devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/net/enx582c80139263,
iface: enx582c80139263)
Dec 6 13:49:56 ubuntu-mate ntpd[2093]: Deleting interface #6 enx582c80139263,
192.168.9.100#123, interface stats: received=25, sent=25, dropped=0,
active_time=97 secs
Dec 6 13:49:56 ubuntu-mate ntpd[2093]: 193.204.114.233 local addr 192.168.9.100
-> <null>
Dec 6 13:49:56 ubuntu-mate ntpd[2093]: 94.177.198.160 local addr 192.168.9.100
-> <null>
Dec 6 13:49:56 ubuntu-mate ntpd[2093]: 87.118.124.35 local addr 192.168.9.100
-> <null>
Dec 6 13:49:56 ubuntu-mate ntpd[2093]: 37.247.53.178 local addr 192.168.9.100
-> <null>
Dec 6 13:49:56 ubuntu-mate ntpd[2093]: 94.177.187.22 local addr 192.168.9.100
-> <null>
Dec 6 13:49:56 ubuntu-mate ntpd[2093]: 162.210.111.4 local addr 192.168.9.100
-> <null>
Dec 6 13:49:56 ubuntu-mate ntpd[2093]: 185.19.184.35 local addr 192.168.9.100
-> <null>
Dec 6 13:49:56 ubuntu-mate ntpd[2093]: 5.196.160.139 local addr 192.168.9.100
-> <null>
Dec 6 13:49:56 ubuntu-mate ntpd[2093]: 212.45.144.3 local addr 192.168.9.100 ->
<null>
Dec 6 13:49:56 ubuntu-mate ntpd[2093]: 212.45.144.88 local addr 192.168.9.100
-> <null>
Dec 6 13:49:56 ubuntu-mate ntpd[2093]: 213.251.52.250 local addr 192.168.9.100
-> <null>
Dec 6 13:49:56 ubuntu-mate ntpd[2093]: 91.189.94.4 local addr 192.168.9.100 ->
<null>
Dec 6 13:49:56 ubuntu-mate ntpd[2093]: 192.99.16.167 local addr 192.168.9.100
-> <null>
Dec 6 13:49:56 ubuntu-mate ntpd[2093]: 193.183.98.38 local addr 192.168.9.100
-> <null>
Dec 6 13:49:56 ubuntu-mate ntpd[2093]: 91.189.89.198 local addr 192.168.9.100
-> <null>
Dec 6 13:49:56 ubuntu-mate ntpd[2093]: 91.189.89.199 local addr 192.168.9.100
-> <null>
Dec 6 13:49:56 ubuntu-mate ntpd[2093]: Deleting interface #7 enx582c80139263,
fe80::f96b:4e2c:f0ab:9a6%4#123, interface stats: received=0, sent=0, dropped=0,
active_time=97 secs
Dec 6 13:49:59 ubuntu-mate whoopsie[2072]: [13:49:59] Cannot reach:
https://daisy.ubuntu.com
Dec 6 13:50:38 ubuntu-mate kernel: [ 590.344057] usb 3-3: new high-speed USB
device number 7 using xhci_hcd
Dec 6 13:50:38 ubuntu-mate kernel: [ 590.485248] usb 3-3: New USB device
found, idVendor=12d1, idProduct=1f15
Dec 6 13:50:38 ubuntu-mate kernel: [ 590.485254] usb 3-3: New USB device
strings: Mfr=5, Product=4, SerialNumber=6
Dec 6 13:50:38 ubuntu-mate kernel: [ 590.485257] usb 3-3: Product: K4305
Dec 6 13:50:38 ubuntu-mate kernel: [ 590.485260] usb 3-3: Manufacturer:
Vodafone (Huawei)
Dec 6 13:50:38 ubuntu-mate kernel: [ 590.485263] usb 3-3: SerialNumber:
FFFFFFFFFFFFFFFF
Dec 6 13:50:38 ubuntu-mate kernel: [ 590.487067] usb-storage 3-3:1.0: USB Mass
Storage device detected
Dec 6 13:50:38 ubuntu-mate kernel: [ 590.487596] scsi host7: usb-storage 3-3:1.0
Dec 6 13:49:59 ubuntu-mate whoopsie[2072]: [13:49:59] Cannot reach:
https://daisy.ubuntu.com
Dec 6 13:50:38 ubuntu-mate mtp-probe: checking bus 3, device 7:
"/sys/devices/pci0000:00/0000:00:14.0/usb3/3-3"
Dec 6 13:50:38 ubuntu-mate mtp-probe: bus: 3, device: 7 was not an MTP device
Dec 6 13:50:38 ubuntu-mate systemd[1]: Starting USB_ModeSwitch_3-3:1.0...
Dec 6 13:50:38 ubuntu-mate usb_modeswitch_dispatcher[6304]: Could not read
attribute: No such file or directory
Dec 6 13:50:39 ubuntu-mate kernel: [ 591.497034] scsi 7:0:0:0: CD-ROM
Vodafone Storage(Huawei) 2.31 PQ: 0 ANSI: 2
Dec 6 13:50:39 ubuntu-mate kernel: [ 591.498715] sr 7:0:0:0: [sr1] scsi-1 drive
Dec 6 13:50:39 ubuntu-mate kernel: [ 591.499117] sr 7:0:0:0: Attached scsi
CD-ROM sr1
Dec 6 13:50:39 ubuntu-mate kernel: [ 591.499348] sr 7:0:0:0: Attached scsi
generic sg5 type 5
Dec 6 13:50:39 ubuntu-mate kernel: [ 592.010336] ISO 9660 Extensions: RRIP_1991A
Dec 6 13:50:38 ubuntu-mate usb_modeswitch_dispatcher[6304]: message repeated 2
times: [ Could not read attribute: No such file or directory]
Dec 6 13:50:39 ubuntu-mate udisksd[2998]: Mounted /dev/sr1 at
/media/ubuntu-mate/Vodafone Mobile Broadband on behalf of uid 999
Dec 6 13:50:39 ubuntu-mate usb_modeswitch: switch device 12d1:1f15 on 003/007
Dec 6 13:50:39 ubuntu-mate udisksd[2998]: Cleaning up mount point
/media/ubuntu-mate/Vodafone Mobile Broadband (device 11:1 no longer exist)
Dec 6 13:50:40 ubuntu-mate usb_modeswitch[6304]: usb_modeswitch: switched to
12d1:1f15 on 3/7
Dec 6 13:50:41 ubuntu-mate usb_modeswitch_dispatcher[6304]: Unable to open bind
list file: No such file or directory
Dec 6 13:50:41 ubuntu-mate usb_modeswitch[6304]: usb_modeswitch: add device ID
12d1:1f15 to driver option
Dec 6 13:50:41 ubuntu-mate usb_modeswitch[6304]: usb_modeswitch: please report
the device ID to the Linux USB developers!
Dec 6 13:50:48 ubuntu-mate systemd[1]: Started USB_ModeSwitch_3-3:1.0.
Dec 6 13:51:31 ubuntu-mate kernel: [ 644.082205] ip_tables: (C) 2000-2006
Netfilter Core Team
Dec 6 13:53:28 ubuntu-mate /usr/lib/snapd/snapd[1599]: snapmgr.go:496: DEBUG:
Next refresh scheduled for 2017-12-06 18:32:22.144192413 +0000 UTC.



wollammudeg

unread,
Dec 6, 2017, 9:05:29 AM12/6/17
to
Joe <J...@e.invalid> ha scritto:
cat pippo

Joe

unread,
Dec 6, 2017, 11:24:43 AM12/6/17
to
wollammudeg <wollammu...@yopmail.com> wrote:
>
> ubuntu-mate@ubuntu-mate:~$ tail -f /var/log/syslog
> Dec 6 13:48:10 ubuntu-mate kernel: [ 443.083152] usb 3-2: nehigh-speed USB device number 5 using xhci_hcd
> Dec 6 13:48:11 ubuntu-mate kernel: [ 443.224761] usb 3-2: New USB devic found, idVendor=12d1, idProduct=1f15
> Dec 6 13:48:11 ubuntu-mate kernel: [ 443.224768] usb 3-2: New USB devic strings: Mfr=5, Product=4, SerialNumber=6
> Dec 6 13:48:11 ubuntu-mate kernel: [ 443.224771] usb 3-2: Product: K4305
> Dec 6 13:48:11 ubuntu-mate kernel: [ 443.224774] usb 3-2: Manufacturer Vodafone (Huawei)
> Dec 6 13:48:11 ubuntu-mate kernel: [ 443.224777] usb 3-2: SerialNumber FFFFFFFFFFFFFFFF
> Dec 6 13:48:11 ubuntu-mate kernel: [ 443.226613] usb-storage 3-2:1.0: B Mass Storage device detected
> Dec 6 13:48:11 ubuntu-mate kernel: [ 443.226939] scsi host7: usb-storage 3-2:1.0
> Dec 6 13:48:11 ubuntu-mate mtp-probe: checking bus 3, device 5 "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-2"
> Dec 6 13:48:11 ubuntu-mate mtp-probe: bus: 3, device: 5 was not an MTP device
> Dec 6 13:48:11 ubuntu-mate systemd[1]: Created slice system-usb_modeswitch.slice.
> Dec 6 13:48:11 ubuntu-mate systemd[1]: Starting USB_ModeSwitch_3-2:1.0...
> Dec 6 13:48:11 ubuntu-mate usb_modeswitch_dispatcher[5655]: Cod not read attribute: No such file or directory
> Dec 6 13:48:12 ubuntu-mate kernel: [ 444.231992] scsi 7:0:0:0: CD-ROM Vodafone Storage(Huawei) 2.31 PQ: 0 ANSI: 2
> Dec 6 13:48:12 ubuntu-mate kernel: [ 444.233491] sr 7:0:0:0: [sr1] scsi-1 drive
> Dec 6 13:48:12 ubuntu-mate kernel: [ 444.234003] sr 7:0:0:0: Attached scs CD-ROM sr1
> Dec 6 13:48:12 ubuntu-mate kernel: [ 444.234247] sr 7:0:0:0: Attached scs generic sg5 type 5
> Dec 6 13:48:12 ubuntu-mate kernel: [ 444.750233] ISO 9660 Extensions: RRIP_1991A
> Dec 6 13:48:11 ubuntu-mate usb_modeswitch_dispatcher[5655]: message repeat 2 times: [ Could not read attribute: No such file or directory]
> Dec 6 13:48:12 ubuntu-mate udisksd[2998]: Mounted /dev/sr1 a /media/ubuntu-mate/Vodafone Mobile Broadband on behalf of uid 999
> Dec 6 13:48:13 ubuntu-mate usb_modeswitch: switch device 12d1:1f15 on 003/005
> Dec 6 13:48:13 ubuntu-mate udisksd[2998]: Cleaning up mount int /media/ubuntu-mate/Vodafone Mobile Broadband (device 11:1 no longer exist)
> Dec 6 13:48:13 ubuntu-mate kernel: [ 446.033671] usb 3-2: USB sconnect, device number 5
> Dec 6 13:48:15 ubuntu-mate kernel: [ 448.078989] usb 3-2: new high-speeUSB device number 6 using xhci_hcd
> Dec 6 13:48:16 ubuntu-mate kernel: [ 448.220724] usb 3-2: New USB devic found, idVendor=12d1, idProduct=1400
> Dec 6 13:48:16 ubuntu-mate kernel: [ 448.220730] usb 3-2: New USB devic strings: Mfr=5, Product=4, SerialNumber=6
> Dec 6 13:48:16 ubuntu-mate kernel: [ 448.220733] usb 3-2: Product: K4305
> Dec 6 13:48:16 ubuntu-mate kernel: [ 448.220737] usb 3-2: Manufacturer Vodafone (Huawei)
> Dec 6 13:48:16 ubuntu-mate kernel: [ 448.220739] usb 3-2: SerialNumber FFFFFFFFFFFFFFFF
> Dec 6 13:48:16 ubuntu-mate mtp-probe: checking bus 3, device 6 "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-2"
> Dec 6 13:48:16 ubuntu-mate mtp-probe: bus: 3, device: 6 was not an MTP device
> Dec 6 13:48:16 ubuntu-mate usb_modeswitch[5655]: usb_modeswitc switched to 12d1:1400 on 3/6

Ok, qua ti dice che l'ha convertito da 12d1:1f15 al nuovo: 12d1:1400
Quindi la chiavetta è rilevata correttamente come modem...


> Dec 6 13:48:17 ubuntu-mate kernel: [ 449.265778] cdc_ether 3-2:1.0 eth0 register 'cdc_ether' at usb-0000:00:14.0-2, CDC Ethernet Device, 58:2c:80:13:92:63

Viene gestita dal driver cdc_ether, ottimo


> Dec 6 13:48:17 ubuntu-mate kernel: [ 449.265809] usbcore: registered ne interface driver cdc_ether
> Dec 6 13:48:17 ubuntu-mate NetworkManager[1593]: <warn> [1512568097.049 device (eth0): failed to find device 4 'eth0' with udev
> Dec 6 13:48:17 ubuntu-mate NetworkManager[1593]: <info> [1512568097.050 manager: (eth0): new Ethernet device (/org/freedesktop/NetworkManager/Devices/3)
> Dec 6 13:48:17 ubuntu-mate kernel: [ 449.268656] cdc_ether 3-2:1.> enx582c80139263: renamed from eth0

E le viene associata l'interfaccia di rete enx"ecc ecc...".
Poi viene presa in consegna da NetworkMAnager.


> Dec 6 13:48:17 ubuntu-mate NetworkManager[1593]: <info> [15125680.0664] device (eth0): interface index 4 renamed iface from 'eth0' to 'enx582c80139263'
> Dec 6 13:48:17 ubuntu-mate kernel: [ 449.289649] IPv6: ADDRCONF(NETDEV_): enx582c80139263: link is not ready
> Dec 6 13:48:17 ubuntu-mate kernel: [ 449.289899] cdc_ether 3-2:1.> enx582c80139263: kevent 12 may have been dropped
> Dec 6 13:48:17 ubuntu-mate NetworkManager[1593]: <info> [15125680.0715]evices added (path:sys/devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/net/enx582c80139263, iface: enx582c80139263)
> Dec 6 13:48:17 ubuntu-mate NetworkManager[1593]: <info> [1512568097.0718evice added (path:sys/devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/net/enx582c80139263, iface: enx582c80139263): no ifupdown configuration found.
> Dec 6 13:48:17 ubuntu-mate NetworkManager[1593]: <info> [1512568097.0724evice (enx582c80139263): state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
> Dec 6 13:48:17 ubuntu-mate NetworkManager[1593]: <info> [1512568097.0735 device (enx582c80139263): link connected
> Dec 6 13:48:17 ubuntu-mate NetworkManager[1593]: <info> [1512568097.0760 keyfile: add connection in-memory (77e777fe-190d-3dc9-86fa-df53c73fe18e,"Wired
> connection 2")
> Dec 6 13:48:17 ubuntu-mate NetworkManager[1593]: <info> [1512568097.0774 settings: (enx582c80139263): created default wired connection 'Wired connection 2'
> Dec 6 13:48:17 ubuntu-mate NetworkManager[1593]: <info> [1512568097.0804] vice (enx582c80139263): state change: unavailable -> disconnected (reason 'none') [20 30 0]
> Dec 6 13:48:17 ubuntu-mate NetworkManager[1593]: <info> [1512568097.0818 policy: auto-activating connection 'Wired connection 2' Dec 6 13:48:17 ubuntu-mate NetworkManager[1593]: <info> [1512568097.0834]
> device (enx582c80139263): Activation: starting connection 'Wired connection 2' (77e777fe-190d-3dc9-86fa-df53c73fe18e)
> Dec 6 13:48:17 ubuntu-mate NetworkManager[1593]: <info> [1512568097.0840] device (enx582c80139263): state change: disconnected -> prepare (reason 'none') [30 40 0]
> Dec 6 13:48:17 ubuntu-mate NetworkManager[1593]: <info> [1512568097.0848] device (enx582c80139263): state change: prepare -> config (reason 'none') [40 50 0]
> Dec 6 13:48:17 ubuntu-mate NetworkManager[1593]: <info> [1512568097.0855] device (enx582c80139263): state change: config -> ip-config (reason 'none') [50 70 0]
> Dec 6 13:48:17 ubuntu-mate NetworkManager[1593]: <info> [1512568097.0863] dhcp4 (enx582c80139263): activation: beginning transaction (timeout in 45 seconds)
> Dec 6 13:48:17 ubuntu-mate NetworkManager[1593]: <info> [1512568097.0902] dhcp4 (enx582c80139263): dhclient started with pid 5738
> Dec 6 13:48:17 ubuntu-mate kernel: [ 449.307402] cdc_ether 3-2:1.0 enx582c80139263: kevent 12 may have been dropped
> Dec 6 13:48:17 ubuntu-mate dhclient[5738]: DHCPDISCOVER on enx582c80139263 to 255.255.255.255 port 67 interval 3 (xid=0xf336964b)
> Dec 6 13:48:17 ubuntu-mate dhclient[5738]: DHCPREQUEST of 192.168.9.100 on enx582c80139263 to 255.255.255.255 port 67 (xid=0x4b9636f3)
> Dec 6 13:48:17 ubuntu-mate dhclient[5738]: DHCPOFFER of 192.168.9.100 from 192.168.9.1
> Dec 6 13:48:17 ubuntu-mate dhclient[5738]: DHCPACK of 192.168.9.100 from 192.168.9.1
> Dec 6 13:48:17 ubuntu-mate NetworkManager[1593]: <info> [1512568097.6209] address 192.168.9.100
> Dec 6 13:48:17 ubuntu-mate NetworkManager[1593]: <info> [1512568097.6209] plen 24 (255.255.255.0)
> Dec 6 13:48:17 ubuntu-mate dhclient[5738]: bound to 192.168.9.100 -- renewal in 36704 seconds.


Le viene assegnato IP...
E qua hai disconnesso...
Da quello che si legge qui la tua chiavetta è stata riconosciuta,
convertita in modem da usb_modeswitch, gestita dal kernel col driver
cdc_eth che vi ha associato l'interfaccia di rete che vedi lì, presa
in consegna da NetworkManager, collegata ad internet con tanto di asse-
gnazione IP.

Quindi tutto ok. Sembra tutto funzionante...
Ciao

wollammudeg

unread,
Dec 6, 2017, 11:38:33 AM12/6/17
to
On Wed, 06 Dec 2017 17:24:44 +0100, Joe <J...@e.invalid> wrote:

Se uso la sk vodafone va in rete se uso altra sk di altro operatore
resta disconesso, ad entrambi ho tolto il pin e provato su altro PC
per verificare il funzionamento corretto della pendrive.
Infine sarebbe stato perfetto se si poteva utilizzare, come in Debian,
come interfaccia modem e connetterlo quando necessario invece di
averlo già in rete non appena lo si connette. Ovviamente non si può
avere tutto dalla vita ma se ci riuscissimo... ;)
Altri suggerimenti?

wollammudeg

unread,
Dec 6, 2017, 11:49:19 AM12/6/17
to
On Wed, 06 Dec 2017 17:24:44 +0100, Joe <J...@e.invalid> wrote:

Confermo, sotto debian la pen drive va che una scheggia e non ci sono
altri orpelli da configurare. Viene vista come modem e si usa come
banda larga. Continuo a non capire questa differenza sostanziale con
Ubuntu (mate). Ovviamente non c'e' distinzione tra Vodafone ed altri
operatori.... :(

Joe

unread,
Dec 6, 2017, 11:55:54 AM12/6/17
to
wollammudeg <wollammu...@yopmail.com> wrote:
> On Wed, 06 Dec 2017 17:24:44 +0100, Joe <J...@e.invalid> wrote:
>
> Confermo, sotto debian la pen drive va che una scheggia e non ci sono
> altri orpelli da configurare.

Da quanto hai postato sembra anche in ubuntu mate.
Attacchi e si connette. Non c'è bisogno di nulla.

wollammudeg

unread,
Dec 6, 2017, 12:50:22 PM12/6/17
to
Temo che siamo punto e a capo. Non funziona di nuovo nemmeno con la sk
vodafone... :(

To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

ubuntu-mate@ubuntu-mate:~$ tail -f /var/log/syslog
Dec 6 17:28:04 ubuntu-mate usb_modeswitch: switch device 12d1:1f15 on
003/006
Dec 6 17:28:05 ubuntu-mate usb_modeswitch[3994]: usb_modeswitch:
switched to 12d1:1f15 on 3/6
Dec 6 17:28:06 ubuntu-mate usb_modeswitch_dispatcher[3994]: Unable to
open bind list file: No such file or directory
Dec 6 17:28:06 ubuntu-mate usb_modeswitch[3994]: usb_modeswitch: add
device ID 12d1:1f15 to driver option
Dec 6 17:28:06 ubuntu-mate usb_modeswitch[3994]: usb_modeswitch:
please report the device ID to the Linux USB developers!
Dec 6 17:28:12 ubuntu-mate /usr/lib/snapd/snapd[1341]:
snapmgr.go:496: DEBUG: Next refresh scheduled for 2017-12-06
17:28:12.081243704 +0000 UTC.
Dec 6 17:28:12 ubuntu-mate /usr/lib/snapd/snapd[1341]:
snapmgr.go:422: No snaps to auto-refresh found
Dec 6 17:28:12 ubuntu-mate snapd[1341]: 2017/12/06 17:28:12.509019
snapmgr.go:422: No snaps to auto-refresh found
Dec 6 17:28:13 ubuntu-mate systemd[1]: Started
USB_ModeSwitch_3-2:1.0.
Dec 6 17:28:44 ubuntu-mate ntpd[2205]: kernel reports TIME_ERROR:
0x41: Clock Unsynchronized
Dec 6 17:30:15 ubuntu-mate NetworkManager[1402]: <info>
[1512581415.6263] device (enp4s0f2): state change: activated ->
deactivating (reason 'user-requested') [100 110 39]
Dec 6 17:30:15 ubuntu-mate NetworkManager[1402]: <info>
[1512581415.6265] manager: NetworkManager state is now DISCONNECTING
Dec 6 17:30:15 ubuntu-mate NetworkManager[1402]: <info>
[1512581415.6270] audit: op="device-disconnect" interface="enp4s0f2"
ifindex=2 pid=3184 uid=999 result="success"
Dec 6 17:30:15 ubuntu-mate whoopsie[2079]: [17:30:15] offline
Dec 6 17:30:15 ubuntu-mate NetworkManager[1402]: <info>
[1512581415.6281] device (enp4s0f2): state change: deactivating ->
disconnected (reason 'user-requested') [110 30 39]
Dec 6 17:30:15 ubuntu-mate avahi-daemon[1343]: Withdrawing address
record for fe80::852d:2e5f:8309:8a92 on enp4s0f2.
Dec 6 17:30:15 ubuntu-mate avahi-daemon[1343]: Leaving mDNS multicast
group on interface enp4s0f2.IPv6 with address
fe80::852d:2e5f:8309:8a92.
Dec 6 17:30:15 ubuntu-mate avahi-daemon[1343]: Interface
enp4s0f2.IPv6 no longer relevant for mDNS.
Dec 6 17:30:15 ubuntu-mate NetworkManager[1402]: <info>
[1512581415.6310] dhcp4 (enp4s0f2): canceled DHCP transaction, DHCP
client pid 2023
Dec 6 17:30:15 ubuntu-mate avahi-daemon[1343]: Withdrawing address
record for 192.168.1.3 on enp4s0f2.
Dec 6 17:30:15 ubuntu-mate NetworkManager[1402]: <info>
[1512581415.6310] dhcp4 (enp4s0f2): state changed bound -> done
Dec 6 17:30:15 ubuntu-mate avahi-daemon[1343]: Leaving mDNS multicast
group on interface enp4s0f2.IPv4 with address 192.168.1.3.
Dec 6 17:30:15 ubuntu-mate NetworkManager[1402]: <info>
[1512581415.6321] dns-mgr: Writing DNS information to /sbin/resolvconf
Dec 6 17:30:15 ubuntu-mate avahi-daemon[1343]: Interface
enp4s0f2.IPv4 no longer relevant for mDNS.
Dec 6 17:30:15 ubuntu-mate dnsmasq[2035]: setting upstream servers
from DBus
Dec 6 17:30:15 ubuntu-mate NetworkManager[1402]: <info>
[1512581415.6418] manager: NetworkManager state is now DISCONNECTED
Dec 6 17:30:15 ubuntu-mate dbus[1349]: [system] Activating via
systemd: service name='org.freedesktop.nm_dispatcher'
unit='dbus-org.freedesktop.nm-dispatcher.service'
Dec 6 17:30:15 ubuntu-mate systemd[1]: Starting Network Manager
Script Dispatcher Service...
Dec 6 17:30:15 ubuntu-mate dbus[1349]: [system] Successfully
activated service 'org.freedesktop.nm_dispatcher'
Dec 6 17:30:15 ubuntu-mate systemd[1]: Started Network Manager Script
Dispatcher Service.
Dec 6 17:30:15 ubuntu-mate nm-dispatcher: req:1 'down' [enp4s0f2]:
new request (2 scripts)
Dec 6 17:30:15 ubuntu-mate nm-dispatcher: req:1 'down' [enp4s0f2]:
start running ordered scripts...
Dec 6 17:30:17 ubuntu-mate ntpd[2205]: Deleting interface #3
enp4s0f2, 192.168.1.3#123, interface stats: received=204, sent=205,
dropped=2, active_time=415 secs
Dec 6 17:30:17 ubuntu-mate ntpd[2205]: 35.144.131.188 local addr
192.168.1.3 -> <null>
Dec 6 17:30:17 ubuntu-mate ntpd[2205]: 85.19.214.9 local addr
192.168.1.3 -> <null>
Dec 6 17:30:17 ubuntu-mate ntpd[2205]: 187.213.165.29 local addr
192.168.1.3 -> <null>
Dec 6 17:30:17 ubuntu-mate ntpd[2205]: 96.179.198.160 local addr
192.168.1.3 -> <null>
Dec 6 17:30:17 ubuntu-mate ntpd[2205]: Deleting interface #5
enp4s0f2, fe80::852d:2e5f:8309:8a92%2#123, interface stats:
received=0, sent=0, dropped=0, active_time=415 secs
Dec 6 17:30:17 ubuntu-mate kernel: [ 584.536401] usb 3-2: USB
disconnect, device number 6
Dec 6 17:30:17 ubuntu-mate udisksd[3127]: Cleaning up mount point
/media/ubuntu-mate/Vodafone Mobile Broadband (device 11:1 no longer
exist)
Dec 6 17:30:20 ubuntu-mate whoopsie[2079]: [17:30:20] Cannot reach:
https://daisy.ubuntu.com
Dec 6 17:30:26 ubuntu-mate kernel: [ 594.102307] usb 3-3: new
high-speed USB device number 7 using xhci_hcd
Dec 6 17:30:27 ubuntu-mate kernel: [ 594.243640] usb 3-3: New USB
device found, idVendor=12d1, idProduct=1f15
Dec 6 17:30:27 ubuntu-mate kernel: [ 594.243646] usb 3-3: New USB
device strings: Mfr=5, Product=4, SerialNumber=6
Dec 6 17:30:27 ubuntu-mate kernel: [ 594.243649] usb 3-3: Product:
K4305
Dec 6 17:30:27 ubuntu-mate kernel: [ 594.243652] usb 3-3:
Manufacturer: Vodafone (Huawei)
Dec 6 17:30:27 ubuntu-mate kernel: [ 594.243655] usb 3-3:
SerialNumber: FFFFFFFFFFFFFFFF
Dec 6 17:30:27 ubuntu-mate kernel: [ 594.245606] usb-storage
3-3:1.0: USB Mass Storage device detected
Dec 6 17:30:27 ubuntu-mate kernel: [ 594.246058] scsi host7:
usb-storage 3-3:1.0
Dec 6 17:30:20 ubuntu-mate whoopsie[2079]: [17:30:20] Cannot reach:
https://daisy.ubuntu.com
Dec 6 17:30:27 ubuntu-mate mtp-probe: checking bus 3, device 7:
"/sys/devices/pci0000:00/0000:00:14.0/usb3/3-3"
Dec 6 17:30:27 ubuntu-mate mtp-probe: bus: 3, device: 7 was not an
MTP device
Dec 6 17:30:27 ubuntu-mate systemd[1]: Starting
USB_ModeSwitch_3-3:1.0...
Dec 6 17:30:27 ubuntu-mate usb_modeswitch_dispatcher[4293]: Could not
read attribute: No such file or directory
Dec 6 17:30:28 ubuntu-mate kernel: [ 595.279517] scsi 7:0:0:0:
CD-ROM Vodafone Storage(Huawei) 2.31 PQ: 0 ANSI: 2
Dec 6 17:30:28 ubuntu-mate kernel: [ 595.281725] sr 7:0:0:0: [sr1]
scsi-1 drive
Dec 6 17:30:28 ubuntu-mate kernel: [ 595.282176] sr 7:0:0:0:
Attached scsi CD-ROM sr1
Dec 6 17:30:28 ubuntu-mate kernel: [ 595.282839] sr 7:0:0:0:
Attached scsi generic sg5 type 5
Dec 6 17:30:27 ubuntu-mate usb_modeswitch_dispatcher[4293]: message
repeated 2 times: [ Could not read attribute: No such file or
directory]
Dec 6 17:30:28 ubuntu-mate udisksd[3127]: Mounted /dev/sr1 at
/media/ubuntu-mate/Vodafone Mobile Broadband on behalf of uid 999
Dec 6 17:30:28 ubuntu-mate kernel: [ 595.786533] ISO 9660
Extensions: RRIP_1995A
Dec 6 17:30:28 ubuntu-mate usb_modeswitch: switch device 12d1:1f15 on
003/007
Dec 6 17:30:28 ubuntu-mate udisksd[3127]: Cleaning up mount point
/media/ubuntu-mate/Vodafone Mobile Broadband (device 11:1 no longer
exist)
Dec 6 17:30:29 ubuntu-mate usb_modeswitch[4293]: usb_modeswitch:
switched to 12d1:1f15 on 3/7
Dec 6 17:30:30 ubuntu-mate usb_modeswitch_dispatcher[4293]: Unable to
open bind list file: No such file or directory
Dec 6 17:30:30 ubuntu-mate usb_modeswitch[4293]: usb_modeswitch: add
device ID 12d1:1f15 to driver option
Dec 6 17:30:30 ubuntu-mate usb_modeswitch[4293]: usb_modeswitch:
please report the device ID to the Linux USB developers!
Dec 6 17:30:37 ubuntu-mate systemd[1]: Started
USB_ModeSwitch_3-3:1.0.
Dec 6 17:30:51 ubuntu-mate kernel: [ 618.355092] usb 3-3: USB
disconnect, device number 7
Dec 6 17:31:20 ubuntu-mate kernel: [ 647.448022] usb 3-2: new
high-speed USB device number 8 using xhci_hcd
Dec 6 17:31:20 ubuntu-mate kernel: [ 647.589346] usb 3-2: New USB
device found, idVendor=12d1, idProduct=1f15
Dec 6 17:31:20 ubuntu-mate kernel: [ 647.589352] usb 3-2: New USB
device strings: Mfr=5, Product=4, SerialNumber=6
Dec 6 17:31:20 ubuntu-mate kernel: [ 647.589355] usb 3-2: Product:
K4305
Dec 6 17:31:20 ubuntu-mate kernel: [ 647.589358] usb 3-2:
Manufacturer: Vodafone (Huawei)
Dec 6 17:31:20 ubuntu-mate kernel: [ 647.589361] usb 3-2:
SerialNumber: FFFFFFFFFFFFFFFF
Dec 6 17:31:20 ubuntu-mate kernel: [ 647.595395] usb-storage
3-2:1.0: USB Mass Storage device detected
Dec 6 17:31:20 ubuntu-mate kernel: [ 647.595745] scsi host7:
usb-storage 3-2:1.0
Dec 6 17:31:20 ubuntu-mate mtp-probe: checking bus 3, device 8:
"/sys/devices/pci0000:00/0000:00:14.0/usb3/3-2"
Dec 6 17:31:20 ubuntu-mate mtp-probe: bus: 3, device: 8 was not an
MTP device
Dec 6 17:31:20 ubuntu-mate systemd[1]: Starting
USB_ModeSwitch_3-2:1.0...
Dec 6 17:31:20 ubuntu-mate usb_modeswitch_dispatcher[4357]: Could not
read attribute: No such file or directory
Dec 6 17:31:21 ubuntu-mate kernel: [ 648.625287] scsi 7:0:0:0:
CD-ROM Vodafone Storage(Huawei) 2.31 PQ: 0 ANSI: 2
Dec 6 17:31:21 ubuntu-mate kernel: [ 648.627415] sr 7:0:0:0: [sr1]
scsi-1 drive
Dec 6 17:31:21 ubuntu-mate kernel: [ 648.628031] sr 7:0:0:0:
Attached scsi CD-ROM sr1
Dec 6 17:31:21 ubuntu-mate kernel: [ 648.628320] sr 7:0:0:0:
Attached scsi generic sg5 type 5
Dec 6 17:31:20 ubuntu-mate usb_modeswitch_dispatcher[4357]: message
repeated 2 times: [ Could not read attribute: No such file or
directory]
Dec 6 17:31:21 ubuntu-mate udisksd[3127]: Mounted /dev/sr1 at
/media/ubuntu-mate/Vodafone Mobile Broadband on behalf of uid 999
Dec 6 17:31:21 ubuntu-mate kernel: [ 649.132079] ISO 9660
Extensions: RRIP_1995A
Dec 6 17:31:21 ubuntu-mate usb_modeswitch: switch device 12d1:1f15 on
003/008
Dec 6 17:31:21 ubuntu-mate udisksd[3127]: Cleaning up mount point
/media/ubuntu-mate/Vodafone Mobile Broadband (device 11:1 no longer
exist)
Dec 6 17:31:23 ubuntu-mate usb_modeswitch[4357]: usb_modeswitch:
switched to 12d1:1f15 on 3/8
Dec 6 17:31:24 ubuntu-mate usb_modeswitch_dispatcher[4357]: Unable to
open bind list file: No such file or directory
Dec 6 17:31:24 ubuntu-mate usb_modeswitch[4357]: usb_modeswitch: add
device ID 12d1:1f15 to driver option
Dec 6 17:31:24 ubuntu-mate usb_modeswitch[4357]: usb_modeswitch:
please report the device ID to the Linux USB developers!
Dec 6 17:31:31 ubuntu-mate systemd[1]: Started
USB_ModeSwitch_3-2:1.0.

To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

ubuntu-mate@ubuntu-mate:~$ lsusb
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching
Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 005: ID 03eb:8819 Atmel Corp.
Bus 001 Device 004: ID 13d3:5195 IMC Networks
Bus 001 Device 003: ID 13d3:3362 IMC Networks Atheros AR3012 Bluetooth
4.0 Adapter
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching
Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 05e3:0612 Genesys Logic, Inc.
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 006: ID 12d1:1f15 Huawei Technologies Co., Ltd.
Bus 003 Device 004: ID 05e3:0738 Genesys Logic, Inc.
Bus 003 Device 003: ID 046d:c05a Logitech, Inc. M90/M100 Optical Mouse
Bus 003 Device 002: ID 05e3:0612 Genesys Logic, Inc.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
ubuntu-mate@ubuntu-mate:~$ usb_modeswitch -J -v 0x12d1 -p 0x1f15
Look for default devices ...
product ID matched
Found devices in default mode (1)
Access device 006 on bus 003
Error opening the device. Abort

ubuntu-mate@ubuntu-mate:~$ lsusb
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching
Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 005: ID 03eb:8819 Atmel Corp.
Bus 001 Device 004: ID 13d3:5195 IMC Networks
Bus 001 Device 003: ID 13d3:3362 IMC Networks Atheros AR3012 Bluetooth
4.0 Adapter
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching
Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 05e3:0612 Genesys Logic, Inc.
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 007: ID 12d1:1f15 Huawei Technologies Co., Ltd.
Bus 003 Device 004: ID 05e3:0738 Genesys Logic, Inc.
Bus 003 Device 003: ID 046d:c05a Logitech, Inc. M90/M100 Optical Mouse
Bus 003 Device 002: ID 05e3:0612 Genesys Logic, Inc.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
ubuntu-mate@ubuntu-mate:~$ usb_modeswitch -J -v 0x12d1 -p 0x1f15
Look for default devices ...
product ID matched
Found devices in default mode (1)
Access device 007 on bus 003
Error opening the device. Abort


cat /usr/share/usb_modeswitch/12d1\:1f15
cat: '/usr/share/usb_modeswitch/12d1:1f15': No such file or director


usb_modeswitch -c pippo
Look for default devices ...
product ID matched
Found devices in default mode (1)
Access device 008 on bus 003
Error opening the device. Abort

cat pippo

sacarde

unread,
Dec 7, 2017, 4:19:47 AM12/7/17
to
anche come root?
0 new messages